/* * 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 ce-2017-10-25.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.CostExplorer.Model { /// /// Details about the Amazon Redshift instances that Amazon Web Services recommends that /// you purchase. /// public partial class RedshiftInstanceDetails { private bool? _currentGeneration; private string _family; private string _nodeType; private string _region; private bool? _sizeFlexEligible; /// /// Gets and sets the property CurrentGeneration. /// /// Determines whether the recommendation is for a current-generation instance. /// /// public bool CurrentGeneration { get { return this._currentGeneration.GetValueOrDefault(); } set { this._currentGeneration = value; } } // Check to see if CurrentGeneration property is set internal bool IsSetCurrentGeneration() { return this._currentGeneration.HasValue; } /// /// Gets and sets the property Family. /// /// The instance family of the recommended reservation. /// /// [AWSProperty(Min=0, Max=1024)] public string Family { get { return this._family; } set { this._family = value; } } // Check to see if Family property is set internal bool IsSetFamily() { return this._family != null; } /// /// Gets and sets the property NodeType. /// /// The type of node that Amazon Web Services recommends. /// /// [AWSProperty(Min=0, Max=1024)] public string NodeType { get { return this._nodeType; } set { this._nodeType = value; } } // Check to see if NodeType property is set internal bool IsSetNodeType() { return this._nodeType != null; } /// /// Gets and sets the property Region. /// /// The Amazon Web Services Region of the recommended reservation. /// /// [AWSProperty(Min=0, Max=1024)] public string Region { get { return this._region; } set { this._region = value; } } // Check to see if Region property is set internal bool IsSetRegion() { return this._region != null; } /// /// Gets and sets the property SizeFlexEligible. /// /// Determines whether the recommended reservation is size flexible. /// /// public bool SizeFlexEligible { get { return this._sizeFlexEligible.GetValueOrDefault(); } set { this._sizeFlexEligible = value; } } // Check to see if SizeFlexEligible property is set internal bool IsSetSizeFlexEligible() { return this._sizeFlexEligible.HasValue; } } }