/* * 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 the optimized EBS performance for supported instance types. /// public partial class EbsOptimizedInfo { private int? _baselineBandwidthInMbps; private int? _baselineIops; private double? _baselineThroughputInMBps; private int? _maximumBandwidthInMbps; private int? _maximumIops; private double? _maximumThroughputInMBps; /// /// Gets and sets the property BaselineBandwidthInMbps. /// /// The baseline bandwidth performance for an EBS-optimized instance type, in Mbps. /// /// public int BaselineBandwidthInMbps { get { return this._baselineBandwidthInMbps.GetValueOrDefault(); } set { this._baselineBandwidthInMbps = value; } } // Check to see if BaselineBandwidthInMbps property is set internal bool IsSetBaselineBandwidthInMbps() { return this._baselineBandwidthInMbps.HasValue; } /// /// Gets and sets the property BaselineIops. /// /// The baseline input/output storage operations per seconds for an EBS-optimized instance /// type. /// /// public int BaselineIops { get { return this._baselineIops.GetValueOrDefault(); } set { this._baselineIops = value; } } // Check to see if BaselineIops property is set internal bool IsSetBaselineIops() { return this._baselineIops.HasValue; } /// /// Gets and sets the property BaselineThroughputInMBps. /// /// The baseline throughput performance for an EBS-optimized instance type, in MB/s. /// /// public double BaselineThroughputInMBps { get { return this._baselineThroughputInMBps.GetValueOrDefault(); } set { this._baselineThroughputInMBps = value; } } // Check to see if BaselineThroughputInMBps property is set internal bool IsSetBaselineThroughputInMBps() { return this._baselineThroughputInMBps.HasValue; } /// /// Gets and sets the property MaximumBandwidthInMbps. /// /// The maximum bandwidth performance for an EBS-optimized instance type, in Mbps. /// /// public int MaximumBandwidthInMbps { get { return this._maximumBandwidthInMbps.GetValueOrDefault(); } set { this._maximumBandwidthInMbps = value; } } // Check to see if MaximumBandwidthInMbps property is set internal bool IsSetMaximumBandwidthInMbps() { return this._maximumBandwidthInMbps.HasValue; } /// /// Gets and sets the property MaximumIops. /// /// The maximum input/output storage operations per second for an EBS-optimized instance /// type. /// /// public int MaximumIops { get { return this._maximumIops.GetValueOrDefault(); } set { this._maximumIops = value; } } // Check to see if MaximumIops property is set internal bool IsSetMaximumIops() { return this._maximumIops.HasValue; } /// /// Gets and sets the property MaximumThroughputInMBps. /// /// The maximum throughput performance for an EBS-optimized instance type, in MB/s. /// /// public double MaximumThroughputInMBps { get { return this._maximumThroughputInMBps.GetValueOrDefault(); } set { this._maximumThroughputInMBps = value; } } // Check to see if MaximumThroughputInMBps property is set internal bool IsSetMaximumThroughputInMBps() { return this._maximumThroughputInMBps.HasValue; } } }