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

#include <EC2InstanceCounts.h>

Public Member Functions

 EC2InstanceCounts ()
 
 EC2InstanceCounts (Aws::Utils::Json::JsonView jsonValue)
 
EC2InstanceCountsoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
int GetDESIRED () const
 
bool DESIREDHasBeenSet () const
 
void SetDESIRED (int value)
 
EC2InstanceCountsWithDESIRED (int value)
 
int GetMINIMUM () const
 
bool MINIMUMHasBeenSet () const
 
void SetMINIMUM (int value)
 
EC2InstanceCountsWithMINIMUM (int value)
 
int GetMAXIMUM () const
 
bool MAXIMUMHasBeenSet () const
 
void SetMAXIMUM (int value)
 
EC2InstanceCountsWithMAXIMUM (int value)
 
int GetPENDING () const
 
bool PENDINGHasBeenSet () const
 
void SetPENDING (int value)
 
EC2InstanceCountsWithPENDING (int value)
 
int GetACTIVE () const
 
bool ACTIVEHasBeenSet () const
 
void SetACTIVE (int value)
 
EC2InstanceCountsWithACTIVE (int value)
 
int GetIDLE () const
 
bool IDLEHasBeenSet () const
 
void SetIDLE (int value)
 
EC2InstanceCountsWithIDLE (int value)
 
int GetTERMINATING () const
 
bool TERMINATINGHasBeenSet () const
 
void SetTERMINATING (int value)
 
EC2InstanceCountsWithTERMINATING (int value)
 

Detailed Description

Resource capacity settings. Fleet capacity is measured in EC2 instances. Pending and terminating counts are non-zero when the fleet capacity is adjusting to a scaling event or if access to resources is temporarily affected.

EC2 instance counts are part of FleetCapacity.

See Also:

AWS API Reference

Definition at line 32 of file EC2InstanceCounts.h.

Constructor & Destructor Documentation

◆ EC2InstanceCounts() [1/2]

Aws::GameLift::Model::EC2InstanceCounts::EC2InstanceCounts ( )

◆ EC2InstanceCounts() [2/2]

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

Member Function Documentation

◆ ACTIVEHasBeenSet()

bool Aws::GameLift::Model::EC2InstanceCounts::ACTIVEHasBeenSet ( ) const
inline

Actual number of instances that are ready to host game sessions.

Definition at line 141 of file EC2InstanceCounts.h.

◆ DESIREDHasBeenSet()

bool Aws::GameLift::Model::EC2InstanceCounts::DESIREDHasBeenSet ( ) const
inline

Ideal number of active instances. GameLift will always try to maintain the desired number of instances. Capacity is scaled up or down by changing the desired instances.

Definition at line 53 of file EC2InstanceCounts.h.

◆ GetACTIVE()

int Aws::GameLift::Model::EC2InstanceCounts::GetACTIVE ( ) const
inline

Actual number of instances that are ready to host game sessions.

Definition at line 136 of file EC2InstanceCounts.h.

◆ GetDESIRED()

int Aws::GameLift::Model::EC2InstanceCounts::GetDESIRED ( ) const
inline

Ideal number of active instances. GameLift will always try to maintain the desired number of instances. Capacity is scaled up or down by changing the desired instances.

Definition at line 46 of file EC2InstanceCounts.h.

◆ GetIDLE()

int Aws::GameLift::Model::EC2InstanceCounts::GetIDLE ( ) const
inline

Number of active instances that are not currently hosting a game session.

Definition at line 157 of file EC2InstanceCounts.h.

◆ GetMAXIMUM()

int Aws::GameLift::Model::EC2InstanceCounts::GetMAXIMUM ( ) const
inline

The maximum instance count value allowed.

Definition at line 94 of file EC2InstanceCounts.h.

◆ GetMINIMUM()

int Aws::GameLift::Model::EC2InstanceCounts::GetMINIMUM ( ) const
inline

The minimum instance count value allowed.

Definition at line 73 of file EC2InstanceCounts.h.

◆ GetPENDING()

int Aws::GameLift::Model::EC2InstanceCounts::GetPENDING ( ) const
inline

Number of instances that are starting but not yet active.

Definition at line 115 of file EC2InstanceCounts.h.

◆ GetTERMINATING()

int Aws::GameLift::Model::EC2InstanceCounts::GetTERMINATING ( ) const
inline

Number of instances that are no longer active but haven't yet been terminated.

Definition at line 179 of file EC2InstanceCounts.h.

◆ IDLEHasBeenSet()

bool Aws::GameLift::Model::EC2InstanceCounts::IDLEHasBeenSet ( ) const
inline

Number of active instances that are not currently hosting a game session.

Definition at line 162 of file EC2InstanceCounts.h.

◆ Jsonize()

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

◆ MAXIMUMHasBeenSet()

bool Aws::GameLift::Model::EC2InstanceCounts::MAXIMUMHasBeenSet ( ) const
inline

The maximum instance count value allowed.

Definition at line 99 of file EC2InstanceCounts.h.

◆ MINIMUMHasBeenSet()

bool Aws::GameLift::Model::EC2InstanceCounts::MINIMUMHasBeenSet ( ) const
inline

The minimum instance count value allowed.

Definition at line 78 of file EC2InstanceCounts.h.

◆ operator=()

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

◆ PENDINGHasBeenSet()

bool Aws::GameLift::Model::EC2InstanceCounts::PENDINGHasBeenSet ( ) const
inline

Number of instances that are starting but not yet active.

Definition at line 120 of file EC2InstanceCounts.h.

◆ SetACTIVE()

void Aws::GameLift::Model::EC2InstanceCounts::SetACTIVE ( int  value)
inline

Actual number of instances that are ready to host game sessions.

Definition at line 146 of file EC2InstanceCounts.h.

◆ SetDESIRED()

void Aws::GameLift::Model::EC2InstanceCounts::SetDESIRED ( int  value)
inline

Ideal number of active instances. GameLift will always try to maintain the desired number of instances. Capacity is scaled up or down by changing the desired instances.

Definition at line 60 of file EC2InstanceCounts.h.

◆ SetIDLE()

void Aws::GameLift::Model::EC2InstanceCounts::SetIDLE ( int  value)
inline

Number of active instances that are not currently hosting a game session.

Definition at line 167 of file EC2InstanceCounts.h.

◆ SetMAXIMUM()

void Aws::GameLift::Model::EC2InstanceCounts::SetMAXIMUM ( int  value)
inline

The maximum instance count value allowed.

Definition at line 104 of file EC2InstanceCounts.h.

◆ SetMINIMUM()

void Aws::GameLift::Model::EC2InstanceCounts::SetMINIMUM ( int  value)
inline

The minimum instance count value allowed.

Definition at line 83 of file EC2InstanceCounts.h.

◆ SetPENDING()

void Aws::GameLift::Model::EC2InstanceCounts::SetPENDING ( int  value)
inline

Number of instances that are starting but not yet active.

Definition at line 125 of file EC2InstanceCounts.h.

◆ SetTERMINATING()

void Aws::GameLift::Model::EC2InstanceCounts::SetTERMINATING ( int  value)
inline

Number of instances that are no longer active but haven't yet been terminated.

Definition at line 191 of file EC2InstanceCounts.h.

◆ TERMINATINGHasBeenSet()

bool Aws::GameLift::Model::EC2InstanceCounts::TERMINATINGHasBeenSet ( ) const
inline

Number of instances that are no longer active but haven't yet been terminated.

Definition at line 185 of file EC2InstanceCounts.h.

◆ WithACTIVE()

EC2InstanceCounts& Aws::GameLift::Model::EC2InstanceCounts::WithACTIVE ( int  value)
inline

Actual number of instances that are ready to host game sessions.

Definition at line 151 of file EC2InstanceCounts.h.

◆ WithDESIRED()

EC2InstanceCounts& Aws::GameLift::Model::EC2InstanceCounts::WithDESIRED ( int  value)
inline

Ideal number of active instances. GameLift will always try to maintain the desired number of instances. Capacity is scaled up or down by changing the desired instances.

Definition at line 67 of file EC2InstanceCounts.h.

◆ WithIDLE()

EC2InstanceCounts& Aws::GameLift::Model::EC2InstanceCounts::WithIDLE ( int  value)
inline

Number of active instances that are not currently hosting a game session.

Definition at line 172 of file EC2InstanceCounts.h.

◆ WithMAXIMUM()

EC2InstanceCounts& Aws::GameLift::Model::EC2InstanceCounts::WithMAXIMUM ( int  value)
inline

The maximum instance count value allowed.

Definition at line 109 of file EC2InstanceCounts.h.

◆ WithMINIMUM()

EC2InstanceCounts& Aws::GameLift::Model::EC2InstanceCounts::WithMINIMUM ( int  value)
inline

The minimum instance count value allowed.

Definition at line 88 of file EC2InstanceCounts.h.

◆ WithPENDING()

EC2InstanceCounts& Aws::GameLift::Model::EC2InstanceCounts::WithPENDING ( int  value)
inline

Number of instances that are starting but not yet active.

Definition at line 130 of file EC2InstanceCounts.h.

◆ WithTERMINATING()

EC2InstanceCounts& Aws::GameLift::Model::EC2InstanceCounts::WithTERMINATING ( int  value)
inline

Number of instances that are no longer active but haven't yet been terminated.

Definition at line 197 of file EC2InstanceCounts.h.


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