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>
54 inline void SetArchitecture(
const char* value) { m_architectureHasBeenSet =
true; m_architecture.assign(value); }
80 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
94 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
123 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
137 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
149 inline void SetHypervisor(
const char* value) { m_hypervisorHasBeenSet =
true; m_hypervisor.assign(value); }
182 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
207 inline void SetLicenseType(
const char* value) { m_licenseTypeHasBeenSet =
true; m_licenseType.assign(value); }
224 inline void SetPlatform(
const char* value) { m_platformHasBeenSet =
true; m_platform.assign(value); }
238 inline void SetRoleName(
const char* value) { m_roleNameHasBeenSet =
true; m_roleName.assign(value); }
282 inline void SetUsageOperation(
const char* value) { m_usageOperationHasBeenSet =
true; m_usageOperation.assign(value); }
306 bool m_architectureHasBeenSet =
false;
309 bool m_clientDataHasBeenSet =
false;
312 bool m_clientTokenHasBeenSet =
false;
315 bool m_descriptionHasBeenSet =
false;
318 bool m_diskContainersHasBeenSet =
false;
321 bool m_dryRunHasBeenSet =
false;
324 bool m_encryptedHasBeenSet =
false;
327 bool m_hypervisorHasBeenSet =
false;
330 bool m_kmsKeyIdHasBeenSet =
false;
333 bool m_licenseTypeHasBeenSet =
false;
336 bool m_platformHasBeenSet =
false;
339 bool m_roleNameHasBeenSet =
false;
342 bool m_licenseSpecificationsHasBeenSet =
false;
345 bool m_tagSpecificationsHasBeenSet =
false;
348 bool m_usageOperationHasBeenSet =
false;
351 bool m_bootModeHasBeenSet =
false;
ImportImageRequest & WithLicenseType(const Aws::String &value)
const Aws::String & GetUsageOperation() const
bool HypervisorHasBeenSet() const
void SetArchitecture(const char *value)
void SetLicenseType(Aws::String &&value)
ImportImageRequest & WithUsageOperation(const char *value)
bool DiskContainersHasBeenSet() const
void SetClientToken(Aws::String &&value)
void SetHypervisor(const Aws::String &value)
bool ClientDataHasBeenSet() const
ImportImageRequest & AddLicenseSpecifications(const ImportImageLicenseConfigurationRequest &value)
void SetHypervisor(Aws::String &&value)
ImportImageRequest & WithBootMode(const BootModeValues &value)
void SetHypervisor(const char *value)
ImportImageRequest & WithPlatform(const Aws::String &value)
bool KmsKeyIdHasBeenSet() const
ImportImageRequest & WithDiskContainers(const Aws::Vector< ImageDiskContainer > &value)
const Aws::String & GetPlatform() const
void SetUsageOperation(Aws::String &&value)
const Aws::String & GetLicenseType() const
bool LicenseSpecificationsHasBeenSet() const
ImportImageRequest & WithRoleName(Aws::String &&value)
ImportImageRequest & WithClientData(const ClientData &value)
void SetDescription(const char *value)
void SetUsageOperation(const char *value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ImportImageRequest & WithDescription(const Aws::String &value)
ImportImageRequest & WithUsageOperation(Aws::String &&value)
ImportImageRequest & WithClientToken(const char *value)
const Aws::String & GetKmsKeyId() const
void SetLicenseType(const char *value)
ImportImageRequest & WithLicenseSpecifications(Aws::Vector< ImportImageLicenseConfigurationRequest > &&value)
void SetUsageOperation(const Aws::String &value)
ImportImageRequest & WithHypervisor(const Aws::String &value)
const Aws::String & GetRoleName() const
ImportImageRequest & WithBootMode(BootModeValues &&value)
ImportImageRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
ImportImageRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
ImportImageRequest & WithDiskContainers(Aws::Vector< ImageDiskContainer > &&value)
void SetEncrypted(bool value)
ImportImageRequest & WithKmsKeyId(const Aws::String &value)
const ClientData & GetClientData() const
void SetRoleName(const char *value)
const Aws::Vector< ImportImageLicenseConfigurationRequest > & GetLicenseSpecifications() const
ImportImageRequest & WithPlatform(const char *value)
ImportImageRequest & WithKmsKeyId(Aws::String &&value)
const Aws::String & GetHypervisor() const
void SetBootMode(const BootModeValues &value)
bool DescriptionHasBeenSet() const
bool ArchitectureHasBeenSet() const
ImportImageRequest & AddTagSpecifications(const TagSpecification &value)
bool DryRunHasBeenSet() const
ImportImageRequest & WithClientData(ClientData &&value)
bool TagSpecificationsHasBeenSet() const
void SetDiskContainers(Aws::Vector< ImageDiskContainer > &&value)
bool GetEncrypted() const
void SetPlatform(const Aws::String &value)
const Aws::String & GetDescription() const
ImportImageRequest & WithHypervisor(const char *value)
ImportImageRequest & WithEncrypted(bool value)
void SetClientData(ClientData &&value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
ImportImageRequest & WithLicenseType(Aws::String &&value)
void SetKmsKeyId(const char *value)
void SetPlatform(Aws::String &&value)
ImportImageRequest & AddLicenseSpecifications(ImportImageLicenseConfigurationRequest &&value)
void SetKmsKeyId(const Aws::String &value)
bool ClientTokenHasBeenSet() const
void SetDiskContainers(const Aws::Vector< ImageDiskContainer > &value)
void SetPlatform(const char *value)
ImportImageRequest & AddDiskContainers(const ImageDiskContainer &value)
ImportImageRequest & WithHypervisor(Aws::String &&value)
void SetLicenseSpecifications(const Aws::Vector< ImportImageLicenseConfigurationRequest > &value)
ImportImageRequest & AddTagSpecifications(TagSpecification &&value)
ImportImageRequest & WithUsageOperation(const Aws::String &value)
void SetArchitecture(const Aws::String &value)
ImportImageRequest & WithArchitecture(const Aws::String &value)
void SetLicenseSpecifications(Aws::Vector< ImportImageLicenseConfigurationRequest > &&value)
bool UsageOperationHasBeenSet() const
void SetDescription(const Aws::String &value)
bool RoleNameHasBeenSet() const
ImportImageRequest & WithDescription(Aws::String &&value)
void SetDescription(Aws::String &&value)
const Aws::String & GetClientToken() const
ImportImageRequest & WithKmsKeyId(const char *value)
void SetBootMode(BootModeValues &&value)
void SetClientToken(const char *value)
ImportImageRequest & WithDescription(const char *value)
const Aws::Vector< ImageDiskContainer > & GetDiskContainers() const
ImportImageRequest & WithRoleName(const char *value)
ImportImageRequest & WithPlatform(Aws::String &&value)
bool PlatformHasBeenSet() const
bool BootModeHasBeenSet() const
ImportImageRequest & WithLicenseSpecifications(const Aws::Vector< ImportImageLicenseConfigurationRequest > &value)
ImportImageRequest & WithDryRun(bool value)
const Aws::String & GetArchitecture() const
AWS_EC2_API Aws::String SerializePayload() const override
ImportImageRequest & WithArchitecture(const char *value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetRoleName(const Aws::String &value)
void SetLicenseType(const Aws::String &value)
ImportImageRequest & WithArchitecture(Aws::String &&value)
void SetClientData(const ClientData &value)
bool EncryptedHasBeenSet() const
ImportImageRequest & WithLicenseType(const char *value)
bool LicenseTypeHasBeenSet() const
void SetKmsKeyId(Aws::String &&value)
void SetRoleName(Aws::String &&value)
AWS_EC2_API ImportImageRequest()
ImportImageRequest & WithRoleName(const Aws::String &value)
void SetClientToken(const Aws::String &value)
ImportImageRequest & WithClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ImportImageRequest & WithClientToken(Aws::String &&value)
const BootModeValues & GetBootMode() const
void SetArchitecture(Aws::String &&value)
ImportImageRequest & AddDiskContainers(ImageDiskContainer &&value)
void SetDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector