/* * 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 mgn-2020-02-26.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.Mgn.Model { /// /// Export task. /// public partial class ExportTask { private string _creationDateTime; private string _endDateTime; private string _exportid; private float? _progressPercentage; private string _s3Bucket; private string _s3BucketOwner; private string _s3Key; private ExportStatus _status; private ExportTaskSummary _summary; /// /// Gets and sets the property CreationDateTime. /// /// Export task creation datetime. /// /// [AWSProperty(Min=19, Max=32)] public string CreationDateTime { get { return this._creationDateTime; } set { this._creationDateTime = value; } } // Check to see if CreationDateTime property is set internal bool IsSetCreationDateTime() { return this._creationDateTime != null; } /// /// Gets and sets the property EndDateTime. /// /// Export task end datetime. /// /// [AWSProperty(Min=19, Max=32)] public string EndDateTime { get { return this._endDateTime; } set { this._endDateTime = value; } } // Check to see if EndDateTime property is set internal bool IsSetEndDateTime() { return this._endDateTime != null; } /// /// Gets and sets the property ExportID. /// /// Export task id. /// /// [AWSProperty(Min=24, Max=24)] public string ExportID { get { return this._exportid; } set { this._exportid = value; } } // Check to see if ExportID property is set internal bool IsSetExportID() { return this._exportid != null; } /// /// Gets and sets the property ProgressPercentage. /// /// Export task progress percentage. /// /// public float ProgressPercentage { get { return this._progressPercentage.GetValueOrDefault(); } set { this._progressPercentage = value; } } // Check to see if ProgressPercentage property is set internal bool IsSetProgressPercentage() { return this._progressPercentage.HasValue; } /// /// Gets and sets the property S3Bucket. /// /// Export task s3 bucket. /// /// public string S3Bucket { get { return this._s3Bucket; } set { this._s3Bucket = value; } } // Check to see if S3Bucket property is set internal bool IsSetS3Bucket() { return this._s3Bucket != null; } /// /// Gets and sets the property S3BucketOwner. /// /// Export task s3 bucket owner. /// /// [AWSProperty(Min=12, Max=12)] public string S3BucketOwner { get { return this._s3BucketOwner; } set { this._s3BucketOwner = value; } } // Check to see if S3BucketOwner property is set internal bool IsSetS3BucketOwner() { return this._s3BucketOwner != null; } /// /// Gets and sets the property S3Key. /// /// Export task s3 key. /// /// public string S3Key { get { return this._s3Key; } set { this._s3Key = value; } } // Check to see if S3Key property is set internal bool IsSetS3Key() { return this._s3Key != null; } /// /// Gets and sets the property Status. /// /// Export task status. /// /// public ExportStatus 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 Summary. /// /// Export task summary. /// /// public ExportTaskSummary Summary { get { return this._summary; } set { this._summary = value; } } // Check to see if Summary property is set internal bool IsSetSummary() { return this._summary != null; } } }