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/core/utils/memory/stl/AWSVector.h>
11#include <aws/imagebuilder/ImagebuilderRequest.h>
12#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
13#include <aws/imagebuilder/model/Platform.h>
18namespace imagebuilder {
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
75 template <
typename SemanticVersionT = Aws::String>
77 m_semanticVersionHasBeenSet =
true;
78 m_semanticVersion = std::forward<SemanticVersionT>(value);
80 template <
typename SemanticVersionT = Aws::String>
93 template <
typename DescriptionT = Aws::String>
95 m_descriptionHasBeenSet =
true;
96 m_description = std::forward<DescriptionT>(value);
98 template <
typename DescriptionT = Aws::String>
113 template <
typename ChangeDescriptionT = Aws::String>
115 m_changeDescriptionHasBeenSet =
true;
116 m_changeDescription = std::forward<ChangeDescriptionT>(value);
118 template <
typename ChangeDescriptionT = Aws::String>
132 m_platformHasBeenSet =
true;
149 template <
typename SupportedOsVersionsT = Aws::Vector<Aws::String>>
151 m_supportedOsVersionsHasBeenSet =
true;
152 m_supportedOsVersions = std::forward<SupportedOsVersionsT>(value);
154 template <
typename SupportedOsVersionsT = Aws::Vector<Aws::String>>
159 template <
typename SupportedOsVersionsT = Aws::String>
161 m_supportedOsVersionsHasBeenSet =
true;
162 m_supportedOsVersions.emplace_back(std::forward<SupportedOsVersionsT>(value));
176 template <
typename DataT = Aws::String>
178 m_dataHasBeenSet =
true;
179 m_data = std::forward<DataT>(value);
181 template <
typename DataT = Aws::String>
183 SetData(std::forward<DataT>(value));
199 template <
typename UriT = Aws::String>
201 m_uriHasBeenSet =
true;
202 m_uri = std::forward<UriT>(value);
204 template <
typename UriT = Aws::String>
206 SetUri(std::forward<UriT>(value));
223 template <
typename KmsKeyIdT = Aws::String>
225 m_kmsKeyIdHasBeenSet =
true;
226 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
228 template <
typename KmsKeyIdT = Aws::String>
241 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
243 m_tagsHasBeenSet =
true;
244 m_tags = std::forward<TagsT>(value);
246 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
248 SetTags(std::forward<TagsT>(value));
251 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
253 m_tagsHasBeenSet =
true;
254 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
270 template <
typename ClientTokenT = Aws::String>
272 m_clientTokenHasBeenSet =
true;
273 m_clientToken = std::forward<ClientTokenT>(value);
275 template <
typename ClientTokenT = Aws::String>
291 m_dryRunHasBeenSet =
true;
322 bool m_dryRun{
false};
323 bool m_nameHasBeenSet =
false;
324 bool m_semanticVersionHasBeenSet =
false;
325 bool m_descriptionHasBeenSet =
false;
326 bool m_changeDescriptionHasBeenSet =
false;
327 bool m_platformHasBeenSet =
false;
328 bool m_supportedOsVersionsHasBeenSet =
false;
329 bool m_dataHasBeenSet =
false;
330 bool m_uriHasBeenSet =
false;
331 bool m_kmsKeyIdHasBeenSet =
false;
332 bool m_tagsHasBeenSet =
false;
333 bool m_clientTokenHasBeenSet =
true;
334 bool m_dryRunHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
const Aws::String & GetKmsKeyId() const
const Aws::String & GetChangeDescription() const
virtual const char * GetServiceRequestName() const override
CreateComponentRequest & WithName(NameT &&value)
void SetTags(TagsT &&value)
void SetSemanticVersion(SemanticVersionT &&value)
bool DataHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< Aws::String > & GetSupportedOsVersions() const
bool TagsHasBeenSet() const
void SetDryRun(bool value)
CreateComponentRequest & WithDescription(DescriptionT &&value)
CreateComponentRequest & AddSupportedOsVersions(SupportedOsVersionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Platform GetPlatform() const
bool DryRunHasBeenSet() const
void SetPlatform(Platform value)
CreateComponentRequest & WithTags(TagsT &&value)
bool SupportedOsVersionsHasBeenSet() const
const Aws::String & GetUri() const
AWS_IMAGEBUILDER_API CreateComponentRequest()=default
bool DescriptionHasBeenSet() const
CreateComponentRequest & WithSupportedOsVersions(SupportedOsVersionsT &&value)
bool NameHasBeenSet() const
const Aws::String & GetSemanticVersion() const
const Aws::String & GetData() const
bool KmsKeyIdHasBeenSet() const
void SetUri(UriT &&value)
const Aws::String & GetClientToken() const
CreateComponentRequest & WithData(DataT &&value)
CreateComponentRequest & WithDryRun(bool value)
CreateComponentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateComponentRequest & WithUri(UriT &&value)
CreateComponentRequest & WithChangeDescription(ChangeDescriptionT &&value)
void SetData(DataT &&value)
CreateComponentRequest & WithPlatform(Platform value)
bool SemanticVersionHasBeenSet() const
const Aws::String & GetName() const
CreateComponentRequest & WithClientToken(ClientTokenT &&value)
bool UriHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
void SetChangeDescription(ChangeDescriptionT &&value)
bool ChangeDescriptionHasBeenSet() const
void SetSupportedOsVersions(SupportedOsVersionsT &&value)
const Aws::String & GetDescription() const
void SetName(NameT &&value)
CreateComponentRequest & WithSemanticVersion(SemanticVersionT &&value)
CreateComponentRequest & WithKmsKeyId(KmsKeyIdT &&value)
bool ClientTokenHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
bool PlatformHasBeenSet() const
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
std::vector< T, Aws::Allocator< T > > Vector