7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/model/EC2InstanceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
67 inline void SetCurrentInstances(
int value) { m_currentInstancesHasBeenSet =
true; m_currentInstances = value; }
78 inline void SetInstanceLimit(
int value) { m_instanceLimitHasBeenSet =
true; m_instanceLimit = value; }
90 inline void SetLocation(
const char* value) { m_locationHasBeenSet =
true; m_location.assign(value); }
98 bool m_eC2InstanceTypeHasBeenSet =
false;
100 int m_currentInstances;
101 bool m_currentInstancesHasBeenSet =
false;
104 bool m_instanceLimitHasBeenSet =
false;
107 bool m_locationHasBeenSet =
false;
const Aws::String & GetLocation() const
void SetLocation(const Aws::String &value)
EC2InstanceLimit & WithLocation(const char *value)
int GetInstanceLimit() const
int GetCurrentInstances() const
const EC2InstanceType & GetEC2InstanceType() const
void SetCurrentInstances(int value)
AWS_GAMELIFT_API EC2InstanceLimit(Aws::Utils::Json::JsonView jsonValue)
EC2InstanceLimit & WithLocation(Aws::String &&value)
void SetLocation(const char *value)
AWS_GAMELIFT_API EC2InstanceLimit()
void SetEC2InstanceType(const EC2InstanceType &value)
bool CurrentInstancesHasBeenSet() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
bool EC2InstanceTypeHasBeenSet() const
AWS_GAMELIFT_API EC2InstanceLimit & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LocationHasBeenSet() const
void SetLocation(Aws::String &&value)
EC2InstanceLimit & WithEC2InstanceType(EC2InstanceType &&value)
void SetInstanceLimit(int value)
EC2InstanceLimit & WithLocation(const Aws::String &value)
EC2InstanceLimit & WithEC2InstanceType(const EC2InstanceType &value)
bool InstanceLimitHasBeenSet() const
EC2InstanceLimit & WithCurrentInstances(int value)
void SetEC2InstanceType(EC2InstanceType &&value)
EC2InstanceLimit & WithInstanceLimit(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue