/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the ec2-2016-11-15.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.EC2.Model { /// /// Describes an export image task. /// public partial class ExportImageTask { private string _description; private string _exportImageTaskId; private string _imageId; private string _progress; private ExportTaskS3Location _s3ExportLocation; private string _status; private string _statusMessage; private List _tags = new List(); /// /// Gets and sets the property Description. /// /// A description of the image being exported. /// /// public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property ExportImageTaskId. /// /// The ID of the export image task. /// /// public string ExportImageTaskId { get { return this._exportImageTaskId; } set { this._exportImageTaskId = value; } } // Check to see if ExportImageTaskId property is set internal bool IsSetExportImageTaskId() { return this._exportImageTaskId != null; } /// /// Gets and sets the property ImageId. /// /// The ID of the image. /// /// public string ImageId { get { return this._imageId; } set { this._imageId = value; } } // Check to see if ImageId property is set internal bool IsSetImageId() { return this._imageId != null; } /// /// Gets and sets the property Progress. /// /// The percent complete of the export image task. /// /// public string Progress { get { return this._progress; } set { this._progress = value; } } // Check to see if Progress property is set internal bool IsSetProgress() { return this._progress != null; } /// /// Gets and sets the property S3ExportLocation. /// /// Information about the destination Amazon S3 bucket. /// /// public ExportTaskS3Location S3ExportLocation { get { return this._s3ExportLocation; } set { this._s3ExportLocation = value; } } // Check to see if S3ExportLocation property is set internal bool IsSetS3ExportLocation() { return this._s3ExportLocation != null; } /// /// Gets and sets the property Status. /// /// The status of the export image task. The possible values are active, /// completed, deleting, and deleted. /// /// public string Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property StatusMessage. /// /// The status message for the export image task. /// /// public string StatusMessage { get { return this._statusMessage; } set { this._statusMessage = value; } } // Check to see if StatusMessage property is set internal bool IsSetStatusMessage() { return this._statusMessage != null; } /// /// Gets and sets the property Tags. /// /// Any tags assigned to the export image task. /// /// public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }