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/DiskImageFormat.h>
11#include <aws/ec2/model/ExportTaskS3LocationRequest.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/TagSpecification.h>
15#include <aws/core/utils/UUID.h>
52 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
67 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
94 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
106 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
135 inline void SetRoleName(
const char* value) { m_roleNameHasBeenSet =
true; m_roleName.assign(value); }
157 bool m_clientTokenHasBeenSet =
false;
160 bool m_descriptionHasBeenSet =
false;
163 bool m_diskImageFormatHasBeenSet =
false;
166 bool m_dryRunHasBeenSet =
false;
169 bool m_imageIdHasBeenSet =
false;
172 bool m_s3ExportLocationHasBeenSet =
false;
175 bool m_roleNameHasBeenSet =
false;
178 bool m_tagSpecificationsHasBeenSet =
false;
ExportImageRequest & WithDryRun(bool value)
bool ImageIdHasBeenSet() const
bool RoleNameHasBeenSet() const
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
bool S3ExportLocationHasBeenSet() const
const Aws::String & GetRoleName() const
ExportImageRequest & WithDescription(const char *value)
ExportImageRequest & WithS3ExportLocation(ExportTaskS3LocationRequest &&value)
AWS_EC2_API ExportImageRequest()
bool DescriptionHasBeenSet() const
void SetImageId(Aws::String &&value)
ExportImageRequest & AddTagSpecifications(TagSpecification &&value)
const Aws::String & GetClientToken() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
ExportImageRequest & AddTagSpecifications(const TagSpecification &value)
ExportImageRequest & WithDiskImageFormat(DiskImageFormat &&value)
void SetClientToken(Aws::String &&value)
void SetDryRun(bool value)
ExportImageRequest & WithClientToken(Aws::String &&value)
ExportImageRequest & WithImageId(const char *value)
const DiskImageFormat & GetDiskImageFormat() const
bool TagSpecificationsHasBeenSet() const
bool DiskImageFormatHasBeenSet() const
void SetImageId(const Aws::String &value)
ExportImageRequest & WithClientToken(const char *value)
ExportImageRequest & WithClientToken(const Aws::String &value)
bool ClientTokenHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetImageId(const char *value)
void SetDescription(const char *value)
ExportImageRequest & WithImageId(Aws::String &&value)
ExportImageRequest & WithImageId(const Aws::String &value)
void SetDiskImageFormat(const DiskImageFormat &value)
void SetClientToken(const Aws::String &value)
const Aws::String & GetDescription() const
AWS_EC2_API Aws::String SerializePayload() const override
void SetS3ExportLocation(const ExportTaskS3LocationRequest &value)
void SetRoleName(const char *value)
void SetDescription(Aws::String &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ExportImageRequest & WithRoleName(Aws::String &&value)
bool DryRunHasBeenSet() const
void SetS3ExportLocation(ExportTaskS3LocationRequest &&value)
ExportImageRequest & WithDiskImageFormat(const DiskImageFormat &value)
ExportImageRequest & WithDescription(Aws::String &&value)
ExportImageRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
const Aws::String & GetImageId() const
void SetRoleName(const Aws::String &value)
void SetDescription(const Aws::String &value)
ExportImageRequest & WithS3ExportLocation(const ExportTaskS3LocationRequest &value)
ExportImageRequest & WithRoleName(const Aws::String &value)
const ExportTaskS3LocationRequest & GetS3ExportLocation() const
void SetClientToken(const char *value)
ExportImageRequest & WithRoleName(const char *value)
ExportImageRequest & WithDescription(const Aws::String &value)
ExportImageRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetDiskImageFormat(DiskImageFormat &&value)
void SetRoleName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector