7#include <aws/redshift/Redshift_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/redshift/model/Subnet.h>
12#include <aws/redshift/model/Tag.h>
51 template<
typename ClusterSubnetGroupNameT = Aws::String>
52 void SetClusterSubnetGroupName(ClusterSubnetGroupNameT&& value) { m_clusterSubnetGroupNameHasBeenSet =
true; m_clusterSubnetGroupName = std::forward<ClusterSubnetGroupNameT>(value); }
53 template<
typename ClusterSubnetGroupNameT = Aws::String>
63 template<
typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
65 template<
typename DescriptionT = Aws::String>
75 template<
typename VpcIdT = Aws::String>
76 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
77 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>
114 template<
typename TagsT = Aws::Vector<Tag>>
115 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
116 template<
typename TagsT = Aws::Vector<Tag>>
118 template<
typename TagsT = Tag>
129 template<
typename SupportedClusterIpAddressTypesT = Aws::Vector<Aws::String>>
130 void SetSupportedClusterIpAddressTypes(SupportedClusterIpAddressTypesT&& value) { m_supportedClusterIpAddressTypesHasBeenSet =
true; m_supportedClusterIpAddressTypes = std::forward<SupportedClusterIpAddressTypesT>(value); }
131 template<
typename SupportedClusterIpAddressTypesT = Aws::Vector<Aws::String>>
133 template<
typename SupportedClusterIpAddressTypesT = Aws::String>
139 bool m_clusterSubnetGroupNameHasBeenSet =
false;
142 bool m_descriptionHasBeenSet =
false;
145 bool m_vpcIdHasBeenSet =
false;
148 bool m_subnetGroupStatusHasBeenSet =
false;
151 bool m_subnetsHasBeenSet =
false;
154 bool m_tagsHasBeenSet =
false;
157 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