7#include <aws/ec2/EC2_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/ec2/model/Tag.h>
51 template<
typename DescriptionT = Aws::String>
52 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
53 template<
typename DescriptionT = Aws::String>
63 template<
typename GroupNameT = Aws::String>
64 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet =
true; m_groupName = std::forward<GroupNameT>(value); }
65 template<
typename GroupNameT = Aws::String>
75 template<
typename OwnerIdT = Aws::String>
76 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
77 template<
typename OwnerIdT = Aws::String>
87 template<
typename GroupIdT = Aws::String>
88 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet =
true; m_groupId = std::forward<GroupIdT>(value); }
89 template<
typename GroupIdT = Aws::String>
99 template<
typename TagsT = Aws::Vector<Tag>>
100 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
101 template<
typename TagsT = Aws::Vector<Tag>>
103 template<
typename TagsT = Tag>
113 template<
typename PrimaryVpcIdT = Aws::String>
114 void SetPrimaryVpcId(PrimaryVpcIdT&& value) { m_primaryVpcIdHasBeenSet =
true; m_primaryVpcId = std::forward<PrimaryVpcIdT>(value); }
115 template<
typename PrimaryVpcIdT = Aws::String>
121 bool m_descriptionHasBeenSet =
false;
124 bool m_groupNameHasBeenSet =
false;
127 bool m_ownerIdHasBeenSet =
false;
130 bool m_groupIdHasBeenSet =
false;
133 bool m_tagsHasBeenSet =
false;
136 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