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/EC2SecurityGroup.h>
12#include <aws/redshift/model/IPRange.h>
13#include <aws/redshift/model/Tag.h>
47 template <
typename ClusterSecurityGroupNameT = Aws::String>
49 m_clusterSecurityGroupNameHasBeenSet =
true;
50 m_clusterSecurityGroupName = std::forward<ClusterSecurityGroupNameT>(value);
52 template <
typename ClusterSecurityGroupNameT = Aws::String>
65 template <
typename DescriptionT = Aws::String>
67 m_descriptionHasBeenSet =
true;
68 m_description = std::forward<DescriptionT>(value);
70 template <
typename DescriptionT = Aws::String>
84 template <
typename EC2SecurityGroupsT = Aws::Vector<EC2SecurityGroup>>
86 m_eC2SecurityGroupsHasBeenSet =
true;
87 m_eC2SecurityGroups = std::forward<EC2SecurityGroupsT>(value);
89 template <
typename EC2SecurityGroupsT = Aws::Vector<EC2SecurityGroup>>
94 template <
typename EC2SecurityGroupsT = EC2SecurityGroup>
96 m_eC2SecurityGroupsHasBeenSet =
true;
97 m_eC2SecurityGroups.emplace_back(std::forward<EC2SecurityGroupsT>(value));
109 template <
typename IPRangesT = Aws::Vector<IPRange>>
111 m_iPRangesHasBeenSet =
true;
112 m_iPRanges = std::forward<IPRangesT>(value);
114 template <
typename IPRangesT = Aws::Vector<IPRange>>
119 template <
typename IPRangesT = IPRange>
121 m_iPRangesHasBeenSet =
true;
122 m_iPRanges.emplace_back(std::forward<IPRangesT>(value));
133 template <
typename TagsT = Aws::Vector<Tag>>
135 m_tagsHasBeenSet =
true;
136 m_tags = std::forward<TagsT>(value);
138 template <
typename TagsT = Aws::Vector<Tag>>
140 SetTags(std::forward<TagsT>(value));
143 template <
typename TagsT = Tag>
145 m_tagsHasBeenSet =
true;
146 m_tags.emplace_back(std::forward<TagsT>(value));
160 bool m_clusterSecurityGroupNameHasBeenSet =
false;
161 bool m_descriptionHasBeenSet =
false;
162 bool m_eC2SecurityGroupsHasBeenSet =
false;
163 bool m_iPRangesHasBeenSet =
false;
164 bool m_tagsHasBeenSet =
false;
bool DescriptionHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool ClusterSecurityGroupNameHasBeenSet() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ClusterSecurityGroup & WithTags(TagsT &&value)
AWS_REDSHIFT_API ClusterSecurityGroup()=default
const Aws::Vector< IPRange > & GetIPRanges() const
void SetDescription(DescriptionT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ClusterSecurityGroup & WithClusterSecurityGroupName(ClusterSecurityGroupNameT &&value)
bool IPRangesHasBeenSet() const
const Aws::Vector< EC2SecurityGroup > & GetEC2SecurityGroups() const
void SetClusterSecurityGroupName(ClusterSecurityGroupNameT &&value)
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
ClusterSecurityGroup & WithIPRanges(IPRangesT &&value)
bool EC2SecurityGroupsHasBeenSet() const
void SetEC2SecurityGroups(EC2SecurityGroupsT &&value)
ClusterSecurityGroup & AddEC2SecurityGroups(EC2SecurityGroupsT &&value)
ClusterSecurityGroup & WithDescription(DescriptionT &&value)
ClusterSecurityGroup & WithEC2SecurityGroups(EC2SecurityGroupsT &&value)
const Aws::String & GetClusterSecurityGroupName() const
void SetIPRanges(IPRangesT &&value)
ClusterSecurityGroup & AddTags(TagsT &&value)
AWS_REDSHIFT_API ClusterSecurityGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API ClusterSecurityGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ClusterSecurityGroup & AddIPRanges(IPRangesT &&value)
const Aws::String & GetDescription() 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