AWS SDK for C++  1.9.67
AWS SDK for C++
Public Member Functions | List of all members
Aws::SecurityHub::Model::AwsEc2NetworkAclEntry Class Reference

#include <AwsEc2NetworkAclEntry.h>

Public Member Functions

 AwsEc2NetworkAclEntry ()
 
 AwsEc2NetworkAclEntry (Aws::Utils::Json::JsonView jsonValue)
 
AwsEc2NetworkAclEntryoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetCidrBlock () const
 
bool CidrBlockHasBeenSet () const
 
void SetCidrBlock (const Aws::String &value)
 
void SetCidrBlock (Aws::String &&value)
 
void SetCidrBlock (const char *value)
 
AwsEc2NetworkAclEntryWithCidrBlock (const Aws::String &value)
 
AwsEc2NetworkAclEntryWithCidrBlock (Aws::String &&value)
 
AwsEc2NetworkAclEntryWithCidrBlock (const char *value)
 
bool GetEgress () const
 
bool EgressHasBeenSet () const
 
void SetEgress (bool value)
 
AwsEc2NetworkAclEntryWithEgress (bool value)
 
const IcmpTypeCodeGetIcmpTypeCode () const
 
bool IcmpTypeCodeHasBeenSet () const
 
void SetIcmpTypeCode (const IcmpTypeCode &value)
 
void SetIcmpTypeCode (IcmpTypeCode &&value)
 
AwsEc2NetworkAclEntryWithIcmpTypeCode (const IcmpTypeCode &value)
 
AwsEc2NetworkAclEntryWithIcmpTypeCode (IcmpTypeCode &&value)
 
const Aws::StringGetIpv6CidrBlock () const
 
bool Ipv6CidrBlockHasBeenSet () const
 
void SetIpv6CidrBlock (const Aws::String &value)
 
void SetIpv6CidrBlock (Aws::String &&value)
 
void SetIpv6CidrBlock (const char *value)
 
AwsEc2NetworkAclEntryWithIpv6CidrBlock (const Aws::String &value)
 
AwsEc2NetworkAclEntryWithIpv6CidrBlock (Aws::String &&value)
 
AwsEc2NetworkAclEntryWithIpv6CidrBlock (const char *value)
 
const PortRangeFromToGetPortRange () const
 
bool PortRangeHasBeenSet () const
 
void SetPortRange (const PortRangeFromTo &value)
 
void SetPortRange (PortRangeFromTo &&value)
 
AwsEc2NetworkAclEntryWithPortRange (const PortRangeFromTo &value)
 
AwsEc2NetworkAclEntryWithPortRange (PortRangeFromTo &&value)
 
const Aws::StringGetProtocol () const
 
bool ProtocolHasBeenSet () const
 
void SetProtocol (const Aws::String &value)
 
void SetProtocol (Aws::String &&value)
 
void SetProtocol (const char *value)
 
AwsEc2NetworkAclEntryWithProtocol (const Aws::String &value)
 
AwsEc2NetworkAclEntryWithProtocol (Aws::String &&value)
 
AwsEc2NetworkAclEntryWithProtocol (const char *value)
 
const Aws::StringGetRuleAction () const
 
bool RuleActionHasBeenSet () const
 
void SetRuleAction (const Aws::String &value)
 
void SetRuleAction (Aws::String &&value)
 
void SetRuleAction (const char *value)
 
AwsEc2NetworkAclEntryWithRuleAction (const Aws::String &value)
 
AwsEc2NetworkAclEntryWithRuleAction (Aws::String &&value)
 
AwsEc2NetworkAclEntryWithRuleAction (const char *value)
 
int GetRuleNumber () const
 
bool RuleNumberHasBeenSet () const
 
void SetRuleNumber (int value)
 
AwsEc2NetworkAclEntryWithRuleNumber (int value)
 

Detailed Description

A rule for the network ACL. Each rule allows or denies access based on the IP address, traffic direction, port, and protocol.

See Also:

AWS API Reference

Definition at line 34 of file AwsEc2NetworkAclEntry.h.

Constructor & Destructor Documentation

◆ AwsEc2NetworkAclEntry() [1/2]

Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::AwsEc2NetworkAclEntry ( )

◆ AwsEc2NetworkAclEntry() [2/2]

Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::AwsEc2NetworkAclEntry ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ CidrBlockHasBeenSet()

bool Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::CidrBlockHasBeenSet ( ) const
inline

The IPV4 network range for which to deny or allow access.

Definition at line 51 of file AwsEc2NetworkAclEntry.h.

◆ EgressHasBeenSet()

bool Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::EgressHasBeenSet ( ) const
inline

Whether the rule is an egress rule. An egress rule is a rule that applies to traffic that leaves the subnet.

Definition at line 94 of file AwsEc2NetworkAclEntry.h.

◆ GetCidrBlock()

const Aws::String& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::GetCidrBlock ( ) const
inline

The IPV4 network range for which to deny or allow access.

Definition at line 46 of file AwsEc2NetworkAclEntry.h.

◆ GetEgress()

bool Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::GetEgress ( ) const
inline

Whether the rule is an egress rule. An egress rule is a rule that applies to traffic that leaves the subnet.

Definition at line 88 of file AwsEc2NetworkAclEntry.h.

◆ GetIcmpTypeCode()

const IcmpTypeCode& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::GetIcmpTypeCode ( ) const
inline

The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.

Definition at line 113 of file AwsEc2NetworkAclEntry.h.

◆ GetIpv6CidrBlock()

const Aws::String& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::GetIpv6CidrBlock ( ) const
inline

The IPV6 network range for which to deny or allow access.

Definition at line 149 of file AwsEc2NetworkAclEntry.h.

◆ GetPortRange()

const PortRangeFromTo& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::GetPortRange ( ) const
inline

For TCP or UDP protocols, the range of ports that the rule applies to.

Definition at line 190 of file AwsEc2NetworkAclEntry.h.

◆ GetProtocol()

const Aws::String& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::GetProtocol ( ) const
inline

The protocol that the rule applies to. To deny or allow access to all protocols, use the value -1.

Definition at line 222 of file AwsEc2NetworkAclEntry.h.

◆ GetRuleAction()

const Aws::String& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::GetRuleAction ( ) const
inline

Whether the rule is used to allow access or deny access.

Definition at line 270 of file AwsEc2NetworkAclEntry.h.

◆ GetRuleNumber()

int Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::GetRuleNumber ( ) const
inline

The rule number. The rules are processed in order by their number.

Definition at line 311 of file AwsEc2NetworkAclEntry.h.

◆ IcmpTypeCodeHasBeenSet()

bool Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::IcmpTypeCodeHasBeenSet ( ) const
inline

The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.

Definition at line 119 of file AwsEc2NetworkAclEntry.h.

◆ Ipv6CidrBlockHasBeenSet()

bool Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::Ipv6CidrBlockHasBeenSet ( ) const
inline

The IPV6 network range for which to deny or allow access.

Definition at line 154 of file AwsEc2NetworkAclEntry.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::Jsonize ( ) const

◆ operator=()

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PortRangeHasBeenSet()

bool Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::PortRangeHasBeenSet ( ) const
inline

For TCP or UDP protocols, the range of ports that the rule applies to.

Definition at line 195 of file AwsEc2NetworkAclEntry.h.

◆ ProtocolHasBeenSet()

bool Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::ProtocolHasBeenSet ( ) const
inline

The protocol that the rule applies to. To deny or allow access to all protocols, use the value -1.

Definition at line 228 of file AwsEc2NetworkAclEntry.h.

◆ RuleActionHasBeenSet()

bool Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::RuleActionHasBeenSet ( ) const
inline

Whether the rule is used to allow access or deny access.

Definition at line 275 of file AwsEc2NetworkAclEntry.h.

◆ RuleNumberHasBeenSet()

bool Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::RuleNumberHasBeenSet ( ) const
inline

The rule number. The rules are processed in order by their number.

Definition at line 316 of file AwsEc2NetworkAclEntry.h.

◆ SetCidrBlock() [1/3]

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetCidrBlock ( Aws::String &&  value)
inline

The IPV4 network range for which to deny or allow access.

Definition at line 61 of file AwsEc2NetworkAclEntry.h.

◆ SetCidrBlock() [2/3]

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetCidrBlock ( const Aws::String value)
inline

The IPV4 network range for which to deny or allow access.

Definition at line 56 of file AwsEc2NetworkAclEntry.h.

◆ SetCidrBlock() [3/3]

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetCidrBlock ( const char *  value)
inline

The IPV4 network range for which to deny or allow access.

Definition at line 66 of file AwsEc2NetworkAclEntry.h.

◆ SetEgress()

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetEgress ( bool  value)
inline

Whether the rule is an egress rule. An egress rule is a rule that applies to traffic that leaves the subnet.

Definition at line 100 of file AwsEc2NetworkAclEntry.h.

◆ SetIcmpTypeCode() [1/2]

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetIcmpTypeCode ( const IcmpTypeCode value)
inline

The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.

Definition at line 125 of file AwsEc2NetworkAclEntry.h.

◆ SetIcmpTypeCode() [2/2]

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetIcmpTypeCode ( IcmpTypeCode &&  value)
inline

The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.

Definition at line 131 of file AwsEc2NetworkAclEntry.h.

◆ SetIpv6CidrBlock() [1/3]

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetIpv6CidrBlock ( Aws::String &&  value)
inline

The IPV6 network range for which to deny or allow access.

Definition at line 164 of file AwsEc2NetworkAclEntry.h.

◆ SetIpv6CidrBlock() [2/3]

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetIpv6CidrBlock ( const Aws::String value)
inline

The IPV6 network range for which to deny or allow access.

Definition at line 159 of file AwsEc2NetworkAclEntry.h.

◆ SetIpv6CidrBlock() [3/3]

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetIpv6CidrBlock ( const char *  value)
inline

The IPV6 network range for which to deny or allow access.

Definition at line 169 of file AwsEc2NetworkAclEntry.h.

◆ SetPortRange() [1/2]

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetPortRange ( const PortRangeFromTo value)
inline

For TCP or UDP protocols, the range of ports that the rule applies to.

Definition at line 200 of file AwsEc2NetworkAclEntry.h.

◆ SetPortRange() [2/2]

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetPortRange ( PortRangeFromTo &&  value)
inline

For TCP or UDP protocols, the range of ports that the rule applies to.

Definition at line 205 of file AwsEc2NetworkAclEntry.h.

◆ SetProtocol() [1/3]

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetProtocol ( Aws::String &&  value)
inline

The protocol that the rule applies to. To deny or allow access to all protocols, use the value -1.

Definition at line 240 of file AwsEc2NetworkAclEntry.h.

◆ SetProtocol() [2/3]

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetProtocol ( const Aws::String value)
inline

The protocol that the rule applies to. To deny or allow access to all protocols, use the value -1.

Definition at line 234 of file AwsEc2NetworkAclEntry.h.

◆ SetProtocol() [3/3]

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetProtocol ( const char *  value)
inline

The protocol that the rule applies to. To deny or allow access to all protocols, use the value -1.

Definition at line 246 of file AwsEc2NetworkAclEntry.h.

◆ SetRuleAction() [1/3]

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetRuleAction ( Aws::String &&  value)
inline

Whether the rule is used to allow access or deny access.

Definition at line 285 of file AwsEc2NetworkAclEntry.h.

◆ SetRuleAction() [2/3]

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetRuleAction ( const Aws::String value)
inline

Whether the rule is used to allow access or deny access.

Definition at line 280 of file AwsEc2NetworkAclEntry.h.

◆ SetRuleAction() [3/3]

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetRuleAction ( const char *  value)
inline

Whether the rule is used to allow access or deny access.

Definition at line 290 of file AwsEc2NetworkAclEntry.h.

◆ SetRuleNumber()

void Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::SetRuleNumber ( int  value)
inline

The rule number. The rules are processed in order by their number.

Definition at line 321 of file AwsEc2NetworkAclEntry.h.

◆ WithCidrBlock() [1/3]

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithCidrBlock ( Aws::String &&  value)
inline

The IPV4 network range for which to deny or allow access.

Definition at line 76 of file AwsEc2NetworkAclEntry.h.

◆ WithCidrBlock() [2/3]

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithCidrBlock ( const Aws::String value)
inline

The IPV4 network range for which to deny or allow access.

Definition at line 71 of file AwsEc2NetworkAclEntry.h.

◆ WithCidrBlock() [3/3]

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithCidrBlock ( const char *  value)
inline

The IPV4 network range for which to deny or allow access.

Definition at line 81 of file AwsEc2NetworkAclEntry.h.

◆ WithEgress()

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithEgress ( bool  value)
inline

Whether the rule is an egress rule. An egress rule is a rule that applies to traffic that leaves the subnet.

Definition at line 106 of file AwsEc2NetworkAclEntry.h.

◆ WithIcmpTypeCode() [1/2]

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithIcmpTypeCode ( const IcmpTypeCode value)
inline

The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.

Definition at line 137 of file AwsEc2NetworkAclEntry.h.

◆ WithIcmpTypeCode() [2/2]

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithIcmpTypeCode ( IcmpTypeCode &&  value)
inline

The Internet Control Message Protocol (ICMP) type and code for which to deny or allow access.

Definition at line 143 of file AwsEc2NetworkAclEntry.h.

◆ WithIpv6CidrBlock() [1/3]

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithIpv6CidrBlock ( Aws::String &&  value)
inline

The IPV6 network range for which to deny or allow access.

Definition at line 179 of file AwsEc2NetworkAclEntry.h.

◆ WithIpv6CidrBlock() [2/3]

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithIpv6CidrBlock ( const Aws::String value)
inline

The IPV6 network range for which to deny or allow access.

Definition at line 174 of file AwsEc2NetworkAclEntry.h.

◆ WithIpv6CidrBlock() [3/3]

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithIpv6CidrBlock ( const char *  value)
inline

The IPV6 network range for which to deny or allow access.

Definition at line 184 of file AwsEc2NetworkAclEntry.h.

◆ WithPortRange() [1/2]

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithPortRange ( const PortRangeFromTo value)
inline

For TCP or UDP protocols, the range of ports that the rule applies to.

Definition at line 210 of file AwsEc2NetworkAclEntry.h.

◆ WithPortRange() [2/2]

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithPortRange ( PortRangeFromTo &&  value)
inline

For TCP or UDP protocols, the range of ports that the rule applies to.

Definition at line 215 of file AwsEc2NetworkAclEntry.h.

◆ WithProtocol() [1/3]

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithProtocol ( Aws::String &&  value)
inline

The protocol that the rule applies to. To deny or allow access to all protocols, use the value -1.

Definition at line 258 of file AwsEc2NetworkAclEntry.h.

◆ WithProtocol() [2/3]

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithProtocol ( const Aws::String value)
inline

The protocol that the rule applies to. To deny or allow access to all protocols, use the value -1.

Definition at line 252 of file AwsEc2NetworkAclEntry.h.

◆ WithProtocol() [3/3]

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithProtocol ( const char *  value)
inline

The protocol that the rule applies to. To deny or allow access to all protocols, use the value -1.

Definition at line 264 of file AwsEc2NetworkAclEntry.h.

◆ WithRuleAction() [1/3]

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithRuleAction ( Aws::String &&  value)
inline

Whether the rule is used to allow access or deny access.

Definition at line 300 of file AwsEc2NetworkAclEntry.h.

◆ WithRuleAction() [2/3]

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithRuleAction ( const Aws::String value)
inline

Whether the rule is used to allow access or deny access.

Definition at line 295 of file AwsEc2NetworkAclEntry.h.

◆ WithRuleAction() [3/3]

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithRuleAction ( const char *  value)
inline

Whether the rule is used to allow access or deny access.

Definition at line 305 of file AwsEc2NetworkAclEntry.h.

◆ WithRuleNumber()

AwsEc2NetworkAclEntry& Aws::SecurityHub::Model::AwsEc2NetworkAclEntry::WithRuleNumber ( int  value)
inline

The rule number. The rules are processed in order by their number.

Definition at line 326 of file AwsEc2NetworkAclEntry.h.


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