/*
* 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 outposts-2019-12-03.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.Outposts.Model
{
///
/// Information about a catalog item.
///
public partial class CatalogItem
{
private string _catalogItemId;
private List _ec2Capacities = new List();
private CatalogItemStatus _itemStatus;
private float? _powerKva;
private List _supportedStorage = new List();
private List _supportedUplinkGbps = new List();
private int? _weightLbs;
///
/// Gets and sets the property CatalogItemId.
///
/// The ID of the catalog item.
///
///
[AWSProperty(Min=1, Max=10)]
public string CatalogItemId
{
get { return this._catalogItemId; }
set { this._catalogItemId = value; }
}
// Check to see if CatalogItemId property is set
internal bool IsSetCatalogItemId()
{
return this._catalogItemId != null;
}
///
/// Gets and sets the property EC2Capacities.
///
/// Information about the EC2 capacity of an item.
///
///
public List EC2Capacities
{
get { return this._ec2Capacities; }
set { this._ec2Capacities = value; }
}
// Check to see if EC2Capacities property is set
internal bool IsSetEC2Capacities()
{
return this._ec2Capacities != null && this._ec2Capacities.Count > 0;
}
///
/// Gets and sets the property ItemStatus.
///
/// The status of a catalog item.
///
///
public CatalogItemStatus ItemStatus
{
get { return this._itemStatus; }
set { this._itemStatus = value; }
}
// Check to see if ItemStatus property is set
internal bool IsSetItemStatus()
{
return this._itemStatus != null;
}
///
/// Gets and sets the property PowerKva.
///
/// Information about the power draw of an item.
///
///
public float PowerKva
{
get { return this._powerKva.GetValueOrDefault(); }
set { this._powerKva = value; }
}
// Check to see if PowerKva property is set
internal bool IsSetPowerKva()
{
return this._powerKva.HasValue;
}
///
/// Gets and sets the property SupportedStorage.
///
/// The supported storage options for the catalog item.
///
///
public List SupportedStorage
{
get { return this._supportedStorage; }
set { this._supportedStorage = value; }
}
// Check to see if SupportedStorage property is set
internal bool IsSetSupportedStorage()
{
return this._supportedStorage != null && this._supportedStorage.Count > 0;
}
///
/// Gets and sets the property SupportedUplinkGbps.
///
/// The uplink speed this catalog item requires for the connection to the Region.
///
///
public List SupportedUplinkGbps
{
get { return this._supportedUplinkGbps; }
set { this._supportedUplinkGbps = value; }
}
// Check to see if SupportedUplinkGbps property is set
internal bool IsSetSupportedUplinkGbps()
{
return this._supportedUplinkGbps != null && this._supportedUplinkGbps.Count > 0;
}
///
/// Gets and sets the property WeightLbs.
///
/// The weight of the item in pounds.
///
///
public int WeightLbs
{
get { return this._weightLbs.GetValueOrDefault(); }
set { this._weightLbs = value; }
}
// Check to see if WeightLbs property is set
internal bool IsSetWeightLbs()
{
return this._weightLbs.HasValue;
}
}
}