7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/docdb/model/Subnet.h>
50 template<
typename DBSubnetGroupNameT = Aws::String>
51 void SetDBSubnetGroupName(DBSubnetGroupNameT&& value) { m_dBSubnetGroupNameHasBeenSet =
true; m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value); }
52 template<
typename DBSubnetGroupNameT = Aws::String>
62 template<
typename DBSubnetGroupDescriptionT = Aws::String>
63 void SetDBSubnetGroupDescription(DBSubnetGroupDescriptionT&& value) { m_dBSubnetGroupDescriptionHasBeenSet =
true; m_dBSubnetGroupDescription = std::forward<DBSubnetGroupDescriptionT>(value); }
64 template<
typename DBSubnetGroupDescriptionT = Aws::String>
74 template<
typename VpcIdT = Aws::String>
75 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
76 template<
typename VpcIdT = Aws::String>
86 template<
typename SubnetGroupStatusT = Aws::String>
87 void SetSubnetGroupStatus(SubnetGroupStatusT&& value) { m_subnetGroupStatusHasBeenSet =
true; m_subnetGroupStatus = std::forward<SubnetGroupStatusT>(value); }
88 template<
typename SubnetGroupStatusT = Aws::String>
98 template<
typename SubnetsT = Aws::Vector<Subnet>>
99 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
100 template<
typename SubnetsT = Aws::Vector<Subnet>>
102 template<
typename SubnetsT = Subnet>
103 DBSubnetGroup&
AddSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets.emplace_back(std::forward<SubnetsT>(value));
return *
this; }
112 template<
typename DBSubnetGroupArnT = Aws::String>
113 void SetDBSubnetGroupArn(DBSubnetGroupArnT&& value) { m_dBSubnetGroupArnHasBeenSet =
true; m_dBSubnetGroupArn = std::forward<DBSubnetGroupArnT>(value); }
114 template<
typename DBSubnetGroupArnT = Aws::String>
120 bool m_dBSubnetGroupNameHasBeenSet =
false;
123 bool m_dBSubnetGroupDescriptionHasBeenSet =
false;
126 bool m_vpcIdHasBeenSet =
false;
129 bool m_subnetGroupStatusHasBeenSet =
false;
132 bool m_subnetsHasBeenSet =
false;
135 bool m_dBSubnetGroupArnHasBeenSet =
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
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
DBSubnetGroup & AddSubnets(SubnetsT &&value)
const Aws::String & GetVpcId() const
const Aws::String & GetDBSubnetGroupDescription() const
bool SubnetGroupStatusHasBeenSet() const
void SetSubnetGroupStatus(SubnetGroupStatusT &&value)
bool VpcIdHasBeenSet() 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 & 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