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

#include <InstanceDefinition.h>

Public Member Functions

 InstanceDefinition ()
 
 InstanceDefinition (Aws::Utils::Json::JsonView jsonValue)
 
InstanceDefinitionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const GameServerGroupInstanceTypeGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const GameServerGroupInstanceType &value)
 
void SetInstanceType (GameServerGroupInstanceType &&value)
 
InstanceDefinitionWithInstanceType (const GameServerGroupInstanceType &value)
 
InstanceDefinitionWithInstanceType (GameServerGroupInstanceType &&value)
 
const Aws::StringGetWeightedCapacity () const
 
bool WeightedCapacityHasBeenSet () const
 
void SetWeightedCapacity (const Aws::String &value)
 
void SetWeightedCapacity (Aws::String &&value)
 
void SetWeightedCapacity (const char *value)
 
InstanceDefinitionWithWeightedCapacity (const Aws::String &value)
 
InstanceDefinitionWithWeightedCapacity (Aws::String &&value)
 
InstanceDefinitionWithWeightedCapacity (const char *value)
 

Detailed Description

This data type is used with the Amazon GameLift FleetIQ and game server groups.

An allowed instance type for a GameServerGroup. All game server groups must have at least two instance types defined for it. GameLift FleetIQ periodically evaluates each defined instance type for viability. It then updates the Auto Scaling group with the list of viable instance types.

See Also:

AWS API Reference

Definition at line 37 of file InstanceDefinition.h.

Constructor & Destructor Documentation

◆ InstanceDefinition() [1/2]

Aws::GameLift::Model::InstanceDefinition::InstanceDefinition ( )

◆ InstanceDefinition() [2/2]

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

Member Function Documentation

◆ GetInstanceType()

const GameServerGroupInstanceType& Aws::GameLift::Model::InstanceDefinition::GetInstanceType ( ) const
inline

An EC2 instance type designation.

Definition at line 49 of file InstanceDefinition.h.

◆ GetWeightedCapacity()

const Aws::String& Aws::GameLift::Model::InstanceDefinition::GetWeightedCapacity ( ) const
inline

Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group. Instance weights are used by GameLift FleetIQ to calculate the instance type's cost per unit hour and better identify the most cost-effective options. For detailed information on weighting instance capacity, see Instance Weighting in the Amazon EC2 Auto Scaling User Guide. Default value is "1".

Definition at line 87 of file InstanceDefinition.h.

◆ InstanceTypeHasBeenSet()

bool Aws::GameLift::Model::InstanceDefinition::InstanceTypeHasBeenSet ( ) const
inline

An EC2 instance type designation.

Definition at line 54 of file InstanceDefinition.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetInstanceType() [1/2]

void Aws::GameLift::Model::InstanceDefinition::SetInstanceType ( const GameServerGroupInstanceType value)
inline

An EC2 instance type designation.

Definition at line 59 of file InstanceDefinition.h.

◆ SetInstanceType() [2/2]

void Aws::GameLift::Model::InstanceDefinition::SetInstanceType ( GameServerGroupInstanceType &&  value)
inline

An EC2 instance type designation.

Definition at line 64 of file InstanceDefinition.h.

◆ SetWeightedCapacity() [1/3]

void Aws::GameLift::Model::InstanceDefinition::SetWeightedCapacity ( const Aws::String value)
inline

Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group. Instance weights are used by GameLift FleetIQ to calculate the instance type's cost per unit hour and better identify the most cost-effective options. For detailed information on weighting instance capacity, see Instance Weighting in the Amazon EC2 Auto Scaling User Guide. Default value is "1".

Definition at line 111 of file InstanceDefinition.h.

◆ SetWeightedCapacity() [2/3]

void Aws::GameLift::Model::InstanceDefinition::SetWeightedCapacity ( Aws::String &&  value)
inline

Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group. Instance weights are used by GameLift FleetIQ to calculate the instance type's cost per unit hour and better identify the most cost-effective options. For detailed information on weighting instance capacity, see Instance Weighting in the Amazon EC2 Auto Scaling User Guide. Default value is "1".

Definition at line 123 of file InstanceDefinition.h.

◆ SetWeightedCapacity() [3/3]

void Aws::GameLift::Model::InstanceDefinition::SetWeightedCapacity ( const char *  value)
inline

Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group. Instance weights are used by GameLift FleetIQ to calculate the instance type's cost per unit hour and better identify the most cost-effective options. For detailed information on weighting instance capacity, see Instance Weighting in the Amazon EC2 Auto Scaling User Guide. Default value is "1".

Definition at line 135 of file InstanceDefinition.h.

◆ WeightedCapacityHasBeenSet()

bool Aws::GameLift::Model::InstanceDefinition::WeightedCapacityHasBeenSet ( ) const
inline

Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group. Instance weights are used by GameLift FleetIQ to calculate the instance type's cost per unit hour and better identify the most cost-effective options. For detailed information on weighting instance capacity, see Instance Weighting in the Amazon EC2 Auto Scaling User Guide. Default value is "1".

Definition at line 99 of file InstanceDefinition.h.

◆ WithInstanceType() [1/2]

InstanceDefinition& Aws::GameLift::Model::InstanceDefinition::WithInstanceType ( const GameServerGroupInstanceType value)
inline

An EC2 instance type designation.

Definition at line 69 of file InstanceDefinition.h.

◆ WithInstanceType() [2/2]

InstanceDefinition& Aws::GameLift::Model::InstanceDefinition::WithInstanceType ( GameServerGroupInstanceType &&  value)
inline

An EC2 instance type designation.

Definition at line 74 of file InstanceDefinition.h.

◆ WithWeightedCapacity() [1/3]

InstanceDefinition& Aws::GameLift::Model::InstanceDefinition::WithWeightedCapacity ( const Aws::String value)
inline

Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group. Instance weights are used by GameLift FleetIQ to calculate the instance type's cost per unit hour and better identify the most cost-effective options. For detailed information on weighting instance capacity, see Instance Weighting in the Amazon EC2 Auto Scaling User Guide. Default value is "1".

Definition at line 147 of file InstanceDefinition.h.

◆ WithWeightedCapacity() [2/3]

InstanceDefinition& Aws::GameLift::Model::InstanceDefinition::WithWeightedCapacity ( Aws::String &&  value)
inline

Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group. Instance weights are used by GameLift FleetIQ to calculate the instance type's cost per unit hour and better identify the most cost-effective options. For detailed information on weighting instance capacity, see Instance Weighting in the Amazon EC2 Auto Scaling User Guide. Default value is "1".

Definition at line 159 of file InstanceDefinition.h.

◆ WithWeightedCapacity() [3/3]

InstanceDefinition& Aws::GameLift::Model::InstanceDefinition::WithWeightedCapacity ( const char *  value)
inline

Instance weighting that indicates how much this instance type contributes to the total capacity of a game server group. Instance weights are used by GameLift FleetIQ to calculate the instance type's cost per unit hour and better identify the most cost-effective options. For detailed information on weighting instance capacity, see Instance Weighting in the Amazon EC2 Auto Scaling User Guide. Default value is "1".

Definition at line 171 of file InstanceDefinition.h.


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