/*
* 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 fsx-2018-03-01.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.FSx.Model
{
///
/// The SSD IOPS (input/output operations per second) configuration for an Amazon FSx
/// for NetApp ONTAP or FSx for OpenZFS file system. By default, Amazon FSx automatically
/// provisions 3 IOPS per GB of storage capacity. You can provision additional IOPS per
/// GB of storage. The configuration consists of the total number of provisioned SSD IOPS
/// and how it is was provisioned, or the mode (by the customer or by Amazon FSx).
///
public partial class DiskIopsConfiguration
{
private long? _iops;
private DiskIopsConfigurationMode _mode;
///
/// Gets and sets the property Iops.
///
/// The total number of SSD IOPS provisioned for the file system.
///
///
[AWSProperty(Min=0, Max=1000000)]
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 Mode.
///
/// Specifies whether the file system is using the AUTOMATIC
setting of SSD
/// IOPS of 3 IOPS per GB of storage capacity, , or if it using a USER_PROVISIONED
/// value.
///
///
public DiskIopsConfigurationMode Mode
{
get { return this._mode; }
set { this._mode = value; }
}
// Check to see if Mode property is set
internal bool IsSetMode()
{
return this._mode != null;
}
}
}