7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/S3BucketSource.h>
10#include <aws/mgn/model/ImportStatus.h>
11#include <aws/mgn/model/ImportTaskSummary.h>
49 template<
typename CreationDateTimeT = Aws::String>
50 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
51 template<
typename CreationDateTimeT = Aws::String>
61 template<
typename EndDateTimeT = Aws::String>
62 void SetEndDateTime(EndDateTimeT&& value) { m_endDateTimeHasBeenSet =
true; m_endDateTime = std::forward<EndDateTimeT>(value); }
63 template<
typename EndDateTimeT = Aws::String>
73 template<
typename ImportIDT = Aws::String>
74 void SetImportID(ImportIDT&& value) { m_importIDHasBeenSet =
true; m_importID = std::forward<ImportIDT>(value); }
75 template<
typename ImportIDT = Aws::String>
85 inline void SetProgressPercentage(
double value) { m_progressPercentageHasBeenSet =
true; m_progressPercentage = value; }
95 template<
typename S3BucketSourceT = S3BucketSource>
96 void SetS3BucketSource(S3BucketSourceT&& value) { m_s3BucketSourceHasBeenSet =
true; m_s3BucketSource = std::forward<S3BucketSourceT>(value); }
97 template<
typename S3BucketSourceT = S3BucketSource>
117 template<
typename SummaryT = ImportTaskSummary>
118 void SetSummary(SummaryT&& value) { m_summaryHasBeenSet =
true; m_summary = std::forward<SummaryT>(value); }
119 template<
typename SummaryT = ImportTaskSummary>
125 bool m_creationDateTimeHasBeenSet =
false;
128 bool m_endDateTimeHasBeenSet =
false;
131 bool m_importIDHasBeenSet =
false;
133 double m_progressPercentage{0.0};
134 bool m_progressPercentageHasBeenSet =
false;
136 S3BucketSource m_s3BucketSource;
137 bool m_s3BucketSourceHasBeenSet =
false;
140 bool m_statusHasBeenSet =
false;
142 ImportTaskSummary m_summary;
143 bool m_summaryHasBeenSet =
false;
ImportStatus GetStatus() const
const ImportTaskSummary & GetSummary() const
const Aws::String & GetCreationDateTime() const
AWS_MGN_API ImportTask()=default
double GetProgressPercentage() const
const Aws::String & GetEndDateTime() const
bool SummaryHasBeenSet() const
bool StatusHasBeenSet() const
void SetS3BucketSource(S3BucketSourceT &&value)
const Aws::String & GetImportID() const
ImportTask & WithSummary(SummaryT &&value)
bool EndDateTimeHasBeenSet() const
ImportTask & WithS3BucketSource(S3BucketSourceT &&value)
void SetSummary(SummaryT &&value)
void SetImportID(ImportIDT &&value)
AWS_MGN_API ImportTask & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ImportStatus value)
ImportTask & WithCreationDateTime(CreationDateTimeT &&value)
void SetEndDateTime(EndDateTimeT &&value)
ImportTask & WithEndDateTime(EndDateTimeT &&value)
ImportTask & WithImportID(ImportIDT &&value)
bool ImportIDHasBeenSet() const
bool S3BucketSourceHasBeenSet() const
void SetCreationDateTime(CreationDateTimeT &&value)
AWS_MGN_API ImportTask(Aws::Utils::Json::JsonView jsonValue)
void SetProgressPercentage(double value)
bool ProgressPercentageHasBeenSet() const
bool CreationDateTimeHasBeenSet() const
const S3BucketSource & GetS3BucketSource() const
ImportTask & WithProgressPercentage(double value)
ImportTask & WithStatus(ImportStatus value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue