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

#include <StaleIpPermission.h>

Public Member Functions

 StaleIpPermission ()
 
 StaleIpPermission (const Aws::Utils::Xml::XmlNode &xmlNode)
 
StaleIpPermissionoperator= (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
 
int GetFromPort () const
 
bool FromPortHasBeenSet () const
 
void SetFromPort (int value)
 
StaleIpPermissionWithFromPort (int value)
 
const Aws::StringGetIpProtocol () const
 
bool IpProtocolHasBeenSet () const
 
void SetIpProtocol (const Aws::String &value)
 
void SetIpProtocol (Aws::String &&value)
 
void SetIpProtocol (const char *value)
 
StaleIpPermissionWithIpProtocol (const Aws::String &value)
 
StaleIpPermissionWithIpProtocol (Aws::String &&value)
 
StaleIpPermissionWithIpProtocol (const char *value)
 
const Aws::Vector< Aws::String > & GetIpRanges () const
 
bool IpRangesHasBeenSet () const
 
void SetIpRanges (const Aws::Vector< Aws::String > &value)
 
void SetIpRanges (Aws::Vector< Aws::String > &&value)
 
StaleIpPermissionWithIpRanges (const Aws::Vector< Aws::String > &value)
 
StaleIpPermissionWithIpRanges (Aws::Vector< Aws::String > &&value)
 
StaleIpPermissionAddIpRanges (const Aws::String &value)
 
StaleIpPermissionAddIpRanges (Aws::String &&value)
 
StaleIpPermissionAddIpRanges (const char *value)
 
const Aws::Vector< Aws::String > & GetPrefixListIds () const
 
bool PrefixListIdsHasBeenSet () const
 
void SetPrefixListIds (const Aws::Vector< Aws::String > &value)
 
void SetPrefixListIds (Aws::Vector< Aws::String > &&value)
 
StaleIpPermissionWithPrefixListIds (const Aws::Vector< Aws::String > &value)
 
StaleIpPermissionWithPrefixListIds (Aws::Vector< Aws::String > &&value)
 
StaleIpPermissionAddPrefixListIds (const Aws::String &value)
 
StaleIpPermissionAddPrefixListIds (Aws::String &&value)
 
StaleIpPermissionAddPrefixListIds (const char *value)
 
int GetToPort () const
 
bool ToPortHasBeenSet () const
 
void SetToPort (int value)
 
StaleIpPermissionWithToPort (int value)
 
const Aws::Vector< UserIdGroupPair > & GetUserIdGroupPairs () const
 
bool UserIdGroupPairsHasBeenSet () const
 
void SetUserIdGroupPairs (const Aws::Vector< UserIdGroupPair > &value)
 
void SetUserIdGroupPairs (Aws::Vector< UserIdGroupPair > &&value)
 
StaleIpPermissionWithUserIdGroupPairs (const Aws::Vector< UserIdGroupPair > &value)
 
StaleIpPermissionWithUserIdGroupPairs (Aws::Vector< UserIdGroupPair > &&value)
 
StaleIpPermissionAddUserIdGroupPairs (const UserIdGroupPair &value)
 
StaleIpPermissionAddUserIdGroupPairs (UserIdGroupPair &&value)
 

Detailed Description

Describes a stale rule in a security group.

See Also:

AWS API Reference

Definition at line 33 of file StaleIpPermission.h.

Constructor & Destructor Documentation

◆ StaleIpPermission() [1/2]

Aws::EC2::Model::StaleIpPermission::StaleIpPermission ( )

◆ StaleIpPermission() [2/2]

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

Member Function Documentation

◆ AddIpRanges() [1/3]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::AddIpRanges ( Aws::String &&  value)
inline

The IP ranges. Not applicable for stale security group rules.

Definition at line 172 of file StaleIpPermission.h.

◆ AddIpRanges() [2/3]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::AddIpRanges ( const Aws::String value)
inline

The IP ranges. Not applicable for stale security group rules.

Definition at line 167 of file StaleIpPermission.h.

◆ AddIpRanges() [3/3]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::AddIpRanges ( const char *  value)
inline

The IP ranges. Not applicable for stale security group rules.

Definition at line 177 of file StaleIpPermission.h.

◆ AddPrefixListIds() [1/3]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::AddPrefixListIds ( Aws::String &&  value)
inline

The prefix list IDs. Not applicable for stale security group rules.

Definition at line 218 of file StaleIpPermission.h.

◆ AddPrefixListIds() [2/3]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::AddPrefixListIds ( const Aws::String value)
inline

The prefix list IDs. Not applicable for stale security group rules.

Definition at line 213 of file StaleIpPermission.h.

◆ AddPrefixListIds() [3/3]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::AddPrefixListIds ( const char *  value)
inline

The prefix list IDs. Not applicable for stale security group rules.

Definition at line 223 of file StaleIpPermission.h.

◆ AddUserIdGroupPairs() [1/2]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::AddUserIdGroupPairs ( const UserIdGroupPair value)
inline

The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

Definition at line 291 of file StaleIpPermission.h.

◆ AddUserIdGroupPairs() [2/2]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::AddUserIdGroupPairs ( UserIdGroupPair &&  value)
inline

The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

Definition at line 297 of file StaleIpPermission.h.

◆ FromPortHasBeenSet()

bool Aws::EC2::Model::StaleIpPermission::FromPortHasBeenSet ( ) const
inline

The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

Definition at line 54 of file StaleIpPermission.h.

◆ GetFromPort()

int Aws::EC2::Model::StaleIpPermission::GetFromPort ( ) const
inline

The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

Definition at line 48 of file StaleIpPermission.h.

◆ GetIpProtocol()

const Aws::String& Aws::EC2::Model::StaleIpPermission::GetIpProtocol ( ) const
inline

The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

Definition at line 75 of file StaleIpPermission.h.

◆ GetIpRanges()

const Aws::Vector<Aws::String>& Aws::EC2::Model::StaleIpPermission::GetIpRanges ( ) const
inline

The IP ranges. Not applicable for stale security group rules.

Definition at line 137 of file StaleIpPermission.h.

◆ GetPrefixListIds()

const Aws::Vector<Aws::String>& Aws::EC2::Model::StaleIpPermission::GetPrefixListIds ( ) const
inline

The prefix list IDs. Not applicable for stale security group rules.

Definition at line 183 of file StaleIpPermission.h.

◆ GetToPort()

int Aws::EC2::Model::StaleIpPermission::GetToPort ( ) const
inline

The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

Definition at line 230 of file StaleIpPermission.h.

◆ GetUserIdGroupPairs()

const Aws::Vector<UserIdGroupPair>& Aws::EC2::Model::StaleIpPermission::GetUserIdGroupPairs ( ) const
inline

The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

Definition at line 255 of file StaleIpPermission.h.

◆ IpProtocolHasBeenSet()

bool Aws::EC2::Model::StaleIpPermission::IpProtocolHasBeenSet ( ) const
inline

The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

Definition at line 83 of file StaleIpPermission.h.

◆ IpRangesHasBeenSet()

bool Aws::EC2::Model::StaleIpPermission::IpRangesHasBeenSet ( ) const
inline

The IP ranges. Not applicable for stale security group rules.

Definition at line 142 of file StaleIpPermission.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PrefixListIdsHasBeenSet()

bool Aws::EC2::Model::StaleIpPermission::PrefixListIdsHasBeenSet ( ) const
inline

The prefix list IDs. Not applicable for stale security group rules.

Definition at line 188 of file StaleIpPermission.h.

◆ SetFromPort()

void Aws::EC2::Model::StaleIpPermission::SetFromPort ( int  value)
inline

The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

Definition at line 60 of file StaleIpPermission.h.

◆ SetIpProtocol() [1/3]

void Aws::EC2::Model::StaleIpPermission::SetIpProtocol ( Aws::String &&  value)
inline

The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

Definition at line 99 of file StaleIpPermission.h.

◆ SetIpProtocol() [2/3]

void Aws::EC2::Model::StaleIpPermission::SetIpProtocol ( const Aws::String value)
inline

The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

Definition at line 91 of file StaleIpPermission.h.

◆ SetIpProtocol() [3/3]

void Aws::EC2::Model::StaleIpPermission::SetIpProtocol ( const char *  value)
inline

The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

Definition at line 107 of file StaleIpPermission.h.

◆ SetIpRanges() [1/2]

void Aws::EC2::Model::StaleIpPermission::SetIpRanges ( Aws::Vector< Aws::String > &&  value)
inline

The IP ranges. Not applicable for stale security group rules.

Definition at line 152 of file StaleIpPermission.h.

◆ SetIpRanges() [2/2]

void Aws::EC2::Model::StaleIpPermission::SetIpRanges ( const Aws::Vector< Aws::String > &  value)
inline

The IP ranges. Not applicable for stale security group rules.

Definition at line 147 of file StaleIpPermission.h.

◆ SetPrefixListIds() [1/2]

void Aws::EC2::Model::StaleIpPermission::SetPrefixListIds ( Aws::Vector< Aws::String > &&  value)
inline

The prefix list IDs. Not applicable for stale security group rules.

Definition at line 198 of file StaleIpPermission.h.

◆ SetPrefixListIds() [2/2]

void Aws::EC2::Model::StaleIpPermission::SetPrefixListIds ( const Aws::Vector< Aws::String > &  value)
inline

The prefix list IDs. Not applicable for stale security group rules.

Definition at line 193 of file StaleIpPermission.h.

◆ SetToPort()

void Aws::EC2::Model::StaleIpPermission::SetToPort ( int  value)
inline

The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

Definition at line 242 of file StaleIpPermission.h.

◆ SetUserIdGroupPairs() [1/2]

void Aws::EC2::Model::StaleIpPermission::SetUserIdGroupPairs ( Aws::Vector< UserIdGroupPair > &&  value)
inline

The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

Definition at line 273 of file StaleIpPermission.h.

◆ SetUserIdGroupPairs() [2/2]

void Aws::EC2::Model::StaleIpPermission::SetUserIdGroupPairs ( const Aws::Vector< UserIdGroupPair > &  value)
inline

The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

Definition at line 267 of file StaleIpPermission.h.

◆ ToPortHasBeenSet()

bool Aws::EC2::Model::StaleIpPermission::ToPortHasBeenSet ( ) const
inline

The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

Definition at line 236 of file StaleIpPermission.h.

◆ UserIdGroupPairsHasBeenSet()

bool Aws::EC2::Model::StaleIpPermission::UserIdGroupPairsHasBeenSet ( ) const
inline

The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

Definition at line 261 of file StaleIpPermission.h.

◆ WithFromPort()

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::WithFromPort ( int  value)
inline

The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

Definition at line 66 of file StaleIpPermission.h.

◆ WithIpProtocol() [1/3]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::WithIpProtocol ( Aws::String &&  value)
inline

The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

Definition at line 123 of file StaleIpPermission.h.

◆ WithIpProtocol() [2/3]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::WithIpProtocol ( const Aws::String value)
inline

The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

Definition at line 115 of file StaleIpPermission.h.

◆ WithIpProtocol() [3/3]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::WithIpProtocol ( const char *  value)
inline

The IP protocol name (for tcp, udp, and icmp) or number (see Protocol Numbers).

Definition at line 131 of file StaleIpPermission.h.

◆ WithIpRanges() [1/2]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::WithIpRanges ( Aws::Vector< Aws::String > &&  value)
inline

The IP ranges. Not applicable for stale security group rules.

Definition at line 162 of file StaleIpPermission.h.

◆ WithIpRanges() [2/2]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::WithIpRanges ( const Aws::Vector< Aws::String > &  value)
inline

The IP ranges. Not applicable for stale security group rules.

Definition at line 157 of file StaleIpPermission.h.

◆ WithPrefixListIds() [1/2]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::WithPrefixListIds ( Aws::Vector< Aws::String > &&  value)
inline

The prefix list IDs. Not applicable for stale security group rules.

Definition at line 208 of file StaleIpPermission.h.

◆ WithPrefixListIds() [2/2]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::WithPrefixListIds ( const Aws::Vector< Aws::String > &  value)
inline

The prefix list IDs. Not applicable for stale security group rules.

Definition at line 203 of file StaleIpPermission.h.

◆ WithToPort()

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::WithToPort ( int  value)
inline

The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of -1 indicates all ICMP types.

Definition at line 248 of file StaleIpPermission.h.

◆ WithUserIdGroupPairs() [1/2]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::WithUserIdGroupPairs ( Aws::Vector< UserIdGroupPair > &&  value)
inline

The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

Definition at line 285 of file StaleIpPermission.h.

◆ WithUserIdGroupPairs() [2/2]

StaleIpPermission& Aws::EC2::Model::StaleIpPermission::WithUserIdGroupPairs ( const Aws::Vector< UserIdGroupPair > &  value)
inline

The security group pairs. Returns the ID of the referenced security group and VPC, and the ID and status of the VPC peering connection.

Definition at line 279 of file StaleIpPermission.h.


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