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 {
48 template <
typename NameT = Aws::String>
50 m_nameHasBeenSet =
true;
51 m_name = std::forward<NameT>(value);
53 template <
typename NameT = Aws::String>
55 SetName(std::forward<NameT>(value));
76 template <
typename SemanticVersionT = Aws::String>
78 m_semanticVersionHasBeenSet =
true;
79 m_semanticVersion = std::forward<SemanticVersionT>(value);
81 template <
typename SemanticVersionT = Aws::String>
95 template <
typename DescriptionT = Aws::String>
97 m_descriptionHasBeenSet =
true;
98 m_description = std::forward<DescriptionT>(value);
100 template <
typename DescriptionT = Aws::String>
115 template <
typename ChangeDescriptionT = Aws::String>
117 m_changeDescriptionHasBeenSet =
true;
118 m_changeDescription = std::forward<ChangeDescriptionT>(value);
120 template <
typename ChangeDescriptionT = Aws::String>
135 m_typeHasBeenSet =
true;
151 m_formatHasBeenSet =
true;
167 m_platformHasBeenSet =
true;
185 template <
typename DataT = Aws::String>
187 m_dataHasBeenSet =
true;
188 m_data = std::forward<DataT>(value);
190 template <
typename DataT = Aws::String>
192 SetData(std::forward<DataT>(value));
206 template <
typename UriT = Aws::String>
208 m_uriHasBeenSet =
true;
209 m_uri = std::forward<UriT>(value);
211 template <
typename UriT = Aws::String>
213 SetUri(std::forward<UriT>(value));
230 template <
typename KmsKeyIdT = Aws::String>
232 m_kmsKeyIdHasBeenSet =
true;
233 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
235 template <
typename KmsKeyIdT = Aws::String>
248 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
250 m_tagsHasBeenSet =
true;
251 m_tags = std::forward<TagsT>(value);
253 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
255 SetTags(std::forward<TagsT>(value));
258 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
260 m_tagsHasBeenSet =
true;
261 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
277 template <
typename ClientTokenT = Aws::String>
279 m_clientTokenHasBeenSet =
true;
280 m_clientToken = std::forward<ClientTokenT>(value);
282 template <
typename ClientTokenT = Aws::String>
312 bool m_nameHasBeenSet =
false;
313 bool m_semanticVersionHasBeenSet =
false;
314 bool m_descriptionHasBeenSet =
false;
315 bool m_changeDescriptionHasBeenSet =
false;
316 bool m_typeHasBeenSet =
false;
317 bool m_formatHasBeenSet =
false;
318 bool m_platformHasBeenSet =
false;
319 bool m_dataHasBeenSet =
false;
320 bool m_uriHasBeenSet =
false;
321 bool m_kmsKeyIdHasBeenSet =
false;
322 bool m_tagsHasBeenSet =
false;
323 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