7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/DiskImageFormat.h>
12#include <aws/ec2/model/ExportTaskS3Location.h>
13#include <aws/ec2/model/ResponseMetadata.h>
14#include <aws/ec2/model/Tag.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename DescriptionT = Aws::String>
42 m_descriptionHasBeenSet =
true;
43 m_description = std::forward<DescriptionT>(value);
45 template <
typename DescriptionT = Aws::String>
58 m_diskImageFormatHasBeenSet =
true;
59 m_diskImageFormat = value;
72 template <
typename ExportImageTaskIdT = Aws::String>
74 m_exportImageTaskIdHasBeenSet =
true;
75 m_exportImageTaskId = std::forward<ExportImageTaskIdT>(value);
77 template <
typename ExportImageTaskIdT = Aws::String>
89 template <
typename ImageIdT = Aws::String>
91 m_imageIdHasBeenSet =
true;
92 m_imageId = std::forward<ImageIdT>(value);
94 template <
typename ImageIdT = Aws::String>
107 template <
typename RoleNameT = Aws::String>
109 m_roleNameHasBeenSet =
true;
110 m_roleName = std::forward<RoleNameT>(value);
112 template <
typename RoleNameT = Aws::String>
124 template <
typename ProgressT = Aws::String>
126 m_progressHasBeenSet =
true;
127 m_progress = std::forward<ProgressT>(value);
129 template <
typename ProgressT = Aws::String>
141 template <
typename S3ExportLocationT = ExportTaskS3Location>
143 m_s3ExportLocationHasBeenSet =
true;
144 m_s3ExportLocation = std::forward<S3ExportLocationT>(value);
146 template <
typename S3ExportLocationT = ExportTaskS3Location>
160 template <
typename StatusT = Aws::String>
162 m_statusHasBeenSet =
true;
163 m_status = std::forward<StatusT>(value);
165 template <
typename StatusT = Aws::String>
177 template <
typename StatusMessageT = Aws::String>
179 m_statusMessageHasBeenSet =
true;
180 m_statusMessage = std::forward<StatusMessageT>(value);
182 template <
typename StatusMessageT = Aws::String>
194 template <
typename TagsT = Aws::Vector<Tag>>
196 m_tagsHasBeenSet =
true;
197 m_tags = std::forward<TagsT>(value);
199 template <
typename TagsT = Aws::Vector<Tag>>
201 SetTags(std::forward<TagsT>(value));
204 template <
typename TagsT = Tag>
206 m_tagsHasBeenSet =
true;
207 m_tags.emplace_back(std::forward<TagsT>(value));
215 template <
typename ResponseMetadataT = ResponseMetadata>
217 m_responseMetadataHasBeenSet =
true;
218 m_responseMetadata = std::forward<ResponseMetadataT>(value);
220 template <
typename ResponseMetadataT = ResponseMetadata>
241 ExportTaskS3Location m_s3ExportLocation;
249 ResponseMetadata m_responseMetadata;
251 bool m_descriptionHasBeenSet =
false;
252 bool m_diskImageFormatHasBeenSet =
false;
253 bool m_exportImageTaskIdHasBeenSet =
false;
254 bool m_imageIdHasBeenSet =
false;
255 bool m_roleNameHasBeenSet =
false;
256 bool m_progressHasBeenSet =
false;
257 bool m_s3ExportLocationHasBeenSet =
false;
258 bool m_statusHasBeenSet =
false;
259 bool m_statusMessageHasBeenSet =
false;
260 bool m_tagsHasBeenSet =
false;
261 bool m_responseMetadataHasBeenSet =
false;
const ExportTaskS3Location & GetS3ExportLocation() const
ExportImageResponse & WithStatus(StatusT &&value)
void SetStatus(StatusT &&value)
ExportImageResponse & WithS3ExportLocation(S3ExportLocationT &&value)
AWS_EC2_API ExportImageResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
ExportImageResponse & WithResponseMetadata(ResponseMetadataT &&value)
const Aws::String & GetExportImageTaskId() const
const Aws::String & GetDescription() const
const Aws::String & GetStatus() const
ExportImageResponse & WithExportImageTaskId(ExportImageTaskIdT &&value)
void SetExportImageTaskId(ExportImageTaskIdT &&value)
ExportImageResponse & WithDiskImageFormat(DiskImageFormat value)
AWS_EC2_API ExportImageResponse()=default
const Aws::String & GetStatusMessage() const
ExportImageResponse & WithDescription(DescriptionT &&value)
DiskImageFormat GetDiskImageFormat() const
ExportImageResponse & WithRoleName(RoleNameT &&value)
void SetS3ExportLocation(S3ExportLocationT &&value)
void SetDiskImageFormat(DiskImageFormat value)
const Aws::String & GetProgress() const
ExportImageResponse & WithProgress(ProgressT &&value)
ExportImageResponse & WithTags(TagsT &&value)
void SetRoleName(RoleNameT &&value)
const Aws::Vector< Tag > & GetTags() const
ExportImageResponse & AddTags(TagsT &&value)
AWS_EC2_API ExportImageResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetStatusMessage(StatusMessageT &&value)
void SetTags(TagsT &&value)
ExportImageResponse & WithStatusMessage(StatusMessageT &&value)
const Aws::String & GetRoleName() const
void SetImageId(ImageIdT &&value)
ExportImageResponse & WithImageId(ImageIdT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
void SetProgress(ProgressT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetImageId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument