/* * 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 dax-2017-04-19.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.DAX.Model { /// /// Describes an individual setting that controls some aspect of DAX behavior. /// public partial class Parameter { private string _allowedValues; private ChangeType _changeType; private string _dataType; private string _description; private IsModifiable _isModifiable; private List _nodeTypeSpecificValues = new List(); private string _parameterName; private ParameterType _parameterType; private string _parameterValue; private string _source; /// /// Gets and sets the property AllowedValues. /// /// A range of values within which the parameter can be set. /// /// public string AllowedValues { get { return this._allowedValues; } set { this._allowedValues = value; } } // Check to see if AllowedValues property is set internal bool IsSetAllowedValues() { return this._allowedValues != null; } /// /// Gets and sets the property ChangeType. /// /// The conditions under which changes to this parameter can be applied. For example, /// requires-reboot indicates that a new value for this parameter will only /// take effect if a node is rebooted. /// /// public ChangeType ChangeType { get { return this._changeType; } set { this._changeType = value; } } // Check to see if ChangeType property is set internal bool IsSetChangeType() { return this._changeType != null; } /// /// Gets and sets the property DataType. /// /// The data type of the parameter. For example, integer: /// /// public string DataType { get { return this._dataType; } set { this._dataType = value; } } // Check to see if DataType property is set internal bool IsSetDataType() { return this._dataType != null; } /// /// Gets and sets the property Description. /// /// A description of the parameter /// /// public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property IsModifiable. /// /// Whether the customer is allowed to modify the parameter. /// /// public IsModifiable IsModifiable { get { return this._isModifiable; } set { this._isModifiable = value; } } // Check to see if IsModifiable property is set internal bool IsSetIsModifiable() { return this._isModifiable != null; } /// /// Gets and sets the property NodeTypeSpecificValues. /// /// A list of node types, and specific parameter values for each node. /// /// public List NodeTypeSpecificValues { get { return this._nodeTypeSpecificValues; } set { this._nodeTypeSpecificValues = value; } } // Check to see if NodeTypeSpecificValues property is set internal bool IsSetNodeTypeSpecificValues() { return this._nodeTypeSpecificValues != null && this._nodeTypeSpecificValues.Count > 0; } /// /// Gets and sets the property ParameterName. /// /// The name of the parameter. /// /// public string ParameterName { get { return this._parameterName; } set { this._parameterName = value; } } // Check to see if ParameterName property is set internal bool IsSetParameterName() { return this._parameterName != null; } /// /// Gets and sets the property ParameterType. /// /// Determines whether the parameter can be applied to any nodes, or only nodes of a particular /// type. /// /// public ParameterType ParameterType { get { return this._parameterType; } set { this._parameterType = value; } } // Check to see if ParameterType property is set internal bool IsSetParameterType() { return this._parameterType != null; } /// /// Gets and sets the property ParameterValue. /// /// The value for the parameter. /// /// public string ParameterValue { get { return this._parameterValue; } set { this._parameterValue = value; } } // Check to see if ParameterValue property is set internal bool IsSetParameterValue() { return this._parameterValue != null; } /// /// Gets and sets the property Source. /// /// How the parameter is defined. For example, system denotes a system-defined /// parameter. /// /// public string Source { get { return this._source; } set { this._source = value; } } // Check to see if Source property is set internal bool IsSetSource() { return this._source != null; } } }