/*
* 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 mgn-2020-02-26.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.Mgn.Model
{
///
/// Launch template disk configuration.
///
public partial class LaunchTemplateDiskConf
{
private long? _iops;
private long? _throughput;
private VolumeType _volumeType;
///
/// Gets and sets the property Iops.
///
/// Launch template disk iops configuration.
///
///
[AWSProperty(Min=100, Max=64000)]
public long Iops
{
get { return this._iops.GetValueOrDefault(); }
set { this._iops = value; }
}
// Check to see if Iops property is set
internal bool IsSetIops()
{
return this._iops.HasValue;
}
///
/// Gets and sets the property Throughput.
///
/// Launch template disk throughput configuration.
///
///
[AWSProperty(Min=125, Max=1000)]
public long Throughput
{
get { return this._throughput.GetValueOrDefault(); }
set { this._throughput = value; }
}
// Check to see if Throughput property is set
internal bool IsSetThroughput()
{
return this._throughput.HasValue;
}
///
/// Gets and sets the property VolumeType.
///
/// Launch template disk volume type configuration.
///
///
public VolumeType VolumeType
{
get { return this._volumeType; }
set { this._volumeType = value; }
}
// Check to see if VolumeType property is set
internal bool IsSetVolumeType()
{
return this._volumeType != null;
}
}
}