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

#include <PortRange.h>

Public Member Functions

 PortRange ()
 
 PortRange (const Aws::Utils::Xml::XmlNode &xmlNode)
 
PortRangeoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
int GetFrom () const
 
bool FromHasBeenSet () const
 
void SetFrom (int value)
 
PortRangeWithFrom (int value)
 
int GetTo () const
 
bool ToHasBeenSet () const
 
void SetTo (int value)
 
PortRangeWithTo (int value)
 

Detailed Description

Describes a range of ports.

See Also:

AWS API Reference

Definition at line 29 of file PortRange.h.

Constructor & Destructor Documentation

◆ PortRange() [1/2]

Aws::EC2::Model::PortRange::PortRange ( )

◆ PortRange() [2/2]

Aws::EC2::Model::PortRange::PortRange ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ FromHasBeenSet()

bool Aws::EC2::Model::PortRange::FromHasBeenSet ( ) const
inline

The first port in the range.

Definition at line 48 of file PortRange.h.

◆ GetFrom()

int Aws::EC2::Model::PortRange::GetFrom ( ) const
inline

The first port in the range.

Definition at line 43 of file PortRange.h.

◆ GetTo()

int Aws::EC2::Model::PortRange::GetTo ( ) const
inline

The last port in the range.

Definition at line 64 of file PortRange.h.

◆ operator=()

PortRange& Aws::EC2::Model::PortRange::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::EC2::Model::PortRange::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::EC2::Model::PortRange::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ SetFrom()

void Aws::EC2::Model::PortRange::SetFrom ( int  value)
inline

The first port in the range.

Definition at line 53 of file PortRange.h.

◆ SetTo()

void Aws::EC2::Model::PortRange::SetTo ( int  value)
inline

The last port in the range.

Definition at line 74 of file PortRange.h.

◆ ToHasBeenSet()

bool Aws::EC2::Model::PortRange::ToHasBeenSet ( ) const
inline

The last port in the range.

Definition at line 69 of file PortRange.h.

◆ WithFrom()

PortRange& Aws::EC2::Model::PortRange::WithFrom ( int  value)
inline

The first port in the range.

Definition at line 58 of file PortRange.h.

◆ WithTo()

PortRange& Aws::EC2::Model::PortRange::WithTo ( int  value)
inline

The last port in the range.

Definition at line 79 of file PortRange.h.


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