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>
51 inline void SetCreationDateTime(
const char* value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime.assign(value); }
65 inline void SetEndDateTime(
const char* value) { m_endDateTimeHasBeenSet =
true; m_endDateTime.assign(value); }
79 inline void SetImportID(
const char* value) { m_importIDHasBeenSet =
true; m_importID.assign(value); }
91 inline void SetProgressPercentage(
double value) { m_progressPercentageHasBeenSet =
true; m_progressPercentage = value; }
133 bool m_creationDateTimeHasBeenSet =
false;
136 bool m_endDateTimeHasBeenSet =
false;
139 bool m_importIDHasBeenSet =
false;
141 double m_progressPercentage;
142 bool m_progressPercentageHasBeenSet =
false;
145 bool m_s3BucketSourceHasBeenSet =
false;
148 bool m_statusHasBeenSet =
false;
151 bool m_summaryHasBeenSet =
false;
ImportTask & WithImportID(const char *value)
const ImportTaskSummary & GetSummary() const
ImportTask & WithStatus(const ImportStatus &value)
const Aws::String & GetCreationDateTime() const
ImportTask & WithStatus(ImportStatus &&value)
void SetImportID(const Aws::String &value)
void SetSummary(const ImportTaskSummary &value)
double GetProgressPercentage() const
const Aws::String & GetEndDateTime() const
bool SummaryHasBeenSet() const
bool StatusHasBeenSet() const
void SetEndDateTime(const Aws::String &value)
void SetEndDateTime(const char *value)
void SetImportID(Aws::String &&value)
void SetS3BucketSource(const S3BucketSource &value)
void SetSummary(ImportTaskSummary &&value)
ImportTask & WithImportID(Aws::String &&value)
ImportTask & WithSummary(ImportTaskSummary &&value)
ImportTask & WithImportID(const Aws::String &value)
const Aws::String & GetImportID() const
ImportTask & WithS3BucketSource(S3BucketSource &&value)
ImportTask & WithEndDateTime(const char *value)
void SetStatus(const ImportStatus &value)
bool EndDateTimeHasBeenSet() const
void SetCreationDateTime(const Aws::String &value)
AWS_MGN_API ImportTask & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportTask & WithS3BucketSource(const S3BucketSource &value)
const ImportStatus & GetStatus() const
ImportTask & WithCreationDateTime(const char *value)
ImportTask & WithCreationDateTime(Aws::String &&value)
ImportTask & WithSummary(const ImportTaskSummary &value)
ImportTask & WithCreationDateTime(const Aws::String &value)
bool ImportIDHasBeenSet() const
void SetImportID(const char *value)
bool S3BucketSourceHasBeenSet() const
void SetS3BucketSource(S3BucketSource &&value)
AWS_MGN_API ImportTask(Aws::Utils::Json::JsonView jsonValue)
void SetProgressPercentage(double value)
void SetCreationDateTime(const char *value)
void SetStatus(ImportStatus &&value)
bool ProgressPercentageHasBeenSet() const
bool CreationDateTimeHasBeenSet() const
const S3BucketSource & GetS3BucketSource() const
ImportTask & WithEndDateTime(const Aws::String &value)
ImportTask & WithProgressPercentage(double value)
void SetEndDateTime(Aws::String &&value)
ImportTask & WithEndDateTime(Aws::String &&value)
void SetCreationDateTime(Aws::String &&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