7#include <aws/dax/DAX_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dax/model/Subnet.h>
50 template<
typename SubnetGroupNameT = Aws::String>
51 void SetSubnetGroupName(SubnetGroupNameT&& value) { m_subnetGroupNameHasBeenSet =
true; m_subnetGroupName = std::forward<SubnetGroupNameT>(value); }
52 template<
typename SubnetGroupNameT = Aws::String>
62 template<
typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
64 template<
typename DescriptionT = 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 SubnetsT = Aws::Vector<Subnet>>
87 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
88 template<
typename SubnetsT = Aws::Vector<Subnet>>
90 template<
typename SubnetsT = Subnet>
91 SubnetGroup&
AddSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets.emplace_back(std::forward<SubnetsT>(value));
return *
this; }
96 bool m_subnetGroupNameHasBeenSet =
false;
99 bool m_descriptionHasBeenSet =
false;
102 bool m_vpcIdHasBeenSet =
false;
105 bool m_subnetsHasBeenSet =
false;
void SetVpcId(VpcIdT &&value)
void SetSubnetGroupName(SubnetGroupNameT &&value)
SubnetGroup & WithSubnets(SubnetsT &&value)
SubnetGroup & WithVpcId(VpcIdT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetSubnetGroupName() const
AWS_DAX_API SubnetGroup(Aws::Utils::Json::JsonView jsonValue)
bool SubnetsHasBeenSet() const
void SetDescription(DescriptionT &&value)
AWS_DAX_API SubnetGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVpcId() const
void SetSubnets(SubnetsT &&value)
bool DescriptionHasBeenSet() const
const Aws::Vector< Subnet > & GetSubnets() const
SubnetGroup & WithSubnetGroupName(SubnetGroupNameT &&value)
bool SubnetGroupNameHasBeenSet() const
AWS_DAX_API Aws::Utils::Json::JsonValue Jsonize() const
bool VpcIdHasBeenSet() const
SubnetGroup & WithDescription(DescriptionT &&value)
SubnetGroup & AddSubnets(SubnetsT &&value)
AWS_DAX_API SubnetGroup()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue