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

#include <PortRange.h>

Public Member Functions

 PortRange ()
 
 PortRange (Aws::Utils::Json::JsonView jsonValue)
 
PortRangeoperator= (Aws::Utils::Json::JsonView jsonValue)
 
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::Model::PortRange::PortRange ( )

◆ PortRange() [2/2]

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 51 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 45 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 70 of file PortRange.h.

◆ Jsonize()

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

◆ operator=()

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 57 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 82 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 76 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 63 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 88 of file PortRange.h.


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