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/Tag.h>
44 template <
typename StatusT = Aws::String>
46 m_statusHasBeenSet =
true;
47 m_status = std::forward<StatusT>(value);
49 template <
typename StatusT = Aws::String>
62 template <
typename EC2SecurityGroupNameT = Aws::String>
64 m_eC2SecurityGroupNameHasBeenSet =
true;
65 m_eC2SecurityGroupName = std::forward<EC2SecurityGroupNameT>(value);
67 template <
typename EC2SecurityGroupNameT = Aws::String>
81 template <
typename EC2SecurityGroupOwnerIdT = Aws::String>
83 m_eC2SecurityGroupOwnerIdHasBeenSet =
true;
84 m_eC2SecurityGroupOwnerId = std::forward<EC2SecurityGroupOwnerIdT>(value);
86 template <
typename EC2SecurityGroupOwnerIdT = Aws::String>
99 template <
typename TagsT = Aws::Vector<Tag>>
101 m_tagsHasBeenSet =
true;
102 m_tags = std::forward<TagsT>(value);
104 template <
typename TagsT = Aws::Vector<Tag>>
106 SetTags(std::forward<TagsT>(value));
109 template <
typename TagsT = Tag>
111 m_tagsHasBeenSet =
true;
112 m_tags.emplace_back(std::forward<TagsT>(value));
124 bool m_statusHasBeenSet =
false;
125 bool m_eC2SecurityGroupNameHasBeenSet =
false;
126 bool m_eC2SecurityGroupOwnerIdHasBeenSet =
false;
127 bool m_tagsHasBeenSet =
false;
EC2SecurityGroup & AddTags(TagsT &&value)
EC2SecurityGroup & WithTags(TagsT &&value)
EC2SecurityGroup & WithEC2SecurityGroupName(EC2SecurityGroupNameT &&value)
void SetEC2SecurityGroupOwnerId(EC2SecurityGroupOwnerIdT &&value)
EC2SecurityGroup & WithEC2SecurityGroupOwnerId(EC2SecurityGroupOwnerIdT &&value)
bool StatusHasBeenSet() const
bool EC2SecurityGroupNameHasBeenSet() const
void SetEC2SecurityGroupName(EC2SecurityGroupNameT &&value)
bool EC2SecurityGroupOwnerIdHasBeenSet() const
const Aws::String & GetStatus() const
AWS_REDSHIFT_API EC2SecurityGroup()=default
const Aws::String & GetEC2SecurityGroupName() const
const Aws::Vector< Tag > & GetTags() const
EC2SecurityGroup & WithStatus(StatusT &&value)
void SetStatus(StatusT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetEC2SecurityGroupOwnerId() const
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
AWS_REDSHIFT_API EC2SecurityGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_REDSHIFT_API EC2SecurityGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
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