7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ClientData.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/BootModeValues.h>
13#include <aws/ec2/model/ImageDiskContainer.h>
14#include <aws/ec2/model/ImportImageLicenseConfigurationRequest.h>
15#include <aws/ec2/model/TagSpecification.h>
52 template<
typename ArchitectureT = Aws::String>
53 void SetArchitecture(ArchitectureT&& value) { m_architectureHasBeenSet =
true; m_architecture = std::forward<ArchitectureT>(value); }
54 template<
typename ArchitectureT = Aws::String>
64 template<
typename ClientDataT = ClientData>
65 void SetClientData(ClientDataT&& value) { m_clientDataHasBeenSet =
true; m_clientData = std::forward<ClientDataT>(value); }
66 template<
typename ClientDataT = ClientData>
76 template<
typename ClientTokenT = Aws::String>
77 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
78 template<
typename ClientTokenT = Aws::String>
88 template<
typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
90 template<
typename DescriptionT = Aws::String>
100 template<
typename DiskContainersT = Aws::Vector<ImageDiskContainer>>
101 void SetDiskContainers(DiskContainersT&& value) { m_diskContainersHasBeenSet =
true; m_diskContainers = std::forward<DiskContainersT>(value); }
102 template<
typename DiskContainersT = Aws::Vector<ImageDiskContainer>>
104 template<
typename DiskContainersT = ImageDiskContainer>
117 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
131 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
141 template<
typename HypervisorT = Aws::String>
142 void SetHypervisor(HypervisorT&& value) { m_hypervisorHasBeenSet =
true; m_hypervisor = std::forward<HypervisorT>(value); }
143 template<
typename HypervisorT = Aws::String>
172 template<
typename KmsKeyIdT = Aws::String>
173 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
174 template<
typename KmsKeyIdT = Aws::String>
195 template<
typename LicenseTypeT = Aws::String>
196 void SetLicenseType(LicenseTypeT&& value) { m_licenseTypeHasBeenSet =
true; m_licenseType = std::forward<LicenseTypeT>(value); }
197 template<
typename LicenseTypeT = Aws::String>
210 template<
typename PlatformT = Aws::String>
211 void SetPlatform(PlatformT&& value) { m_platformHasBeenSet =
true; m_platform = std::forward<PlatformT>(value); }
212 template<
typename PlatformT = Aws::String>
222 template<
typename RoleNameT = Aws::String>
223 void SetRoleName(RoleNameT&& value) { m_roleNameHasBeenSet =
true; m_roleName = std::forward<RoleNameT>(value); }
224 template<
typename RoleNameT = Aws::String>
234 template<
typename LicenseSpecificationsT = Aws::Vector<ImportImageLicenseConfigurationRequest>>
235 void SetLicenseSpecifications(LicenseSpecificationsT&& value) { m_licenseSpecificationsHasBeenSet =
true; m_licenseSpecifications = std::forward<LicenseSpecificationsT>(value); }
236 template<
typename LicenseSpecificationsT = Aws::Vector<ImportImageLicenseConfigurationRequest>>
238 template<
typename LicenseSpecificationsT = ImportImageLicenseConfigurationRequest>
248 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
249 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
250 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
252 template<
typename TagSpecificationsT = TagSpecification>
264 template<
typename UsageOperationT = Aws::String>
265 void SetUsageOperation(UsageOperationT&& value) { m_usageOperationHasBeenSet =
true; m_usageOperation = std::forward<UsageOperationT>(value); }
266 template<
typename UsageOperationT = Aws::String>
286 bool m_architectureHasBeenSet =
false;
289 bool m_clientDataHasBeenSet =
false;
292 bool m_clientTokenHasBeenSet =
false;
295 bool m_descriptionHasBeenSet =
false;
298 bool m_diskContainersHasBeenSet =
false;
300 bool m_dryRun{
false};
301 bool m_dryRunHasBeenSet =
false;
303 bool m_encrypted{
false};
304 bool m_encryptedHasBeenSet =
false;
307 bool m_hypervisorHasBeenSet =
false;
310 bool m_kmsKeyIdHasBeenSet =
false;
313 bool m_licenseTypeHasBeenSet =
false;
316 bool m_platformHasBeenSet =
false;
319 bool m_roleNameHasBeenSet =
false;
322 bool m_licenseSpecificationsHasBeenSet =
false;
325 bool m_tagSpecificationsHasBeenSet =
false;
328 bool m_usageOperationHasBeenSet =
false;
331 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