AWS SDK for C++  1.9.17
AWS SDK for C++
Public Member Functions | List of all members
Aws::GameLift::Model::IpPermission Class Reference

#include <IpPermission.h>

Public Member Functions

 IpPermission ()
 
 IpPermission (Aws::Utils::Json::JsonView jsonValue)
 
IpPermissionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
int GetFromPort () const
 
bool FromPortHasBeenSet () const
 
void SetFromPort (int value)
 
IpPermissionWithFromPort (int value)
 
int GetToPort () const
 
bool ToPortHasBeenSet () const
 
void SetToPort (int value)
 
IpPermissionWithToPort (int value)
 
const Aws::StringGetIpRange () const
 
bool IpRangeHasBeenSet () const
 
void SetIpRange (const Aws::String &value)
 
void SetIpRange (Aws::String &&value)
 
void SetIpRange (const char *value)
 
IpPermissionWithIpRange (const Aws::String &value)
 
IpPermissionWithIpRange (Aws::String &&value)
 
IpPermissionWithIpRange (const char *value)
 
const IpProtocolGetProtocol () const
 
bool ProtocolHasBeenSet () const
 
void SetProtocol (const IpProtocol &value)
 
void SetProtocol (IpProtocol &&value)
 
IpPermissionWithProtocol (const IpProtocol &value)
 
IpPermissionWithProtocol (IpProtocol &&value)
 

Detailed Description

A range of IP addresses and port settings that allow inbound traffic to connect to server processes on an instance in a fleet. New game sessions are assigned an IP address/port number combination, which must fall into the fleet's allowed ranges. Fleets with custom game builds must have permissions explicitly set. For Realtime Servers fleets, GameLift automatically opens two port ranges, one for TCP messaging and one for UDP.

Related actions

DescribeFleetPortSettings

See Also:

AWS API Reference

Definition at line 38 of file IpPermission.h.

Constructor & Destructor Documentation

◆ IpPermission() [1/2]

Aws::GameLift::Model::IpPermission::IpPermission ( )

◆ IpPermission() [2/2]

Aws::GameLift::Model::IpPermission::IpPermission ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ FromPortHasBeenSet()

bool Aws::GameLift::Model::IpPermission::FromPortHasBeenSet ( ) const
inline

A starting value for a range of allowed port numbers.

Definition at line 55 of file IpPermission.h.

◆ GetFromPort()

int Aws::GameLift::Model::IpPermission::GetFromPort ( ) const
inline

A starting value for a range of allowed port numbers.

Definition at line 50 of file IpPermission.h.

◆ GetIpRange()

const Aws::String& Aws::GameLift::Model::IpPermission::GetIpRange ( ) const
inline

A range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "<code>000.000.000.000/[subnet mask]</code>" or optionally the shortened version "<code>0.0.0.0/[subnet mask]</code>".

Definition at line 98 of file IpPermission.h.

◆ GetProtocol()

const IpProtocol& Aws::GameLift::Model::IpPermission::GetProtocol ( ) const
inline

The network communication protocol used by the fleet.

Definition at line 153 of file IpPermission.h.

◆ GetToPort()

int Aws::GameLift::Model::IpPermission::GetToPort ( ) const
inline

An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than FromPort.

Definition at line 72 of file IpPermission.h.

◆ IpRangeHasBeenSet()

bool Aws::GameLift::Model::IpPermission::IpRangeHasBeenSet ( ) const
inline

A range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "<code>000.000.000.000/[subnet mask]</code>" or optionally the shortened version "<code>0.0.0.0/[subnet mask]</code>".

Definition at line 105 of file IpPermission.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::GameLift::Model::IpPermission::Jsonize ( ) const

◆ operator=()

IpPermission& Aws::GameLift::Model::IpPermission::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ProtocolHasBeenSet()

bool Aws::GameLift::Model::IpPermission::ProtocolHasBeenSet ( ) const
inline

The network communication protocol used by the fleet.

Definition at line 158 of file IpPermission.h.

◆ SetFromPort()

void Aws::GameLift::Model::IpPermission::SetFromPort ( int  value)
inline

A starting value for a range of allowed port numbers.

Definition at line 60 of file IpPermission.h.

◆ SetIpRange() [1/3]

void Aws::GameLift::Model::IpPermission::SetIpRange ( Aws::String &&  value)
inline

A range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "<code>000.000.000.000/[subnet mask]</code>" or optionally the shortened version "<code>0.0.0.0/[subnet mask]</code>".

Definition at line 119 of file IpPermission.h.

◆ SetIpRange() [2/3]

void Aws::GameLift::Model::IpPermission::SetIpRange ( const Aws::String value)
inline

A range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "<code>000.000.000.000/[subnet mask]</code>" or optionally the shortened version "<code>0.0.0.0/[subnet mask]</code>".

Definition at line 112 of file IpPermission.h.

◆ SetIpRange() [3/3]

void Aws::GameLift::Model::IpPermission::SetIpRange ( const char *  value)
inline

A range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "<code>000.000.000.000/[subnet mask]</code>" or optionally the shortened version "<code>0.0.0.0/[subnet mask]</code>".

Definition at line 126 of file IpPermission.h.

◆ SetProtocol() [1/2]

void Aws::GameLift::Model::IpPermission::SetProtocol ( const IpProtocol value)
inline

The network communication protocol used by the fleet.

Definition at line 163 of file IpPermission.h.

◆ SetProtocol() [2/2]

void Aws::GameLift::Model::IpPermission::SetProtocol ( IpProtocol &&  value)
inline

The network communication protocol used by the fleet.

Definition at line 168 of file IpPermission.h.

◆ SetToPort()

void Aws::GameLift::Model::IpPermission::SetToPort ( int  value)
inline

An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than FromPort.

Definition at line 84 of file IpPermission.h.

◆ ToPortHasBeenSet()

bool Aws::GameLift::Model::IpPermission::ToPortHasBeenSet ( ) const
inline

An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than FromPort.

Definition at line 78 of file IpPermission.h.

◆ WithFromPort()

IpPermission& Aws::GameLift::Model::IpPermission::WithFromPort ( int  value)
inline

A starting value for a range of allowed port numbers.

Definition at line 65 of file IpPermission.h.

◆ WithIpRange() [1/3]

IpPermission& Aws::GameLift::Model::IpPermission::WithIpRange ( Aws::String &&  value)
inline

A range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "<code>000.000.000.000/[subnet mask]</code>" or optionally the shortened version "<code>0.0.0.0/[subnet mask]</code>".

Definition at line 140 of file IpPermission.h.

◆ WithIpRange() [2/3]

IpPermission& Aws::GameLift::Model::IpPermission::WithIpRange ( const Aws::String value)
inline

A range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "<code>000.000.000.000/[subnet mask]</code>" or optionally the shortened version "<code>0.0.0.0/[subnet mask]</code>".

Definition at line 133 of file IpPermission.h.

◆ WithIpRange() [3/3]

IpPermission& Aws::GameLift::Model::IpPermission::WithIpRange ( const char *  value)
inline

A range of allowed IP addresses. This value must be expressed in CIDR notation. Example: "<code>000.000.000.000/[subnet mask]</code>" or optionally the shortened version "<code>0.0.0.0/[subnet mask]</code>".

Definition at line 147 of file IpPermission.h.

◆ WithProtocol() [1/2]

IpPermission& Aws::GameLift::Model::IpPermission::WithProtocol ( const IpProtocol value)
inline

The network communication protocol used by the fleet.

Definition at line 173 of file IpPermission.h.

◆ WithProtocol() [2/2]

IpPermission& Aws::GameLift::Model::IpPermission::WithProtocol ( IpProtocol &&  value)
inline

The network communication protocol used by the fleet.

Definition at line 178 of file IpPermission.h.

◆ WithToPort()

IpPermission& Aws::GameLift::Model::IpPermission::WithToPort ( int  value)
inline

An ending value for a range of allowed port numbers. Port numbers are end-inclusive. This value must be higher than FromPort.

Definition at line 90 of file IpPermission.h.


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