7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/model/EC2InstanceType.h>
10#include <aws/gamelift/model/EC2InstanceCounts.h>
11#include <aws/gamelift/model/ReplicaContainerGroupCounts.h>
59 inline void SetFleetId(
const char* value) { m_fleetIdHasBeenSet =
true; m_fleetId.assign(value); }
77 inline void SetFleetArn(
const char* value) { m_fleetArnHasBeenSet =
true; m_fleetArn.assign(value); }
123 inline void SetLocation(
const char* value) { m_locationHasBeenSet =
true; m_location.assign(value); }
145 bool m_fleetIdHasBeenSet =
false;
148 bool m_fleetArnHasBeenSet =
false;
151 bool m_instanceTypeHasBeenSet =
false;
154 bool m_instanceCountsHasBeenSet =
false;
157 bool m_locationHasBeenSet =
false;
160 bool m_replicaContainerGroupCountsHasBeenSet =
false;
FleetCapacity & WithFleetId(const char *value)
bool LocationHasBeenSet() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFleetId(const char *value)
void SetInstanceCounts(const EC2InstanceCounts &value)
void SetFleetArn(Aws::String &&value)
void SetFleetId(const Aws::String &value)
void SetReplicaContainerGroupCounts(const ReplicaContainerGroupCounts &value)
void SetInstanceCounts(EC2InstanceCounts &&value)
const EC2InstanceCounts & GetInstanceCounts() const
void SetLocation(const char *value)
bool FleetIdHasBeenSet() const
bool FleetArnHasBeenSet() const
FleetCapacity & WithReplicaContainerGroupCounts(const ReplicaContainerGroupCounts &value)
void SetFleetArn(const char *value)
void SetInstanceType(EC2InstanceType &&value)
const Aws::String & GetFleetArn() const
FleetCapacity & WithFleetArn(Aws::String &&value)
const ReplicaContainerGroupCounts & GetReplicaContainerGroupCounts() const
bool InstanceCountsHasBeenSet() const
FleetCapacity & WithLocation(Aws::String &&value)
void SetFleetArn(const Aws::String &value)
FleetCapacity & WithFleetArn(const Aws::String &value)
void SetFleetId(Aws::String &&value)
void SetInstanceType(const EC2InstanceType &value)
FleetCapacity & WithInstanceType(const EC2InstanceType &value)
FleetCapacity & WithFleetArn(const char *value)
void SetLocation(const Aws::String &value)
const Aws::String & GetLocation() const
void SetReplicaContainerGroupCounts(ReplicaContainerGroupCounts &&value)
const EC2InstanceType & GetInstanceType() const
AWS_GAMELIFT_API FleetCapacity & operator=(Aws::Utils::Json::JsonView jsonValue)
FleetCapacity & WithInstanceCounts(const EC2InstanceCounts &value)
FleetCapacity & WithLocation(const Aws::String &value)
AWS_GAMELIFT_API FleetCapacity(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFleetId() const
FleetCapacity & WithFleetId(const Aws::String &value)
FleetCapacity & WithLocation(const char *value)
FleetCapacity & WithInstanceCounts(EC2InstanceCounts &&value)
AWS_GAMELIFT_API FleetCapacity()
FleetCapacity & WithInstanceType(EC2InstanceType &&value)
bool ReplicaContainerGroupCountsHasBeenSet() const
bool InstanceTypeHasBeenSet() const
FleetCapacity & WithReplicaContainerGroupCounts(ReplicaContainerGroupCounts &&value)
FleetCapacity & WithFleetId(Aws::String &&value)
void SetLocation(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue