/* * 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 redshift-2012-12-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.Redshift.Model { /// /// A list of node configurations. /// public partial class NodeConfigurationOption { private double? _estimatedDiskUtilizationPercent; private Mode _mode; private string _nodeType; private int? _numberOfNodes; /// /// Gets and sets the property EstimatedDiskUtilizationPercent. /// /// The estimated disk utilizaton percentage. /// /// public double EstimatedDiskUtilizationPercent { get { return this._estimatedDiskUtilizationPercent.GetValueOrDefault(); } set { this._estimatedDiskUtilizationPercent = value; } } // Check to see if EstimatedDiskUtilizationPercent property is set internal bool IsSetEstimatedDiskUtilizationPercent() { return this._estimatedDiskUtilizationPercent.HasValue; } /// /// Gets and sets the property Mode. /// /// The category of the node configuration recommendation. /// /// public Mode Mode { get { return this._mode; } set { this._mode = value; } } // Check to see if Mode property is set internal bool IsSetMode() { return this._mode != null; } /// /// Gets and sets the property NodeType. /// /// The node type, such as, "ds2.8xlarge". /// /// [AWSProperty(Max=2147483647)] 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 NumberOfNodes. /// /// The number of nodes. /// /// public int NumberOfNodes { get { return this._numberOfNodes.GetValueOrDefault(); } set { this._numberOfNodes = value; } } // Check to see if NumberOfNodes property is set internal bool IsSetNumberOfNodes() { return this._numberOfNodes.HasValue; } } }