/* * 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 rds-2014-10-31.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.RDS.Model { /// /// Option group option settings are used to display settings available for each option /// with their default values and other information. These values are used with the DescribeOptionGroupOptions /// action. /// public partial class OptionGroupOptionSetting { private string _allowedValues; private string _applyType; private string _defaultValue; private bool? _isModifiable; private bool? _isRequired; private List _minimumEngineVersionPerAllowedValue = new List(); private string _settingDescription; private string _settingName; /// /// Gets and sets the property AllowedValues. /// /// Indicates the acceptable values for the option group option. /// /// 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. /// /// The DB engine specific parameter type for the option group option. /// /// public string 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 DefaultValue. /// /// The default value for the option group option. /// /// public string DefaultValue { get { return this._defaultValue; } set { this._defaultValue = value; } } // Check to see if DefaultValue property is set internal bool IsSetDefaultValue() { return this._defaultValue != null; } /// /// Gets and sets the property IsModifiable. /// /// Boolean value where true indicates that this option group option can be changed from /// the default value. /// /// 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 IsRequired. /// /// Boolean value where true indicates that a value must be specified for this option /// setting of the option group option. /// /// public bool IsRequired { get { return this._isRequired.GetValueOrDefault(); } set { this._isRequired = value; } } // Check to see if IsRequired property is set internal bool IsSetIsRequired() { return this._isRequired.HasValue; } /// /// Gets and sets the property MinimumEngineVersionPerAllowedValue. /// /// The minimum DB engine version required for the corresponding allowed value for this /// option setting. /// /// public List MinimumEngineVersionPerAllowedValue { get { return this._minimumEngineVersionPerAllowedValue; } set { this._minimumEngineVersionPerAllowedValue = value; } } // Check to see if MinimumEngineVersionPerAllowedValue property is set internal bool IsSetMinimumEngineVersionPerAllowedValue() { return this._minimumEngineVersionPerAllowedValue != null && this._minimumEngineVersionPerAllowedValue.Count > 0; } /// /// Gets and sets the property SettingDescription. /// /// The description of the option group option. /// /// public string SettingDescription { get { return this._settingDescription; } set { this._settingDescription = value; } } // Check to see if SettingDescription property is set internal bool IsSetSettingDescription() { return this._settingDescription != null; } /// /// Gets and sets the property SettingName. /// /// The name of the option group option. /// /// public string SettingName { get { return this._settingName; } set { this._settingName = value; } } // Check to see if SettingName property is set internal bool IsSetSettingName() { return this._settingName != null; } } }