/*
* 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 Amazon FPGA image (AFI).
///
public partial class FpgaImage
{
private DateTime? _createTime;
private bool? _dataRetentionSupport;
private string _description;
private string _fpgaImageGlobalId;
private string _fpgaImageId;
private List _instanceTypes = new List();
private string _name;
private string _ownerAlias;
private string _ownerId;
private PciId _pciId;
private List _productCodes = new List();
private bool? _public;
private string _shellVersion;
private FpgaImageState _state;
private List _tags = new List();
private DateTime? _updateTime;
///
/// Gets and sets the property CreateTime.
///
/// The date and time the AFI was created.
///
///
public DateTime CreateTime
{
get { return this._createTime.GetValueOrDefault(); }
set { this._createTime = value; }
}
// Check to see if CreateTime property is set
internal bool IsSetCreateTime()
{
return this._createTime.HasValue;
}
///
/// Gets and sets the property DataRetentionSupport.
///
/// Indicates whether data retention support is enabled for the AFI.
///
///
public bool DataRetentionSupport
{
get { return this._dataRetentionSupport.GetValueOrDefault(); }
set { this._dataRetentionSupport = value; }
}
// Check to see if DataRetentionSupport property is set
internal bool IsSetDataRetentionSupport()
{
return this._dataRetentionSupport.HasValue;
}
///
/// Gets and sets the property Description.
///
/// The description of the AFI.
///
///
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 FpgaImageGlobalId.
///
/// The global FPGA image identifier (AGFI ID).
///
///
public string FpgaImageGlobalId
{
get { return this._fpgaImageGlobalId; }
set { this._fpgaImageGlobalId = value; }
}
// Check to see if FpgaImageGlobalId property is set
internal bool IsSetFpgaImageGlobalId()
{
return this._fpgaImageGlobalId != null;
}
///
/// Gets and sets the property FpgaImageId.
///
/// The FPGA image identifier (AFI ID).
///
///
public string FpgaImageId
{
get { return this._fpgaImageId; }
set { this._fpgaImageId = value; }
}
// Check to see if FpgaImageId property is set
internal bool IsSetFpgaImageId()
{
return this._fpgaImageId != null;
}
///
/// Gets and sets the property InstanceTypes.
///
/// The instance types supported by the AFI.
///
///
public List InstanceTypes
{
get { return this._instanceTypes; }
set { this._instanceTypes = value; }
}
// Check to see if InstanceTypes property is set
internal bool IsSetInstanceTypes()
{
return this._instanceTypes != null && this._instanceTypes.Count > 0;
}
///
/// Gets and sets the property Name.
///
/// The name of the AFI.
///
///
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property OwnerAlias.
///
/// The alias of the AFI owner. Possible values include self
, amazon
,
/// and aws-marketplace
.
///
///
public string OwnerAlias
{
get { return this._ownerAlias; }
set { this._ownerAlias = value; }
}
// Check to see if OwnerAlias property is set
internal bool IsSetOwnerAlias()
{
return this._ownerAlias != null;
}
///
/// Gets and sets the property OwnerId.
///
/// The ID of the Amazon Web Services account that owns the AFI.
///
///
public string OwnerId
{
get { return this._ownerId; }
set { this._ownerId = value; }
}
// Check to see if OwnerId property is set
internal bool IsSetOwnerId()
{
return this._ownerId != null;
}
///
/// Gets and sets the property PciId.
///
/// Information about the PCI bus.
///
///
public PciId PciId
{
get { return this._pciId; }
set { this._pciId = value; }
}
// Check to see if PciId property is set
internal bool IsSetPciId()
{
return this._pciId != null;
}
///
/// Gets and sets the property ProductCodes.
///
/// The product codes for the AFI.
///
///
public List ProductCodes
{
get { return this._productCodes; }
set { this._productCodes = value; }
}
// Check to see if ProductCodes property is set
internal bool IsSetProductCodes()
{
return this._productCodes != null && this._productCodes.Count > 0;
}
///
/// Gets and sets the property Public.
///
/// Indicates whether the AFI is public.
///
///
public bool Public
{
get { return this._public.GetValueOrDefault(); }
set { this._public = value; }
}
// Check to see if Public property is set
internal bool IsSetPublic()
{
return this._public.HasValue;
}
///
/// Gets and sets the property ShellVersion.
///
/// The version of the Amazon Web Services Shell that was used to create the bitstream.
///
///
public string ShellVersion
{
get { return this._shellVersion; }
set { this._shellVersion = value; }
}
// Check to see if ShellVersion property is set
internal bool IsSetShellVersion()
{
return this._shellVersion != null;
}
///
/// Gets and sets the property State.
///
/// Information about the state of the AFI.
///
///
public FpgaImageState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
///
/// Gets and sets the property Tags.
///
/// Any tags assigned to the AFI.
///
///
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 UpdateTime.
///
/// The time of the most recent update to the AFI.
///
///
public DateTime UpdateTime
{
get { return this._updateTime.GetValueOrDefault(); }
set { this._updateTime = value; }
}
// Check to see if UpdateTime property is set
internal bool IsSetUpdateTime()
{
return this._updateTime.HasValue;
}
}
}