7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rds/RDS_EXPORTS.h>
11#include <aws/rds/model/Subnet.h>
46 template <
typename DBSubnetGroupNameT = Aws::String>
48 m_dBSubnetGroupNameHasBeenSet =
true;
49 m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value);
51 template <
typename DBSubnetGroupNameT = Aws::String>
64 template <
typename DBSubnetGroupDescriptionT = Aws::String>
66 m_dBSubnetGroupDescriptionHasBeenSet =
true;
67 m_dBSubnetGroupDescription = std::forward<DBSubnetGroupDescriptionT>(value);
69 template <
typename DBSubnetGroupDescriptionT = Aws::String>
82 template <
typename VpcIdT = Aws::String>
84 m_vpcIdHasBeenSet =
true;
85 m_vpcId = std::forward<VpcIdT>(value);
87 template <
typename VpcIdT = Aws::String>
89 SetVpcId(std::forward<VpcIdT>(value));
100 template <
typename SubnetGroupStatusT = Aws::String>
102 m_subnetGroupStatusHasBeenSet =
true;
103 m_subnetGroupStatus = std::forward<SubnetGroupStatusT>(value);
105 template <
typename SubnetGroupStatusT = Aws::String>
120 template <
typename SubnetsT = Aws::Vector<Subnet>>
122 m_subnetsHasBeenSet =
true;
123 m_subnets = std::forward<SubnetsT>(value);
125 template <
typename SubnetsT = Aws::Vector<Subnet>>
130 template <
typename SubnetsT = Subnet>
132 m_subnetsHasBeenSet =
true;
133 m_subnets.emplace_back(std::forward<SubnetsT>(value));
144 template <
typename DBSubnetGroupArnT = Aws::String>
146 m_dBSubnetGroupArnHasBeenSet =
true;
147 m_dBSubnetGroupArn = std::forward<DBSubnetGroupArnT>(value);
149 template <
typename DBSubnetGroupArnT = Aws::String>
168 template <
typename SupportedNetworkTypesT = Aws::Vector<Aws::String>>
170 m_supportedNetworkTypesHasBeenSet =
true;
171 m_supportedNetworkTypes = std::forward<SupportedNetworkTypesT>(value);
173 template <
typename SupportedNetworkTypesT = Aws::Vector<Aws::String>>
178 template <
typename SupportedNetworkTypesT = Aws::String>
180 m_supportedNetworkTypesHasBeenSet =
true;
181 m_supportedNetworkTypes.emplace_back(std::forward<SupportedNetworkTypesT>(value));
199 bool m_dBSubnetGroupNameHasBeenSet =
false;
200 bool m_dBSubnetGroupDescriptionHasBeenSet =
false;
201 bool m_vpcIdHasBeenSet =
false;
202 bool m_subnetGroupStatusHasBeenSet =
false;
203 bool m_subnetsHasBeenSet =
false;
204 bool m_dBSubnetGroupArnHasBeenSet =
false;
205 bool m_supportedNetworkTypesHasBeenSet =
false;
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDBSubnetGroupArn(DBSubnetGroupArnT &&value)
const Aws::String & GetVpcId() const
bool DBSubnetGroupArnHasBeenSet() const
void SetDBSubnetGroupDescription(DBSubnetGroupDescriptionT &&value)
bool DBSubnetGroupNameHasBeenSet() const
bool SubnetsHasBeenSet() const
AWS_RDS_API DBSubnetGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSubnetGroupStatus(SubnetGroupStatusT &&value)
DBSubnetGroup & WithVpcId(VpcIdT &&value)
bool SupportedNetworkTypesHasBeenSet() const
void SetDBSubnetGroupName(DBSubnetGroupNameT &&value)
const Aws::Vector< Aws::String > & GetSupportedNetworkTypes() const
const Aws::String & GetSubnetGroupStatus() const
const Aws::String & GetDBSubnetGroupName() const
DBSubnetGroup & WithDBSubnetGroupArn(DBSubnetGroupArnT &&value)
const Aws::Vector< Subnet > & GetSubnets() const
AWS_RDS_API DBSubnetGroup()=default
DBSubnetGroup & WithSubnets(SubnetsT &&value)
AWS_RDS_API DBSubnetGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
DBSubnetGroup & WithDBSubnetGroupName(DBSubnetGroupNameT &&value)
DBSubnetGroup & WithSubnetGroupStatus(SubnetGroupStatusT &&value)
DBSubnetGroup & AddSupportedNetworkTypes(SupportedNetworkTypesT &&value)
void SetVpcId(VpcIdT &&value)
const Aws::String & GetDBSubnetGroupArn() const
bool SubnetGroupStatusHasBeenSet() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBSubnetGroup & AddSubnets(SubnetsT &&value)
bool VpcIdHasBeenSet() const
DBSubnetGroup & WithDBSubnetGroupDescription(DBSubnetGroupDescriptionT &&value)
void SetSupportedNetworkTypes(SupportedNetworkTypesT &&value)
void SetSubnets(SubnetsT &&value)
DBSubnetGroup & WithSupportedNetworkTypes(SupportedNetworkTypesT &&value)
const Aws::String & GetDBSubnetGroupDescription() const
bool DBSubnetGroupDescriptionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream