/* * 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 { /// /// Describes a parameter in a cluster parameter group. /// public partial class Parameter { private string _allowedValues; private ParameterApplyType _applyType; private string _dataType; private string _description; private bool? _isModifiable; private string _minimumEngineVersion; private string _parameterName; private string _parameterValue; private string _source; /// /// Gets and sets the property AllowedValues. /// /// The valid range of values for the parameter. /// /// [AWSProperty(Max=2147483647)] 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 ApplyType. /// /// Specifies how to apply the WLM configuration parameter. Some properties can be applied /// dynamically, while other properties require that any associated clusters be rebooted /// for the configuration changes to be applied. For more information about parameters /// and parameter groups, go to Amazon /// Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide. /// /// public ParameterApplyType ApplyType { get { return this._applyType; } set { this._applyType = value; } } // Check to see if ApplyType property is set internal bool IsSetApplyType() { return this._applyType != null; } /// /// Gets and sets the property DataType. /// /// The data type of the parameter. /// /// [AWSProperty(Max=2147483647)] 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. /// /// [AWSProperty(Max=2147483647)] 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. /// /// If true, the parameter can be modified. Some parameters have security /// or operational implications that prevent them from being changed. /// /// public bool IsModifiable { get { return this._isModifiable.GetValueOrDefault(); } set { this._isModifiable = value; } } // Check to see if IsModifiable property is set internal bool IsSetIsModifiable() { return this._isModifiable.HasValue; } /// /// Gets and sets the property MinimumEngineVersion. /// /// The earliest engine version to which the parameter can apply. /// /// [AWSProperty(Max=2147483647)] public string MinimumEngineVersion { get { return this._minimumEngineVersion; } set { this._minimumEngineVersion = value; } } // Check to see if MinimumEngineVersion property is set internal bool IsSetMinimumEngineVersion() { return this._minimumEngineVersion != null; } /// /// Gets and sets the property ParameterName. /// /// The name of the parameter. /// /// [AWSProperty(Max=2147483647)] 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 ParameterValue. /// /// The value of the parameter. If ParameterName is wlm_json_configuration, /// then the maximum size of ParameterValue is 8000 characters. /// /// [AWSProperty(Max=2147483647)] 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. /// /// The source of the parameter value, such as "engine-default" or "user". /// /// [AWSProperty(Max=2147483647)] 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; } } }