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/docdb/DocDB_EXPORTS.h>
11#include <aws/docdb/model/Subnet.h>
44 template <
typename DBSubnetGroupNameT = Aws::String>
46 m_dBSubnetGroupNameHasBeenSet =
true;
47 m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value);
49 template <
typename DBSubnetGroupNameT = Aws::String>
62 template <
typename DBSubnetGroupDescriptionT = Aws::String>
64 m_dBSubnetGroupDescriptionHasBeenSet =
true;
65 m_dBSubnetGroupDescription = std::forward<DBSubnetGroupDescriptionT>(value);
67 template <
typename DBSubnetGroupDescriptionT = Aws::String>
80 template <
typename VpcIdT = Aws::String>
82 m_vpcIdHasBeenSet =
true;
83 m_vpcId = std::forward<VpcIdT>(value);
85 template <
typename VpcIdT = Aws::String>
87 SetVpcId(std::forward<VpcIdT>(value));
98 template <
typename SubnetGroupStatusT = Aws::String>
100 m_subnetGroupStatusHasBeenSet =
true;
101 m_subnetGroupStatus = std::forward<SubnetGroupStatusT>(value);
103 template <
typename SubnetGroupStatusT = Aws::String>
116 template <
typename SubnetsT = Aws::Vector<Subnet>>
118 m_subnetsHasBeenSet =
true;
119 m_subnets = std::forward<SubnetsT>(value);
121 template <
typename SubnetsT = Aws::Vector<Subnet>>
126 template <
typename SubnetsT = Subnet>
128 m_subnetsHasBeenSet =
true;
129 m_subnets.emplace_back(std::forward<SubnetsT>(value));
140 template <
typename DBSubnetGroupArnT = Aws::String>
142 m_dBSubnetGroupArnHasBeenSet =
true;
143 m_dBSubnetGroupArn = std::forward<DBSubnetGroupArnT>(value);
145 template <
typename DBSubnetGroupArnT = Aws::String>
160 template <
typename SupportedNetworkTypesT = Aws::Vector<Aws::String>>
162 m_supportedNetworkTypesHasBeenSet =
true;
163 m_supportedNetworkTypes = std::forward<SupportedNetworkTypesT>(value);
165 template <
typename SupportedNetworkTypesT = Aws::Vector<Aws::String>>
170 template <
typename SupportedNetworkTypesT = Aws::String>
172 m_supportedNetworkTypesHasBeenSet =
true;
173 m_supportedNetworkTypes.emplace_back(std::forward<SupportedNetworkTypesT>(value));
191 bool m_dBSubnetGroupNameHasBeenSet =
false;
192 bool m_dBSubnetGroupDescriptionHasBeenSet =
false;
193 bool m_vpcIdHasBeenSet =
false;
194 bool m_subnetGroupStatusHasBeenSet =
false;
195 bool m_subnetsHasBeenSet =
false;
196 bool m_dBSubnetGroupArnHasBeenSet =
false;
197 bool m_supportedNetworkTypesHasBeenSet =
false;
AWS_DOCDB_API DBSubnetGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_DOCDB_API DBSubnetGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDBSubnetGroupName(DBSubnetGroupNameT &&value)
AWS_DOCDB_API DBSubnetGroup()=default
const Aws::Vector< Aws::String > & GetSupportedNetworkTypes() const
bool DBSubnetGroupDescriptionHasBeenSet() const
DBSubnetGroup & WithSubnetGroupStatus(SubnetGroupStatusT &&value)
DBSubnetGroup & WithVpcId(VpcIdT &&value)
void SetSubnets(SubnetsT &&value)
const Aws::String & GetDBSubnetGroupArn() const
const Aws::String & GetDBSubnetGroupName() const
void SetSupportedNetworkTypes(SupportedNetworkTypesT &&value)
DBSubnetGroup & AddSubnets(SubnetsT &&value)
const Aws::String & GetVpcId() const
const Aws::String & GetDBSubnetGroupDescription() const
bool SubnetGroupStatusHasBeenSet() const
void SetSubnetGroupStatus(SubnetGroupStatusT &&value)
DBSubnetGroup & AddSupportedNetworkTypes(SupportedNetworkTypesT &&value)
bool VpcIdHasBeenSet() const
bool SupportedNetworkTypesHasBeenSet() const
DBSubnetGroup & WithDBSubnetGroupArn(DBSubnetGroupArnT &&value)
DBSubnetGroup & WithSubnets(SubnetsT &&value)
const Aws::String & GetSubnetGroupStatus() const
DBSubnetGroup & WithDBSubnetGroupDescription(DBSubnetGroupDescriptionT &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool DBSubnetGroupNameHasBeenSet() const
const Aws::Vector< Subnet > & GetSubnets() const
void SetDBSubnetGroupArn(DBSubnetGroupArnT &&value)
bool DBSubnetGroupArnHasBeenSet() const
DBSubnetGroup & WithSupportedNetworkTypes(SupportedNetworkTypesT &&value)
DBSubnetGroup & WithDBSubnetGroupName(DBSubnetGroupNameT &&value)
bool SubnetsHasBeenSet() const
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDBSubnetGroupDescription(DBSubnetGroupDescriptionT &&value)
void SetVpcId(VpcIdT &&value)
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