7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/BootModeValues.h>
12#include <aws/ec2/model/ClientData.h>
13#include <aws/ec2/model/ImageDiskContainer.h>
14#include <aws/ec2/model/ImportImageLicenseConfigurationRequest.h>
15#include <aws/ec2/model/TagSpecification.h>
48 template <
typename ArchitectureT = Aws::String>
50 m_architectureHasBeenSet =
true;
51 m_architecture = std::forward<ArchitectureT>(value);
53 template <
typename ArchitectureT = Aws::String>
66 template <
typename ClientDataT = ClientData>
68 m_clientDataHasBeenSet =
true;
69 m_clientData = std::forward<ClientDataT>(value);
71 template <
typename ClientDataT = ClientData>
84 template <
typename ClientTokenT = Aws::String>
86 m_clientTokenHasBeenSet =
true;
87 m_clientToken = std::forward<ClientTokenT>(value);
89 template <
typename ClientTokenT = Aws::String>
102 template <
typename DescriptionT = Aws::String>
104 m_descriptionHasBeenSet =
true;
105 m_description = std::forward<DescriptionT>(value);
107 template <
typename DescriptionT = Aws::String>
120 template <
typename DiskContainersT = Aws::Vector<ImageDiskContainer>>
122 m_diskContainersHasBeenSet =
true;
123 m_diskContainers = std::forward<DiskContainersT>(value);
125 template <
typename DiskContainersT = Aws::Vector<ImageDiskContainer>>
130 template <
typename DiskContainersT = ImageDiskContainer>
132 m_diskContainersHasBeenSet =
true;
133 m_diskContainers.emplace_back(std::forward<DiskContainersT>(value));
148 m_dryRunHasBeenSet =
true;
168 m_encryptedHasBeenSet =
true;
183 template <
typename HypervisorT = Aws::String>
185 m_hypervisorHasBeenSet =
true;
186 m_hypervisor = std::forward<HypervisorT>(value);
188 template <
typename HypervisorT = Aws::String>
220 template <
typename KmsKeyIdT = Aws::String>
222 m_kmsKeyIdHasBeenSet =
true;
223 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
225 template <
typename KmsKeyIdT = Aws::String>
249 template <
typename LicenseTypeT = Aws::String>
251 m_licenseTypeHasBeenSet =
true;
252 m_licenseType = std::forward<LicenseTypeT>(value);
254 template <
typename LicenseTypeT = Aws::String>
270 template <
typename PlatformT = Aws::String>
272 m_platformHasBeenSet =
true;
273 m_platform = std::forward<PlatformT>(value);
275 template <
typename PlatformT = Aws::String>
288 template <
typename RoleNameT = Aws::String>
290 m_roleNameHasBeenSet =
true;
291 m_roleName = std::forward<RoleNameT>(value);
293 template <
typename RoleNameT = Aws::String>
306 template <
typename LicenseSpecificationsT = Aws::Vector<ImportImageLicenseConfigurationRequest>>
308 m_licenseSpecificationsHasBeenSet =
true;
309 m_licenseSpecifications = std::forward<LicenseSpecificationsT>(value);
311 template <
typename LicenseSpecificationsT = Aws::Vector<ImportImageLicenseConfigurationRequest>>
316 template <
typename LicenseSpecificationsT = ImportImageLicenseConfigurationRequest>
318 m_licenseSpecificationsHasBeenSet =
true;
319 m_licenseSpecifications.emplace_back(std::forward<LicenseSpecificationsT>(value));
330 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
332 m_tagSpecificationsHasBeenSet =
true;
333 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
335 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
340 template <
typename TagSpecificationsT = TagSpecification>
342 m_tagSpecificationsHasBeenSet =
true;
343 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
356 template <
typename UsageOperationT = Aws::String>
358 m_usageOperationHasBeenSet =
true;
359 m_usageOperation = std::forward<UsageOperationT>(value);
361 template <
typename UsageOperationT = Aws::String>
379 m_bootModeHasBeenSet =
true;
398 bool m_dryRun{
false};
400 bool m_encrypted{
false};
419 bool m_architectureHasBeenSet =
false;
420 bool m_clientDataHasBeenSet =
false;
421 bool m_clientTokenHasBeenSet =
false;
422 bool m_descriptionHasBeenSet =
false;
423 bool m_diskContainersHasBeenSet =
false;
424 bool m_dryRunHasBeenSet =
false;
425 bool m_encryptedHasBeenSet =
false;
426 bool m_hypervisorHasBeenSet =
false;
427 bool m_kmsKeyIdHasBeenSet =
false;
428 bool m_licenseTypeHasBeenSet =
false;
429 bool m_platformHasBeenSet =
false;
430 bool m_roleNameHasBeenSet =
false;
431 bool m_licenseSpecificationsHasBeenSet =
false;
432 bool m_tagSpecificationsHasBeenSet =
false;
433 bool m_usageOperationHasBeenSet =
false;
434 bool m_bootModeHasBeenSet =
false;
ImportImageRequest & WithTagSpecifications(TagSpecificationsT &&value)
const Aws::String & GetUsageOperation() const
bool HypervisorHasBeenSet() const
void SetTagSpecifications(TagSpecificationsT &&value)
bool DiskContainersHasBeenSet() const
bool ClientDataHasBeenSet() const
void SetDiskContainers(DiskContainersT &&value)
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetPlatform() const
const Aws::String & GetLicenseType() const
bool LicenseSpecificationsHasBeenSet() const
ImportImageRequest & WithDescription(DescriptionT &&value)
ImportImageRequest & WithBootMode(BootModeValues value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ImportImageRequest & WithUsageOperation(UsageOperationT &&value)
void SetArchitecture(ArchitectureT &&value)
void SetBootMode(BootModeValues value)
const Aws::String & GetKmsKeyId() const
void SetHypervisor(HypervisorT &&value)
const Aws::String & GetRoleName() const
void SetClientData(ClientDataT &&value)
void SetRoleName(RoleNameT &&value)
BootModeValues GetBootMode() const
void SetUsageOperation(UsageOperationT &&value)
void SetEncrypted(bool value)
const ClientData & GetClientData() const
const Aws::Vector< ImportImageLicenseConfigurationRequest > & GetLicenseSpecifications() const
const Aws::String & GetHypervisor() const
bool DescriptionHasBeenSet() const
bool ArchitectureHasBeenSet() const
bool DryRunHasBeenSet() const
bool TagSpecificationsHasBeenSet() const
ImportImageRequest & WithKmsKeyId(KmsKeyIdT &&value)
bool GetEncrypted() const
const Aws::String & GetDescription() const
ImportImageRequest & WithEncrypted(bool value)
ImportImageRequest & AddLicenseSpecifications(LicenseSpecificationsT &&value)
void SetLicenseSpecifications(LicenseSpecificationsT &&value)
ImportImageRequest & WithClientToken(ClientTokenT &&value)
bool ClientTokenHasBeenSet() const
ImportImageRequest & WithClientData(ClientDataT &&value)
ImportImageRequest & WithLicenseType(LicenseTypeT &&value)
bool UsageOperationHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
bool RoleNameHasBeenSet() const
const Aws::String & GetClientToken() const
ImportImageRequest & AddDiskContainers(DiskContainersT &&value)
const Aws::Vector< ImageDiskContainer > & GetDiskContainers() const
bool PlatformHasBeenSet() const
bool BootModeHasBeenSet() const
void SetDescription(DescriptionT &&value)
ImportImageRequest & WithArchitecture(ArchitectureT &&value)
ImportImageRequest & WithDryRun(bool value)
const Aws::String & GetArchitecture() const
AWS_EC2_API Aws::String SerializePayload() const override
void SetPlatform(PlatformT &&value)
void SetLicenseType(LicenseTypeT &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
ImportImageRequest & AddTagSpecifications(TagSpecificationsT &&value)
bool EncryptedHasBeenSet() const
ImportImageRequest & WithDiskContainers(DiskContainersT &&value)
bool LicenseTypeHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
ImportImageRequest & WithRoleName(RoleNameT &&value)
ImportImageRequest & WithLicenseSpecifications(LicenseSpecificationsT &&value)
virtual const char * GetServiceRequestName() const override
ImportImageRequest & WithPlatform(PlatformT &&value)
AWS_EC2_API ImportImageRequest()=default
void SetDryRun(bool value)
ImportImageRequest & WithHypervisor(HypervisorT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector