AWS SDK for C++  1.7.166
AWS SDK for C++
Public Member Functions | List of all members
Aws::EC2::Model::SecurityGroup Class Reference

#include <SecurityGroup.h>

Public Member Functions

 SecurityGroup ()
 
 SecurityGroup (const Aws::Utils::Xml::XmlNode &xmlNode)
 
SecurityGroupoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
SecurityGroupWithDescription (const Aws::String &value)
 
SecurityGroupWithDescription (Aws::String &&value)
 
SecurityGroupWithDescription (const char *value)
 
const Aws::StringGetGroupName () const
 
bool GroupNameHasBeenSet () const
 
void SetGroupName (const Aws::String &value)
 
void SetGroupName (Aws::String &&value)
 
void SetGroupName (const char *value)
 
SecurityGroupWithGroupName (const Aws::String &value)
 
SecurityGroupWithGroupName (Aws::String &&value)
 
SecurityGroupWithGroupName (const char *value)
 
const Aws::Vector< IpPermission > & GetIpPermissions () const
 
bool IpPermissionsHasBeenSet () const
 
void SetIpPermissions (const Aws::Vector< IpPermission > &value)
 
void SetIpPermissions (Aws::Vector< IpPermission > &&value)
 
SecurityGroupWithIpPermissions (const Aws::Vector< IpPermission > &value)
 
SecurityGroupWithIpPermissions (Aws::Vector< IpPermission > &&value)
 
SecurityGroupAddIpPermissions (const IpPermission &value)
 
SecurityGroupAddIpPermissions (IpPermission &&value)
 
const Aws::StringGetOwnerId () const
 
bool OwnerIdHasBeenSet () const
 
void SetOwnerId (const Aws::String &value)
 
void SetOwnerId (Aws::String &&value)
 
void SetOwnerId (const char *value)
 
SecurityGroupWithOwnerId (const Aws::String &value)
 
SecurityGroupWithOwnerId (Aws::String &&value)
 
SecurityGroupWithOwnerId (const char *value)
 
const Aws::StringGetGroupId () const
 
bool GroupIdHasBeenSet () const
 
void SetGroupId (const Aws::String &value)
 
void SetGroupId (Aws::String &&value)
 
void SetGroupId (const char *value)
 
SecurityGroupWithGroupId (const Aws::String &value)
 
SecurityGroupWithGroupId (Aws::String &&value)
 
SecurityGroupWithGroupId (const char *value)
 
const Aws::Vector< IpPermission > & GetIpPermissionsEgress () const
 
bool IpPermissionsEgressHasBeenSet () const
 
void SetIpPermissionsEgress (const Aws::Vector< IpPermission > &value)
 
void SetIpPermissionsEgress (Aws::Vector< IpPermission > &&value)
 
SecurityGroupWithIpPermissionsEgress (const Aws::Vector< IpPermission > &value)
 
SecurityGroupWithIpPermissionsEgress (Aws::Vector< IpPermission > &&value)
 
SecurityGroupAddIpPermissionsEgress (const IpPermission &value)
 
SecurityGroupAddIpPermissionsEgress (IpPermission &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
SecurityGroupWithTags (const Aws::Vector< Tag > &value)
 
SecurityGroupWithTags (Aws::Vector< Tag > &&value)
 
SecurityGroupAddTags (const Tag &value)
 
SecurityGroupAddTags (Tag &&value)
 
const Aws::StringGetVpcId () const
 
bool VpcIdHasBeenSet () const
 
void SetVpcId (const Aws::String &value)
 
void SetVpcId (Aws::String &&value)
 
void SetVpcId (const char *value)
 
SecurityGroupWithVpcId (const Aws::String &value)
 
SecurityGroupWithVpcId (Aws::String &&value)
 
SecurityGroupWithVpcId (const char *value)
 

Detailed Description

Describes a security group

See Also:

AWS API Reference

Definition at line 44 of file SecurityGroup.h.

Constructor & Destructor Documentation

◆ SecurityGroup() [1/2]

Aws::EC2::Model::SecurityGroup::SecurityGroup ( )

◆ SecurityGroup() [2/2]

Aws::EC2::Model::SecurityGroup::SecurityGroup ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddIpPermissions() [1/2]

SecurityGroup& Aws::EC2::Model::SecurityGroup::AddIpPermissions ( const IpPermission value)
inline

The inbound rules associated with the security group.

Definition at line 170 of file SecurityGroup.h.

◆ AddIpPermissions() [2/2]

SecurityGroup& Aws::EC2::Model::SecurityGroup::AddIpPermissions ( IpPermission &&  value)
inline

The inbound rules associated with the security group.

Definition at line 175 of file SecurityGroup.h.

◆ AddIpPermissionsEgress() [1/2]

SecurityGroup& Aws::EC2::Model::SecurityGroup::AddIpPermissionsEgress ( const IpPermission value)
inline

[VPC only] The outbound rules associated with the security group.

Definition at line 293 of file SecurityGroup.h.

◆ AddIpPermissionsEgress() [2/2]

SecurityGroup& Aws::EC2::Model::SecurityGroup::AddIpPermissionsEgress ( IpPermission &&  value)
inline

[VPC only] The outbound rules associated with the security group.

Definition at line 298 of file SecurityGroup.h.

◆ AddTags() [1/2]

SecurityGroup& Aws::EC2::Model::SecurityGroup::AddTags ( const Tag value)
inline

Any tags assigned to the security group.

Definition at line 334 of file SecurityGroup.h.

◆ AddTags() [2/2]

SecurityGroup& Aws::EC2::Model::SecurityGroup::AddTags ( Tag &&  value)
inline

Any tags assigned to the security group.

Definition at line 339 of file SecurityGroup.h.

◆ DescriptionHasBeenSet()

bool Aws::EC2::Model::SecurityGroup::DescriptionHasBeenSet ( ) const
inline

A description of the security group.

Definition at line 63 of file SecurityGroup.h.

◆ GetDescription()

const Aws::String& Aws::EC2::Model::SecurityGroup::GetDescription ( ) const
inline

A description of the security group.

Definition at line 58 of file SecurityGroup.h.

◆ GetGroupId()

const Aws::String& Aws::EC2::Model::SecurityGroup::GetGroupId ( ) const
inline

The ID of the security group.

Definition at line 222 of file SecurityGroup.h.

◆ GetGroupName()

const Aws::String& Aws::EC2::Model::SecurityGroup::GetGroupName ( ) const
inline

The name of the security group.

Definition at line 99 of file SecurityGroup.h.

◆ GetIpPermissions()

const Aws::Vector<IpPermission>& Aws::EC2::Model::SecurityGroup::GetIpPermissions ( ) const
inline

The inbound rules associated with the security group.

Definition at line 140 of file SecurityGroup.h.

◆ GetIpPermissionsEgress()

const Aws::Vector<IpPermission>& Aws::EC2::Model::SecurityGroup::GetIpPermissionsEgress ( ) const
inline

[VPC only] The outbound rules associated with the security group.

Definition at line 263 of file SecurityGroup.h.

◆ GetOwnerId()

const Aws::String& Aws::EC2::Model::SecurityGroup::GetOwnerId ( ) const
inline

The AWS account ID of the owner of the security group.

Definition at line 181 of file SecurityGroup.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::EC2::Model::SecurityGroup::GetTags ( ) const
inline

Any tags assigned to the security group.

Definition at line 304 of file SecurityGroup.h.

◆ GetVpcId()

const Aws::String& Aws::EC2::Model::SecurityGroup::GetVpcId ( ) const
inline

[VPC only] The ID of the VPC for the security group.

Definition at line 345 of file SecurityGroup.h.

◆ GroupIdHasBeenSet()

bool Aws::EC2::Model::SecurityGroup::GroupIdHasBeenSet ( ) const
inline

The ID of the security group.

Definition at line 227 of file SecurityGroup.h.

◆ GroupNameHasBeenSet()

bool Aws::EC2::Model::SecurityGroup::GroupNameHasBeenSet ( ) const
inline

The name of the security group.

Definition at line 104 of file SecurityGroup.h.

◆ IpPermissionsEgressHasBeenSet()

bool Aws::EC2::Model::SecurityGroup::IpPermissionsEgressHasBeenSet ( ) const
inline

[VPC only] The outbound rules associated with the security group.

Definition at line 268 of file SecurityGroup.h.

◆ IpPermissionsHasBeenSet()

bool Aws::EC2::Model::SecurityGroup::IpPermissionsHasBeenSet ( ) const
inline

The inbound rules associated with the security group.

Definition at line 145 of file SecurityGroup.h.

◆ operator=()

SecurityGroup& Aws::EC2::Model::SecurityGroup::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::EC2::Model::SecurityGroup::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ OutputToStream() [2/2]

void Aws::EC2::Model::SecurityGroup::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OwnerIdHasBeenSet()

bool Aws::EC2::Model::SecurityGroup::OwnerIdHasBeenSet ( ) const
inline

The AWS account ID of the owner of the security group.

Definition at line 186 of file SecurityGroup.h.

◆ SetDescription() [1/3]

void Aws::EC2::Model::SecurityGroup::SetDescription ( const Aws::String value)
inline

A description of the security group.

Definition at line 68 of file SecurityGroup.h.

◆ SetDescription() [2/3]

void Aws::EC2::Model::SecurityGroup::SetDescription ( Aws::String &&  value)
inline

A description of the security group.

Definition at line 73 of file SecurityGroup.h.

◆ SetDescription() [3/3]

void Aws::EC2::Model::SecurityGroup::SetDescription ( const char *  value)
inline

A description of the security group.

Definition at line 78 of file SecurityGroup.h.

◆ SetGroupId() [1/3]

void Aws::EC2::Model::SecurityGroup::SetGroupId ( const Aws::String value)
inline

The ID of the security group.

Definition at line 232 of file SecurityGroup.h.

◆ SetGroupId() [2/3]

void Aws::EC2::Model::SecurityGroup::SetGroupId ( Aws::String &&  value)
inline

The ID of the security group.

Definition at line 237 of file SecurityGroup.h.

◆ SetGroupId() [3/3]

void Aws::EC2::Model::SecurityGroup::SetGroupId ( const char *  value)
inline

The ID of the security group.

Definition at line 242 of file SecurityGroup.h.

◆ SetGroupName() [1/3]

void Aws::EC2::Model::SecurityGroup::SetGroupName ( const Aws::String value)
inline

The name of the security group.

Definition at line 109 of file SecurityGroup.h.

◆ SetGroupName() [2/3]

void Aws::EC2::Model::SecurityGroup::SetGroupName ( Aws::String &&  value)
inline

The name of the security group.

Definition at line 114 of file SecurityGroup.h.

◆ SetGroupName() [3/3]

void Aws::EC2::Model::SecurityGroup::SetGroupName ( const char *  value)
inline

The name of the security group.

Definition at line 119 of file SecurityGroup.h.

◆ SetIpPermissions() [1/2]

void Aws::EC2::Model::SecurityGroup::SetIpPermissions ( const Aws::Vector< IpPermission > &  value)
inline

The inbound rules associated with the security group.

Definition at line 150 of file SecurityGroup.h.

◆ SetIpPermissions() [2/2]

void Aws::EC2::Model::SecurityGroup::SetIpPermissions ( Aws::Vector< IpPermission > &&  value)
inline

The inbound rules associated with the security group.

Definition at line 155 of file SecurityGroup.h.

◆ SetIpPermissionsEgress() [1/2]

void Aws::EC2::Model::SecurityGroup::SetIpPermissionsEgress ( const Aws::Vector< IpPermission > &  value)
inline

[VPC only] The outbound rules associated with the security group.

Definition at line 273 of file SecurityGroup.h.

◆ SetIpPermissionsEgress() [2/2]

void Aws::EC2::Model::SecurityGroup::SetIpPermissionsEgress ( Aws::Vector< IpPermission > &&  value)
inline

[VPC only] The outbound rules associated with the security group.

Definition at line 278 of file SecurityGroup.h.

◆ SetOwnerId() [1/3]

void Aws::EC2::Model::SecurityGroup::SetOwnerId ( const Aws::String value)
inline

The AWS account ID of the owner of the security group.

Definition at line 191 of file SecurityGroup.h.

◆ SetOwnerId() [2/3]

void Aws::EC2::Model::SecurityGroup::SetOwnerId ( Aws::String &&  value)
inline

The AWS account ID of the owner of the security group.

Definition at line 196 of file SecurityGroup.h.

◆ SetOwnerId() [3/3]

void Aws::EC2::Model::SecurityGroup::SetOwnerId ( const char *  value)
inline

The AWS account ID of the owner of the security group.

Definition at line 201 of file SecurityGroup.h.

◆ SetTags() [1/2]

void Aws::EC2::Model::SecurityGroup::SetTags ( const Aws::Vector< Tag > &  value)
inline

Any tags assigned to the security group.

Definition at line 314 of file SecurityGroup.h.

◆ SetTags() [2/2]

void Aws::EC2::Model::SecurityGroup::SetTags ( Aws::Vector< Tag > &&  value)
inline

Any tags assigned to the security group.

Definition at line 319 of file SecurityGroup.h.

◆ SetVpcId() [1/3]

void Aws::EC2::Model::SecurityGroup::SetVpcId ( const Aws::String value)
inline

[VPC only] The ID of the VPC for the security group.

Definition at line 355 of file SecurityGroup.h.

◆ SetVpcId() [2/3]

void Aws::EC2::Model::SecurityGroup::SetVpcId ( Aws::String &&  value)
inline

[VPC only] The ID of the VPC for the security group.

Definition at line 360 of file SecurityGroup.h.

◆ SetVpcId() [3/3]

void Aws::EC2::Model::SecurityGroup::SetVpcId ( const char *  value)
inline

[VPC only] The ID of the VPC for the security group.

Definition at line 365 of file SecurityGroup.h.

◆ TagsHasBeenSet()

bool Aws::EC2::Model::SecurityGroup::TagsHasBeenSet ( ) const
inline

Any tags assigned to the security group.

Definition at line 309 of file SecurityGroup.h.

◆ VpcIdHasBeenSet()

bool Aws::EC2::Model::SecurityGroup::VpcIdHasBeenSet ( ) const
inline

[VPC only] The ID of the VPC for the security group.

Definition at line 350 of file SecurityGroup.h.

◆ WithDescription() [1/3]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithDescription ( const Aws::String value)
inline

A description of the security group.

Definition at line 83 of file SecurityGroup.h.

◆ WithDescription() [2/3]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithDescription ( Aws::String &&  value)
inline

A description of the security group.

Definition at line 88 of file SecurityGroup.h.

◆ WithDescription() [3/3]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithDescription ( const char *  value)
inline

A description of the security group.

Definition at line 93 of file SecurityGroup.h.

◆ WithGroupId() [1/3]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithGroupId ( const Aws::String value)
inline

The ID of the security group.

Definition at line 247 of file SecurityGroup.h.

◆ WithGroupId() [2/3]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithGroupId ( Aws::String &&  value)
inline

The ID of the security group.

Definition at line 252 of file SecurityGroup.h.

◆ WithGroupId() [3/3]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithGroupId ( const char *  value)
inline

The ID of the security group.

Definition at line 257 of file SecurityGroup.h.

◆ WithGroupName() [1/3]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithGroupName ( const Aws::String value)
inline

The name of the security group.

Definition at line 124 of file SecurityGroup.h.

◆ WithGroupName() [2/3]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithGroupName ( Aws::String &&  value)
inline

The name of the security group.

Definition at line 129 of file SecurityGroup.h.

◆ WithGroupName() [3/3]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithGroupName ( const char *  value)
inline

The name of the security group.

Definition at line 134 of file SecurityGroup.h.

◆ WithIpPermissions() [1/2]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithIpPermissions ( const Aws::Vector< IpPermission > &  value)
inline

The inbound rules associated with the security group.

Definition at line 160 of file SecurityGroup.h.

◆ WithIpPermissions() [2/2]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithIpPermissions ( Aws::Vector< IpPermission > &&  value)
inline

The inbound rules associated with the security group.

Definition at line 165 of file SecurityGroup.h.

◆ WithIpPermissionsEgress() [1/2]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithIpPermissionsEgress ( const Aws::Vector< IpPermission > &  value)
inline

[VPC only] The outbound rules associated with the security group.

Definition at line 283 of file SecurityGroup.h.

◆ WithIpPermissionsEgress() [2/2]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithIpPermissionsEgress ( Aws::Vector< IpPermission > &&  value)
inline

[VPC only] The outbound rules associated with the security group.

Definition at line 288 of file SecurityGroup.h.

◆ WithOwnerId() [1/3]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithOwnerId ( const Aws::String value)
inline

The AWS account ID of the owner of the security group.

Definition at line 206 of file SecurityGroup.h.

◆ WithOwnerId() [2/3]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithOwnerId ( Aws::String &&  value)
inline

The AWS account ID of the owner of the security group.

Definition at line 211 of file SecurityGroup.h.

◆ WithOwnerId() [3/3]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithOwnerId ( const char *  value)
inline

The AWS account ID of the owner of the security group.

Definition at line 216 of file SecurityGroup.h.

◆ WithTags() [1/2]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithTags ( const Aws::Vector< Tag > &  value)
inline

Any tags assigned to the security group.

Definition at line 324 of file SecurityGroup.h.

◆ WithTags() [2/2]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithTags ( Aws::Vector< Tag > &&  value)
inline

Any tags assigned to the security group.

Definition at line 329 of file SecurityGroup.h.

◆ WithVpcId() [1/3]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithVpcId ( const Aws::String value)
inline

[VPC only] The ID of the VPC for the security group.

Definition at line 370 of file SecurityGroup.h.

◆ WithVpcId() [2/3]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithVpcId ( Aws::String &&  value)
inline

[VPC only] The ID of the VPC for the security group.

Definition at line 375 of file SecurityGroup.h.

◆ WithVpcId() [3/3]

SecurityGroup& Aws::EC2::Model::SecurityGroup::WithVpcId ( const char *  value)
inline

[VPC only] The ID of the VPC for the security group.

Definition at line 380 of file SecurityGroup.h.


The documentation for this class was generated from the following file: