/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Amazon GameLift service limits for an Amazon EC2 instance type and
* current utilization. Amazon GameLift allows Amazon Web Services accounts a
* maximum number of instances, per instance type, per Amazon Web Services Region
* or location, for use with Amazon GameLift. You can request an limit increase for
* your account by using the Service limits page in the Amazon GameLift
* console.See Also:
AWS
* API Reference
The name of an Amazon EC2 instance type. See Amazon Elastic Compute Cloud * Instance Types for detailed descriptions.
*/ inline const EC2InstanceType& GetEC2InstanceType() const{ return m_eC2InstanceType; } /** *The name of an Amazon EC2 instance type. See Amazon Elastic Compute Cloud * Instance Types for detailed descriptions.
*/ inline bool EC2InstanceTypeHasBeenSet() const { return m_eC2InstanceTypeHasBeenSet; } /** *The name of an Amazon EC2 instance type. See Amazon Elastic Compute Cloud * Instance Types for detailed descriptions.
*/ inline void SetEC2InstanceType(const EC2InstanceType& value) { m_eC2InstanceTypeHasBeenSet = true; m_eC2InstanceType = value; } /** *The name of an Amazon EC2 instance type. See Amazon Elastic Compute Cloud * Instance Types for detailed descriptions.
*/ inline void SetEC2InstanceType(EC2InstanceType&& value) { m_eC2InstanceTypeHasBeenSet = true; m_eC2InstanceType = std::move(value); } /** *The name of an Amazon EC2 instance type. See Amazon Elastic Compute Cloud * Instance Types for detailed descriptions.
*/ inline EC2InstanceLimit& WithEC2InstanceType(const EC2InstanceType& value) { SetEC2InstanceType(value); return *this;} /** *The name of an Amazon EC2 instance type. See Amazon Elastic Compute Cloud * Instance Types for detailed descriptions.
*/ inline EC2InstanceLimit& WithEC2InstanceType(EC2InstanceType&& value) { SetEC2InstanceType(std::move(value)); return *this;} /** *The number of instances for the specified type and location that are * currently being used by the Amazon Web Services account.
*/ inline int GetCurrentInstances() const{ return m_currentInstances; } /** *The number of instances for the specified type and location that are * currently being used by the Amazon Web Services account.
*/ inline bool CurrentInstancesHasBeenSet() const { return m_currentInstancesHasBeenSet; } /** *The number of instances for the specified type and location that are * currently being used by the Amazon Web Services account.
*/ inline void SetCurrentInstances(int value) { m_currentInstancesHasBeenSet = true; m_currentInstances = value; } /** *The number of instances for the specified type and location that are * currently being used by the Amazon Web Services account.
*/ inline EC2InstanceLimit& WithCurrentInstances(int value) { SetCurrentInstances(value); return *this;} /** *The number of instances that is allowed for the specified instance type and * location.
*/ inline int GetInstanceLimit() const{ return m_instanceLimit; } /** *The number of instances that is allowed for the specified instance type and * location.
*/ inline bool InstanceLimitHasBeenSet() const { return m_instanceLimitHasBeenSet; } /** *The number of instances that is allowed for the specified instance type and * location.
*/ inline void SetInstanceLimit(int value) { m_instanceLimitHasBeenSet = true; m_instanceLimit = value; } /** *The number of instances that is allowed for the specified instance type and * location.
*/ inline EC2InstanceLimit& WithInstanceLimit(int value) { SetInstanceLimit(value); return *this;} /** *An Amazon Web Services Region code, such as us-west-2
.
An Amazon Web Services Region code, such as us-west-2
.
An Amazon Web Services Region code, such as us-west-2
.
An Amazon Web Services Region code, such as us-west-2
.
An Amazon Web Services Region code, such as us-west-2
.
An Amazon Web Services Region code, such as us-west-2
.
An Amazon Web Services Region code, such as us-west-2
.
An Amazon Web Services Region code, such as us-west-2
.