/*
* 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 a disk image.
///
public partial class DiskImageDescription
{
private string _checksum;
private DiskImageFormat _format;
private string _importManifestUrl;
private long? _size;
///
/// Gets and sets the property Checksum.
///
/// The checksum computed for the disk image.
///
///
public string Checksum
{
get { return this._checksum; }
set { this._checksum = value; }
}
// Check to see if Checksum property is set
internal bool IsSetChecksum()
{
return this._checksum != null;
}
///
/// Gets and sets the property Format.
///
/// The disk image format.
///
///
public DiskImageFormat Format
{
get { return this._format; }
set { this._format = value; }
}
// Check to see if Format property is set
internal bool IsSetFormat()
{
return this._format != null;
}
///
/// Gets and sets the property ImportManifestUrl.
///
/// A presigned URL for the import manifest stored in Amazon S3. For information about
/// creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication
/// Alternative" section of the Authenticating
/// REST Requests topic in the Amazon Simple Storage Service Developer Guide.
///
///
///
/// For information about the import manifest referenced by this API action, see VM
/// Import Manifest.
///
///
[AWSProperty(Sensitive=true)]
public string ImportManifestUrl
{
get { return this._importManifestUrl; }
set { this._importManifestUrl = value; }
}
// Check to see if ImportManifestUrl property is set
internal bool IsSetImportManifestUrl()
{
return this._importManifestUrl != null;
}
///
/// Gets and sets the property Size.
///
/// The size of the disk image, in GiB.
///
///
public long Size
{
get { return this._size.GetValueOrDefault(); }
set { this._size = value; }
}
// Check to see if Size property is set
internal bool IsSetSize()
{
return this._size.HasValue;
}
}
}