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/Tag.h>
50 template<
typename StatusT = Aws::String>
51 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
52 template<
typename StatusT = Aws::String>
62 template<
typename EC2SecurityGroupNameT = Aws::String>
63 void SetEC2SecurityGroupName(EC2SecurityGroupNameT&& value) { m_eC2SecurityGroupNameHasBeenSet =
true; m_eC2SecurityGroupName = std::forward<EC2SecurityGroupNameT>(value); }
64 template<
typename EC2SecurityGroupNameT = Aws::String>
75 template<
typename EC2SecurityGroupOwnerIdT = Aws::String>
76 void SetEC2SecurityGroupOwnerId(EC2SecurityGroupOwnerIdT&& value) { m_eC2SecurityGroupOwnerIdHasBeenSet =
true; m_eC2SecurityGroupOwnerId = std::forward<EC2SecurityGroupOwnerIdT>(value); }
77 template<
typename EC2SecurityGroupOwnerIdT = Aws::String>
87 template<
typename TagsT = Aws::Vector<Tag>>
88 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
89 template<
typename TagsT = Aws::Vector<Tag>>
91 template<
typename TagsT = Tag>
92 EC2SecurityGroup&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
97 bool m_statusHasBeenSet =
false;
100 bool m_eC2SecurityGroupNameHasBeenSet =
false;
103 bool m_eC2SecurityGroupOwnerIdHasBeenSet =
false;
106 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