/* * 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 es-2015-01-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.Elasticsearch.Model { /// /// Options to enable, disable, and specify the properties of EBS storage volumes. For /// more information, see Configuring EBS-based Storage. /// public partial class EBSOptions { private bool? _ebsEnabled; private int? _iops; private int? _throughput; private int? _volumeSize; private VolumeType _volumeType; /// /// Gets and sets the property EBSEnabled. /// /// Specifies whether EBS-based storage is enabled. /// /// public bool EBSEnabled { get { return this._ebsEnabled.GetValueOrDefault(); } set { this._ebsEnabled = value; } } // Check to see if EBSEnabled property is set internal bool IsSetEBSEnabled() { return this._ebsEnabled.HasValue; } /// /// Gets and sets the property Iops. /// /// Specifies the IOPS for Provisioned IOPS And GP3 EBS volume (SSD). /// /// public int 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. /// /// Specifies the Throughput for GP3 EBS volume (SSD). /// /// public int 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 VolumeSize. /// /// Integer to specify the size of an EBS volume. /// /// public int VolumeSize { get { return this._volumeSize.GetValueOrDefault(); } set { this._volumeSize = value; } } // Check to see if VolumeSize property is set internal bool IsSetVolumeSize() { return this._volumeSize.HasValue; } /// /// Gets and sets the property VolumeType. /// /// Specifies the volume type for EBS-based storage. /// /// 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; } } }