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

#include <EC2InstanceLimit.h>

Public Member Functions

 EC2InstanceLimit ()
 
 EC2InstanceLimit (Aws::Utils::Json::JsonView jsonValue)
 
EC2InstanceLimitoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const EC2InstanceTypeGetEC2InstanceType () const
 
bool EC2InstanceTypeHasBeenSet () const
 
void SetEC2InstanceType (const EC2InstanceType &value)
 
void SetEC2InstanceType (EC2InstanceType &&value)
 
EC2InstanceLimitWithEC2InstanceType (const EC2InstanceType &value)
 
EC2InstanceLimitWithEC2InstanceType (EC2InstanceType &&value)
 
int GetCurrentInstances () const
 
bool CurrentInstancesHasBeenSet () const
 
void SetCurrentInstances (int value)
 
EC2InstanceLimitWithCurrentInstances (int value)
 
int GetInstanceLimit () const
 
bool InstanceLimitHasBeenSet () const
 
void SetInstanceLimit (int value)
 
EC2InstanceLimitWithInstanceLimit (int value)
 
const Aws::StringGetLocation () const
 
bool LocationHasBeenSet () const
 
void SetLocation (const Aws::String &value)
 
void SetLocation (Aws::String &&value)
 
void SetLocation (const char *value)
 
EC2InstanceLimitWithLocation (const Aws::String &value)
 
EC2InstanceLimitWithLocation (Aws::String &&value)
 
EC2InstanceLimitWithLocation (const char *value)
 

Detailed Description

The GameLift service limits for an EC2 instance type and current utilization. GameLift allows AWS accounts a maximum number of instances, per instance type, per AWS Region or location, for use with GameLift. You can request an limit increase for your account by using the Service limits page in the GameLift console.

Related actions

DescribeEC2InstanceLimits

See Also:

AWS API Reference

Definition at line 37 of file EC2InstanceLimit.h.

Constructor & Destructor Documentation

◆ EC2InstanceLimit() [1/2]

Aws::GameLift::Model::EC2InstanceLimit::EC2InstanceLimit ( )

◆ EC2InstanceLimit() [2/2]

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

Member Function Documentation

◆ CurrentInstancesHasBeenSet()

bool Aws::GameLift::Model::EC2InstanceLimit::CurrentInstancesHasBeenSet ( ) const
inline

The number of instances for the specified type and location that are currently being used by the AWS account.

Definition at line 99 of file EC2InstanceLimit.h.

◆ EC2InstanceTypeHasBeenSet()

bool Aws::GameLift::Model::EC2InstanceLimit::EC2InstanceTypeHasBeenSet ( ) const
inline

The name of an EC2 instance type. See Amazon EC2 Instance Types for detailed descriptions.

Definition at line 58 of file EC2InstanceLimit.h.

◆ GetCurrentInstances()

int Aws::GameLift::Model::EC2InstanceLimit::GetCurrentInstances ( ) const
inline

The number of instances for the specified type and location that are currently being used by the AWS account.

Definition at line 93 of file EC2InstanceLimit.h.

◆ GetEC2InstanceType()

const EC2InstanceType& Aws::GameLift::Model::EC2InstanceLimit::GetEC2InstanceType ( ) const
inline

The name of an EC2 instance type. See Amazon EC2 Instance Types for detailed descriptions.

Definition at line 51 of file EC2InstanceLimit.h.

◆ GetInstanceLimit()

int Aws::GameLift::Model::EC2InstanceLimit::GetInstanceLimit ( ) const
inline

The number of instances that is allowed for the specified instance type and location.

Definition at line 118 of file EC2InstanceLimit.h.

◆ GetLocation()

const Aws::String& Aws::GameLift::Model::EC2InstanceLimit::GetLocation ( ) const
inline

An AWS Region code, such as us-west-2.

Definition at line 142 of file EC2InstanceLimit.h.

◆ InstanceLimitHasBeenSet()

bool Aws::GameLift::Model::EC2InstanceLimit::InstanceLimitHasBeenSet ( ) const
inline

The number of instances that is allowed for the specified instance type and location.

Definition at line 124 of file EC2InstanceLimit.h.

◆ Jsonize()

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

◆ LocationHasBeenSet()

bool Aws::GameLift::Model::EC2InstanceLimit::LocationHasBeenSet ( ) const
inline

An AWS Region code, such as us-west-2.

Definition at line 147 of file EC2InstanceLimit.h.

◆ operator=()

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

◆ SetCurrentInstances()

void Aws::GameLift::Model::EC2InstanceLimit::SetCurrentInstances ( int  value)
inline

The number of instances for the specified type and location that are currently being used by the AWS account.

Definition at line 105 of file EC2InstanceLimit.h.

◆ SetEC2InstanceType() [1/2]

void Aws::GameLift::Model::EC2InstanceLimit::SetEC2InstanceType ( const EC2InstanceType value)
inline

The name of an EC2 instance type. See Amazon EC2 Instance Types for detailed descriptions.

Definition at line 65 of file EC2InstanceLimit.h.

◆ SetEC2InstanceType() [2/2]

void Aws::GameLift::Model::EC2InstanceLimit::SetEC2InstanceType ( EC2InstanceType &&  value)
inline

The name of an EC2 instance type. See Amazon EC2 Instance Types for detailed descriptions.

Definition at line 72 of file EC2InstanceLimit.h.

◆ SetInstanceLimit()

void Aws::GameLift::Model::EC2InstanceLimit::SetInstanceLimit ( int  value)
inline

The number of instances that is allowed for the specified instance type and location.

Definition at line 130 of file EC2InstanceLimit.h.

◆ SetLocation() [1/3]

void Aws::GameLift::Model::EC2InstanceLimit::SetLocation ( Aws::String &&  value)
inline

An AWS Region code, such as us-west-2.

Definition at line 157 of file EC2InstanceLimit.h.

◆ SetLocation() [2/3]

void Aws::GameLift::Model::EC2InstanceLimit::SetLocation ( const Aws::String value)
inline

An AWS Region code, such as us-west-2.

Definition at line 152 of file EC2InstanceLimit.h.

◆ SetLocation() [3/3]

void Aws::GameLift::Model::EC2InstanceLimit::SetLocation ( const char *  value)
inline

An AWS Region code, such as us-west-2.

Definition at line 162 of file EC2InstanceLimit.h.

◆ WithCurrentInstances()

EC2InstanceLimit& Aws::GameLift::Model::EC2InstanceLimit::WithCurrentInstances ( int  value)
inline

The number of instances for the specified type and location that are currently being used by the AWS account.

Definition at line 111 of file EC2InstanceLimit.h.

◆ WithEC2InstanceType() [1/2]

EC2InstanceLimit& Aws::GameLift::Model::EC2InstanceLimit::WithEC2InstanceType ( const EC2InstanceType value)
inline

The name of an EC2 instance type. See Amazon EC2 Instance Types for detailed descriptions.

Definition at line 79 of file EC2InstanceLimit.h.

◆ WithEC2InstanceType() [2/2]

EC2InstanceLimit& Aws::GameLift::Model::EC2InstanceLimit::WithEC2InstanceType ( EC2InstanceType &&  value)
inline

The name of an EC2 instance type. See Amazon EC2 Instance Types for detailed descriptions.

Definition at line 86 of file EC2InstanceLimit.h.

◆ WithInstanceLimit()

EC2InstanceLimit& Aws::GameLift::Model::EC2InstanceLimit::WithInstanceLimit ( int  value)
inline

The number of instances that is allowed for the specified instance type and location.

Definition at line 136 of file EC2InstanceLimit.h.

◆ WithLocation() [1/3]

EC2InstanceLimit& Aws::GameLift::Model::EC2InstanceLimit::WithLocation ( Aws::String &&  value)
inline

An AWS Region code, such as us-west-2.

Definition at line 172 of file EC2InstanceLimit.h.

◆ WithLocation() [2/3]

EC2InstanceLimit& Aws::GameLift::Model::EC2InstanceLimit::WithLocation ( const Aws::String value)
inline

An AWS Region code, such as us-west-2.

Definition at line 167 of file EC2InstanceLimit.h.

◆ WithLocation() [3/3]

EC2InstanceLimit& Aws::GameLift::Model::EC2InstanceLimit::WithLocation ( const char *  value)
inline

An AWS Region code, such as us-west-2.

Definition at line 177 of file EC2InstanceLimit.h.


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