/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an export image task.See Also:
AWS
* API Reference
A description of the image being exported.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the image being exported.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the image being exported.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the image being exported.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the image being exported.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the image being exported.
*/ inline ExportImageTask& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the image being exported.
*/ inline ExportImageTask& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the image being exported.
*/ inline ExportImageTask& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The ID of the export image task.
*/ inline const Aws::String& GetExportImageTaskId() const{ return m_exportImageTaskId; } /** *The ID of the export image task.
*/ inline bool ExportImageTaskIdHasBeenSet() const { return m_exportImageTaskIdHasBeenSet; } /** *The ID of the export image task.
*/ inline void SetExportImageTaskId(const Aws::String& value) { m_exportImageTaskIdHasBeenSet = true; m_exportImageTaskId = value; } /** *The ID of the export image task.
*/ inline void SetExportImageTaskId(Aws::String&& value) { m_exportImageTaskIdHasBeenSet = true; m_exportImageTaskId = std::move(value); } /** *The ID of the export image task.
*/ inline void SetExportImageTaskId(const char* value) { m_exportImageTaskIdHasBeenSet = true; m_exportImageTaskId.assign(value); } /** *The ID of the export image task.
*/ inline ExportImageTask& WithExportImageTaskId(const Aws::String& value) { SetExportImageTaskId(value); return *this;} /** *The ID of the export image task.
*/ inline ExportImageTask& WithExportImageTaskId(Aws::String&& value) { SetExportImageTaskId(std::move(value)); return *this;} /** *The ID of the export image task.
*/ inline ExportImageTask& WithExportImageTaskId(const char* value) { SetExportImageTaskId(value); return *this;} /** *The ID of the image.
*/ inline const Aws::String& GetImageId() const{ return m_imageId; } /** *The ID of the image.
*/ inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; } /** *The ID of the image.
*/ inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; } /** *The ID of the image.
*/ inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); } /** *The ID of the image.
*/ inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); } /** *The ID of the image.
*/ inline ExportImageTask& WithImageId(const Aws::String& value) { SetImageId(value); return *this;} /** *The ID of the image.
*/ inline ExportImageTask& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;} /** *The ID of the image.
*/ inline ExportImageTask& WithImageId(const char* value) { SetImageId(value); return *this;} /** *The percent complete of the export image task.
*/ inline const Aws::String& GetProgress() const{ return m_progress; } /** *The percent complete of the export image task.
*/ inline bool ProgressHasBeenSet() const { return m_progressHasBeenSet; } /** *The percent complete of the export image task.
*/ inline void SetProgress(const Aws::String& value) { m_progressHasBeenSet = true; m_progress = value; } /** *The percent complete of the export image task.
*/ inline void SetProgress(Aws::String&& value) { m_progressHasBeenSet = true; m_progress = std::move(value); } /** *The percent complete of the export image task.
*/ inline void SetProgress(const char* value) { m_progressHasBeenSet = true; m_progress.assign(value); } /** *The percent complete of the export image task.
*/ inline ExportImageTask& WithProgress(const Aws::String& value) { SetProgress(value); return *this;} /** *The percent complete of the export image task.
*/ inline ExportImageTask& WithProgress(Aws::String&& value) { SetProgress(std::move(value)); return *this;} /** *The percent complete of the export image task.
*/ inline ExportImageTask& WithProgress(const char* value) { SetProgress(value); return *this;} /** *Information about the destination Amazon S3 bucket.
*/ inline const ExportTaskS3Location& GetS3ExportLocation() const{ return m_s3ExportLocation; } /** *Information about the destination Amazon S3 bucket.
*/ inline bool S3ExportLocationHasBeenSet() const { return m_s3ExportLocationHasBeenSet; } /** *Information about the destination Amazon S3 bucket.
*/ inline void SetS3ExportLocation(const ExportTaskS3Location& value) { m_s3ExportLocationHasBeenSet = true; m_s3ExportLocation = value; } /** *Information about the destination Amazon S3 bucket.
*/ inline void SetS3ExportLocation(ExportTaskS3Location&& value) { m_s3ExportLocationHasBeenSet = true; m_s3ExportLocation = std::move(value); } /** *Information about the destination Amazon S3 bucket.
*/ inline ExportImageTask& WithS3ExportLocation(const ExportTaskS3Location& value) { SetS3ExportLocation(value); return *this;} /** *Information about the destination Amazon S3 bucket.
*/ inline ExportImageTask& WithS3ExportLocation(ExportTaskS3Location&& value) { SetS3ExportLocation(std::move(value)); return *this;} /** *The status of the export image task. The possible values are
* active
, completed
, deleting
, and
* deleted
.
The status of the export image task. The possible values are
* active
, completed
, deleting
, and
* deleted
.
The status of the export image task. The possible values are
* active
, completed
, deleting
, and
* deleted
.
The status of the export image task. The possible values are
* active
, completed
, deleting
, and
* deleted
.
The status of the export image task. The possible values are
* active
, completed
, deleting
, and
* deleted
.
The status of the export image task. The possible values are
* active
, completed
, deleting
, and
* deleted
.
The status of the export image task. The possible values are
* active
, completed
, deleting
, and
* deleted
.
The status of the export image task. The possible values are
* active
, completed
, deleting
, and
* deleted
.
The status message for the export image task.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *The status message for the export image task.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *The status message for the export image task.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *The status message for the export image task.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *The status message for the export image task.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *The status message for the export image task.
*/ inline ExportImageTask& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *The status message for the export image task.
*/ inline ExportImageTask& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *The status message for the export image task.
*/ inline ExportImageTask& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *Any tags assigned to the export image task.
*/ inline const Aws::VectorAny tags assigned to the export image task.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Any tags assigned to the export image task.
*/ inline void SetTags(const Aws::VectorAny tags assigned to the export image task.
*/ inline void SetTags(Aws::VectorAny tags assigned to the export image task.
*/ inline ExportImageTask& WithTags(const Aws::VectorAny tags assigned to the export image task.
*/ inline ExportImageTask& WithTags(Aws::VectorAny tags assigned to the export image task.
*/ inline ExportImageTask& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Any tags assigned to the export image task.
*/ inline ExportImageTask& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_exportImageTaskId; bool m_exportImageTaskIdHasBeenSet = false; Aws::String m_imageId; bool m_imageIdHasBeenSet = false; Aws::String m_progress; bool m_progressHasBeenSet = false; ExportTaskS3Location m_s3ExportLocation; bool m_s3ExportLocationHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; Aws::Vector