7#include <aws/core/utils/memory/stl/AWSStreamFwd.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/ExportTaskS3Location.h>
12#include <aws/ec2/model/Tag.h>
45 template <
typename DescriptionT = Aws::String>
47 m_descriptionHasBeenSet =
true;
48 m_description = std::forward<DescriptionT>(value);
50 template <
typename DescriptionT = Aws::String>
63 template <
typename ExportImageTaskIdT = Aws::String>
65 m_exportImageTaskIdHasBeenSet =
true;
66 m_exportImageTaskId = std::forward<ExportImageTaskIdT>(value);
68 template <
typename ExportImageTaskIdT = Aws::String>
81 template <
typename ImageIdT = Aws::String>
83 m_imageIdHasBeenSet =
true;
84 m_imageId = std::forward<ImageIdT>(value);
86 template <
typename ImageIdT = Aws::String>
99 template <
typename ProgressT = Aws::String>
101 m_progressHasBeenSet =
true;
102 m_progress = std::forward<ProgressT>(value);
104 template <
typename ProgressT = Aws::String>
117 template <
typename S3ExportLocationT = ExportTaskS3Location>
119 m_s3ExportLocationHasBeenSet =
true;
120 m_s3ExportLocation = std::forward<S3ExportLocationT>(value);
122 template <
typename S3ExportLocationT = ExportTaskS3Location>
137 template <
typename StatusT = Aws::String>
139 m_statusHasBeenSet =
true;
140 m_status = std::forward<StatusT>(value);
142 template <
typename StatusT = Aws::String>
155 template <
typename StatusMessageT = Aws::String>
157 m_statusMessageHasBeenSet =
true;
158 m_statusMessage = std::forward<StatusMessageT>(value);
160 template <
typename StatusMessageT = Aws::String>
173 template <
typename TagsT = Aws::Vector<Tag>>
175 m_tagsHasBeenSet =
true;
176 m_tags = std::forward<TagsT>(value);
178 template <
typename TagsT = Aws::Vector<Tag>>
180 SetTags(std::forward<TagsT>(value));
183 template <
typename TagsT = Tag>
185 m_tagsHasBeenSet =
true;
186 m_tags.emplace_back(std::forward<TagsT>(value));
206 bool m_descriptionHasBeenSet =
false;
207 bool m_exportImageTaskIdHasBeenSet =
false;
208 bool m_imageIdHasBeenSet =
false;
209 bool m_progressHasBeenSet =
false;
210 bool m_s3ExportLocationHasBeenSet =
false;
211 bool m_statusHasBeenSet =
false;
212 bool m_statusMessageHasBeenSet =
false;
213 bool m_tagsHasBeenSet =
false;
void SetProgress(ProgressT &&value)
ExportImageTask & WithExportImageTaskId(ExportImageTaskIdT &&value)
ExportImageTask & WithStatus(StatusT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ExportImageTask & WithS3ExportLocation(S3ExportLocationT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ImageIdHasBeenSet() const
void SetStatusMessage(StatusMessageT &&value)
AWS_EC2_API ExportImageTask()=default
ExportImageTask & WithDescription(DescriptionT &&value)
void SetExportImageTaskId(ExportImageTaskIdT &&value)
ExportImageTask & WithImageId(ImageIdT &&value)
void SetImageId(ImageIdT &&value)
bool StatusHasBeenSet() const
bool DescriptionHasBeenSet() const
ExportImageTask & AddTags(TagsT &&value)
const Aws::String & GetDescription() const
ExportImageTask & WithTags(TagsT &&value)
bool ExportImageTaskIdHasBeenSet() const
ExportImageTask & WithStatusMessage(StatusMessageT &&value)
void SetS3ExportLocation(S3ExportLocationT &&value)
const Aws::String & GetProgress() const
const ExportTaskS3Location & GetS3ExportLocation() const
const Aws::String & GetImageId() const
void SetStatus(StatusT &&value)
AWS_EC2_API ExportImageTask & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDescription(DescriptionT &&value)
bool TagsHasBeenSet() const
bool S3ExportLocationHasBeenSet() const
AWS_EC2_API ExportImageTask(const Aws::Utils::Xml::XmlNode &xmlNode)
ExportImageTask & WithProgress(ProgressT &&value)
const Aws::String & GetStatusMessage() const
bool ProgressHasBeenSet() const
void SetTags(TagsT &&value)
bool StatusMessageHasBeenSet() const
const Aws::String & GetExportImageTaskId() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetStatus() const
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