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/EC2SecurityGroup.h>
12#include <aws/redshift/model/IPRange.h>
13#include <aws/redshift/model/Tag.h>
53 template<
typename ClusterSecurityGroupNameT = Aws::String>
54 void SetClusterSecurityGroupName(ClusterSecurityGroupNameT&& value) { m_clusterSecurityGroupNameHasBeenSet =
true; m_clusterSecurityGroupName = std::forward<ClusterSecurityGroupNameT>(value); }
55 template<
typename ClusterSecurityGroupNameT = Aws::String>
65 template<
typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
67 template<
typename DescriptionT = Aws::String>
78 template<
typename EC2SecurityGroupsT = Aws::Vector<EC2SecurityGroup>>
79 void SetEC2SecurityGroups(EC2SecurityGroupsT&& value) { m_eC2SecurityGroupsHasBeenSet =
true; m_eC2SecurityGroups = std::forward<EC2SecurityGroupsT>(value); }
80 template<
typename EC2SecurityGroupsT = Aws::Vector<EC2SecurityGroup>>
82 template<
typename EC2SecurityGroupsT = EC2SecurityGroup>
93 template<
typename IPRangesT = Aws::Vector<IPRange>>
94 void SetIPRanges(IPRangesT&& value) { m_iPRangesHasBeenSet =
true; m_iPRanges = std::forward<IPRangesT>(value); }
95 template<
typename IPRangesT = Aws::Vector<IPRange>>
97 template<
typename IPRangesT = IPRange>
107 template<
typename TagsT = Aws::Vector<Tag>>
108 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
109 template<
typename TagsT = Aws::Vector<Tag>>
111 template<
typename TagsT = Tag>
117 bool m_clusterSecurityGroupNameHasBeenSet =
false;
120 bool m_descriptionHasBeenSet =
false;
123 bool m_eC2SecurityGroupsHasBeenSet =
false;
126 bool m_iPRangesHasBeenSet =
false;
129 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