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/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/UUID.h>
43 template<
typename NameT = Aws::String>
44 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
45 template<
typename NameT = Aws::String>
56 template<
typename SemanticVersionT = Aws::String>
57 void SetSemanticVersion(SemanticVersionT&& value) { m_semanticVersionHasBeenSet =
true; m_semanticVersion = std::forward<SemanticVersionT>(value); }
58 template<
typename SemanticVersionT = Aws::String>
68 template<
typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
70 template<
typename DescriptionT = Aws::String>
81 template<
typename PlatformT = Aws::String>
82 void SetPlatform(PlatformT&& value) { m_platformHasBeenSet =
true; m_platform = std::forward<PlatformT>(value); }
83 template<
typename PlatformT = Aws::String>
94 template<
typename OsVersionT = Aws::String>
95 void SetOsVersion(OsVersionT&& value) { m_osVersionHasBeenSet =
true; m_osVersion = std::forward<OsVersionT>(value); }
96 template<
typename OsVersionT = Aws::String>
108 template<
typename ExecutionRoleT = Aws::String>
109 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet =
true; m_executionRole = std::forward<ExecutionRoleT>(value); }
110 template<
typename ExecutionRoleT = Aws::String>
121 template<
typename InfrastructureConfigurationArnT = Aws::String>
122 void SetInfrastructureConfigurationArn(InfrastructureConfigurationArnT&& value) { m_infrastructureConfigurationArnHasBeenSet =
true; m_infrastructureConfigurationArn = std::forward<InfrastructureConfigurationArnT>(value); }
123 template<
typename InfrastructureConfigurationArnT = Aws::String>
133 template<
typename UriT = Aws::String>
134 void SetUri(UriT&& value) { m_uriHasBeenSet =
true; m_uri = std::forward<UriT>(value); }
135 template<
typename UriT = Aws::String>
145 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
146 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
147 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
149 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
151 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
164 template<
typename ClientTokenT = Aws::String>
165 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
166 template<
typename ClientTokenT = Aws::String>
172 bool m_nameHasBeenSet =
false;
175 bool m_semanticVersionHasBeenSet =
false;
178 bool m_descriptionHasBeenSet =
false;
181 bool m_platformHasBeenSet =
false;
184 bool m_osVersionHasBeenSet =
false;
187 bool m_executionRoleHasBeenSet =
false;
190 bool m_infrastructureConfigurationArnHasBeenSet =
false;
193 bool m_uriHasBeenSet =
false;
196 bool m_tagsHasBeenSet =
false;
199 bool m_clientTokenHasBeenSet =
true;
static Aws::Utils::UUID PseudoRandomUUID()
bool OsVersionHasBeenSet() const
void SetExecutionRole(ExecutionRoleT &&value)
const Aws::String & GetPlatform() const
bool ExecutionRoleHasBeenSet() const
void SetSemanticVersion(SemanticVersionT &&value)
void SetInfrastructureConfigurationArn(InfrastructureConfigurationArnT &&value)
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
void SetOsVersion(OsVersionT &&value)
const Aws::String & GetUri() const
ImportDiskImageRequest & WithOsVersion(OsVersionT &&value)
void SetUri(UriT &&value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
const Aws::String & GetOsVersion() const
ImportDiskImageRequest & WithPlatform(PlatformT &&value)
AWS_IMAGEBUILDER_API ImportDiskImageRequest()=default
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
bool NameHasBeenSet() const
void SetTags(TagsT &&value)
bool SemanticVersionHasBeenSet() const
const Aws::String & GetDescription() const
bool TagsHasBeenSet() const
ImportDiskImageRequest & WithSemanticVersion(SemanticVersionT &&value)
const Aws::String & GetSemanticVersion() const
const Aws::String & GetExecutionRole() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ImportDiskImageRequest & WithName(NameT &&value)
ImportDiskImageRequest & WithExecutionRole(ExecutionRoleT &&value)
ImportDiskImageRequest & WithClientToken(ClientTokenT &&value)
ImportDiskImageRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
ImportDiskImageRequest & WithUri(UriT &&value)
void SetClientToken(ClientTokenT &&value)
ImportDiskImageRequest & WithTags(TagsT &&value)
ImportDiskImageRequest & WithInfrastructureConfigurationArn(InfrastructureConfigurationArnT &&value)
bool InfrastructureConfigurationArnHasBeenSet() const
const Aws::String & GetName() const
bool UriHasBeenSet() const
virtual const char * GetServiceRequestName() const override
ImportDiskImageRequest & WithDescription(DescriptionT &&value)
void SetPlatform(PlatformT &&value)
const Aws::String & GetInfrastructureConfigurationArn() const
bool PlatformHasBeenSet() const
void SetName(NameT &&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