AWS SDK for C++  1.9.71
AWS SDK for C++
Public Member Functions | List of all members
Aws::NetworkFirewall::Model::Header Class Reference

#include <Header.h>

Public Member Functions

 Header ()
 
 Header (Aws::Utils::Json::JsonView jsonValue)
 
Headeroperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const StatefulRuleProtocolGetProtocol () const
 
bool ProtocolHasBeenSet () const
 
void SetProtocol (const StatefulRuleProtocol &value)
 
void SetProtocol (StatefulRuleProtocol &&value)
 
HeaderWithProtocol (const StatefulRuleProtocol &value)
 
HeaderWithProtocol (StatefulRuleProtocol &&value)
 
const Aws::StringGetSource () const
 
bool SourceHasBeenSet () const
 
void SetSource (const Aws::String &value)
 
void SetSource (Aws::String &&value)
 
void SetSource (const char *value)
 
HeaderWithSource (const Aws::String &value)
 
HeaderWithSource (Aws::String &&value)
 
HeaderWithSource (const char *value)
 
const Aws::StringGetSourcePort () const
 
bool SourcePortHasBeenSet () const
 
void SetSourcePort (const Aws::String &value)
 
void SetSourcePort (Aws::String &&value)
 
void SetSourcePort (const char *value)
 
HeaderWithSourcePort (const Aws::String &value)
 
HeaderWithSourcePort (Aws::String &&value)
 
HeaderWithSourcePort (const char *value)
 
const StatefulRuleDirectionGetDirection () const
 
bool DirectionHasBeenSet () const
 
void SetDirection (const StatefulRuleDirection &value)
 
void SetDirection (StatefulRuleDirection &&value)
 
HeaderWithDirection (const StatefulRuleDirection &value)
 
HeaderWithDirection (StatefulRuleDirection &&value)
 
const Aws::StringGetDestination () const
 
bool DestinationHasBeenSet () const
 
void SetDestination (const Aws::String &value)
 
void SetDestination (Aws::String &&value)
 
void SetDestination (const char *value)
 
HeaderWithDestination (const Aws::String &value)
 
HeaderWithDestination (Aws::String &&value)
 
HeaderWithDestination (const char *value)
 
const Aws::StringGetDestinationPort () const
 
bool DestinationPortHasBeenSet () const
 
void SetDestinationPort (const Aws::String &value)
 
void SetDestinationPort (Aws::String &&value)
 
void SetDestinationPort (const char *value)
 
HeaderWithDestinationPort (const Aws::String &value)
 
HeaderWithDestinationPort (Aws::String &&value)
 
HeaderWithDestinationPort (const char *value)
 

Detailed Description

The 5-tuple criteria for AWS Network Firewall to use to inspect packet headers in stateful traffic flow inspection. Traffic flows that match the criteria are a match for the corresponding StatefulRule.

See Also:

AWS API Reference

Definition at line 36 of file Header.h.

Constructor & Destructor Documentation

◆ Header() [1/2]

Aws::NetworkFirewall::Model::Header::Header ( )

◆ Header() [2/2]

Aws::NetworkFirewall::Model::Header::Header ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ DestinationHasBeenSet()

bool Aws::NetworkFirewall::Model::Header::DestinationHasBeenSet ( ) const
inline

The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 343 of file Header.h.

◆ DestinationPortHasBeenSet()

bool Aws::NetworkFirewall::Model::Header::DestinationPortHasBeenSet ( ) const
inline

The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990-1994. To match with any port, specify ANY.

Definition at line 448 of file Header.h.

◆ DirectionHasBeenSet()

bool Aws::NetworkFirewall::Model::Header::DirectionHasBeenSet ( ) const
inline

The direction of traffic flow to inspect. If set to ANY, the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to FORWARD, the inspection only matches traffic going from the source to the destination.

Definition at line 276 of file Header.h.

◆ GetDestination()

const Aws::String& Aws::NetworkFirewall::Model::Header::GetDestination ( ) const
inline

The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 328 of file Header.h.

◆ GetDestinationPort()

const Aws::String& Aws::NetworkFirewall::Model::Header::GetDestinationPort ( ) const
inline

The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990-1994. To match with any port, specify ANY.

Definition at line 441 of file Header.h.

◆ GetDirection()

const StatefulRuleDirection& Aws::NetworkFirewall::Model::Header::GetDirection ( ) const
inline

The direction of traffic flow to inspect. If set to ANY, the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to FORWARD, the inspection only matches traffic going from the source to the destination.

Definition at line 267 of file Header.h.

◆ GetProtocol()

const StatefulRuleProtocol& Aws::NetworkFirewall::Model::Header::GetProtocol ( ) const
inline

The protocol to inspect for. To specify all, you can use IP, because all traffic on AWS and on the internet is IP.

Definition at line 49 of file Header.h.

◆ GetSource()

const Aws::String& Aws::NetworkFirewall::Model::Header::GetSource ( ) const
inline

The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 95 of file Header.h.

◆ GetSourcePort()

const Aws::String& Aws::NetworkFirewall::Model::Header::GetSourcePort ( ) const
inline

The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990-1994. To match with any port, specify ANY.

Definition at line 208 of file Header.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::NetworkFirewall::Model::Header::Jsonize ( ) const

◆ operator=()

Header& Aws::NetworkFirewall::Model::Header::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ProtocolHasBeenSet()

bool Aws::NetworkFirewall::Model::Header::ProtocolHasBeenSet ( ) const
inline

The protocol to inspect for. To specify all, you can use IP, because all traffic on AWS and on the internet is IP.

Definition at line 55 of file Header.h.

◆ SetDestination() [1/3]

void Aws::NetworkFirewall::Model::Header::SetDestination ( Aws::String &&  value)
inline

The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 373 of file Header.h.

◆ SetDestination() [2/3]

void Aws::NetworkFirewall::Model::Header::SetDestination ( const Aws::String value)
inline

The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 358 of file Header.h.

◆ SetDestination() [3/3]

void Aws::NetworkFirewall::Model::Header::SetDestination ( const char *  value)
inline

The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 388 of file Header.h.

◆ SetDestinationPort() [1/3]

void Aws::NetworkFirewall::Model::Header::SetDestinationPort ( Aws::String &&  value)
inline

The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990-1994. To match with any port, specify ANY.

Definition at line 462 of file Header.h.

◆ SetDestinationPort() [2/3]

void Aws::NetworkFirewall::Model::Header::SetDestinationPort ( const Aws::String value)
inline

The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990-1994. To match with any port, specify ANY.

Definition at line 455 of file Header.h.

◆ SetDestinationPort() [3/3]

void Aws::NetworkFirewall::Model::Header::SetDestinationPort ( const char *  value)
inline

The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990-1994. To match with any port, specify ANY.

Definition at line 469 of file Header.h.

◆ SetDirection() [1/2]

void Aws::NetworkFirewall::Model::Header::SetDirection ( const StatefulRuleDirection value)
inline

The direction of traffic flow to inspect. If set to ANY, the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to FORWARD, the inspection only matches traffic going from the source to the destination.

Definition at line 285 of file Header.h.

◆ SetDirection() [2/2]

void Aws::NetworkFirewall::Model::Header::SetDirection ( StatefulRuleDirection &&  value)
inline

The direction of traffic flow to inspect. If set to ANY, the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to FORWARD, the inspection only matches traffic going from the source to the destination.

Definition at line 294 of file Header.h.

◆ SetProtocol() [1/2]

void Aws::NetworkFirewall::Model::Header::SetProtocol ( const StatefulRuleProtocol value)
inline

The protocol to inspect for. To specify all, you can use IP, because all traffic on AWS and on the internet is IP.

Definition at line 61 of file Header.h.

◆ SetProtocol() [2/2]

void Aws::NetworkFirewall::Model::Header::SetProtocol ( StatefulRuleProtocol &&  value)
inline

The protocol to inspect for. To specify all, you can use IP, because all traffic on AWS and on the internet is IP.

Definition at line 67 of file Header.h.

◆ SetSource() [1/3]

void Aws::NetworkFirewall::Model::Header::SetSource ( Aws::String &&  value)
inline

The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 140 of file Header.h.

◆ SetSource() [2/3]

void Aws::NetworkFirewall::Model::Header::SetSource ( const Aws::String value)
inline

The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 125 of file Header.h.

◆ SetSource() [3/3]

void Aws::NetworkFirewall::Model::Header::SetSource ( const char *  value)
inline

The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 155 of file Header.h.

◆ SetSourcePort() [1/3]

void Aws::NetworkFirewall::Model::Header::SetSourcePort ( Aws::String &&  value)
inline

The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990-1994. To match with any port, specify ANY.

Definition at line 229 of file Header.h.

◆ SetSourcePort() [2/3]

void Aws::NetworkFirewall::Model::Header::SetSourcePort ( const Aws::String value)
inline

The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990-1994. To match with any port, specify ANY.

Definition at line 222 of file Header.h.

◆ SetSourcePort() [3/3]

void Aws::NetworkFirewall::Model::Header::SetSourcePort ( const char *  value)
inline

The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990-1994. To match with any port, specify ANY.

Definition at line 236 of file Header.h.

◆ SourceHasBeenSet()

bool Aws::NetworkFirewall::Model::Header::SourceHasBeenSet ( ) const
inline

The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 110 of file Header.h.

◆ SourcePortHasBeenSet()

bool Aws::NetworkFirewall::Model::Header::SourcePortHasBeenSet ( ) const
inline

The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990-1994. To match with any port, specify ANY.

Definition at line 215 of file Header.h.

◆ WithDestination() [1/3]

Header& Aws::NetworkFirewall::Model::Header::WithDestination ( Aws::String &&  value)
inline

The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 418 of file Header.h.

◆ WithDestination() [2/3]

Header& Aws::NetworkFirewall::Model::Header::WithDestination ( const Aws::String value)
inline

The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 403 of file Header.h.

◆ WithDestination() [3/3]

Header& Aws::NetworkFirewall::Model::Header::WithDestination ( const char *  value)
inline

The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 433 of file Header.h.

◆ WithDestinationPort() [1/3]

Header& Aws::NetworkFirewall::Model::Header::WithDestinationPort ( Aws::String &&  value)
inline

The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990-1994. To match with any port, specify ANY.

Definition at line 483 of file Header.h.

◆ WithDestinationPort() [2/3]

Header& Aws::NetworkFirewall::Model::Header::WithDestinationPort ( const Aws::String value)
inline

The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990-1994. To match with any port, specify ANY.

Definition at line 476 of file Header.h.

◆ WithDestinationPort() [3/3]

Header& Aws::NetworkFirewall::Model::Header::WithDestinationPort ( const char *  value)
inline

The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990-1994. To match with any port, specify ANY.

Definition at line 490 of file Header.h.

◆ WithDirection() [1/2]

Header& Aws::NetworkFirewall::Model::Header::WithDirection ( const StatefulRuleDirection value)
inline

The direction of traffic flow to inspect. If set to ANY, the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to FORWARD, the inspection only matches traffic going from the source to the destination.

Definition at line 303 of file Header.h.

◆ WithDirection() [2/2]

Header& Aws::NetworkFirewall::Model::Header::WithDirection ( StatefulRuleDirection &&  value)
inline

The direction of traffic flow to inspect. If set to ANY, the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to FORWARD, the inspection only matches traffic going from the source to the destination.

Definition at line 312 of file Header.h.

◆ WithProtocol() [1/2]

Header& Aws::NetworkFirewall::Model::Header::WithProtocol ( const StatefulRuleProtocol value)
inline

The protocol to inspect for. To specify all, you can use IP, because all traffic on AWS and on the internet is IP.

Definition at line 73 of file Header.h.

◆ WithProtocol() [2/2]

Header& Aws::NetworkFirewall::Model::Header::WithProtocol ( StatefulRuleProtocol &&  value)
inline

The protocol to inspect for. To specify all, you can use IP, because all traffic on AWS and on the internet is IP.

Definition at line 79 of file Header.h.

◆ WithSource() [1/3]

Header& Aws::NetworkFirewall::Model::Header::WithSource ( Aws::String &&  value)
inline

The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 185 of file Header.h.

◆ WithSource() [2/3]

Header& Aws::NetworkFirewall::Model::Header::WithSource ( const Aws::String value)
inline

The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 170 of file Header.h.

◆ WithSource() [3/3]

Header& Aws::NetworkFirewall::Model::Header::WithSource ( const char *  value)
inline

The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

Specify an IP address or a block of IP addresses in Classless Inter-Domain Routing (CIDR) notation. Network Firewall supports all address ranges for IPv4.

Examples:

  • To configure Network Firewall to inspect for the IP address 192.0.2.44, specify 192.0.2.44/32.

  • To configure Network Firewall to inspect for IP addresses from 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.

For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing.

Definition at line 200 of file Header.h.

◆ WithSourcePort() [1/3]

Header& Aws::NetworkFirewall::Model::Header::WithSourcePort ( Aws::String &&  value)
inline

The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990-1994. To match with any port, specify ANY.

Definition at line 250 of file Header.h.

◆ WithSourcePort() [2/3]

Header& Aws::NetworkFirewall::Model::Header::WithSourcePort ( const Aws::String value)
inline

The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990-1994. To match with any port, specify ANY.

Definition at line 243 of file Header.h.

◆ WithSourcePort() [3/3]

Header& Aws::NetworkFirewall::Model::Header::WithSourcePort ( const char *  value)
inline

The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990-1994. To match with any port, specify ANY.

Definition at line 257 of file Header.h.


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