7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/Mgn_EXPORTS.h>
10#include <aws/mgn/model/ExportStatus.h>
11#include <aws/mgn/model/ExportTaskSummary.h>
43 template <
typename ExportIDT = Aws::String>
45 m_exportIDHasBeenSet =
true;
46 m_exportID = std::forward<ExportIDT>(value);
48 template <
typename ExportIDT = Aws::String>
61 template <
typename ArnT = Aws::String>
63 m_arnHasBeenSet =
true;
64 m_arn = std::forward<ArnT>(value);
66 template <
typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
79 template <
typename S3BucketT = Aws::String>
81 m_s3BucketHasBeenSet =
true;
82 m_s3Bucket = std::forward<S3BucketT>(value);
84 template <
typename S3BucketT = Aws::String>
97 template <
typename S3KeyT = Aws::String>
99 m_s3KeyHasBeenSet =
true;
100 m_s3Key = std::forward<S3KeyT>(value);
102 template <
typename S3KeyT = Aws::String>
104 SetS3Key(std::forward<S3KeyT>(value));
115 template <
typename S3BucketOwnerT = Aws::String>
117 m_s3BucketOwnerHasBeenSet =
true;
118 m_s3BucketOwner = std::forward<S3BucketOwnerT>(value);
120 template <
typename S3BucketOwnerT = Aws::String>
133 template <
typename CreationDateTimeT = Aws::String>
135 m_creationDateTimeHasBeenSet =
true;
136 m_creationDateTime = std::forward<CreationDateTimeT>(value);
138 template <
typename CreationDateTimeT = Aws::String>
151 template <
typename EndDateTimeT = Aws::String>
153 m_endDateTimeHasBeenSet =
true;
154 m_endDateTime = std::forward<EndDateTimeT>(value);
156 template <
typename EndDateTimeT = Aws::String>
170 m_statusHasBeenSet =
true;
186 m_progressPercentageHasBeenSet =
true;
187 m_progressPercentage = value;
201 template <
typename SummaryT = ExportTaskSummary>
203 m_summaryHasBeenSet =
true;
204 m_summary = std::forward<SummaryT>(value);
206 template <
typename SummaryT = ExportTaskSummary>
219 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
221 m_tagsHasBeenSet =
true;
222 m_tags = std::forward<TagsT>(value);
224 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
226 SetTags(std::forward<TagsT>(value));
229 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
231 m_tagsHasBeenSet =
true;
232 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
253 double m_progressPercentage{0.0};
255 ExportTaskSummary m_summary;
258 bool m_exportIDHasBeenSet =
false;
259 bool m_arnHasBeenSet =
false;
260 bool m_s3BucketHasBeenSet =
false;
261 bool m_s3KeyHasBeenSet =
false;
262 bool m_s3BucketOwnerHasBeenSet =
false;
263 bool m_creationDateTimeHasBeenSet =
false;
264 bool m_endDateTimeHasBeenSet =
false;
265 bool m_statusHasBeenSet =
false;
266 bool m_progressPercentageHasBeenSet =
false;
267 bool m_summaryHasBeenSet =
false;
268 bool m_tagsHasBeenSet =
false;
void SetProgressPercentage(double value)
bool S3KeyHasBeenSet() const
ExportTask & WithS3BucketOwner(S3BucketOwnerT &&value)
const Aws::String & GetS3Key() const
void SetEndDateTime(EndDateTimeT &&value)
bool S3BucketOwnerHasBeenSet() const
const Aws::String & GetArn() const
ExportTask & WithCreationDateTime(CreationDateTimeT &&value)
const ExportTaskSummary & GetSummary() const
void SetStatus(ExportStatus value)
ExportTask & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetS3BucketOwner() const
bool EndDateTimeHasBeenSet() const
void SetCreationDateTime(CreationDateTimeT &&value)
ExportTask & WithStatus(ExportStatus value)
const Aws::String & GetExportID() const
bool S3BucketHasBeenSet() const
void SetS3Key(S3KeyT &&value)
bool SummaryHasBeenSet() const
void SetTags(TagsT &&value)
ExportTask & WithEndDateTime(EndDateTimeT &&value)
ExportTask & WithS3Key(S3KeyT &&value)
bool CreationDateTimeHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::String & GetCreationDateTime() const
ExportTask & WithTags(TagsT &&value)
AWS_MGN_API ExportTask(Aws::Utils::Json::JsonView jsonValue)
void SetS3BucketOwner(S3BucketOwnerT &&value)
void SetArn(ArnT &&value)
double GetProgressPercentage() const
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
bool ExportIDHasBeenSet() const
bool ArnHasBeenSet() const
ExportTask & WithExportID(ExportIDT &&value)
void SetS3Bucket(S3BucketT &&value)
ExportTask & WithSummary(SummaryT &&value)
ExportTask & WithS3Bucket(S3BucketT &&value)
const Aws::String & GetEndDateTime() const
ExportStatus GetStatus() const
AWS_MGN_API ExportTask()=default
AWS_MGN_API ExportTask & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportTask & WithArn(ArnT &&value)
void SetSummary(SummaryT &&value)
const Aws::String & GetS3Bucket() const
bool ProgressPercentageHasBeenSet() const
bool StatusHasBeenSet() const
void SetExportID(ExportIDT &&value)
ExportTask & WithProgressPercentage(double value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue