7#include <aws/neptune/Neptune_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/neptune/model/Subnet.h>
52 template<
typename DBSubnetGroupNameT = Aws::String>
53 void SetDBSubnetGroupName(DBSubnetGroupNameT&& value) { m_dBSubnetGroupNameHasBeenSet =
true; m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value); }
54 template<
typename DBSubnetGroupNameT = Aws::String>
64 template<
typename DBSubnetGroupDescriptionT = Aws::String>
65 void SetDBSubnetGroupDescription(DBSubnetGroupDescriptionT&& value) { m_dBSubnetGroupDescriptionHasBeenSet =
true; m_dBSubnetGroupDescription = std::forward<DBSubnetGroupDescriptionT>(value); }
66 template<
typename DBSubnetGroupDescriptionT = Aws::String>
76 template<
typename VpcIdT = Aws::String>
77 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
78 template<
typename VpcIdT = Aws::String>
88 template<
typename SubnetGroupStatusT = Aws::String>
89 void SetSubnetGroupStatus(SubnetGroupStatusT&& value) { m_subnetGroupStatusHasBeenSet =
true; m_subnetGroupStatus = std::forward<SubnetGroupStatusT>(value); }
90 template<
typename SubnetGroupStatusT = Aws::String>
100 template<
typename SubnetsT = Aws::Vector<Subnet>>
101 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
102 template<
typename SubnetsT = Aws::Vector<Subnet>>
104 template<
typename SubnetsT = Subnet>
105 DBSubnetGroup&
AddSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets.emplace_back(std::forward<SubnetsT>(value));
return *
this; }
114 template<
typename DBSubnetGroupArnT = Aws::String>
115 void SetDBSubnetGroupArn(DBSubnetGroupArnT&& value) { m_dBSubnetGroupArnHasBeenSet =
true; m_dBSubnetGroupArn = std::forward<DBSubnetGroupArnT>(value); }
116 template<
typename DBSubnetGroupArnT = Aws::String>
122 bool m_dBSubnetGroupNameHasBeenSet =
false;
125 bool m_dBSubnetGroupDescriptionHasBeenSet =
false;
128 bool m_vpcIdHasBeenSet =
false;
131 bool m_subnetGroupStatusHasBeenSet =
false;
134 bool m_subnetsHasBeenSet =
false;
137 bool m_dBSubnetGroupArnHasBeenSet =
false;
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_NEPTUNE_API DBSubnetGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetDBSubnetGroupName() const
const Aws::String & GetSubnetGroupStatus() const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBSubnetGroup & WithDBSubnetGroupName(DBSubnetGroupNameT &&value)
DBSubnetGroup & WithSubnetGroupStatus(SubnetGroupStatusT &&value)
const Aws::String & GetDBSubnetGroupDescription() const
bool SubnetsHasBeenSet() const
DBSubnetGroup & WithSubnets(SubnetsT &&value)
DBSubnetGroup & WithVpcId(VpcIdT &&value)
AWS_NEPTUNE_API DBSubnetGroup()=default
DBSubnetGroup & WithDBSubnetGroupDescription(DBSubnetGroupDescriptionT &&value)
bool DBSubnetGroupNameHasBeenSet() const
const Aws::String & GetDBSubnetGroupArn() const
DBSubnetGroup & AddSubnets(SubnetsT &&value)
bool DBSubnetGroupDescriptionHasBeenSet() const
void SetSubnets(SubnetsT &&value)
void SetDBSubnetGroupArn(DBSubnetGroupArnT &&value)
bool VpcIdHasBeenSet() const
const Aws::Vector< Subnet > & GetSubnets() const
const Aws::String & GetVpcId() const
bool SubnetGroupStatusHasBeenSet() const
void SetDBSubnetGroupName(DBSubnetGroupNameT &&value)
void SetVpcId(VpcIdT &&value)
DBSubnetGroup & WithDBSubnetGroupArn(DBSubnetGroupArnT &&value)
void SetSubnetGroupStatus(SubnetGroupStatusT &&value)
bool DBSubnetGroupArnHasBeenSet() const
AWS_NEPTUNE_API DBSubnetGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDBSubnetGroupDescription(DBSubnetGroupDescriptionT &&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