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/imagebuilder/ImagebuilderRequest.h>
11#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
12#include <aws/imagebuilder/model/ComponentFormat.h>
13#include <aws/imagebuilder/model/ComponentType.h>
14#include <aws/imagebuilder/model/Platform.h>
19namespace imagebuilder {
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
67 template <
typename SemanticVersionT = Aws::String>
69 m_semanticVersionHasBeenSet =
true;
70 m_semanticVersion = std::forward<SemanticVersionT>(value);
72 template <
typename SemanticVersionT = Aws::String>
86 template <
typename DescriptionT = Aws::String>
88 m_descriptionHasBeenSet =
true;
89 m_description = std::forward<DescriptionT>(value);
91 template <
typename DescriptionT = Aws::String>
106 template <
typename ChangeDescriptionT = Aws::String>
108 m_changeDescriptionHasBeenSet =
true;
109 m_changeDescription = std::forward<ChangeDescriptionT>(value);
111 template <
typename ChangeDescriptionT = Aws::String>
126 m_typeHasBeenSet =
true;
142 m_formatHasBeenSet =
true;
158 m_platformHasBeenSet =
true;
175 template <
typename DataT = Aws::String>
177 m_dataHasBeenSet =
true;
178 m_data = std::forward<DataT>(value);
180 template <
typename DataT = Aws::String>
182 SetData(std::forward<DataT>(value));
196 template <
typename UriT = Aws::String>
198 m_uriHasBeenSet =
true;
199 m_uri = std::forward<UriT>(value);
201 template <
typename UriT = Aws::String>
203 SetUri(std::forward<UriT>(value));
219 template <
typename KmsKeyIdT = Aws::String>
221 m_kmsKeyIdHasBeenSet =
true;
222 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
224 template <
typename KmsKeyIdT = Aws::String>
237 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
239 m_tagsHasBeenSet =
true;
240 m_tags = std::forward<TagsT>(value);
242 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
244 SetTags(std::forward<TagsT>(value));
247 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
249 m_tagsHasBeenSet =
true;
250 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
264 template <
typename ClientTokenT = Aws::String>
266 m_clientTokenHasBeenSet =
true;
267 m_clientToken = std::forward<ClientTokenT>(value);
269 template <
typename ClientTokenT = Aws::String>
299 bool m_nameHasBeenSet =
false;
300 bool m_semanticVersionHasBeenSet =
false;
301 bool m_descriptionHasBeenSet =
false;
302 bool m_changeDescriptionHasBeenSet =
false;
303 bool m_typeHasBeenSet =
false;
304 bool m_formatHasBeenSet =
false;
305 bool m_platformHasBeenSet =
false;
306 bool m_dataHasBeenSet =
false;
307 bool m_uriHasBeenSet =
false;
308 bool m_kmsKeyIdHasBeenSet =
false;
309 bool m_tagsHasBeenSet =
false;
310 bool m_clientTokenHasBeenSet =
true;
static Aws::Utils::UUID PseudoRandomUUID()
const Aws::String & GetSemanticVersion() const
bool ClientTokenHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetKmsKeyId() const
ImportComponentRequest & WithType(ComponentType value)
void SetType(ComponentType value)
const Aws::String & GetData() const
ComponentType GetType() const
void SetSemanticVersion(SemanticVersionT &&value)
bool TagsHasBeenSet() const
ComponentFormat GetFormat() const
ImportComponentRequest & WithPlatform(Platform value)
ImportComponentRequest & WithKmsKeyId(KmsKeyIdT &&value)
ImportComponentRequest & WithSemanticVersion(SemanticVersionT &&value)
ImportComponentRequest & WithData(DataT &&value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
void SetName(NameT &&value)
void SetFormat(ComponentFormat value)
const Aws::String & GetChangeDescription() const
bool DataHasBeenSet() const
bool FormatHasBeenSet() const
void SetPlatform(Platform value)
bool PlatformHasBeenSet() const
void SetData(DataT &&value)
ImportComponentRequest & WithUri(UriT &&value)
void SetDescription(DescriptionT &&value)
ImportComponentRequest & WithTags(TagsT &&value)
AWS_IMAGEBUILDER_API ImportComponentRequest()=default
bool KmsKeyIdHasBeenSet() const
ImportComponentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Platform GetPlatform() const
const Aws::String & GetDescription() const
void SetClientToken(ClientTokenT &&value)
bool SemanticVersionHasBeenSet() const
ImportComponentRequest & WithClientToken(ClientTokenT &&value)
void SetTags(TagsT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
bool UriHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
ImportComponentRequest & WithName(NameT &&value)
const Aws::String & GetClientToken() const
virtual const char * GetServiceRequestName() const override
void SetChangeDescription(ChangeDescriptionT &&value)
const Aws::String & GetUri() const
void SetUri(UriT &&value)
ImportComponentRequest & WithChangeDescription(ChangeDescriptionT &&value)
bool ChangeDescriptionHasBeenSet() const
ImportComponentRequest & WithDescription(DescriptionT &&value)
bool TypeHasBeenSet() const
ImportComponentRequest & WithFormat(ComponentFormat 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