7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2Request.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/DiskImageFormat.h>
13#include <aws/ec2/model/ExportTaskS3LocationRequest.h>
14#include <aws/ec2/model/TagSpecification.h>
46 template <
typename ClientTokenT = Aws::String>
48 m_clientTokenHasBeenSet =
true;
49 m_clientToken = std::forward<ClientTokenT>(value);
51 template <
typename ClientTokenT = Aws::String>
65 template <
typename DescriptionT = Aws::String>
67 m_descriptionHasBeenSet =
true;
68 m_description = std::forward<DescriptionT>(value);
70 template <
typename DescriptionT = Aws::String>
84 m_diskImageFormatHasBeenSet =
true;
85 m_diskImageFormat = value;
103 m_dryRunHasBeenSet =
true;
118 template <
typename ImageIdT = Aws::String>
120 m_imageIdHasBeenSet =
true;
121 m_imageId = std::forward<ImageIdT>(value);
123 template <
typename ImageIdT = Aws::String>
137 template <
typename S3ExportLocationT = ExportTaskS3LocationRequest>
139 m_s3ExportLocationHasBeenSet =
true;
140 m_s3ExportLocation = std::forward<S3ExportLocationT>(value);
142 template <
typename S3ExportLocationT = ExportTaskS3LocationRequest>
157 template <
typename RoleNameT = Aws::String>
159 m_roleNameHasBeenSet =
true;
160 m_roleName = std::forward<RoleNameT>(value);
162 template <
typename RoleNameT = Aws::String>
175 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
177 m_tagSpecificationsHasBeenSet =
true;
178 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
180 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
185 template <
typename TagSpecificationsT = TagSpecification>
187 m_tagSpecificationsHasBeenSet =
true;
188 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
199 bool m_dryRun{
false};
203 ExportTaskS3LocationRequest m_s3ExportLocation;
208 bool m_clientTokenHasBeenSet =
true;
209 bool m_descriptionHasBeenSet =
false;
210 bool m_diskImageFormatHasBeenSet =
false;
211 bool m_dryRunHasBeenSet =
false;
212 bool m_imageIdHasBeenSet =
false;
213 bool m_s3ExportLocationHasBeenSet =
false;
214 bool m_roleNameHasBeenSet =
false;
215 bool m_tagSpecificationsHasBeenSet =
false;
ExportImageRequest & WithDryRun(bool value)
ExportImageRequest & WithDescription(DescriptionT &&value)
void SetClientToken(ClientTokenT &&value)
bool ImageIdHasBeenSet() const
bool RoleNameHasBeenSet() const
ExportImageRequest & WithRoleName(RoleNameT &&value)
ExportImageRequest & WithS3ExportLocation(S3ExportLocationT &&value)
bool S3ExportLocationHasBeenSet() const
const Aws::String & GetRoleName() const
void SetS3ExportLocation(S3ExportLocationT &&value)
ExportImageRequest & WithImageId(ImageIdT &&value)
bool DescriptionHasBeenSet() const
ExportImageRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
ExportImageRequest & WithTagSpecifications(TagSpecificationsT &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetRoleName(RoleNameT &&value)
ExportImageRequest & AddTagSpecifications(TagSpecificationsT &&value)
void SetDryRun(bool value)
ExportImageRequest & WithDiskImageFormat(DiskImageFormat value)
bool TagSpecificationsHasBeenSet() const
bool DiskImageFormatHasBeenSet() const
bool ClientTokenHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDescription() const
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool DryRunHasBeenSet() const
DiskImageFormat GetDiskImageFormat() const
void SetDescription(DescriptionT &&value)
void SetTagSpecifications(TagSpecificationsT &&value)
const Aws::String & GetImageId() const
const ExportTaskS3LocationRequest & GetS3ExportLocation() const
void SetDiskImageFormat(DiskImageFormat value)
AWS_EC2_API ExportImageRequest()=default
void SetImageId(ImageIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector