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/IpPermission.h>
12#include <aws/ec2/model/Tag.h>
53 inline void SetGroupId(
const char* value) { m_groupIdHasBeenSet =
true; m_groupId.assign(value); }
95 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
109 inline void SetSecurityGroupArn(
const char* value) { m_securityGroupArnHasBeenSet =
true; m_securityGroupArn.assign(value); }
123 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
137 inline void SetGroupName(
const char* value) { m_groupNameHasBeenSet =
true; m_groupName.assign(value); }
151 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
173 bool m_groupIdHasBeenSet =
false;
176 bool m_ipPermissionsEgressHasBeenSet =
false;
179 bool m_tagsHasBeenSet =
false;
182 bool m_vpcIdHasBeenSet =
false;
185 bool m_securityGroupArnHasBeenSet =
false;
188 bool m_ownerIdHasBeenSet =
false;
191 bool m_groupNameHasBeenSet =
false;
194 bool m_descriptionHasBeenSet =
false;
197 bool m_ipPermissionsHasBeenSet =
false;
const Aws::Vector< IpPermission > & GetIpPermissionsEgress() const
const Aws::Vector< IpPermission > & GetIpPermissions() const
AWS_EC2_API SecurityGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetVpcId(const Aws::String &value)
SecurityGroup & WithTags(Aws::Vector< Tag > &&value)
SecurityGroup & WithIpPermissions(const Aws::Vector< IpPermission > &value)
SecurityGroup & WithGroupId(Aws::String &&value)
void SetOwnerId(Aws::String &&value)
void SetDescription(const char *value)
SecurityGroup & AddIpPermissionsEgress(IpPermission &&value)
SecurityGroup & WithVpcId(const Aws::String &value)
bool OwnerIdHasBeenSet() const
AWS_EC2_API SecurityGroup()
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool TagsHasBeenSet() const
const Aws::String & GetSecurityGroupArn() const
void SetIpPermissionsEgress(Aws::Vector< IpPermission > &&value)
void SetIpPermissionsEgress(const Aws::Vector< IpPermission > &value)
SecurityGroup & WithSecurityGroupArn(Aws::String &&value)
SecurityGroup & WithDescription(const Aws::String &value)
void SetSecurityGroupArn(const Aws::String &value)
bool IpPermissionsHasBeenSet() const
void SetGroupName(const Aws::String &value)
SecurityGroup & WithOwnerId(const Aws::String &value)
SecurityGroup & AddIpPermissions(IpPermission &&value)
SecurityGroup & WithSecurityGroupArn(const Aws::String &value)
bool SecurityGroupArnHasBeenSet() const
void SetGroupId(const Aws::String &value)
const Aws::String & GetGroupName() const
SecurityGroup & WithIpPermissionsEgress(const Aws::Vector< IpPermission > &value)
SecurityGroup & WithIpPermissionsEgress(Aws::Vector< IpPermission > &&value)
bool GroupNameHasBeenSet() const
SecurityGroup & WithSecurityGroupArn(const char *value)
void SetDescription(const Aws::String &value)
void SetSecurityGroupArn(const char *value)
AWS_EC2_API SecurityGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetDescription() const
void SetVpcId(Aws::String &&value)
SecurityGroup & WithGroupId(const char *value)
void SetOwnerId(const Aws::String &value)
SecurityGroup & WithOwnerId(Aws::String &&value)
SecurityGroup & WithGroupId(const Aws::String &value)
SecurityGroup & AddIpPermissions(const IpPermission &value)
const Aws::String & GetOwnerId() const
bool GroupIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetVpcId(const char *value)
void SetGroupName(const char *value)
const Aws::String & GetVpcId() const
void SetIpPermissions(const Aws::Vector< IpPermission > &value)
const Aws::Vector< Tag > & GetTags() const
void SetSecurityGroupArn(Aws::String &&value)
SecurityGroup & WithGroupName(const Aws::String &value)
SecurityGroup & WithOwnerId(const char *value)
void SetGroupName(Aws::String &&value)
SecurityGroup & WithDescription(const char *value)
SecurityGroup & WithVpcId(Aws::String &&value)
void SetGroupId(const char *value)
void SetOwnerId(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
SecurityGroup & WithVpcId(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
bool IpPermissionsEgressHasBeenSet() const
bool DescriptionHasBeenSet() const
SecurityGroup & AddTags(Tag &&value)
SecurityGroup & AddIpPermissionsEgress(const IpPermission &value)
SecurityGroup & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetGroupId() const
SecurityGroup & AddTags(const Tag &value)
SecurityGroup & WithGroupName(const char *value)
bool VpcIdHasBeenSet() const
SecurityGroup & WithGroupName(Aws::String &&value)
void SetDescription(Aws::String &&value)
SecurityGroup & WithDescription(Aws::String &&value)
void SetGroupId(Aws::String &&value)
void SetIpPermissions(Aws::Vector< IpPermission > &&value)
SecurityGroup & WithIpPermissions(Aws::Vector< IpPermission > &&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