/* * 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 { /// /// A list of all available options /// public partial class OptionConfiguration { private List _dbSecurityGroupMemberships = new List(); private string _optionName; private List _optionSettings = new List(); private string _optionVersion; private int? _port; private List _vpcSecurityGroupMemberships = new List(); /// /// Gets and sets the property DBSecurityGroupMemberships. /// /// A list of DBSecurityGroupMembership name strings used for this option. /// /// public List DBSecurityGroupMemberships { get { return this._dbSecurityGroupMemberships; } set { this._dbSecurityGroupMemberships = value; } } // Check to see if DBSecurityGroupMemberships property is set internal bool IsSetDBSecurityGroupMemberships() { return this._dbSecurityGroupMemberships != null && this._dbSecurityGroupMemberships.Count > 0; } /// /// Gets and sets the property OptionName. /// /// The configuration of options to include in a group. /// /// [AWSProperty(Required=true)] public string OptionName { get { return this._optionName; } set { this._optionName = value; } } // Check to see if OptionName property is set internal bool IsSetOptionName() { return this._optionName != null; } /// /// Gets and sets the property OptionSettings. /// /// The option settings to include in an option group. /// /// public List OptionSettings { get { return this._optionSettings; } set { this._optionSettings = value; } } // Check to see if OptionSettings property is set internal bool IsSetOptionSettings() { return this._optionSettings != null && this._optionSettings.Count > 0; } /// /// Gets and sets the property OptionVersion. /// /// The version for the option. /// /// public string OptionVersion { get { return this._optionVersion; } set { this._optionVersion = value; } } // Check to see if OptionVersion property is set internal bool IsSetOptionVersion() { return this._optionVersion != null; } /// /// Gets and sets the property Port. /// /// The optional port for the option. /// /// public int Port { get { return this._port.GetValueOrDefault(); } set { this._port = value; } } // Check to see if Port property is set internal bool IsSetPort() { return this._port.HasValue; } /// /// Gets and sets the property VpcSecurityGroupMemberships. /// /// A list of VpcSecurityGroupMembership name strings used for this option. /// /// public List VpcSecurityGroupMemberships { get { return this._vpcSecurityGroupMemberships; } set { this._vpcSecurityGroupMemberships = value; } } // Check to see if VpcSecurityGroupMemberships property is set internal bool IsSetVpcSecurityGroupMemberships() { return this._vpcSecurityGroupMemberships != null && this._vpcSecurityGroupMemberships.Count > 0; } } }