7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
11#include <aws/devops-agent/model/AgentSpacePreferenceKey.h>
12#include <aws/devops-agent/model/AwsSourceMode.h>
23namespace DevOpsAgent {
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
63 template <
typename DescriptionT = Aws::String>
65 m_descriptionHasBeenSet =
true;
66 m_description = std::forward<DescriptionT>(value);
68 template <
typename DescriptionT = Aws::String>
82 template <
typename LocaleT = Aws::String>
84 m_localeHasBeenSet =
true;
85 m_locale = std::forward<LocaleT>(value);
87 template <
typename LocaleT = Aws::String>
100 template <
typename CreatedAtT = Aws::Utils::DateTime>
102 m_createdAtHasBeenSet =
true;
103 m_createdAt = std::forward<CreatedAtT>(value);
105 template <
typename CreatedAtT = Aws::Utils::DateTime>
118 template <
typename UpdatedAtT = Aws::Utils::DateTime>
120 m_updatedAtHasBeenSet =
true;
121 m_updatedAt = std::forward<UpdatedAtT>(value);
123 template <
typename UpdatedAtT = Aws::Utils::DateTime>
137 template <
typename KmsKeyArnT = Aws::String>
139 m_kmsKeyArnHasBeenSet =
true;
140 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
142 template <
typename KmsKeyArnT = Aws::String>
155 template <
typename AgentSpaceIdT = Aws::String>
157 m_agentSpaceIdHasBeenSet =
true;
158 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
160 template <
typename AgentSpaceIdT = Aws::String>
174 template <
typename PreferencesT = Aws::Map<AgentSpacePreferenceKey,
bool>>
176 m_preferencesHasBeenSet =
true;
177 m_preferences = std::forward<PreferencesT>(value);
179 template <
typename PreferencesT = Aws::Map<AgentSpacePreferenceKey,
bool>>
185 m_preferencesHasBeenSet =
true;
186 m_preferences.emplace(key, value);
200 m_awsSourceModeHasBeenSet =
true;
201 m_awsSourceMode = value;
226 bool m_nameHasBeenSet =
false;
227 bool m_descriptionHasBeenSet =
false;
228 bool m_localeHasBeenSet =
false;
229 bool m_createdAtHasBeenSet =
false;
230 bool m_updatedAtHasBeenSet =
false;
231 bool m_kmsKeyArnHasBeenSet =
false;
232 bool m_agentSpaceIdHasBeenSet =
false;
233 bool m_preferencesHasBeenSet =
false;
234 bool m_awsSourceModeHasBeenSet =
false;
AWS_DEVOPSAGENT_API AgentSpace(Aws::Utils::Json::JsonView jsonValue)
AgentSpace & WithKmsKeyArn(KmsKeyArnT &&value)
const Aws::String & GetName() const
bool LocaleHasBeenSet() const
void SetName(NameT &&value)
const Aws::Map< AgentSpacePreferenceKey, bool > & GetPreferences() const
AgentSpace & WithAgentSpaceId(AgentSpaceIdT &&value)
AWS_DEVOPSAGENT_API AgentSpace & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PreferencesHasBeenSet() const
bool AwsSourceModeHasBeenSet() const
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AgentSpace & WithCreatedAt(CreatedAtT &&value)
void SetLocale(LocaleT &&value)
bool DescriptionHasBeenSet() const
AgentSpace & WithLocale(LocaleT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetLocale() const
AWS_DEVOPSAGENT_API AgentSpace()=default
const Aws::String & GetKmsKeyArn() const
bool KmsKeyArnHasBeenSet() const
void SetAwsSourceMode(AwsSourceMode value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool AgentSpaceIdHasBeenSet() const
bool UpdatedAtHasBeenSet() const
void SetPreferences(PreferencesT &&value)
const Aws::String & GetDescription() const
bool CreatedAtHasBeenSet() const
bool NameHasBeenSet() const
void SetKmsKeyArn(KmsKeyArnT &&value)
AgentSpace & WithUpdatedAt(UpdatedAtT &&value)
AgentSpace & AddPreferences(AgentSpacePreferenceKey key, bool value)
void SetUpdatedAt(UpdatedAtT &&value)
AgentSpace & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
AwsSourceMode GetAwsSourceMode() const
AgentSpace & WithName(NameT &&value)
const Aws::String & GetAgentSpaceId() const
void SetAgentSpaceId(AgentSpaceIdT &&value)
AgentSpace & WithAwsSourceMode(AwsSourceMode value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AgentSpace & WithPreferences(PreferencesT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue