7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
9#include <aws/gamelift/model/GameServerGroupInstanceType.h>
46 m_instanceTypeHasBeenSet =
true;
47 m_instanceType = value;
68 template <
typename WeightedCapacityT = Aws::String>
70 m_weightedCapacityHasBeenSet =
true;
71 m_weightedCapacity = std::forward<WeightedCapacityT>(value);
73 template <
typename WeightedCapacityT = Aws::String>
83 bool m_instanceTypeHasBeenSet =
false;
84 bool m_weightedCapacityHasBeenSet =
false;
void SetWeightedCapacity(WeightedCapacityT &&value)
AWS_GAMELIFT_API InstanceDefinition()=default
bool InstanceTypeHasBeenSet() const
void SetInstanceType(GameServerGroupInstanceType value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFT_API InstanceDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceDefinition & WithWeightedCapacity(WeightedCapacityT &&value)
AWS_GAMELIFT_API InstanceDefinition(Aws::Utils::Json::JsonView jsonValue)
InstanceDefinition & WithInstanceType(GameServerGroupInstanceType value)
bool WeightedCapacityHasBeenSet() const
const Aws::String & GetWeightedCapacity() const
GameServerGroupInstanceType GetInstanceType() const
GameServerGroupInstanceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue