7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dax/DAX_EXPORTS.h>
10#include <aws/dax/model/NetworkType.h>
11#include <aws/dax/model/Subnet.h>
45 template <
typename SubnetGroupNameT = Aws::String>
47 m_subnetGroupNameHasBeenSet =
true;
48 m_subnetGroupName = std::forward<SubnetGroupNameT>(value);
50 template <
typename SubnetGroupNameT = Aws::String>
63 template <
typename DescriptionT = Aws::String>
65 m_descriptionHasBeenSet =
true;
66 m_description = std::forward<DescriptionT>(value);
68 template <
typename DescriptionT = Aws::String>
81 template <
typename VpcIdT = Aws::String>
83 m_vpcIdHasBeenSet =
true;
84 m_vpcId = std::forward<VpcIdT>(value);
86 template <
typename VpcIdT = Aws::String>
88 SetVpcId(std::forward<VpcIdT>(value));
99 template <
typename SubnetsT = Aws::Vector<Subnet>>
101 m_subnetsHasBeenSet =
true;
102 m_subnets = std::forward<SubnetsT>(value);
104 template <
typename SubnetsT = Aws::Vector<Subnet>>
109 template <
typename SubnetsT = Subnet>
111 m_subnetsHasBeenSet =
true;
112 m_subnets.emplace_back(std::forward<SubnetsT>(value));
125 template <
typename SupportedNetworkTypesT = Aws::Vector<NetworkType>>
127 m_supportedNetworkTypesHasBeenSet =
true;
128 m_supportedNetworkTypes = std::forward<SupportedNetworkTypesT>(value);
130 template <
typename SupportedNetworkTypesT = Aws::Vector<NetworkType>>
136 m_supportedNetworkTypesHasBeenSet =
true;
137 m_supportedNetworkTypes.push_back(value);
151 bool m_subnetGroupNameHasBeenSet =
false;
152 bool m_descriptionHasBeenSet =
false;
153 bool m_vpcIdHasBeenSet =
false;
154 bool m_subnetsHasBeenSet =
false;
155 bool m_supportedNetworkTypesHasBeenSet =
false;
void SetVpcId(VpcIdT &&value)
SubnetGroup & WithSupportedNetworkTypes(SupportedNetworkTypesT &&value)
void SetSubnetGroupName(SubnetGroupNameT &&value)
SubnetGroup & WithSubnets(SubnetsT &&value)
bool SupportedNetworkTypesHasBeenSet() const
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
void SetSupportedNetworkTypes(SupportedNetworkTypesT &&value)
SubnetGroup & WithSubnetGroupName(SubnetGroupNameT &&value)
bool SubnetGroupNameHasBeenSet() const
AWS_DAX_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< NetworkType > & GetSupportedNetworkTypes() const
bool VpcIdHasBeenSet() const
SubnetGroup & WithDescription(DescriptionT &&value)
SubnetGroup & AddSupportedNetworkTypes(NetworkType 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