/* * 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 DeleteDBSecurityGroup operation. /// Deletes a DB security group. /// /// /// /// The specified DB security group must not be associated with any DB instances. /// /// /// /// EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic /// to a VPC, we recommend that you migrate as soon as possible. For more information, /// see Migrate /// from EC2-Classic to a VPC in the Amazon EC2 User Guide, the blog EC2-Classic /// Networking is Retiring – Here’s How to Prepare, and Moving /// a DB instance not in a VPC into a VPC in the Amazon RDS User Guide. /// /// /// public partial class DeleteDBSecurityGroupRequest : AmazonRDSRequest { private string _dbSecurityGroupName; /// /// Empty constructor used to set properties independently even when a simple constructor is available /// public DeleteDBSecurityGroupRequest() { } /// /// Instantiates DeleteDBSecurityGroupRequest with the parameterized properties /// /// The name of the DB security group to delete. You can't delete the default DB security group. Constraints: public DeleteDBSecurityGroupRequest(string dbSecurityGroupName) { _dbSecurityGroupName = dbSecurityGroupName; } /// /// Gets and sets the property DBSecurityGroupName. /// /// The name of the DB security group to delete. /// /// /// /// You can't delete the default DB security group. /// /// /// /// Constraints: /// /// /// [AWSProperty(Required=true)] public string DBSecurityGroupName { get { return this._dbSecurityGroupName; } set { this._dbSecurityGroupName = value; } } // Check to see if DBSecurityGroupName property is set internal bool IsSetDBSecurityGroupName() { return this._dbSecurityGroupName != null; } } }