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/Platform.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/UUID.h>
45 template<
typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
47 template<
typename NameT = Aws::String>
67 template<
typename SemanticVersionT = Aws::String>
68 void SetSemanticVersion(SemanticVersionT&& value) { m_semanticVersionHasBeenSet =
true; m_semanticVersion = std::forward<SemanticVersionT>(value); }
69 template<
typename SemanticVersionT = Aws::String>
79 template<
typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
81 template<
typename DescriptionT = Aws::String>
93 template<
typename ChangeDescriptionT = Aws::String>
94 void SetChangeDescription(ChangeDescriptionT&& value) { m_changeDescriptionHasBeenSet =
true; m_changeDescription = std::forward<ChangeDescriptionT>(value); }
95 template<
typename ChangeDescriptionT = Aws::String>
117 template<
typename SupportedOsVersionsT = Aws::Vector<Aws::String>>
118 void SetSupportedOsVersions(SupportedOsVersionsT&& value) { m_supportedOsVersionsHasBeenSet =
true; m_supportedOsVersions = std::forward<SupportedOsVersionsT>(value); }
119 template<
typename SupportedOsVersionsT = Aws::Vector<Aws::String>>
121 template<
typename SupportedOsVersionsT = Aws::String>
134 template<
typename DataT = Aws::String>
135 void SetData(DataT&& value) { m_dataHasBeenSet =
true; m_data = std::forward<DataT>(value); }
136 template<
typename DataT = Aws::String>
151 template<
typename UriT = Aws::String>
152 void SetUri(UriT&& value) { m_uriHasBeenSet =
true; m_uri = std::forward<UriT>(value); }
153 template<
typename UriT = Aws::String>
163 template<
typename KmsKeyIdT = Aws::String>
164 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
165 template<
typename KmsKeyIdT = Aws::String>
175 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
176 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
177 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
179 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
181 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
194 template<
typename ClientTokenT = Aws::String>
195 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
196 template<
typename ClientTokenT = Aws::String>
202 bool m_nameHasBeenSet =
false;
205 bool m_semanticVersionHasBeenSet =
false;
208 bool m_descriptionHasBeenSet =
false;
211 bool m_changeDescriptionHasBeenSet =
false;
214 bool m_platformHasBeenSet =
false;
217 bool m_supportedOsVersionsHasBeenSet =
false;
220 bool m_dataHasBeenSet =
false;
223 bool m_uriHasBeenSet =
false;
226 bool m_kmsKeyIdHasBeenSet =
false;
229 bool m_tagsHasBeenSet =
false;
232 bool m_clientTokenHasBeenSet =
true;
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
CreateComponentRequest & WithDescription(DescriptionT &&value)
CreateComponentRequest & AddSupportedOsVersions(SupportedOsVersionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Platform GetPlatform() 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 & 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