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>
55 inline void SetClusterSecurityGroupName(
const char* value) { m_clusterSecurityGroupNameHasBeenSet =
true; m_clusterSecurityGroupName.assign(value); }
69 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
121 bool m_clusterSecurityGroupNameHasBeenSet =
false;
124 bool m_descriptionHasBeenSet =
false;
127 bool m_eC2SecurityGroupsHasBeenSet =
false;
130 bool m_iPRangesHasBeenSet =
false;
133 bool m_tagsHasBeenSet =
false;
bool DescriptionHasBeenSet() const
ClusterSecurityGroup & WithTags(const Aws::Vector< Tag > &value)
const Aws::Vector< Tag > & GetTags() const
bool ClusterSecurityGroupNameHasBeenSet() const
void SetEC2SecurityGroups(const Aws::Vector< EC2SecurityGroup > &value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Vector< IPRange > & GetIPRanges() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ClusterSecurityGroup & AddEC2SecurityGroups(EC2SecurityGroup &&value)
ClusterSecurityGroup & WithEC2SecurityGroups(const Aws::Vector< EC2SecurityGroup > &value)
void SetIPRanges(const Aws::Vector< IPRange > &value)
ClusterSecurityGroup & AddTags(Tag &&value)
ClusterSecurityGroup & AddIPRanges(IPRange &&value)
void SetClusterSecurityGroupName(const Aws::String &value)
bool IPRangesHasBeenSet() const
const Aws::Vector< EC2SecurityGroup > & GetEC2SecurityGroups() const
ClusterSecurityGroup & AddEC2SecurityGroups(const EC2SecurityGroup &value)
void SetClusterSecurityGroupName(Aws::String &&value)
ClusterSecurityGroup & WithClusterSecurityGroupName(Aws::String &&value)
void SetClusterSecurityGroupName(const char *value)
bool TagsHasBeenSet() const
ClusterSecurityGroup & WithDescription(const char *value)
ClusterSecurityGroup & WithDescription(const Aws::String &value)
ClusterSecurityGroup & WithIPRanges(const Aws::Vector< IPRange > &value)
void SetTags(const Aws::Vector< Tag > &value)
bool EC2SecurityGroupsHasBeenSet() const
ClusterSecurityGroup & WithEC2SecurityGroups(Aws::Vector< EC2SecurityGroup > &&value)
ClusterSecurityGroup & WithTags(Aws::Vector< Tag > &&value)
ClusterSecurityGroup & WithClusterSecurityGroupName(const Aws::String &value)
void SetDescription(Aws::String &&value)
AWS_REDSHIFT_API ClusterSecurityGroup()
ClusterSecurityGroup & WithClusterSecurityGroupName(const char *value)
void SetDescription(const Aws::String &value)
const Aws::String & GetClusterSecurityGroupName() const
void SetDescription(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
ClusterSecurityGroup & WithIPRanges(Aws::Vector< IPRange > &&value)
AWS_REDSHIFT_API ClusterSecurityGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
ClusterSecurityGroup & AddIPRanges(const IPRange &value)
AWS_REDSHIFT_API ClusterSecurityGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ClusterSecurityGroup & WithDescription(Aws::String &&value)
ClusterSecurityGroup & AddTags(const Tag &value)
void SetEC2SecurityGroups(Aws::Vector< EC2SecurityGroup > &&value)
const Aws::String & GetDescription() const
void SetIPRanges(Aws::Vector< IPRange > &&value)
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