7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devops-agent/DevOpsAgentRequest.h>
11#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
12#include <aws/devops-agent/model/AgentSpacePreferenceKey.h>
17namespace DevOpsAgent {
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
80 template <
typename LocaleT = Aws::String>
82 m_localeHasBeenSet =
true;
83 m_locale = std::forward<LocaleT>(value);
85 template <
typename LocaleT = Aws::String>
99 template <
typename KmsKeyArnT = Aws::String>
101 m_kmsKeyArnHasBeenSet =
true;
102 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
104 template <
typename KmsKeyArnT = Aws::String>
119 template <
typename ClientTokenT = Aws::String>
121 m_clientTokenHasBeenSet =
true;
122 m_clientToken = std::forward<ClientTokenT>(value);
124 template <
typename ClientTokenT = Aws::String>
137 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
139 m_tagsHasBeenSet =
true;
140 m_tags = std::forward<TagsT>(value);
142 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
144 SetTags(std::forward<TagsT>(value));
147 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
149 m_tagsHasBeenSet =
true;
150 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
162 template <
typename PreferencesT = Aws::Map<AgentSpacePreferenceKey,
bool>>
164 m_preferencesHasBeenSet =
true;
165 m_preferences = std::forward<PreferencesT>(value);
167 template <
typename PreferencesT = Aws::Map<AgentSpacePreferenceKey,
bool>>
173 m_preferencesHasBeenSet =
true;
174 m_preferences.emplace(key, value);
192 bool m_nameHasBeenSet =
false;
193 bool m_descriptionHasBeenSet =
false;
194 bool m_localeHasBeenSet =
false;
195 bool m_kmsKeyArnHasBeenSet =
false;
196 bool m_clientTokenHasBeenSet =
true;
197 bool m_tagsHasBeenSet =
false;
198 bool m_preferencesHasBeenSet =
false;
CreateAgentSpaceRequest & WithDescription(DescriptionT &&value)
bool LocaleHasBeenSet() const
CreateAgentSpaceRequest & WithPreferences(PreferencesT &&value)
bool PreferencesHasBeenSet() const
void SetKmsKeyArn(KmsKeyArnT &&value)
void SetTags(TagsT &&value)
CreateAgentSpaceRequest & WithName(NameT &&value)
bool KmsKeyArnHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
bool TagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool ClientTokenHasBeenSet() const
void SetLocale(LocaleT &&value)
CreateAgentSpaceRequest & WithTags(TagsT &&value)
CreateAgentSpaceRequest & WithKmsKeyArn(KmsKeyArnT &&value)
const Aws::Map< AgentSpacePreferenceKey, bool > & GetPreferences() const
const Aws::String & GetDescription() const
const Aws::String & GetKmsKeyArn() const
CreateAgentSpaceRequest & AddPreferences(AgentSpacePreferenceKey key, bool value)
const Aws::String & GetClientToken() const
bool NameHasBeenSet() const
const Aws::String & GetName() const
void SetPreferences(PreferencesT &&value)
void SetName(NameT &&value)
const Aws::String & GetLocale() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAgentSpaceRequest & WithClientToken(ClientTokenT &&value)
CreateAgentSpaceRequest & WithLocale(LocaleT &&value)
bool DescriptionHasBeenSet() const
AWS_DEVOPSAGENT_API CreateAgentSpaceRequest()=default
void SetDescription(DescriptionT &&value)
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
CreateAgentSpaceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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