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

#include <UserIdGroupPair.h>

Public Member Functions

 UserIdGroupPair ()
 
 UserIdGroupPair (const Aws::Utils::Xml::XmlNode &xmlNode)
 
UserIdGroupPairoperator= (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)
 
UserIdGroupPairWithDescription (const Aws::String &value)
 
UserIdGroupPairWithDescription (Aws::String &&value)
 
UserIdGroupPairWithDescription (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)
 
UserIdGroupPairWithGroupId (const Aws::String &value)
 
UserIdGroupPairWithGroupId (Aws::String &&value)
 
UserIdGroupPairWithGroupId (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)
 
UserIdGroupPairWithGroupName (const Aws::String &value)
 
UserIdGroupPairWithGroupName (Aws::String &&value)
 
UserIdGroupPairWithGroupName (const char *value)
 
const Aws::StringGetPeeringStatus () const
 
bool PeeringStatusHasBeenSet () const
 
void SetPeeringStatus (const Aws::String &value)
 
void SetPeeringStatus (Aws::String &&value)
 
void SetPeeringStatus (const char *value)
 
UserIdGroupPairWithPeeringStatus (const Aws::String &value)
 
UserIdGroupPairWithPeeringStatus (Aws::String &&value)
 
UserIdGroupPairWithPeeringStatus (const char *value)
 
const Aws::StringGetUserId () const
 
bool UserIdHasBeenSet () const
 
void SetUserId (const Aws::String &value)
 
void SetUserId (Aws::String &&value)
 
void SetUserId (const char *value)
 
UserIdGroupPairWithUserId (const Aws::String &value)
 
UserIdGroupPairWithUserId (Aws::String &&value)
 
UserIdGroupPairWithUserId (const char *value)
 
const Aws::StringGetVpcId () const
 
bool VpcIdHasBeenSet () const
 
void SetVpcId (const Aws::String &value)
 
void SetVpcId (Aws::String &&value)
 
void SetVpcId (const char *value)
 
UserIdGroupPairWithVpcId (const Aws::String &value)
 
UserIdGroupPairWithVpcId (Aws::String &&value)
 
UserIdGroupPairWithVpcId (const char *value)
 
const Aws::StringGetVpcPeeringConnectionId () const
 
bool VpcPeeringConnectionIdHasBeenSet () const
 
void SetVpcPeeringConnectionId (const Aws::String &value)
 
void SetVpcPeeringConnectionId (Aws::String &&value)
 
void SetVpcPeeringConnectionId (const char *value)
 
UserIdGroupPairWithVpcPeeringConnectionId (const Aws::String &value)
 
UserIdGroupPairWithVpcPeeringConnectionId (Aws::String &&value)
 
UserIdGroupPairWithVpcPeeringConnectionId (const char *value)
 

Detailed Description

Describes a security group and Amazon Web Services account ID pair.

See Also:

AWS API Reference

Definition at line 32 of file UserIdGroupPair.h.

Constructor & Destructor Documentation

◆ UserIdGroupPair() [1/2]

Aws::EC2::Model::UserIdGroupPair::UserIdGroupPair ( )

◆ UserIdGroupPair() [2/2]

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

Member Function Documentation

◆ DescriptionHasBeenSet()

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

A description for the security group rule that references this user ID group pair.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*

Definition at line 55 of file UserIdGroupPair.h.

◆ GetDescription()

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

A description for the security group rule that references this user ID group pair.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*

Definition at line 48 of file UserIdGroupPair.h.

◆ GetGroupId()

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

The ID of the security group.

Definition at line 103 of file UserIdGroupPair.h.

◆ GetGroupName()

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

The name of the security group. In a request, use this parameter for a security group in EC2-Classic or a default VPC only. For a security group in a nondefault VPC, use the security group ID.

For a referenced security group in another VPC, this value is not returned if the referenced security group is deleted.

Definition at line 148 of file UserIdGroupPair.h.

◆ GetPeeringStatus()

const Aws::String& Aws::EC2::Model::UserIdGroupPair::GetPeeringStatus ( ) const
inline

The status of a VPC peering connection, if applicable.

Definition at line 217 of file UserIdGroupPair.h.

◆ GetUserId()

const Aws::String& Aws::EC2::Model::UserIdGroupPair::GetUserId ( ) const
inline

The ID of an Amazon Web Services account.

For a referenced security group in another VPC, the account ID of the referenced security group is returned in the response. If the referenced security group is deleted, this value is not returned.

[EC2-Classic] Required when adding or removing rules that reference a security group in another Amazon Web Services account.

Definition at line 263 of file UserIdGroupPair.h.

◆ GetVpcId()

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

The ID of the VPC for the referenced security group, if applicable.

Definition at line 339 of file UserIdGroupPair.h.

◆ GetVpcPeeringConnectionId()

const Aws::String& Aws::EC2::Model::UserIdGroupPair::GetVpcPeeringConnectionId ( ) const
inline

The ID of the VPC peering connection, if applicable.

Definition at line 380 of file UserIdGroupPair.h.

◆ GroupIdHasBeenSet()

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

The ID of the security group.

Definition at line 108 of file UserIdGroupPair.h.

◆ GroupNameHasBeenSet()

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

The name of the security group. In a request, use this parameter for a security group in EC2-Classic or a default VPC only. For a security group in a nondefault VPC, use the security group ID.

For a referenced security group in another VPC, this value is not returned if the referenced security group is deleted.

Definition at line 157 of file UserIdGroupPair.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PeeringStatusHasBeenSet()

bool Aws::EC2::Model::UserIdGroupPair::PeeringStatusHasBeenSet ( ) const
inline

The status of a VPC peering connection, if applicable.

Definition at line 222 of file UserIdGroupPair.h.

◆ SetDescription() [1/3]

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

A description for the security group rule that references this user ID group pair.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*

Definition at line 69 of file UserIdGroupPair.h.

◆ SetDescription() [2/3]

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

A description for the security group rule that references this user ID group pair.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*

Definition at line 62 of file UserIdGroupPair.h.

◆ SetDescription() [3/3]

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

A description for the security group rule that references this user ID group pair.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*

Definition at line 76 of file UserIdGroupPair.h.

◆ SetGroupId() [1/3]

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

The ID of the security group.

Definition at line 118 of file UserIdGroupPair.h.

◆ SetGroupId() [2/3]

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

The ID of the security group.

Definition at line 113 of file UserIdGroupPair.h.

◆ SetGroupId() [3/3]

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

The ID of the security group.

Definition at line 123 of file UserIdGroupPair.h.

◆ SetGroupName() [1/3]

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

The name of the security group. In a request, use this parameter for a security group in EC2-Classic or a default VPC only. For a security group in a nondefault VPC, use the security group ID.

For a referenced security group in another VPC, this value is not returned if the referenced security group is deleted.

Definition at line 175 of file UserIdGroupPair.h.

◆ SetGroupName() [2/3]

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

The name of the security group. In a request, use this parameter for a security group in EC2-Classic or a default VPC only. For a security group in a nondefault VPC, use the security group ID.

For a referenced security group in another VPC, this value is not returned if the referenced security group is deleted.

Definition at line 166 of file UserIdGroupPair.h.

◆ SetGroupName() [3/3]

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

The name of the security group. In a request, use this parameter for a security group in EC2-Classic or a default VPC only. For a security group in a nondefault VPC, use the security group ID.

For a referenced security group in another VPC, this value is not returned if the referenced security group is deleted.

Definition at line 184 of file UserIdGroupPair.h.

◆ SetPeeringStatus() [1/3]

void Aws::EC2::Model::UserIdGroupPair::SetPeeringStatus ( Aws::String &&  value)
inline

The status of a VPC peering connection, if applicable.

Definition at line 232 of file UserIdGroupPair.h.

◆ SetPeeringStatus() [2/3]

void Aws::EC2::Model::UserIdGroupPair::SetPeeringStatus ( const Aws::String value)
inline

The status of a VPC peering connection, if applicable.

Definition at line 227 of file UserIdGroupPair.h.

◆ SetPeeringStatus() [3/3]

void Aws::EC2::Model::UserIdGroupPair::SetPeeringStatus ( const char *  value)
inline

The status of a VPC peering connection, if applicable.

Definition at line 237 of file UserIdGroupPair.h.

◆ SetUserId() [1/3]

void Aws::EC2::Model::UserIdGroupPair::SetUserId ( Aws::String &&  value)
inline

The ID of an Amazon Web Services account.

For a referenced security group in another VPC, the account ID of the referenced security group is returned in the response. If the referenced security group is deleted, this value is not returned.

[EC2-Classic] Required when adding or removing rules that reference a security group in another Amazon Web Services account.

Definition at line 293 of file UserIdGroupPair.h.

◆ SetUserId() [2/3]

void Aws::EC2::Model::UserIdGroupPair::SetUserId ( const Aws::String value)
inline

The ID of an Amazon Web Services account.

For a referenced security group in another VPC, the account ID of the referenced security group is returned in the response. If the referenced security group is deleted, this value is not returned.

[EC2-Classic] Required when adding or removing rules that reference a security group in another Amazon Web Services account.

Definition at line 283 of file UserIdGroupPair.h.

◆ SetUserId() [3/3]

void Aws::EC2::Model::UserIdGroupPair::SetUserId ( const char *  value)
inline

The ID of an Amazon Web Services account.

For a referenced security group in another VPC, the account ID of the referenced security group is returned in the response. If the referenced security group is deleted, this value is not returned.

[EC2-Classic] Required when adding or removing rules that reference a security group in another Amazon Web Services account.

Definition at line 303 of file UserIdGroupPair.h.

◆ SetVpcId() [1/3]

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

The ID of the VPC for the referenced security group, if applicable.

Definition at line 354 of file UserIdGroupPair.h.

◆ SetVpcId() [2/3]

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

The ID of the VPC for the referenced security group, if applicable.

Definition at line 349 of file UserIdGroupPair.h.

◆ SetVpcId() [3/3]

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

The ID of the VPC for the referenced security group, if applicable.

Definition at line 359 of file UserIdGroupPair.h.

◆ SetVpcPeeringConnectionId() [1/3]

void Aws::EC2::Model::UserIdGroupPair::SetVpcPeeringConnectionId ( Aws::String &&  value)
inline

The ID of the VPC peering connection, if applicable.

Definition at line 395 of file UserIdGroupPair.h.

◆ SetVpcPeeringConnectionId() [2/3]

void Aws::EC2::Model::UserIdGroupPair::SetVpcPeeringConnectionId ( const Aws::String value)
inline

The ID of the VPC peering connection, if applicable.

Definition at line 390 of file UserIdGroupPair.h.

◆ SetVpcPeeringConnectionId() [3/3]

void Aws::EC2::Model::UserIdGroupPair::SetVpcPeeringConnectionId ( const char *  value)
inline

The ID of the VPC peering connection, if applicable.

Definition at line 400 of file UserIdGroupPair.h.

◆ UserIdHasBeenSet()

bool Aws::EC2::Model::UserIdGroupPair::UserIdHasBeenSet ( ) const
inline

The ID of an Amazon Web Services account.

For a referenced security group in another VPC, the account ID of the referenced security group is returned in the response. If the referenced security group is deleted, this value is not returned.

[EC2-Classic] Required when adding or removing rules that reference a security group in another Amazon Web Services account.

Definition at line 273 of file UserIdGroupPair.h.

◆ VpcIdHasBeenSet()

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

The ID of the VPC for the referenced security group, if applicable.

Definition at line 344 of file UserIdGroupPair.h.

◆ VpcPeeringConnectionIdHasBeenSet()

bool Aws::EC2::Model::UserIdGroupPair::VpcPeeringConnectionIdHasBeenSet ( ) const
inline

The ID of the VPC peering connection, if applicable.

Definition at line 385 of file UserIdGroupPair.h.

◆ WithDescription() [1/3]

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

A description for the security group rule that references this user ID group pair.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*

Definition at line 90 of file UserIdGroupPair.h.

◆ WithDescription() [2/3]

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

A description for the security group rule that references this user ID group pair.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*

Definition at line 83 of file UserIdGroupPair.h.

◆ WithDescription() [3/3]

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

A description for the security group rule that references this user ID group pair.

Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*

Definition at line 97 of file UserIdGroupPair.h.

◆ WithGroupId() [1/3]

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

The ID of the security group.

Definition at line 133 of file UserIdGroupPair.h.

◆ WithGroupId() [2/3]

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

The ID of the security group.

Definition at line 128 of file UserIdGroupPair.h.

◆ WithGroupId() [3/3]

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

The ID of the security group.

Definition at line 138 of file UserIdGroupPair.h.

◆ WithGroupName() [1/3]

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

The name of the security group. In a request, use this parameter for a security group in EC2-Classic or a default VPC only. For a security group in a nondefault VPC, use the security group ID.

For a referenced security group in another VPC, this value is not returned if the referenced security group is deleted.

Definition at line 202 of file UserIdGroupPair.h.

◆ WithGroupName() [2/3]

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

The name of the security group. In a request, use this parameter for a security group in EC2-Classic or a default VPC only. For a security group in a nondefault VPC, use the security group ID.

For a referenced security group in another VPC, this value is not returned if the referenced security group is deleted.

Definition at line 193 of file UserIdGroupPair.h.

◆ WithGroupName() [3/3]

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

The name of the security group. In a request, use this parameter for a security group in EC2-Classic or a default VPC only. For a security group in a nondefault VPC, use the security group ID.

For a referenced security group in another VPC, this value is not returned if the referenced security group is deleted.

Definition at line 211 of file UserIdGroupPair.h.

◆ WithPeeringStatus() [1/3]

UserIdGroupPair& Aws::EC2::Model::UserIdGroupPair::WithPeeringStatus ( Aws::String &&  value)
inline

The status of a VPC peering connection, if applicable.

Definition at line 247 of file UserIdGroupPair.h.

◆ WithPeeringStatus() [2/3]

UserIdGroupPair& Aws::EC2::Model::UserIdGroupPair::WithPeeringStatus ( const Aws::String value)
inline

The status of a VPC peering connection, if applicable.

Definition at line 242 of file UserIdGroupPair.h.

◆ WithPeeringStatus() [3/3]

UserIdGroupPair& Aws::EC2::Model::UserIdGroupPair::WithPeeringStatus ( const char *  value)
inline

The status of a VPC peering connection, if applicable.

Definition at line 252 of file UserIdGroupPair.h.

◆ WithUserId() [1/3]

UserIdGroupPair& Aws::EC2::Model::UserIdGroupPair::WithUserId ( Aws::String &&  value)
inline

The ID of an Amazon Web Services account.

For a referenced security group in another VPC, the account ID of the referenced security group is returned in the response. If the referenced security group is deleted, this value is not returned.

[EC2-Classic] Required when adding or removing rules that reference a security group in another Amazon Web Services account.

Definition at line 323 of file UserIdGroupPair.h.

◆ WithUserId() [2/3]

UserIdGroupPair& Aws::EC2::Model::UserIdGroupPair::WithUserId ( const Aws::String value)
inline

The ID of an Amazon Web Services account.

For a referenced security group in another VPC, the account ID of the referenced security group is returned in the response. If the referenced security group is deleted, this value is not returned.

[EC2-Classic] Required when adding or removing rules that reference a security group in another Amazon Web Services account.

Definition at line 313 of file UserIdGroupPair.h.

◆ WithUserId() [3/3]

UserIdGroupPair& Aws::EC2::Model::UserIdGroupPair::WithUserId ( const char *  value)
inline

The ID of an Amazon Web Services account.

For a referenced security group in another VPC, the account ID of the referenced security group is returned in the response. If the referenced security group is deleted, this value is not returned.

[EC2-Classic] Required when adding or removing rules that reference a security group in another Amazon Web Services account.

Definition at line 333 of file UserIdGroupPair.h.

◆ WithVpcId() [1/3]

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

The ID of the VPC for the referenced security group, if applicable.

Definition at line 369 of file UserIdGroupPair.h.

◆ WithVpcId() [2/3]

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

The ID of the VPC for the referenced security group, if applicable.

Definition at line 364 of file UserIdGroupPair.h.

◆ WithVpcId() [3/3]

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

The ID of the VPC for the referenced security group, if applicable.

Definition at line 374 of file UserIdGroupPair.h.

◆ WithVpcPeeringConnectionId() [1/3]

UserIdGroupPair& Aws::EC2::Model::UserIdGroupPair::WithVpcPeeringConnectionId ( Aws::String &&  value)
inline

The ID of the VPC peering connection, if applicable.

Definition at line 410 of file UserIdGroupPair.h.

◆ WithVpcPeeringConnectionId() [2/3]

UserIdGroupPair& Aws::EC2::Model::UserIdGroupPair::WithVpcPeeringConnectionId ( const Aws::String value)
inline

The ID of the VPC peering connection, if applicable.

Definition at line 405 of file UserIdGroupPair.h.

◆ WithVpcPeeringConnectionId() [3/3]

UserIdGroupPair& Aws::EC2::Model::UserIdGroupPair::WithVpcPeeringConnectionId ( const char *  value)
inline

The ID of the VPC peering connection, if applicable.

Definition at line 415 of file UserIdGroupPair.h.


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