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/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/Subnet.h>
12#include <aws/redshift/model/Tag.h>
45 template <
typename ClusterSubnetGroupNameT = Aws::String>
47 m_clusterSubnetGroupNameHasBeenSet =
true;
48 m_clusterSubnetGroupName = std::forward<ClusterSubnetGroupNameT>(value);
50 template <
typename ClusterSubnetGroupNameT = 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));
100 template <
typename SubnetGroupStatusT = Aws::String>
102 m_subnetGroupStatusHasBeenSet =
true;
103 m_subnetGroupStatus = std::forward<SubnetGroupStatusT>(value);
105 template <
typename SubnetGroupStatusT = Aws::String>
118 template <
typename SubnetsT = Aws::Vector<Subnet>>
120 m_subnetsHasBeenSet =
true;
121 m_subnets = std::forward<SubnetsT>(value);
123 template <
typename SubnetsT = Aws::Vector<Subnet>>
128 template <
typename SubnetsT = Subnet>
130 m_subnetsHasBeenSet =
true;
131 m_subnets.emplace_back(std::forward<SubnetsT>(value));
142 template <
typename TagsT = Aws::Vector<Tag>>
144 m_tagsHasBeenSet =
true;
145 m_tags = std::forward<TagsT>(value);
147 template <
typename TagsT = Aws::Vector<Tag>>
149 SetTags(std::forward<TagsT>(value));
152 template <
typename TagsT = Tag>
154 m_tagsHasBeenSet =
true;
155 m_tags.emplace_back(std::forward<TagsT>(value));
167 template <
typename SupportedClusterIpAddressTypesT = Aws::Vector<Aws::String>>
169 m_supportedClusterIpAddressTypesHasBeenSet =
true;
170 m_supportedClusterIpAddressTypes = std::forward<SupportedClusterIpAddressTypesT>(value);
172 template <
typename SupportedClusterIpAddressTypesT = Aws::Vector<Aws::String>>
177 template <
typename SupportedClusterIpAddressTypesT = Aws::String>
179 m_supportedClusterIpAddressTypesHasBeenSet =
true;
180 m_supportedClusterIpAddressTypes.emplace_back(std::forward<SupportedClusterIpAddressTypesT>(value));
198 bool m_clusterSubnetGroupNameHasBeenSet =
false;
199 bool m_descriptionHasBeenSet =
false;
200 bool m_vpcIdHasBeenSet =
false;
201 bool m_subnetGroupStatusHasBeenSet =
false;
202 bool m_subnetsHasBeenSet =
false;
203 bool m_tagsHasBeenSet =
false;
204 bool m_supportedClusterIpAddressTypesHasBeenSet =
false;
bool SubnetsHasBeenSet() const
bool TagsHasBeenSet() const
void SetSupportedClusterIpAddressTypes(SupportedClusterIpAddressTypesT &&value)
bool VpcIdHasBeenSet() const
AWS_REDSHIFT_API ClusterSubnetGroup()=default
const Aws::Vector< Aws::String > & GetSupportedClusterIpAddressTypes() const
const Aws::String & GetClusterSubnetGroupName() const
bool SubnetGroupStatusHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetClusterSubnetGroupName(ClusterSubnetGroupNameT &&value)
void SetVpcId(VpcIdT &&value)
const Aws::String & GetVpcId() const
bool SupportedClusterIpAddressTypesHasBeenSet() const
ClusterSubnetGroup & WithSubnetGroupStatus(SubnetGroupStatusT &&value)
bool DescriptionHasBeenSet() const
void SetSubnetGroupStatus(SubnetGroupStatusT &&value)
void SetTags(TagsT &&value)
ClusterSubnetGroup & WithClusterSubnetGroupName(ClusterSubnetGroupNameT &&value)
ClusterSubnetGroup & WithVpcId(VpcIdT &&value)
ClusterSubnetGroup & AddSubnets(SubnetsT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDescription(DescriptionT &&value)
AWS_REDSHIFT_API ClusterSubnetGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ClusterSubnetGroup & WithSupportedClusterIpAddressTypes(SupportedClusterIpAddressTypesT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_REDSHIFT_API ClusterSubnetGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ClusterSubnetGroupNameHasBeenSet() const
ClusterSubnetGroup & WithSubnets(SubnetsT &&value)
ClusterSubnetGroup & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
ClusterSubnetGroup & AddTags(TagsT &&value)
ClusterSubnetGroup & AddSupportedClusterIpAddressTypes(SupportedClusterIpAddressTypesT &&value)
const Aws::Vector< Subnet > & GetSubnets() const
ClusterSubnetGroup & WithTags(TagsT &&value)
void SetSubnets(SubnetsT &&value)
const Aws::String & GetSubnetGroupStatus() const
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