/* * 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 hardware assets. /// public partial class AssetInfo { private string _assetId; private AssetLocation _assetLocation; private AssetType _assetType; private ComputeAttributes _computeAttributes; private string _rackId; /// /// Gets and sets the property AssetId. /// /// The ID of the asset. /// /// [AWSProperty(Min=1, Max=100)] public string AssetId { get { return this._assetId; } set { this._assetId = value; } } // Check to see if AssetId property is set internal bool IsSetAssetId() { return this._assetId != null; } /// /// Gets and sets the property AssetLocation. /// /// The position of an asset in a rack. /// /// public AssetLocation AssetLocation { get { return this._assetLocation; } set { this._assetLocation = value; } } // Check to see if AssetLocation property is set internal bool IsSetAssetLocation() { return this._assetLocation != null; } /// /// Gets and sets the property AssetType. /// /// The type of the asset. /// /// public AssetType AssetType { get { return this._assetType; } set { this._assetType = value; } } // Check to see if AssetType property is set internal bool IsSetAssetType() { return this._assetType != null; } /// /// Gets and sets the property ComputeAttributes. /// /// Information about compute hardware assets. /// /// public ComputeAttributes ComputeAttributes { get { return this._computeAttributes; } set { this._computeAttributes = value; } } // Check to see if ComputeAttributes property is set internal bool IsSetComputeAttributes() { return this._computeAttributes != null; } /// /// Gets and sets the property RackId. /// /// The rack ID of the asset. /// /// [AWSProperty(Min=5, Max=20)] public string RackId { get { return this._rackId; } set { this._rackId = value; } } // Check to see if RackId property is set internal bool IsSetRackId() { return this._rackId != null; } } }