7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/ExportStatus.h>
10#include <aws/mgn/model/ExportTaskSummary.h>
48 template<
typename CreationDateTimeT = Aws::String>
49 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
50 template<
typename CreationDateTimeT = Aws::String>
60 template<
typename EndDateTimeT = Aws::String>
61 void SetEndDateTime(EndDateTimeT&& value) { m_endDateTimeHasBeenSet =
true; m_endDateTime = std::forward<EndDateTimeT>(value); }
62 template<
typename EndDateTimeT = Aws::String>
72 template<
typename ExportIDT = Aws::String>
73 void SetExportID(ExportIDT&& value) { m_exportIDHasBeenSet =
true; m_exportID = std::forward<ExportIDT>(value); }
74 template<
typename ExportIDT = Aws::String>
84 inline void SetProgressPercentage(
double value) { m_progressPercentageHasBeenSet =
true; m_progressPercentage = value; }
94 template<
typename S3BucketT = Aws::String>
95 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet =
true; m_s3Bucket = std::forward<S3BucketT>(value); }
96 template<
typename S3BucketT = Aws::String>
106 template<
typename S3BucketOwnerT = Aws::String>
107 void SetS3BucketOwner(S3BucketOwnerT&& value) { m_s3BucketOwnerHasBeenSet =
true; m_s3BucketOwner = std::forward<S3BucketOwnerT>(value); }
108 template<
typename S3BucketOwnerT = Aws::String>
118 template<
typename S3KeyT = Aws::String>
119 void SetS3Key(S3KeyT&& value) { m_s3KeyHasBeenSet =
true; m_s3Key = std::forward<S3KeyT>(value); }
120 template<
typename S3KeyT = Aws::String>
140 template<
typename SummaryT = ExportTaskSummary>
141 void SetSummary(SummaryT&& value) { m_summaryHasBeenSet =
true; m_summary = std::forward<SummaryT>(value); }
142 template<
typename SummaryT = ExportTaskSummary>
148 bool m_creationDateTimeHasBeenSet =
false;
151 bool m_endDateTimeHasBeenSet =
false;
154 bool m_exportIDHasBeenSet =
false;
156 double m_progressPercentage{0.0};
157 bool m_progressPercentageHasBeenSet =
false;
160 bool m_s3BucketHasBeenSet =
false;
163 bool m_s3BucketOwnerHasBeenSet =
false;
166 bool m_s3KeyHasBeenSet =
false;
169 bool m_statusHasBeenSet =
false;
171 ExportTaskSummary m_summary;
172 bool m_summaryHasBeenSet =
false;
void SetProgressPercentage(double value)
bool S3KeyHasBeenSet() const
ExportTask & WithS3BucketOwner(S3BucketOwnerT &&value)
const Aws::String & GetS3Key() const
void SetEndDateTime(EndDateTimeT &&value)
bool S3BucketOwnerHasBeenSet() const
ExportTask & WithCreationDateTime(CreationDateTimeT &&value)
const ExportTaskSummary & GetSummary() const
void SetStatus(ExportStatus value)
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
ExportTask & WithEndDateTime(EndDateTimeT &&value)
ExportTask & WithS3Key(S3KeyT &&value)
bool CreationDateTimeHasBeenSet() const
const Aws::String & GetCreationDateTime() const
AWS_MGN_API ExportTask(Aws::Utils::Json::JsonView jsonValue)
void SetS3BucketOwner(S3BucketOwnerT &&value)
double GetProgressPercentage() const
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
bool ExportIDHasBeenSet() 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)
void SetSummary(SummaryT &&value)
const Aws::String & GetS3Bucket() const
bool ProgressPercentageHasBeenSet() const
bool StatusHasBeenSet() const
void SetExportID(ExportIDT &&value)
ExportTask & WithProgressPercentage(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue