AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Aws::NetworkFirewall::Model::PortRange Class Reference

#include <PortRange.h>

Public Member Functions

AWS_NETWORKFIREWALL_API PortRange ()=default
 
AWS_NETWORKFIREWALL_API PortRange (Aws::Utils::Json::JsonView jsonValue)
 
AWS_NETWORKFIREWALL_API PortRangeoperator= (Aws::Utils::Json::JsonView jsonValue)
 
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize () const
 
int GetFromPort () const
 
bool FromPortHasBeenSet () const
 
void SetFromPort (int value)
 
PortRangeWithFromPort (int value)
 
int GetToPort () const
 
bool ToPortHasBeenSet () const
 
void SetToPort (int value)
 
PortRangeWithToPort (int value)
 

Detailed Description

A single port range specification. This is used for source and destination port ranges in the stateless rule MatchAttributes, SourcePorts, and DestinationPorts settings.

See Also:

AWS API Reference

Definition at line 32 of file PortRange.h.

Constructor & Destructor Documentation

◆ PortRange() [1/2]

AWS_NETWORKFIREWALL_API Aws::NetworkFirewall::Model::PortRange::PortRange ( )
default

◆ PortRange() [2/2]

AWS_NETWORKFIREWALL_API Aws::NetworkFirewall::Model::PortRange::PortRange ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ FromPortHasBeenSet()

bool Aws::NetworkFirewall::Model::PortRange::FromPortHasBeenSet ( ) const
inline

The lower limit of the port range. This must be less than or equal to the ToPort specification.

Definition at line 47 of file PortRange.h.

◆ GetFromPort()

int Aws::NetworkFirewall::Model::PortRange::GetFromPort ( ) const
inline

The lower limit of the port range. This must be less than or equal to the ToPort specification.

Definition at line 46 of file PortRange.h.

◆ GetToPort()

int Aws::NetworkFirewall::Model::PortRange::GetToPort ( ) const
inline

The upper limit of the port range. This must be greater than or equal to the FromPort specification.

Definition at line 57 of file PortRange.h.

◆ Jsonize()

AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Aws::NetworkFirewall::Model::PortRange::Jsonize ( ) const

◆ operator=()

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

◆ SetFromPort()

void Aws::NetworkFirewall::Model::PortRange::SetFromPort ( int  value)
inline

The lower limit of the port range. This must be less than or equal to the ToPort specification.

Definition at line 48 of file PortRange.h.

◆ SetToPort()

void Aws::NetworkFirewall::Model::PortRange::SetToPort ( int  value)
inline

The upper limit of the port range. This must be greater than or equal to the FromPort specification.

Definition at line 59 of file PortRange.h.

◆ ToPortHasBeenSet()

bool Aws::NetworkFirewall::Model::PortRange::ToPortHasBeenSet ( ) const
inline

The upper limit of the port range. This must be greater than or equal to the FromPort specification.

Definition at line 58 of file PortRange.h.

◆ WithFromPort()

PortRange & Aws::NetworkFirewall::Model::PortRange::WithFromPort ( int  value)
inline

The lower limit of the port range. This must be less than or equal to the ToPort specification.

Definition at line 49 of file PortRange.h.

◆ WithToPort()

PortRange & Aws::NetworkFirewall::Model::PortRange::WithToPort ( int  value)
inline

The upper limit of the port range. This must be greater than or equal to the FromPort specification.

Definition at line 60 of file PortRange.h.


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