/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Export task.See Also:
AWS API
* Reference
Export task creation datetime.
*/ inline const Aws::String& GetCreationDateTime() const{ return m_creationDateTime; } /** *Export task creation datetime.
*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *Export task creation datetime.
*/ inline void SetCreationDateTime(const Aws::String& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *Export task creation datetime.
*/ inline void SetCreationDateTime(Aws::String&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *Export task creation datetime.
*/ inline void SetCreationDateTime(const char* value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime.assign(value); } /** *Export task creation datetime.
*/ inline ExportTask& WithCreationDateTime(const Aws::String& value) { SetCreationDateTime(value); return *this;} /** *Export task creation datetime.
*/ inline ExportTask& WithCreationDateTime(Aws::String&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *Export task creation datetime.
*/ inline ExportTask& WithCreationDateTime(const char* value) { SetCreationDateTime(value); return *this;} /** *Export task end datetime.
*/ inline const Aws::String& GetEndDateTime() const{ return m_endDateTime; } /** *Export task end datetime.
*/ inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; } /** *Export task end datetime.
*/ inline void SetEndDateTime(const Aws::String& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; } /** *Export task end datetime.
*/ inline void SetEndDateTime(Aws::String&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); } /** *Export task end datetime.
*/ inline void SetEndDateTime(const char* value) { m_endDateTimeHasBeenSet = true; m_endDateTime.assign(value); } /** *Export task end datetime.
*/ inline ExportTask& WithEndDateTime(const Aws::String& value) { SetEndDateTime(value); return *this;} /** *Export task end datetime.
*/ inline ExportTask& WithEndDateTime(Aws::String&& value) { SetEndDateTime(std::move(value)); return *this;} /** *Export task end datetime.
*/ inline ExportTask& WithEndDateTime(const char* value) { SetEndDateTime(value); return *this;} /** *Export task id.
*/ inline const Aws::String& GetExportID() const{ return m_exportID; } /** *Export task id.
*/ inline bool ExportIDHasBeenSet() const { return m_exportIDHasBeenSet; } /** *Export task id.
*/ inline void SetExportID(const Aws::String& value) { m_exportIDHasBeenSet = true; m_exportID = value; } /** *Export task id.
*/ inline void SetExportID(Aws::String&& value) { m_exportIDHasBeenSet = true; m_exportID = std::move(value); } /** *Export task id.
*/ inline void SetExportID(const char* value) { m_exportIDHasBeenSet = true; m_exportID.assign(value); } /** *Export task id.
*/ inline ExportTask& WithExportID(const Aws::String& value) { SetExportID(value); return *this;} /** *Export task id.
*/ inline ExportTask& WithExportID(Aws::String&& value) { SetExportID(std::move(value)); return *this;} /** *Export task id.
*/ inline ExportTask& WithExportID(const char* value) { SetExportID(value); return *this;} /** *Export task progress percentage.
*/ inline double GetProgressPercentage() const{ return m_progressPercentage; } /** *Export task progress percentage.
*/ inline bool ProgressPercentageHasBeenSet() const { return m_progressPercentageHasBeenSet; } /** *Export task progress percentage.
*/ inline void SetProgressPercentage(double value) { m_progressPercentageHasBeenSet = true; m_progressPercentage = value; } /** *Export task progress percentage.
*/ inline ExportTask& WithProgressPercentage(double value) { SetProgressPercentage(value); return *this;} /** *Export task s3 bucket.
*/ inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; } /** *Export task s3 bucket.
*/ inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; } /** *Export task s3 bucket.
*/ inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; } /** *Export task s3 bucket.
*/ inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); } /** *Export task s3 bucket.
*/ inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); } /** *Export task s3 bucket.
*/ inline ExportTask& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;} /** *Export task s3 bucket.
*/ inline ExportTask& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;} /** *Export task s3 bucket.
*/ inline ExportTask& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;} /** *Export task s3 bucket owner.
*/ inline const Aws::String& GetS3BucketOwner() const{ return m_s3BucketOwner; } /** *Export task s3 bucket owner.
*/ inline bool S3BucketOwnerHasBeenSet() const { return m_s3BucketOwnerHasBeenSet; } /** *Export task s3 bucket owner.
*/ inline void SetS3BucketOwner(const Aws::String& value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner = value; } /** *Export task s3 bucket owner.
*/ inline void SetS3BucketOwner(Aws::String&& value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner = std::move(value); } /** *Export task s3 bucket owner.
*/ inline void SetS3BucketOwner(const char* value) { m_s3BucketOwnerHasBeenSet = true; m_s3BucketOwner.assign(value); } /** *Export task s3 bucket owner.
*/ inline ExportTask& WithS3BucketOwner(const Aws::String& value) { SetS3BucketOwner(value); return *this;} /** *Export task s3 bucket owner.
*/ inline ExportTask& WithS3BucketOwner(Aws::String&& value) { SetS3BucketOwner(std::move(value)); return *this;} /** *Export task s3 bucket owner.
*/ inline ExportTask& WithS3BucketOwner(const char* value) { SetS3BucketOwner(value); return *this;} /** *Export task s3 key.
*/ inline const Aws::String& GetS3Key() const{ return m_s3Key; } /** *Export task s3 key.
*/ inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; } /** *Export task s3 key.
*/ inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; } /** *Export task s3 key.
*/ inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); } /** *Export task s3 key.
*/ inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); } /** *Export task s3 key.
*/ inline ExportTask& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;} /** *Export task s3 key.
*/ inline ExportTask& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;} /** *Export task s3 key.
*/ inline ExportTask& WithS3Key(const char* value) { SetS3Key(value); return *this;} /** *Export task status.
*/ inline const ExportStatus& GetStatus() const{ return m_status; } /** *Export task status.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Export task status.
*/ inline void SetStatus(const ExportStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *Export task status.
*/ inline void SetStatus(ExportStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Export task status.
*/ inline ExportTask& WithStatus(const ExportStatus& value) { SetStatus(value); return *this;} /** *Export task status.
*/ inline ExportTask& WithStatus(ExportStatus&& value) { SetStatus(std::move(value)); return *this;} /** *Export task summary.
*/ inline const ExportTaskSummary& GetSummary() const{ return m_summary; } /** *Export task summary.
*/ inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; } /** *Export task summary.
*/ inline void SetSummary(const ExportTaskSummary& value) { m_summaryHasBeenSet = true; m_summary = value; } /** *Export task summary.
*/ inline void SetSummary(ExportTaskSummary&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); } /** *Export task summary.
*/ inline ExportTask& WithSummary(const ExportTaskSummary& value) { SetSummary(value); return *this;} /** *Export task summary.
*/ inline ExportTask& WithSummary(ExportTaskSummary&& value) { SetSummary(std::move(value)); return *this;} private: Aws::String m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::String m_endDateTime; bool m_endDateTimeHasBeenSet = false; Aws::String m_exportID; bool m_exportIDHasBeenSet = false; double m_progressPercentage; bool m_progressPercentageHasBeenSet = false; Aws::String m_s3Bucket; bool m_s3BucketHasBeenSet = false; Aws::String m_s3BucketOwner; bool m_s3BucketOwnerHasBeenSet = false; Aws::String m_s3Key; bool m_s3KeyHasBeenSet = false; ExportStatus m_status; bool m_statusHasBeenSet = false; ExportTaskSummary m_summary; bool m_summaryHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws