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

#include <MatchAttributes.h>

Public Member Functions

 MatchAttributes ()
 
 MatchAttributes (Aws::Utils::Json::JsonView jsonValue)
 
MatchAttributesoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< Address > & GetSources () const
 
bool SourcesHasBeenSet () const
 
void SetSources (const Aws::Vector< Address > &value)
 
void SetSources (Aws::Vector< Address > &&value)
 
MatchAttributesWithSources (const Aws::Vector< Address > &value)
 
MatchAttributesWithSources (Aws::Vector< Address > &&value)
 
MatchAttributesAddSources (const Address &value)
 
MatchAttributesAddSources (Address &&value)
 
const Aws::Vector< Address > & GetDestinations () const
 
bool DestinationsHasBeenSet () const
 
void SetDestinations (const Aws::Vector< Address > &value)
 
void SetDestinations (Aws::Vector< Address > &&value)
 
MatchAttributesWithDestinations (const Aws::Vector< Address > &value)
 
MatchAttributesWithDestinations (Aws::Vector< Address > &&value)
 
MatchAttributesAddDestinations (const Address &value)
 
MatchAttributesAddDestinations (Address &&value)
 
const Aws::Vector< PortRange > & GetSourcePorts () const
 
bool SourcePortsHasBeenSet () const
 
void SetSourcePorts (const Aws::Vector< PortRange > &value)
 
void SetSourcePorts (Aws::Vector< PortRange > &&value)
 
MatchAttributesWithSourcePorts (const Aws::Vector< PortRange > &value)
 
MatchAttributesWithSourcePorts (Aws::Vector< PortRange > &&value)
 
MatchAttributesAddSourcePorts (const PortRange &value)
 
MatchAttributesAddSourcePorts (PortRange &&value)
 
const Aws::Vector< PortRange > & GetDestinationPorts () const
 
bool DestinationPortsHasBeenSet () const
 
void SetDestinationPorts (const Aws::Vector< PortRange > &value)
 
void SetDestinationPorts (Aws::Vector< PortRange > &&value)
 
MatchAttributesWithDestinationPorts (const Aws::Vector< PortRange > &value)
 
MatchAttributesWithDestinationPorts (Aws::Vector< PortRange > &&value)
 
MatchAttributesAddDestinationPorts (const PortRange &value)
 
MatchAttributesAddDestinationPorts (PortRange &&value)
 
const Aws::Vector< int > & GetProtocols () const
 
bool ProtocolsHasBeenSet () const
 
void SetProtocols (const Aws::Vector< int > &value)
 
void SetProtocols (Aws::Vector< int > &&value)
 
MatchAttributesWithProtocols (const Aws::Vector< int > &value)
 
MatchAttributesWithProtocols (Aws::Vector< int > &&value)
 
MatchAttributesAddProtocols (int value)
 
const Aws::Vector< TCPFlagField > & GetTCPFlags () const
 
bool TCPFlagsHasBeenSet () const
 
void SetTCPFlags (const Aws::Vector< TCPFlagField > &value)
 
void SetTCPFlags (Aws::Vector< TCPFlagField > &&value)
 
MatchAttributesWithTCPFlags (const Aws::Vector< TCPFlagField > &value)
 
MatchAttributesWithTCPFlags (Aws::Vector< TCPFlagField > &&value)
 
MatchAttributesAddTCPFlags (const TCPFlagField &value)
 
MatchAttributesAddTCPFlags (TCPFlagField &&value)
 

Detailed Description

Criteria for Network Firewall to use to inspect an individual packet in stateless rule inspection. Each match attributes set can include one or more items such as IP address, CIDR range, port number, protocol, and TCP flags.

See Also:

AWS API Reference

Definition at line 37 of file MatchAttributes.h.

Constructor & Destructor Documentation

◆ MatchAttributes() [1/2]

Aws::NetworkFirewall::Model::MatchAttributes::MatchAttributes ( )

◆ MatchAttributes() [2/2]

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

Member Function Documentation

◆ AddDestinationPorts() [1/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::AddDestinationPorts ( const PortRange value)
inline

The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990-1994.

Definition at line 263 of file MatchAttributes.h.

◆ AddDestinationPorts() [2/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::AddDestinationPorts ( PortRange &&  value)
inline

The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990-1994.

Definition at line 271 of file MatchAttributes.h.

◆ AddDestinations() [1/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::AddDestinations ( Address &&  value)
inline

The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.

Definition at line 141 of file MatchAttributes.h.

◆ AddDestinations() [2/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::AddDestinations ( const Address value)
inline

The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.

Definition at line 135 of file MatchAttributes.h.

◆ AddProtocols()

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::AddProtocols ( int  value)
inline

The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol.

Definition at line 321 of file MatchAttributes.h.

◆ AddSourcePorts() [1/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::AddSourcePorts ( const PortRange value)
inline

The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990-1994.

Definition at line 198 of file MatchAttributes.h.

◆ AddSourcePorts() [2/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::AddSourcePorts ( PortRange &&  value)
inline

The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990-1994.

Definition at line 206 of file MatchAttributes.h.

◆ AddSources() [1/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::AddSources ( Address &&  value)
inline

The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.

Definition at line 92 of file MatchAttributes.h.

◆ AddSources() [2/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::AddSources ( const Address value)
inline

The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.

Definition at line 86 of file MatchAttributes.h.

◆ AddTCPFlags() [1/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::AddTCPFlags ( const TCPFlagField value)
inline

The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).

Definition at line 364 of file MatchAttributes.h.

◆ AddTCPFlags() [2/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::AddTCPFlags ( TCPFlagField &&  value)
inline

The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).

Definition at line 370 of file MatchAttributes.h.

◆ DestinationPortsHasBeenSet()

bool Aws::NetworkFirewall::Model::MatchAttributes::DestinationPortsHasBeenSet ( ) const
inline

The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990-1994.

Definition at line 223 of file MatchAttributes.h.

◆ DestinationsHasBeenSet()

bool Aws::NetworkFirewall::Model::MatchAttributes::DestinationsHasBeenSet ( ) const
inline

The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.

Definition at line 105 of file MatchAttributes.h.

◆ GetDestinationPorts()

const Aws::Vector<PortRange>& Aws::NetworkFirewall::Model::MatchAttributes::GetDestinationPorts ( ) const
inline

The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990-1994.

Definition at line 215 of file MatchAttributes.h.

◆ GetDestinations()

const Aws::Vector<Address>& Aws::NetworkFirewall::Model::MatchAttributes::GetDestinations ( ) const
inline

The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.

Definition at line 99 of file MatchAttributes.h.

◆ GetProtocols()

const Aws::Vector<int>& Aws::NetworkFirewall::Model::MatchAttributes::GetProtocols ( ) const
inline

The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol.

Definition at line 279 of file MatchAttributes.h.

◆ GetSourcePorts()

const Aws::Vector<PortRange>& Aws::NetworkFirewall::Model::MatchAttributes::GetSourcePorts ( ) const
inline

The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990-1994.

Definition at line 150 of file MatchAttributes.h.

◆ GetSources()

const Aws::Vector<Address>& Aws::NetworkFirewall::Model::MatchAttributes::GetSources ( ) const
inline

The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.

Definition at line 50 of file MatchAttributes.h.

◆ GetTCPFlags()

const Aws::Vector<TCPFlagField>& Aws::NetworkFirewall::Model::MatchAttributes::GetTCPFlags ( ) const
inline

The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).

Definition at line 328 of file MatchAttributes.h.

◆ Jsonize()

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

◆ operator=()

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

◆ ProtocolsHasBeenSet()

bool Aws::NetworkFirewall::Model::MatchAttributes::ProtocolsHasBeenSet ( ) const
inline

The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol.

Definition at line 286 of file MatchAttributes.h.

◆ SetDestinationPorts() [1/2]

void Aws::NetworkFirewall::Model::MatchAttributes::SetDestinationPorts ( Aws::Vector< PortRange > &&  value)
inline

The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990-1994.

Definition at line 239 of file MatchAttributes.h.

◆ SetDestinationPorts() [2/2]

void Aws::NetworkFirewall::Model::MatchAttributes::SetDestinationPorts ( const Aws::Vector< PortRange > &  value)
inline

The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990-1994.

Definition at line 231 of file MatchAttributes.h.

◆ SetDestinations() [1/2]

void Aws::NetworkFirewall::Model::MatchAttributes::SetDestinations ( Aws::Vector< Address > &&  value)
inline

The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.

Definition at line 117 of file MatchAttributes.h.

◆ SetDestinations() [2/2]

void Aws::NetworkFirewall::Model::MatchAttributes::SetDestinations ( const Aws::Vector< Address > &  value)
inline

The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.

Definition at line 111 of file MatchAttributes.h.

◆ SetProtocols() [1/2]

void Aws::NetworkFirewall::Model::MatchAttributes::SetProtocols ( Aws::Vector< int > &&  value)
inline

The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol.

Definition at line 300 of file MatchAttributes.h.

◆ SetProtocols() [2/2]

void Aws::NetworkFirewall::Model::MatchAttributes::SetProtocols ( const Aws::Vector< int > &  value)
inline

The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol.

Definition at line 293 of file MatchAttributes.h.

◆ SetSourcePorts() [1/2]

void Aws::NetworkFirewall::Model::MatchAttributes::SetSourcePorts ( Aws::Vector< PortRange > &&  value)
inline

The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990-1994.

Definition at line 174 of file MatchAttributes.h.

◆ SetSourcePorts() [2/2]

void Aws::NetworkFirewall::Model::MatchAttributes::SetSourcePorts ( const Aws::Vector< PortRange > &  value)
inline

The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990-1994.

Definition at line 166 of file MatchAttributes.h.

◆ SetSources() [1/2]

void Aws::NetworkFirewall::Model::MatchAttributes::SetSources ( Aws::Vector< Address > &&  value)
inline

The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.

Definition at line 68 of file MatchAttributes.h.

◆ SetSources() [2/2]

void Aws::NetworkFirewall::Model::MatchAttributes::SetSources ( const Aws::Vector< Address > &  value)
inline

The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.

Definition at line 62 of file MatchAttributes.h.

◆ SetTCPFlags() [1/2]

void Aws::NetworkFirewall::Model::MatchAttributes::SetTCPFlags ( Aws::Vector< TCPFlagField > &&  value)
inline

The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).

Definition at line 346 of file MatchAttributes.h.

◆ SetTCPFlags() [2/2]

void Aws::NetworkFirewall::Model::MatchAttributes::SetTCPFlags ( const Aws::Vector< TCPFlagField > &  value)
inline

The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).

Definition at line 340 of file MatchAttributes.h.

◆ SourcePortsHasBeenSet()

bool Aws::NetworkFirewall::Model::MatchAttributes::SourcePortsHasBeenSet ( ) const
inline

The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990-1994.

Definition at line 158 of file MatchAttributes.h.

◆ SourcesHasBeenSet()

bool Aws::NetworkFirewall::Model::MatchAttributes::SourcesHasBeenSet ( ) const
inline

The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.

Definition at line 56 of file MatchAttributes.h.

◆ TCPFlagsHasBeenSet()

bool Aws::NetworkFirewall::Model::MatchAttributes::TCPFlagsHasBeenSet ( ) const
inline

The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).

Definition at line 334 of file MatchAttributes.h.

◆ WithDestinationPorts() [1/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::WithDestinationPorts ( Aws::Vector< PortRange > &&  value)
inline

The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990-1994.

Definition at line 255 of file MatchAttributes.h.

◆ WithDestinationPorts() [2/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::WithDestinationPorts ( const Aws::Vector< PortRange > &  value)
inline

The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990-1994.

Definition at line 247 of file MatchAttributes.h.

◆ WithDestinations() [1/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::WithDestinations ( Aws::Vector< Address > &&  value)
inline

The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.

Definition at line 129 of file MatchAttributes.h.

◆ WithDestinations() [2/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::WithDestinations ( const Aws::Vector< Address > &  value)
inline

The destination IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address.

Definition at line 123 of file MatchAttributes.h.

◆ WithProtocols() [1/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::WithProtocols ( Aws::Vector< int > &&  value)
inline

The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol.

Definition at line 314 of file MatchAttributes.h.

◆ WithProtocols() [2/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::WithProtocols ( const Aws::Vector< int > &  value)
inline

The protocols to inspect for, specified using each protocol's assigned internet protocol number (IANA). If not specified, this matches with any protocol.

Definition at line 307 of file MatchAttributes.h.

◆ WithSourcePorts() [1/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::WithSourcePorts ( Aws::Vector< PortRange > &&  value)
inline

The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990-1994.

Definition at line 190 of file MatchAttributes.h.

◆ WithSourcePorts() [2/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::WithSourcePorts ( const Aws::Vector< PortRange > &  value)
inline

The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP).

You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990-1994.

Definition at line 182 of file MatchAttributes.h.

◆ WithSources() [1/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::WithSources ( Aws::Vector< Address > &&  value)
inline

The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.

Definition at line 80 of file MatchAttributes.h.

◆ WithSources() [2/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::WithSources ( const Aws::Vector< Address > &  value)
inline

The source IP addresses and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address.

Definition at line 74 of file MatchAttributes.h.

◆ WithTCPFlags() [1/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::WithTCPFlags ( Aws::Vector< TCPFlagField > &&  value)
inline

The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).

Definition at line 358 of file MatchAttributes.h.

◆ WithTCPFlags() [2/2]

MatchAttributes& Aws::NetworkFirewall::Model::MatchAttributes::WithTCPFlags ( const Aws::Vector< TCPFlagField > &  value)
inline

The TCP flags and masks to inspect for. If not specified, this matches with any settings. This setting is only used for protocol 6 (TCP).

Definition at line 352 of file MatchAttributes.h.


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