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/ec2/model/ExportTaskS3Location.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/Tag.h>
51 template<
typename DescriptionT = Aws::String>
52 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
53 template<
typename DescriptionT = Aws::String>
63 template<
typename ExportImageTaskIdT = Aws::String>
64 void SetExportImageTaskId(ExportImageTaskIdT&& value) { m_exportImageTaskIdHasBeenSet =
true; m_exportImageTaskId = std::forward<ExportImageTaskIdT>(value); }
65 template<
typename ExportImageTaskIdT = Aws::String>
75 template<
typename ImageIdT = Aws::String>
76 void SetImageId(ImageIdT&& value) { m_imageIdHasBeenSet =
true; m_imageId = std::forward<ImageIdT>(value); }
77 template<
typename ImageIdT = Aws::String>
87 template<
typename ProgressT = Aws::String>
88 void SetProgress(ProgressT&& value) { m_progressHasBeenSet =
true; m_progress = std::forward<ProgressT>(value); }
89 template<
typename ProgressT = Aws::String>
99 template<
typename S3ExportLocationT = ExportTaskS3Location>
100 void SetS3ExportLocation(S3ExportLocationT&& value) { m_s3ExportLocationHasBeenSet =
true; m_s3ExportLocation = std::forward<S3ExportLocationT>(value); }
101 template<
typename S3ExportLocationT = ExportTaskS3Location>
113 template<
typename StatusT = Aws::String>
114 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
115 template<
typename StatusT = Aws::String>
125 template<
typename StatusMessageT = Aws::String>
126 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
127 template<
typename StatusMessageT = Aws::String>
137 template<
typename TagsT = Aws::Vector<Tag>>
138 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
139 template<
typename TagsT = Aws::Vector<Tag>>
141 template<
typename TagsT = Tag>
142 ExportImageTask&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
147 bool m_descriptionHasBeenSet =
false;
150 bool m_exportImageTaskIdHasBeenSet =
false;
153 bool m_imageIdHasBeenSet =
false;
156 bool m_progressHasBeenSet =
false;
159 bool m_s3ExportLocationHasBeenSet =
false;
162 bool m_statusHasBeenSet =
false;
165 bool m_statusMessageHasBeenSet =
false;
168 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