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>
22namespace DevOpsAgent {
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
62 template <
typename DescriptionT = Aws::String>
64 m_descriptionHasBeenSet =
true;
65 m_description = std::forward<DescriptionT>(value);
67 template <
typename DescriptionT = Aws::String>
81 template <
typename LocaleT = Aws::String>
83 m_localeHasBeenSet =
true;
84 m_locale = std::forward<LocaleT>(value);
86 template <
typename LocaleT = Aws::String>
99 template <
typename CreatedAtT = Aws::Utils::DateTime>
101 m_createdAtHasBeenSet =
true;
102 m_createdAt = std::forward<CreatedAtT>(value);
104 template <
typename CreatedAtT = Aws::Utils::DateTime>
117 template <
typename UpdatedAtT = Aws::Utils::DateTime>
119 m_updatedAtHasBeenSet =
true;
120 m_updatedAt = std::forward<UpdatedAtT>(value);
122 template <
typename UpdatedAtT = Aws::Utils::DateTime>
136 template <
typename KmsKeyArnT = Aws::String>
138 m_kmsKeyArnHasBeenSet =
true;
139 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
141 template <
typename KmsKeyArnT = Aws::String>
154 template <
typename AgentSpaceIdT = Aws::String>
156 m_agentSpaceIdHasBeenSet =
true;
157 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
159 template <
typename AgentSpaceIdT = Aws::String>
173 template <
typename PreferencesT = Aws::Map<AgentSpacePreferenceKey,
bool>>
175 m_preferencesHasBeenSet =
true;
176 m_preferences = std::forward<PreferencesT>(value);
178 template <
typename PreferencesT = Aws::Map<AgentSpacePreferenceKey,
bool>>
184 m_preferencesHasBeenSet =
true;
185 m_preferences.emplace(key, value);
205 bool m_nameHasBeenSet =
false;
206 bool m_descriptionHasBeenSet =
false;
207 bool m_localeHasBeenSet =
false;
208 bool m_createdAtHasBeenSet =
false;
209 bool m_updatedAtHasBeenSet =
false;
210 bool m_kmsKeyArnHasBeenSet =
false;
211 bool m_agentSpaceIdHasBeenSet =
false;
212 bool m_preferencesHasBeenSet =
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
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
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)
AgentSpace & WithName(NameT &&value)
const Aws::String & GetAgentSpaceId() const
void SetAgentSpaceId(AgentSpaceIdT &&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