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/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/Tag.h>
45 template <
typename DescriptionT = Aws::String>
47 m_descriptionHasBeenSet =
true;
48 m_description = std::forward<DescriptionT>(value);
50 template <
typename DescriptionT = Aws::String>
63 template <
typename GroupNameT = Aws::String>
65 m_groupNameHasBeenSet =
true;
66 m_groupName = std::forward<GroupNameT>(value);
68 template <
typename GroupNameT = Aws::String>
81 template <
typename OwnerIdT = Aws::String>
83 m_ownerIdHasBeenSet =
true;
84 m_ownerId = std::forward<OwnerIdT>(value);
86 template <
typename OwnerIdT = Aws::String>
99 template <
typename GroupIdT = Aws::String>
101 m_groupIdHasBeenSet =
true;
102 m_groupId = std::forward<GroupIdT>(value);
104 template <
typename GroupIdT = Aws::String>
117 template <
typename TagsT = Aws::Vector<Tag>>
119 m_tagsHasBeenSet =
true;
120 m_tags = std::forward<TagsT>(value);
122 template <
typename TagsT = Aws::Vector<Tag>>
124 SetTags(std::forward<TagsT>(value));
127 template <
typename TagsT = Tag>
129 m_tagsHasBeenSet =
true;
130 m_tags.emplace_back(std::forward<TagsT>(value));
141 template <
typename PrimaryVpcIdT = Aws::String>
143 m_primaryVpcIdHasBeenSet =
true;
144 m_primaryVpcId = std::forward<PrimaryVpcIdT>(value);
146 template <
typename PrimaryVpcIdT = Aws::String>
164 bool m_descriptionHasBeenSet =
false;
165 bool m_groupNameHasBeenSet =
false;
166 bool m_ownerIdHasBeenSet =
false;
167 bool m_groupIdHasBeenSet =
false;
168 bool m_tagsHasBeenSet =
false;
169 bool m_primaryVpcIdHasBeenSet =
false;
void SetTags(TagsT &&value)
bool DescriptionHasBeenSet() const
void SetOwnerId(OwnerIdT &&value)
bool OwnerIdHasBeenSet() const
SecurityGroupForVpc & WithGroupId(GroupIdT &&value)
AWS_EC2_API SecurityGroupForVpc()=default
SecurityGroupForVpc & WithPrimaryVpcId(PrimaryVpcIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Vector< Tag > & GetTags() const
bool TagsHasBeenSet() const
const Aws::String & GetDescription() const
bool PrimaryVpcIdHasBeenSet() const
const Aws::String & GetOwnerId() const
void SetPrimaryVpcId(PrimaryVpcIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SecurityGroupForVpc & WithTags(TagsT &&value)
SecurityGroupForVpc & WithOwnerId(OwnerIdT &&value)
bool GroupNameHasBeenSet() const
void SetGroupName(GroupNameT &&value)
SecurityGroupForVpc & AddTags(TagsT &&value)
const Aws::String & GetGroupName() const
const Aws::String & GetPrimaryVpcId() const
bool GroupIdHasBeenSet() const
AWS_EC2_API SecurityGroupForVpc(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetGroupId(GroupIdT &&value)
AWS_EC2_API SecurityGroupForVpc & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SecurityGroupForVpc & WithGroupName(GroupNameT &&value)
const Aws::String & GetGroupId() const
SecurityGroupForVpc & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&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