/* * 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 { /// /// This is the response object from the ImportImage operation. /// public partial class ImportImageResponse : AmazonWebServiceResponse { private string _architecture; private string _description; private bool? _encrypted; private string _hypervisor; private string _imageId; private string _importTaskId; private string _kmsKeyId; private List _licenseSpecifications = new List(); private string _licenseType; private string _platform; private string _progress; private List _snapshotDetails = new List(); private string _status; private string _statusMessage; private List _tags = new List(); private string _usageOperation; /// /// Gets and sets the property Architecture. /// /// The architecture of the virtual machine. /// /// public string Architecture { get { return this._architecture; } set { this._architecture = value; } } // Check to see if Architecture property is set internal bool IsSetArchitecture() { return this._architecture != null; } /// /// Gets and sets the property Description. /// /// A description of the import task. /// /// 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 Encrypted. /// /// Indicates whether the AMI is encrypted. /// /// public bool Encrypted { get { return this._encrypted.GetValueOrDefault(); } set { this._encrypted = value; } } // Check to see if Encrypted property is set internal bool IsSetEncrypted() { return this._encrypted.HasValue; } /// /// Gets and sets the property Hypervisor. /// /// The target hypervisor of the import task. /// /// public string Hypervisor { get { return this._hypervisor; } set { this._hypervisor = value; } } // Check to see if Hypervisor property is set internal bool IsSetHypervisor() { return this._hypervisor != null; } /// /// Gets and sets the property ImageId. /// /// The ID of the Amazon Machine Image (AMI) created by the import task. /// /// 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 ImportTaskId. /// /// The task ID of the import image task. /// /// public string ImportTaskId { get { return this._importTaskId; } set { this._importTaskId = value; } } // Check to see if ImportTaskId property is set internal bool IsSetImportTaskId() { return this._importTaskId != null; } /// /// Gets and sets the property KmsKeyId. /// /// The identifier for the symmetric KMS key that was used to create the encrypted AMI. /// /// public string KmsKeyId { get { return this._kmsKeyId; } set { this._kmsKeyId = value; } } // Check to see if KmsKeyId property is set internal bool IsSetKmsKeyId() { return this._kmsKeyId != null; } /// /// Gets and sets the property LicenseSpecifications. /// /// The ARNs of the license configurations. /// /// public List LicenseSpecifications { get { return this._licenseSpecifications; } set { this._licenseSpecifications = value; } } // Check to see if LicenseSpecifications property is set internal bool IsSetLicenseSpecifications() { return this._licenseSpecifications != null && this._licenseSpecifications.Count > 0; } /// /// Gets and sets the property LicenseType. /// /// The license type of the virtual machine. /// /// public string LicenseType { get { return this._licenseType; } set { this._licenseType = value; } } // Check to see if LicenseType property is set internal bool IsSetLicenseType() { return this._licenseType != null; } /// /// Gets and sets the property Platform. /// /// The operating system of the virtual machine. /// /// public string Platform { get { return this._platform; } set { this._platform = value; } } // Check to see if Platform property is set internal bool IsSetPlatform() { return this._platform != null; } /// /// Gets and sets the property Progress. /// /// The progress of the 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 SnapshotDetails. /// /// Information about the snapshots. /// /// public List SnapshotDetails { get { return this._snapshotDetails; } set { this._snapshotDetails = value; } } // Check to see if SnapshotDetails property is set internal bool IsSetSnapshotDetails() { return this._snapshotDetails != null && this._snapshotDetails.Count > 0; } /// /// Gets and sets the property Status. /// /// A brief status of the task. /// /// 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. /// /// A detailed status message of the import 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 import 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; } /// /// Gets and sets the property UsageOperation. /// /// The usage operation value. /// /// public string UsageOperation { get { return this._usageOperation; } set { this._usageOperation = value; } } // Check to see if UsageOperation property is set internal bool IsSetUsageOperation() { return this._usageOperation != null; } } }