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

#include <SecurityGroupRule.h>

Public Member Functions

 SecurityGroupRule ()
 
 SecurityGroupRule (const Aws::Utils::Xml::XmlNode &xmlNode)
 
SecurityGroupRuleoperator= (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::StringGetSecurityGroupRuleId () const
 
bool SecurityGroupRuleIdHasBeenSet () const
 
void SetSecurityGroupRuleId (const Aws::String &value)
 
void SetSecurityGroupRuleId (Aws::String &&value)
 
void SetSecurityGroupRuleId (const char *value)
 
SecurityGroupRuleWithSecurityGroupRuleId (const Aws::String &value)
 
SecurityGroupRuleWithSecurityGroupRuleId (Aws::String &&value)
 
SecurityGroupRuleWithSecurityGroupRuleId (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)
 
SecurityGroupRuleWithGroupId (const Aws::String &value)
 
SecurityGroupRuleWithGroupId (Aws::String &&value)
 
SecurityGroupRuleWithGroupId (const char *value)
 
const Aws::StringGetGroupOwnerId () const
 
bool GroupOwnerIdHasBeenSet () const
 
void SetGroupOwnerId (const Aws::String &value)
 
void SetGroupOwnerId (Aws::String &&value)
 
void SetGroupOwnerId (const char *value)
 
SecurityGroupRuleWithGroupOwnerId (const Aws::String &value)
 
SecurityGroupRuleWithGroupOwnerId (Aws::String &&value)
 
SecurityGroupRuleWithGroupOwnerId (const char *value)
 
bool GetIsEgress () const
 
bool IsEgressHasBeenSet () const
 
void SetIsEgress (bool value)
 
SecurityGroupRuleWithIsEgress (bool value)
 
const Aws::StringGetIpProtocol () const
 
bool IpProtocolHasBeenSet () const
 
void SetIpProtocol (const Aws::String &value)
 
void SetIpProtocol (Aws::String &&value)
 
void SetIpProtocol (const char *value)
 
SecurityGroupRuleWithIpProtocol (const Aws::String &value)
 
SecurityGroupRuleWithIpProtocol (Aws::String &&value)
 
SecurityGroupRuleWithIpProtocol (const char *value)
 
int GetFromPort () const
 
bool FromPortHasBeenSet () const
 
void SetFromPort (int value)
 
SecurityGroupRuleWithFromPort (int value)
 
int GetToPort () const
 
bool ToPortHasBeenSet () const
 
void SetToPort (int value)
 
SecurityGroupRuleWithToPort (int value)
 
const Aws::StringGetCidrIpv4 () const
 
bool CidrIpv4HasBeenSet () const
 
void SetCidrIpv4 (const Aws::String &value)
 
void SetCidrIpv4 (Aws::String &&value)
 
void SetCidrIpv4 (const char *value)
 
SecurityGroupRuleWithCidrIpv4 (const Aws::String &value)
 
SecurityGroupRuleWithCidrIpv4 (Aws::String &&value)
 
SecurityGroupRuleWithCidrIpv4 (const char *value)
 
const Aws::StringGetCidrIpv6 () const
 
bool CidrIpv6HasBeenSet () const
 
void SetCidrIpv6 (const Aws::String &value)
 
void SetCidrIpv6 (Aws::String &&value)
 
void SetCidrIpv6 (const char *value)
 
SecurityGroupRuleWithCidrIpv6 (const Aws::String &value)
 
SecurityGroupRuleWithCidrIpv6 (Aws::String &&value)
 
SecurityGroupRuleWithCidrIpv6 (const char *value)
 
const Aws::StringGetPrefixListId () const
 
bool PrefixListIdHasBeenSet () const
 
void SetPrefixListId (const Aws::String &value)
 
void SetPrefixListId (Aws::String &&value)
 
void SetPrefixListId (const char *value)
 
SecurityGroupRuleWithPrefixListId (const Aws::String &value)
 
SecurityGroupRuleWithPrefixListId (Aws::String &&value)
 
SecurityGroupRuleWithPrefixListId (const char *value)
 
const ReferencedSecurityGroupGetReferencedGroupInfo () const
 
bool ReferencedGroupInfoHasBeenSet () const
 
void SetReferencedGroupInfo (const ReferencedSecurityGroup &value)
 
void SetReferencedGroupInfo (ReferencedSecurityGroup &&value)
 
SecurityGroupRuleWithReferencedGroupInfo (const ReferencedSecurityGroup &value)
 
SecurityGroupRuleWithReferencedGroupInfo (ReferencedSecurityGroup &&value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
SecurityGroupRuleWithDescription (const Aws::String &value)
 
SecurityGroupRuleWithDescription (Aws::String &&value)
 
SecurityGroupRuleWithDescription (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
SecurityGroupRuleWithTags (const Aws::Vector< Tag > &value)
 
SecurityGroupRuleWithTags (Aws::Vector< Tag > &&value)
 
SecurityGroupRuleAddTags (const Tag &value)
 
SecurityGroupRuleAddTags (Tag &&value)
 

Detailed Description

Describes a security group rule.

See Also:

AWS API Reference

Definition at line 34 of file SecurityGroupRule.h.

Constructor & Destructor Documentation

◆ SecurityGroupRule() [1/2]

Aws::EC2::Model::SecurityGroupRule::SecurityGroupRule ( )

◆ SecurityGroupRule() [2/2]

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

Member Function Documentation

◆ AddTags() [1/2]

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

The tags applied to the security group rule.

Definition at line 540 of file SecurityGroupRule.h.

◆ AddTags() [2/2]

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

The tags applied to the security group rule.

Definition at line 545 of file SecurityGroupRule.h.

◆ CidrIpv4HasBeenSet()

bool Aws::EC2::Model::SecurityGroupRule::CidrIpv4HasBeenSet ( ) const
inline

The IPv4 CIDR range.

Definition at line 320 of file SecurityGroupRule.h.

◆ CidrIpv6HasBeenSet()

bool Aws::EC2::Model::SecurityGroupRule::CidrIpv6HasBeenSet ( ) const
inline

The IPv6 CIDR range.

Definition at line 361 of file SecurityGroupRule.h.

◆ DescriptionHasBeenSet()

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

The security group rule description.

Definition at line 474 of file SecurityGroupRule.h.

◆ FromPortHasBeenSet()

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

The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.

Definition at line 266 of file SecurityGroupRule.h.

◆ GetCidrIpv4()

const Aws::String& Aws::EC2::Model::SecurityGroupRule::GetCidrIpv4 ( ) const
inline

The IPv4 CIDR range.

Definition at line 315 of file SecurityGroupRule.h.

◆ GetCidrIpv6()

const Aws::String& Aws::EC2::Model::SecurityGroupRule::GetCidrIpv6 ( ) const
inline

The IPv6 CIDR range.

Definition at line 356 of file SecurityGroupRule.h.

◆ GetDescription()

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

The security group rule description.

Definition at line 469 of file SecurityGroupRule.h.

◆ GetFromPort()

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

The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.

Definition at line 259 of file SecurityGroupRule.h.

◆ GetGroupId()

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

The ID of the security group.

Definition at line 89 of file SecurityGroupRule.h.

◆ GetGroupOwnerId()

const Aws::String& Aws::EC2::Model::SecurityGroupRule::GetGroupOwnerId ( ) const
inline

The ID of the Amazon Web Services account that owns the security group.

Definition at line 130 of file SecurityGroupRule.h.

◆ GetIpProtocol()

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

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

Use -1 to specify all protocols.

Definition at line 195 of file SecurityGroupRule.h.

◆ GetIsEgress()

bool Aws::EC2::Model::SecurityGroupRule::GetIsEgress ( ) const
inline

Indicates whether the security group rule is an outbound rule.

Definition at line 171 of file SecurityGroupRule.h.

◆ GetPrefixListId()

const Aws::String& Aws::EC2::Model::SecurityGroupRule::GetPrefixListId ( ) const
inline

The ID of the prefix list.

Definition at line 397 of file SecurityGroupRule.h.

◆ GetReferencedGroupInfo()

const ReferencedSecurityGroup& Aws::EC2::Model::SecurityGroupRule::GetReferencedGroupInfo ( ) const
inline

Describes the security group that is referenced in the rule.

Definition at line 438 of file SecurityGroupRule.h.

◆ GetSecurityGroupRuleId()

const Aws::String& Aws::EC2::Model::SecurityGroupRule::GetSecurityGroupRuleId ( ) const
inline

The ID of the security group rule.

Definition at line 48 of file SecurityGroupRule.h.

◆ GetTags()

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

The tags applied to the security group rule.

Definition at line 510 of file SecurityGroupRule.h.

◆ GetToPort()

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

The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes.

Definition at line 288 of file SecurityGroupRule.h.

◆ GroupIdHasBeenSet()

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

The ID of the security group.

Definition at line 94 of file SecurityGroupRule.h.

◆ GroupOwnerIdHasBeenSet()

bool Aws::EC2::Model::SecurityGroupRule::GroupOwnerIdHasBeenSet ( ) const
inline

The ID of the Amazon Web Services account that owns the security group.

Definition at line 135 of file SecurityGroupRule.h.

◆ IpProtocolHasBeenSet()

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

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

Use -1 to specify all protocols.

Definition at line 203 of file SecurityGroupRule.h.

◆ IsEgressHasBeenSet()

bool Aws::EC2::Model::SecurityGroupRule::IsEgressHasBeenSet ( ) const
inline

Indicates whether the security group rule is an outbound rule.

Definition at line 176 of file SecurityGroupRule.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PrefixListIdHasBeenSet()

bool Aws::EC2::Model::SecurityGroupRule::PrefixListIdHasBeenSet ( ) const
inline

The ID of the prefix list.

Definition at line 402 of file SecurityGroupRule.h.

◆ ReferencedGroupInfoHasBeenSet()

bool Aws::EC2::Model::SecurityGroupRule::ReferencedGroupInfoHasBeenSet ( ) const
inline

Describes the security group that is referenced in the rule.

Definition at line 443 of file SecurityGroupRule.h.

◆ SecurityGroupRuleIdHasBeenSet()

bool Aws::EC2::Model::SecurityGroupRule::SecurityGroupRuleIdHasBeenSet ( ) const
inline

The ID of the security group rule.

Definition at line 53 of file SecurityGroupRule.h.

◆ SetCidrIpv4() [1/3]

void Aws::EC2::Model::SecurityGroupRule::SetCidrIpv4 ( Aws::String &&  value)
inline

The IPv4 CIDR range.

Definition at line 330 of file SecurityGroupRule.h.

◆ SetCidrIpv4() [2/3]

void Aws::EC2::Model::SecurityGroupRule::SetCidrIpv4 ( const Aws::String value)
inline

The IPv4 CIDR range.

Definition at line 325 of file SecurityGroupRule.h.

◆ SetCidrIpv4() [3/3]

void Aws::EC2::Model::SecurityGroupRule::SetCidrIpv4 ( const char *  value)
inline

The IPv4 CIDR range.

Definition at line 335 of file SecurityGroupRule.h.

◆ SetCidrIpv6() [1/3]

void Aws::EC2::Model::SecurityGroupRule::SetCidrIpv6 ( Aws::String &&  value)
inline

The IPv6 CIDR range.

Definition at line 371 of file SecurityGroupRule.h.

◆ SetCidrIpv6() [2/3]

void Aws::EC2::Model::SecurityGroupRule::SetCidrIpv6 ( const Aws::String value)
inline

The IPv6 CIDR range.

Definition at line 366 of file SecurityGroupRule.h.

◆ SetCidrIpv6() [3/3]

void Aws::EC2::Model::SecurityGroupRule::SetCidrIpv6 ( const char *  value)
inline

The IPv6 CIDR range.

Definition at line 376 of file SecurityGroupRule.h.

◆ SetDescription() [1/3]

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

The security group rule description.

Definition at line 484 of file SecurityGroupRule.h.

◆ SetDescription() [2/3]

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

The security group rule description.

Definition at line 479 of file SecurityGroupRule.h.

◆ SetDescription() [3/3]

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

The security group rule description.

Definition at line 489 of file SecurityGroupRule.h.

◆ SetFromPort()

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

The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.

Definition at line 273 of file SecurityGroupRule.h.

◆ SetGroupId() [1/3]

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

The ID of the security group.

Definition at line 104 of file SecurityGroupRule.h.

◆ SetGroupId() [2/3]

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

The ID of the security group.

Definition at line 99 of file SecurityGroupRule.h.

◆ SetGroupId() [3/3]

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

The ID of the security group.

Definition at line 109 of file SecurityGroupRule.h.

◆ SetGroupOwnerId() [1/3]

void Aws::EC2::Model::SecurityGroupRule::SetGroupOwnerId ( Aws::String &&  value)
inline

The ID of the Amazon Web Services account that owns the security group.

Definition at line 145 of file SecurityGroupRule.h.

◆ SetGroupOwnerId() [2/3]

void Aws::EC2::Model::SecurityGroupRule::SetGroupOwnerId ( const Aws::String value)
inline

The ID of the Amazon Web Services account that owns the security group.

Definition at line 140 of file SecurityGroupRule.h.

◆ SetGroupOwnerId() [3/3]

void Aws::EC2::Model::SecurityGroupRule::SetGroupOwnerId ( const char *  value)
inline

The ID of the Amazon Web Services account that owns the security group.

Definition at line 150 of file SecurityGroupRule.h.

◆ SetIpProtocol() [1/3]

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

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

Use -1 to specify all protocols.

Definition at line 219 of file SecurityGroupRule.h.

◆ SetIpProtocol() [2/3]

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

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

Use -1 to specify all protocols.

Definition at line 211 of file SecurityGroupRule.h.

◆ SetIpProtocol() [3/3]

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

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

Use -1 to specify all protocols.

Definition at line 227 of file SecurityGroupRule.h.

◆ SetIsEgress()

void Aws::EC2::Model::SecurityGroupRule::SetIsEgress ( bool  value)
inline

Indicates whether the security group rule is an outbound rule.

Definition at line 181 of file SecurityGroupRule.h.

◆ SetPrefixListId() [1/3]

void Aws::EC2::Model::SecurityGroupRule::SetPrefixListId ( Aws::String &&  value)
inline

The ID of the prefix list.

Definition at line 412 of file SecurityGroupRule.h.

◆ SetPrefixListId() [2/3]

void Aws::EC2::Model::SecurityGroupRule::SetPrefixListId ( const Aws::String value)
inline

The ID of the prefix list.

Definition at line 407 of file SecurityGroupRule.h.

◆ SetPrefixListId() [3/3]

void Aws::EC2::Model::SecurityGroupRule::SetPrefixListId ( const char *  value)
inline

The ID of the prefix list.

Definition at line 417 of file SecurityGroupRule.h.

◆ SetReferencedGroupInfo() [1/2]

void Aws::EC2::Model::SecurityGroupRule::SetReferencedGroupInfo ( const ReferencedSecurityGroup value)
inline

Describes the security group that is referenced in the rule.

Definition at line 448 of file SecurityGroupRule.h.

◆ SetReferencedGroupInfo() [2/2]

void Aws::EC2::Model::SecurityGroupRule::SetReferencedGroupInfo ( ReferencedSecurityGroup &&  value)
inline

Describes the security group that is referenced in the rule.

Definition at line 453 of file SecurityGroupRule.h.

◆ SetSecurityGroupRuleId() [1/3]

void Aws::EC2::Model::SecurityGroupRule::SetSecurityGroupRuleId ( Aws::String &&  value)
inline

The ID of the security group rule.

Definition at line 63 of file SecurityGroupRule.h.

◆ SetSecurityGroupRuleId() [2/3]

void Aws::EC2::Model::SecurityGroupRule::SetSecurityGroupRuleId ( const Aws::String value)
inline

The ID of the security group rule.

Definition at line 58 of file SecurityGroupRule.h.

◆ SetSecurityGroupRuleId() [3/3]

void Aws::EC2::Model::SecurityGroupRule::SetSecurityGroupRuleId ( const char *  value)
inline

The ID of the security group rule.

Definition at line 68 of file SecurityGroupRule.h.

◆ SetTags() [1/2]

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

The tags applied to the security group rule.

Definition at line 525 of file SecurityGroupRule.h.

◆ SetTags() [2/2]

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

The tags applied to the security group rule.

Definition at line 520 of file SecurityGroupRule.h.

◆ SetToPort()

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

The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes.

Definition at line 302 of file SecurityGroupRule.h.

◆ TagsHasBeenSet()

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

The tags applied to the security group rule.

Definition at line 515 of file SecurityGroupRule.h.

◆ ToPortHasBeenSet()

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

The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes.

Definition at line 295 of file SecurityGroupRule.h.

◆ WithCidrIpv4() [1/3]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithCidrIpv4 ( Aws::String &&  value)
inline

The IPv4 CIDR range.

Definition at line 345 of file SecurityGroupRule.h.

◆ WithCidrIpv4() [2/3]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithCidrIpv4 ( const Aws::String value)
inline

The IPv4 CIDR range.

Definition at line 340 of file SecurityGroupRule.h.

◆ WithCidrIpv4() [3/3]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithCidrIpv4 ( const char *  value)
inline

The IPv4 CIDR range.

Definition at line 350 of file SecurityGroupRule.h.

◆ WithCidrIpv6() [1/3]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithCidrIpv6 ( Aws::String &&  value)
inline

The IPv6 CIDR range.

Definition at line 386 of file SecurityGroupRule.h.

◆ WithCidrIpv6() [2/3]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithCidrIpv6 ( const Aws::String value)
inline

The IPv6 CIDR range.

Definition at line 381 of file SecurityGroupRule.h.

◆ WithCidrIpv6() [3/3]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithCidrIpv6 ( const char *  value)
inline

The IPv6 CIDR range.

Definition at line 391 of file SecurityGroupRule.h.

◆ WithDescription() [1/3]

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

The security group rule description.

Definition at line 499 of file SecurityGroupRule.h.

◆ WithDescription() [2/3]

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

The security group rule description.

Definition at line 494 of file SecurityGroupRule.h.

◆ WithDescription() [3/3]

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

The security group rule description.

Definition at line 504 of file SecurityGroupRule.h.

◆ WithFromPort()

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

The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.

Definition at line 280 of file SecurityGroupRule.h.

◆ WithGroupId() [1/3]

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

The ID of the security group.

Definition at line 119 of file SecurityGroupRule.h.

◆ WithGroupId() [2/3]

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

The ID of the security group.

Definition at line 114 of file SecurityGroupRule.h.

◆ WithGroupId() [3/3]

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

The ID of the security group.

Definition at line 124 of file SecurityGroupRule.h.

◆ WithGroupOwnerId() [1/3]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithGroupOwnerId ( Aws::String &&  value)
inline

The ID of the Amazon Web Services account that owns the security group.

Definition at line 160 of file SecurityGroupRule.h.

◆ WithGroupOwnerId() [2/3]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithGroupOwnerId ( const Aws::String value)
inline

The ID of the Amazon Web Services account that owns the security group.

Definition at line 155 of file SecurityGroupRule.h.

◆ WithGroupOwnerId() [3/3]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithGroupOwnerId ( const char *  value)
inline

The ID of the Amazon Web Services account that owns the security group.

Definition at line 165 of file SecurityGroupRule.h.

◆ WithIpProtocol() [1/3]

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

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

Use -1 to specify all protocols.

Definition at line 243 of file SecurityGroupRule.h.

◆ WithIpProtocol() [2/3]

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

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

Use -1 to specify all protocols.

Definition at line 235 of file SecurityGroupRule.h.

◆ WithIpProtocol() [3/3]

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

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

Use -1 to specify all protocols.

Definition at line 251 of file SecurityGroupRule.h.

◆ WithIsEgress()

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithIsEgress ( bool  value)
inline

Indicates whether the security group rule is an outbound rule.

Definition at line 186 of file SecurityGroupRule.h.

◆ WithPrefixListId() [1/3]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithPrefixListId ( Aws::String &&  value)
inline

The ID of the prefix list.

Definition at line 427 of file SecurityGroupRule.h.

◆ WithPrefixListId() [2/3]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithPrefixListId ( const Aws::String value)
inline

The ID of the prefix list.

Definition at line 422 of file SecurityGroupRule.h.

◆ WithPrefixListId() [3/3]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithPrefixListId ( const char *  value)
inline

The ID of the prefix list.

Definition at line 432 of file SecurityGroupRule.h.

◆ WithReferencedGroupInfo() [1/2]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithReferencedGroupInfo ( const ReferencedSecurityGroup value)
inline

Describes the security group that is referenced in the rule.

Definition at line 458 of file SecurityGroupRule.h.

◆ WithReferencedGroupInfo() [2/2]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithReferencedGroupInfo ( ReferencedSecurityGroup &&  value)
inline

Describes the security group that is referenced in the rule.

Definition at line 463 of file SecurityGroupRule.h.

◆ WithSecurityGroupRuleId() [1/3]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithSecurityGroupRuleId ( Aws::String &&  value)
inline

The ID of the security group rule.

Definition at line 78 of file SecurityGroupRule.h.

◆ WithSecurityGroupRuleId() [2/3]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithSecurityGroupRuleId ( const Aws::String value)
inline

The ID of the security group rule.

Definition at line 73 of file SecurityGroupRule.h.

◆ WithSecurityGroupRuleId() [3/3]

SecurityGroupRule& Aws::EC2::Model::SecurityGroupRule::WithSecurityGroupRuleId ( const char *  value)
inline

The ID of the security group rule.

Definition at line 83 of file SecurityGroupRule.h.

◆ WithTags() [1/2]

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

The tags applied to the security group rule.

Definition at line 535 of file SecurityGroupRule.h.

◆ WithTags() [2/2]

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

The tags applied to the security group rule.

Definition at line 530 of file SecurityGroupRule.h.

◆ WithToPort()

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

The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes.

Definition at line 309 of file SecurityGroupRule.h.


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