7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/BootModeValues.h>
12#include <aws/ec2/model/SnapshotDetail.h>
13#include <aws/ec2/model/Tag.h>
14#include <aws/ec2/model/ImportImageLicenseConfigurationResponse.h>
56 inline void SetArchitecture(
const char* value) { m_architectureHasBeenSet =
true; m_architecture.assign(value); }
70 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
82 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
95 inline void SetHypervisor(
const char* value) { m_hypervisorHasBeenSet =
true; m_hypervisor.assign(value); }
109 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
123 inline void SetImportTaskId(
const char* value) { m_importTaskIdHasBeenSet =
true; m_importTaskId.assign(value); }
138 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
152 inline void SetLicenseType(
const char* value) { m_licenseTypeHasBeenSet =
true; m_licenseType.assign(value); }
166 inline void SetPlatform(
const char* value) { m_platformHasBeenSet =
true; m_platform.assign(value); }
180 inline void SetProgress(
const char* value) { m_progressHasBeenSet =
true; m_progress.assign(value); }
208 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
222 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
265 inline void SetUsageOperation(
const char* value) { m_usageOperationHasBeenSet =
true; m_usageOperation.assign(value); }
285 bool m_architectureHasBeenSet =
false;
288 bool m_descriptionHasBeenSet =
false;
291 bool m_encryptedHasBeenSet =
false;
294 bool m_hypervisorHasBeenSet =
false;
297 bool m_imageIdHasBeenSet =
false;
300 bool m_importTaskIdHasBeenSet =
false;
303 bool m_kmsKeyIdHasBeenSet =
false;
306 bool m_licenseTypeHasBeenSet =
false;
309 bool m_platformHasBeenSet =
false;
312 bool m_progressHasBeenSet =
false;
315 bool m_snapshotDetailsHasBeenSet =
false;
318 bool m_statusHasBeenSet =
false;
321 bool m_statusMessageHasBeenSet =
false;
324 bool m_tagsHasBeenSet =
false;
327 bool m_licenseSpecificationsHasBeenSet =
false;
330 bool m_usageOperationHasBeenSet =
false;
333 bool m_bootModeHasBeenSet =
false;
void SetUsageOperation(Aws::String &&value)
ImportImageTask & WithDescription(const Aws::String &value)
AWS_EC2_API ImportImageTask()
const Aws::Vector< Tag > & GetTags() const
bool KmsKeyIdHasBeenSet() const
ImportImageTask & WithStatus(Aws::String &&value)
void SetKmsKeyId(Aws::String &&value)
ImportImageTask & WithImageId(const char *value)
ImportImageTask & WithSnapshotDetails(const Aws::Vector< SnapshotDetail > &value)
void SetHypervisor(Aws::String &&value)
ImportImageTask & WithStatusMessage(Aws::String &&value)
ImportImageTask & WithKmsKeyId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ImportImageTask & AddTags(const Tag &value)
ImportImageTask & AddSnapshotDetails(SnapshotDetail &&value)
ImportImageTask & WithProgress(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
bool SnapshotDetailsHasBeenSet() const
void SetImportTaskId(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetStatus(const Aws::String &value)
void SetHypervisor(const char *value)
bool LicenseTypeHasBeenSet() const
void SetArchitecture(const char *value)
bool UsageOperationHasBeenSet() const
void SetBootMode(BootModeValues &&value)
const Aws::Vector< SnapshotDetail > & GetSnapshotDetails() const
ImportImageTask & WithProgress(Aws::String &&value)
const BootModeValues & GetBootMode() const
ImportImageTask & WithLicenseType(const char *value)
bool GetEncrypted() const
void SetArchitecture(Aws::String &&value)
void SetLicenseType(Aws::String &&value)
void SetImageId(Aws::String &&value)
const Aws::String & GetHypervisor() const
void SetLicenseSpecifications(const Aws::Vector< ImportImageLicenseConfigurationResponse > &value)
ImportImageTask & WithKmsKeyId(const char *value)
const Aws::String & GetImageId() const
ImportImageTask & WithUsageOperation(const Aws::String &value)
bool TagsHasBeenSet() const
void SetLicenseType(const char *value)
ImportImageTask & WithArchitecture(const char *value)
ImportImageTask & WithImportTaskId(const char *value)
bool ImportTaskIdHasBeenSet() const
ImportImageTask & WithLicenseSpecifications(const Aws::Vector< ImportImageLicenseConfigurationResponse > &value)
bool ArchitectureHasBeenSet() const
const Aws::String & GetProgress() const
bool BootModeHasBeenSet() const
bool LicenseSpecificationsHasBeenSet() const
void SetStatusMessage(const Aws::String &value)
void SetImageId(const Aws::String &value)
void SetUsageOperation(const Aws::String &value)
ImportImageTask & WithPlatform(const Aws::String &value)
AWS_EC2_API ImportImageTask(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetBootMode(const BootModeValues &value)
void SetSnapshotDetails(Aws::Vector< SnapshotDetail > &&value)
ImportImageTask & WithArchitecture(const Aws::String &value)
void SetKmsKeyId(const char *value)
bool PlatformHasBeenSet() const
ImportImageTask & WithUsageOperation(const char *value)
const Aws::String & GetStatusMessage() const
ImportImageTask & AddSnapshotDetails(const SnapshotDetail &value)
ImportImageTask & WithBootMode(const BootModeValues &value)
bool StatusHasBeenSet() const
void SetLicenseType(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetKmsKeyId(const Aws::String &value)
ImportImageTask & WithLicenseType(Aws::String &&value)
ImportImageTask & WithImageId(const Aws::String &value)
const Aws::String & GetStatus() const
bool EncryptedHasBeenSet() const
ImportImageTask & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetLicenseType() const
ImportImageTask & WithHypervisor(const Aws::String &value)
const Aws::String & GetImportTaskId() const
void SetHypervisor(const Aws::String &value)
void SetLicenseSpecifications(Aws::Vector< ImportImageLicenseConfigurationResponse > &&value)
void SetProgress(const Aws::String &value)
AWS_EC2_API ImportImageTask & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetPlatform() const
bool HypervisorHasBeenSet() const
ImportImageTask & WithEncrypted(bool value)
ImportImageTask & WithKmsKeyId(const Aws::String &value)
bool ImageIdHasBeenSet() const
void SetProgress(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
void SetStatus(const char *value)
ImportImageTask & WithPlatform(const char *value)
bool StatusMessageHasBeenSet() const
ImportImageTask & WithStatus(const Aws::String &value)
ImportImageTask & WithImportTaskId(const Aws::String &value)
ImportImageTask & AddLicenseSpecifications(const ImportImageLicenseConfigurationResponse &value)
void SetImportTaskId(const char *value)
ImportImageTask & WithDescription(const char *value)
ImportImageTask & AddLicenseSpecifications(ImportImageLicenseConfigurationResponse &&value)
ImportImageTask & WithPlatform(Aws::String &&value)
ImportImageTask & WithImportTaskId(Aws::String &&value)
void SetPlatform(Aws::String &&value)
ImportImageTask & WithHypervisor(Aws::String &&value)
ImportImageTask & WithSnapshotDetails(Aws::Vector< SnapshotDetail > &&value)
void SetDescription(const char *value)
void SetUsageOperation(const char *value)
ImportImageTask & WithStatus(const char *value)
ImportImageTask & WithLicenseSpecifications(Aws::Vector< ImportImageLicenseConfigurationResponse > &&value)
ImportImageTask & WithLicenseType(const Aws::String &value)
const Aws::String & GetDescription() const
const Aws::String & GetArchitecture() const
ImportImageTask & WithArchitecture(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetPlatform(const Aws::String &value)
void SetStatusMessage(const char *value)
ImportImageTask & WithHypervisor(const char *value)
void SetImportTaskId(Aws::String &&value)
ImportImageTask & WithProgress(const Aws::String &value)
const Aws::String & GetUsageOperation() const
ImportImageTask & WithStatusMessage(const char *value)
void SetProgress(Aws::String &&value)
ImportImageTask & WithStatusMessage(const Aws::String &value)
const Aws::String & GetKmsKeyId() const
ImportImageTask & WithBootMode(BootModeValues &&value)
void SetArchitecture(const Aws::String &value)
void SetPlatform(const char *value)
void SetEncrypted(bool value)
void SetImageId(const char *value)
ImportImageTask & WithTags(Aws::Vector< Tag > &&value)
void SetDescription(const Aws::String &value)
bool ProgressHasBeenSet() const
const Aws::Vector< ImportImageLicenseConfigurationResponse > & GetLicenseSpecifications() const
ImportImageTask & AddTags(Tag &&value)
ImportImageTask & WithImageId(Aws::String &&value)
void SetSnapshotDetails(const Aws::Vector< SnapshotDetail > &value)
ImportImageTask & WithDescription(Aws::String &&value)
ImportImageTask & WithUsageOperation(Aws::String &&value)
void SetStatusMessage(Aws::String &&value)
void SetStatus(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream