/* * 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 { /// /// Container for the parameters to the ModifyDBProxyEndpoint operation. /// Changes the settings for an existing DB proxy endpoint. /// public partial class ModifyDBProxyEndpointRequest : AmazonRDSRequest { private string _dbProxyEndpointName; private string _newDBProxyEndpointName; private List _vpcSecurityGroupIds = new List(); /// /// Gets and sets the property DBProxyEndpointName. /// /// The name of the DB proxy sociated with the DB proxy endpoint that you want to modify. /// /// [AWSProperty(Required=true, Min=1, Max=63)] public string DBProxyEndpointName { get { return this._dbProxyEndpointName; } set { this._dbProxyEndpointName = value; } } // Check to see if DBProxyEndpointName property is set internal bool IsSetDBProxyEndpointName() { return this._dbProxyEndpointName != null; } /// /// Gets and sets the property NewDBProxyEndpointName. /// /// The new identifier for the DBProxyEndpoint. An identifier must begin /// with a letter and must contain only ASCII letters, digits, and hyphens; it can't end /// with a hyphen or contain two consecutive hyphens. /// /// [AWSProperty(Min=1, Max=63)] public string NewDBProxyEndpointName { get { return this._newDBProxyEndpointName; } set { this._newDBProxyEndpointName = value; } } // Check to see if NewDBProxyEndpointName property is set internal bool IsSetNewDBProxyEndpointName() { return this._newDBProxyEndpointName != null; } /// /// Gets and sets the property VpcSecurityGroupIds. /// /// The VPC security group IDs for the DB proxy endpoint. When the DB proxy endpoint uses /// a different VPC than the original proxy, you also specify a different set of security /// group IDs than for the original proxy. /// /// public List VpcSecurityGroupIds { get { return this._vpcSecurityGroupIds; } set { this._vpcSecurityGroupIds = value; } } // Check to see if VpcSecurityGroupIds property is set internal bool IsSetVpcSecurityGroupIds() { return this._vpcSecurityGroupIds != null && this._vpcSecurityGroupIds.Count > 0; } } }