7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/imagebuilder/model/ComponentType.h>
11#include <aws/imagebuilder/model/ComponentFormat.h>
12#include <aws/imagebuilder/model/Platform.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/UUID.h>
46 template<
typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
48 template<
typename NameT = Aws::String>
65 template<
typename SemanticVersionT = Aws::String>
66 void SetSemanticVersion(SemanticVersionT&& value) { m_semanticVersionHasBeenSet =
true; m_semanticVersion = std::forward<SemanticVersionT>(value); }
67 template<
typename SemanticVersionT = Aws::String>
78 template<
typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
80 template<
typename DescriptionT = Aws::String>
92 template<
typename ChangeDescriptionT = Aws::String>
93 void SetChangeDescription(ChangeDescriptionT&& value) { m_changeDescriptionHasBeenSet =
true; m_changeDescription = std::forward<ChangeDescriptionT>(value); }
94 template<
typename ChangeDescriptionT = Aws::String>
137 template<
typename DataT = Aws::String>
138 void SetData(DataT&& value) { m_dataHasBeenSet =
true; m_data = std::forward<DataT>(value); }
139 template<
typename DataT = Aws::String>
152 template<
typename UriT = Aws::String>
153 void SetUri(UriT&& value) { m_uriHasBeenSet =
true; m_uri = std::forward<UriT>(value); }
154 template<
typename UriT = Aws::String>
164 template<
typename KmsKeyIdT = Aws::String>
165 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
166 template<
typename KmsKeyIdT = Aws::String>
176 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
177 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
178 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
180 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
182 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
195 template<
typename ClientTokenT = Aws::String>
196 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
197 template<
typename ClientTokenT = Aws::String>
203 bool m_nameHasBeenSet =
false;
206 bool m_semanticVersionHasBeenSet =
false;
209 bool m_descriptionHasBeenSet =
false;
212 bool m_changeDescriptionHasBeenSet =
false;
215 bool m_typeHasBeenSet =
false;
218 bool m_formatHasBeenSet =
false;
221 bool m_platformHasBeenSet =
false;
224 bool m_dataHasBeenSet =
false;
227 bool m_uriHasBeenSet =
false;
230 bool m_kmsKeyIdHasBeenSet =
false;
233 bool m_tagsHasBeenSet =
false;
236 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