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/ImportStatus.h>
11#include <aws/mgn/model/ImportTaskSummary.h>
12#include <aws/mgn/model/S3BucketSource.h>
44 template <
typename ImportIDT = Aws::String>
46 m_importIDHasBeenSet =
true;
47 m_importID = std::forward<ImportIDT>(value);
49 template <
typename ImportIDT = Aws::String>
62 template <
typename ArnT = Aws::String>
64 m_arnHasBeenSet =
true;
65 m_arn = std::forward<ArnT>(value);
67 template <
typename ArnT = Aws::String>
69 SetArn(std::forward<ArnT>(value));
80 template <
typename S3BucketSourceT = S3BucketSource>
82 m_s3BucketSourceHasBeenSet =
true;
83 m_s3BucketSource = std::forward<S3BucketSourceT>(value);
85 template <
typename S3BucketSourceT = S3BucketSource>
98 template <
typename CreationDateTimeT = Aws::String>
100 m_creationDateTimeHasBeenSet =
true;
101 m_creationDateTime = std::forward<CreationDateTimeT>(value);
103 template <
typename CreationDateTimeT = Aws::String>
116 template <
typename EndDateTimeT = Aws::String>
118 m_endDateTimeHasBeenSet =
true;
119 m_endDateTime = std::forward<EndDateTimeT>(value);
121 template <
typename EndDateTimeT = Aws::String>
135 m_statusHasBeenSet =
true;
151 m_progressPercentageHasBeenSet =
true;
152 m_progressPercentage = value;
166 template <
typename SummaryT = ImportTaskSummary>
168 m_summaryHasBeenSet =
true;
169 m_summary = std::forward<SummaryT>(value);
171 template <
typename SummaryT = ImportTaskSummary>
184 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
186 m_tagsHasBeenSet =
true;
187 m_tags = std::forward<TagsT>(value);
189 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
191 SetTags(std::forward<TagsT>(value));
194 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
196 m_tagsHasBeenSet =
true;
197 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
214 double m_progressPercentage{0.0};
216 ImportTaskSummary m_summary;
219 bool m_importIDHasBeenSet =
false;
220 bool m_arnHasBeenSet =
false;
221 bool m_s3BucketSourceHasBeenSet =
false;
222 bool m_creationDateTimeHasBeenSet =
false;
223 bool m_endDateTimeHasBeenSet =
false;
224 bool m_statusHasBeenSet =
false;
225 bool m_progressPercentageHasBeenSet =
false;
226 bool m_summaryHasBeenSet =
false;
227 bool m_tagsHasBeenSet =
false;
ImportStatus GetStatus() const
const ImportTaskSummary & GetSummary() const
const Aws::String & GetCreationDateTime() const
ImportTask & AddTags(TagsKeyT &&key, TagsValueT &&value)
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 & GetArn() const
ImportTask & WithTags(TagsT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetImportID() const
bool TagsHasBeenSet() const
ImportTask & WithSummary(SummaryT &&value)
bool EndDateTimeHasBeenSet() const
ImportTask & WithS3BucketSource(S3BucketSourceT &&value)
void SetSummary(SummaryT &&value)
void SetImportID(ImportIDT &&value)
ImportTask & WithArn(ArnT &&value)
bool ArnHasBeenSet() const
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
const Aws::Map< Aws::String, Aws::String > & GetTags() 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)
void SetArn(ArnT &&value)
ImportTask & WithStatus(ImportStatus value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
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