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>
13#include <aws/devops-agent/model/AwsSourceMode.h>
18namespace 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>
100 template <
typename KmsKeyArnT = Aws::String>
102 m_kmsKeyArnHasBeenSet =
true;
103 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
105 template <
typename KmsKeyArnT = Aws::String>
120 template <
typename ClientTokenT = Aws::String>
122 m_clientTokenHasBeenSet =
true;
123 m_clientToken = std::forward<ClientTokenT>(value);
125 template <
typename ClientTokenT = Aws::String>
138 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
140 m_tagsHasBeenSet =
true;
141 m_tags = std::forward<TagsT>(value);
143 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 SetTags(std::forward<TagsT>(value));
148 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
150 m_tagsHasBeenSet =
true;
151 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
163 template <
typename PreferencesT = Aws::Map<AgentSpacePreferenceKey,
bool>>
165 m_preferencesHasBeenSet =
true;
166 m_preferences = std::forward<PreferencesT>(value);
168 template <
typename PreferencesT = Aws::Map<AgentSpacePreferenceKey,
bool>>
174 m_preferencesHasBeenSet =
true;
175 m_preferences.emplace(key, value);
189 m_awsSourceModeHasBeenSet =
true;
190 m_awsSourceMode = value;
213 bool m_nameHasBeenSet =
false;
214 bool m_descriptionHasBeenSet =
false;
215 bool m_localeHasBeenSet =
false;
216 bool m_kmsKeyArnHasBeenSet =
false;
217 bool m_clientTokenHasBeenSet =
true;
218 bool m_tagsHasBeenSet =
false;
219 bool m_preferencesHasBeenSet =
false;
220 bool m_awsSourceModeHasBeenSet =
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)
CreateAgentSpaceRequest & WithAwsSourceMode(AwsSourceMode 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)
bool AwsSourceModeHasBeenSet() const
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
void SetAwsSourceMode(AwsSourceMode value)
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
AwsSourceMode GetAwsSourceMode() const
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