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 {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
69 template <
typename SemanticVersionT = Aws::String>
71 m_semanticVersionHasBeenSet =
true;
72 m_semanticVersion = std::forward<SemanticVersionT>(value);
74 template <
typename SemanticVersionT = Aws::String>
87 template <
typename DescriptionT = Aws::String>
89 m_descriptionHasBeenSet =
true;
90 m_description = std::forward<DescriptionT>(value);
92 template <
typename DescriptionT = Aws::String>
107 template <
typename ChangeDescriptionT = Aws::String>
109 m_changeDescriptionHasBeenSet =
true;
110 m_changeDescription = std::forward<ChangeDescriptionT>(value);
112 template <
typename ChangeDescriptionT = Aws::String>
126 m_platformHasBeenSet =
true;
143 template <
typename SupportedOsVersionsT = Aws::Vector<Aws::String>>
145 m_supportedOsVersionsHasBeenSet =
true;
146 m_supportedOsVersions = std::forward<SupportedOsVersionsT>(value);
148 template <
typename SupportedOsVersionsT = Aws::Vector<Aws::String>>
153 template <
typename SupportedOsVersionsT = Aws::String>
155 m_supportedOsVersionsHasBeenSet =
true;
156 m_supportedOsVersions.emplace_back(std::forward<SupportedOsVersionsT>(value));
170 template <
typename DataT = Aws::String>
172 m_dataHasBeenSet =
true;
173 m_data = std::forward<DataT>(value);
175 template <
typename DataT = Aws::String>
177 SetData(std::forward<DataT>(value));
193 template <
typename UriT = Aws::String>
195 m_uriHasBeenSet =
true;
196 m_uri = std::forward<UriT>(value);
198 template <
typename UriT = Aws::String>
200 SetUri(std::forward<UriT>(value));
216 template <
typename KmsKeyIdT = Aws::String>
218 m_kmsKeyIdHasBeenSet =
true;
219 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
221 template <
typename KmsKeyIdT = Aws::String>
234 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
236 m_tagsHasBeenSet =
true;
237 m_tags = std::forward<TagsT>(value);
239 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
241 SetTags(std::forward<TagsT>(value));
244 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
246 m_tagsHasBeenSet =
true;
247 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
261 template <
typename ClientTokenT = Aws::String>
263 m_clientTokenHasBeenSet =
true;
264 m_clientToken = std::forward<ClientTokenT>(value);
266 template <
typename ClientTokenT = Aws::String>
283 m_dryRunHasBeenSet =
true;
314 bool m_dryRun{
false};
315 bool m_nameHasBeenSet =
false;
316 bool m_semanticVersionHasBeenSet =
false;
317 bool m_descriptionHasBeenSet =
false;
318 bool m_changeDescriptionHasBeenSet =
false;
319 bool m_platformHasBeenSet =
false;
320 bool m_supportedOsVersionsHasBeenSet =
false;
321 bool m_dataHasBeenSet =
false;
322 bool m_uriHasBeenSet =
false;
323 bool m_kmsKeyIdHasBeenSet =
false;
324 bool m_tagsHasBeenSet =
false;
325 bool m_clientTokenHasBeenSet =
true;
326 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