/*
* 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
{
///
/// Contains the details of an Amazon RDS DB subnet group.
///
///
///
/// This data type is used as a response element in the DescribeDBSubnetGroups
/// action.
///
///
public partial class DBSubnetGroup
{
private string _dbSubnetGroupArn;
private string _dbSubnetGroupDescription;
private string _dbSubnetGroupName;
private string _subnetGroupStatus;
private List _subnets = new List();
private List _supportedNetworkTypes = new List();
private string _vpcId;
///
/// Gets and sets the property DBSubnetGroupArn.
///
/// The Amazon Resource Name (ARN) for the DB subnet group.
///
///
public string DBSubnetGroupArn
{
get { return this._dbSubnetGroupArn; }
set { this._dbSubnetGroupArn = value; }
}
// Check to see if DBSubnetGroupArn property is set
internal bool IsSetDBSubnetGroupArn()
{
return this._dbSubnetGroupArn != null;
}
///
/// Gets and sets the property DBSubnetGroupDescription.
///
/// Provides the description of the DB subnet group.
///
///
public string DBSubnetGroupDescription
{
get { return this._dbSubnetGroupDescription; }
set { this._dbSubnetGroupDescription = value; }
}
// Check to see if DBSubnetGroupDescription property is set
internal bool IsSetDBSubnetGroupDescription()
{
return this._dbSubnetGroupDescription != null;
}
///
/// Gets and sets the property DBSubnetGroupName.
///
/// The name of the DB subnet group.
///
///
public string DBSubnetGroupName
{
get { return this._dbSubnetGroupName; }
set { this._dbSubnetGroupName = value; }
}
// Check to see if DBSubnetGroupName property is set
internal bool IsSetDBSubnetGroupName()
{
return this._dbSubnetGroupName != null;
}
///
/// Gets and sets the property SubnetGroupStatus.
///
/// Provides the status of the DB subnet group.
///
///
public string SubnetGroupStatus
{
get { return this._subnetGroupStatus; }
set { this._subnetGroupStatus = value; }
}
// Check to see if SubnetGroupStatus property is set
internal bool IsSetSubnetGroupStatus()
{
return this._subnetGroupStatus != null;
}
///
/// Gets and sets the property Subnets.
///
/// Contains a list of Subnet
elements.
///
///
public List Subnets
{
get { return this._subnets; }
set { this._subnets = value; }
}
// Check to see if Subnets property is set
internal bool IsSetSubnets()
{
return this._subnets != null && this._subnets.Count > 0;
}
///
/// Gets and sets the property SupportedNetworkTypes.
///
/// The network type of the DB subnet group.
///
///
///
/// Valid values:
///
/// -
///
///
IPV4
///
/// -
///
///
DUAL
///
///
///
/// A DBSubnetGroup
can support only the IPv4 protocol or the IPv4 and the
/// IPv6 protocols (DUAL
).
///
///
///
/// For more information, see
/// Working with a DB instance in a VPC in the Amazon RDS User Guide.
///
///
public List SupportedNetworkTypes
{
get { return this._supportedNetworkTypes; }
set { this._supportedNetworkTypes = value; }
}
// Check to see if SupportedNetworkTypes property is set
internal bool IsSetSupportedNetworkTypes()
{
return this._supportedNetworkTypes != null && this._supportedNetworkTypes.Count > 0;
}
///
/// Gets and sets the property VpcId.
///
/// Provides the VpcId of the DB subnet group.
///
///
public string VpcId
{
get { return this._vpcId; }
set { this._vpcId = value; }
}
// Check to see if VpcId property is set
internal bool IsSetVpcId()
{
return this._vpcId != null;
}
}
}