7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/gamelift/model/LaunchTemplateSpecification.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/gamelift/model/GameServerGroupAutoScalingPolicy.h>
13#include <aws/gamelift/model/BalancingStrategy.h>
14#include <aws/gamelift/model/GameServerProtectionPolicy.h>
15#include <aws/gamelift/model/InstanceDefinition.h>
16#include <aws/gamelift/model/Tag.h>
55 inline void SetGameServerGroupName(
const char* value) { m_gameServerGroupNameHasBeenSet =
true; m_gameServerGroupName.assign(value); }
72 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
89 inline void SetMinSize(
int value) { m_minSizeHasBeenSet =
true; m_minSize = value; }
103 inline void SetMaxSize(
int value) { m_maxSizeHasBeenSet =
true; m_maxSize = value; }
262 bool m_gameServerGroupNameHasBeenSet =
false;
265 bool m_roleArnHasBeenSet =
false;
268 bool m_minSizeHasBeenSet =
false;
271 bool m_maxSizeHasBeenSet =
false;
274 bool m_launchTemplateHasBeenSet =
false;
277 bool m_instanceDefinitionsHasBeenSet =
false;
280 bool m_autoScalingPolicyHasBeenSet =
false;
283 bool m_balancingStrategyHasBeenSet =
false;
286 bool m_gameServerProtectionPolicyHasBeenSet =
false;
289 bool m_vpcSubnetsHasBeenSet =
false;
292 bool m_tagsHasBeenSet =
false;
const Aws::Vector< InstanceDefinition > & GetInstanceDefinitions() const
bool GameServerGroupNameHasBeenSet() const
void SetMinSize(int value)
void SetRoleArn(Aws::String &&value)
void SetVpcSubnets(Aws::Vector< Aws::String > &&value)
CreateGameServerGroupRequest & WithInstanceDefinitions(Aws::Vector< InstanceDefinition > &&value)
CreateGameServerGroupRequest & WithRoleArn(Aws::String &&value)
CreateGameServerGroupRequest & WithGameServerGroupName(const char *value)
AWS_GAMELIFT_API CreateGameServerGroupRequest()
bool MaxSizeHasBeenSet() const
void SetRoleArn(const char *value)
CreateGameServerGroupRequest & WithLaunchTemplate(const LaunchTemplateSpecification &value)
CreateGameServerGroupRequest & WithGameServerGroupName(const Aws::String &value)
CreateGameServerGroupRequest & WithAutoScalingPolicy(GameServerGroupAutoScalingPolicy &&value)
CreateGameServerGroupRequest & AddVpcSubnets(Aws::String &&value)
const GameServerGroupAutoScalingPolicy & GetAutoScalingPolicy() const
bool GameServerProtectionPolicyHasBeenSet() const
bool AutoScalingPolicyHasBeenSet() const
bool InstanceDefinitionsHasBeenSet() const
void SetRoleArn(const Aws::String &value)
void SetBalancingStrategy(const BalancingStrategy &value)
bool BalancingStrategyHasBeenSet() const
CreateGameServerGroupRequest & WithGameServerGroupName(Aws::String &&value)
bool LaunchTemplateHasBeenSet() const
void SetInstanceDefinitions(Aws::Vector< InstanceDefinition > &&value)
const GameServerProtectionPolicy & GetGameServerProtectionPolicy() const
void SetAutoScalingPolicy(const GameServerGroupAutoScalingPolicy &value)
CreateGameServerGroupRequest & WithBalancingStrategy(const BalancingStrategy &value)
CreateGameServerGroupRequest & WithAutoScalingPolicy(const GameServerGroupAutoScalingPolicy &value)
void SetVpcSubnets(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Tag > & GetTags() const
void SetGameServerGroupName(Aws::String &&value)
void SetLaunchTemplate(const LaunchTemplateSpecification &value)
void SetTags(Aws::Vector< Tag > &&value)
CreateGameServerGroupRequest & WithVpcSubnets(const Aws::Vector< Aws::String > &value)
void SetGameServerGroupName(const Aws::String &value)
CreateGameServerGroupRequest & WithGameServerProtectionPolicy(GameServerProtectionPolicy &&value)
CreateGameServerGroupRequest & AddTags(Tag &&value)
CreateGameServerGroupRequest & WithRoleArn(const Aws::String &value)
void SetBalancingStrategy(BalancingStrategy &&value)
CreateGameServerGroupRequest & WithLaunchTemplate(LaunchTemplateSpecification &&value)
void SetLaunchTemplate(LaunchTemplateSpecification &&value)
CreateGameServerGroupRequest & WithTags(Aws::Vector< Tag > &&value)
CreateGameServerGroupRequest & WithRoleArn(const char *value)
bool VpcSubnetsHasBeenSet() const
void SetAutoScalingPolicy(GameServerGroupAutoScalingPolicy &&value)
CreateGameServerGroupRequest & AddVpcSubnets(const char *value)
CreateGameServerGroupRequest & AddTags(const Tag &value)
void SetGameServerGroupName(const char *value)
CreateGameServerGroupRequest & WithMinSize(int value)
const BalancingStrategy & GetBalancingStrategy() const
CreateGameServerGroupRequest & WithInstanceDefinitions(const Aws::Vector< InstanceDefinition > &value)
bool MinSizeHasBeenSet() const
const LaunchTemplateSpecification & GetLaunchTemplate() const
CreateGameServerGroupRequest & AddInstanceDefinitions(const InstanceDefinition &value)
void SetGameServerProtectionPolicy(const GameServerProtectionPolicy &value)
CreateGameServerGroupRequest & WithTags(const Aws::Vector< Tag > &value)
CreateGameServerGroupRequest & AddVpcSubnets(const Aws::String &value)
const Aws::Vector< Aws::String > & GetVpcSubnets() const
bool RoleArnHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetRoleArn() const
bool TagsHasBeenSet() const
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateGameServerGroupRequest & WithVpcSubnets(Aws::Vector< Aws::String > &&value)
const Aws::String & GetGameServerGroupName() const
void SetInstanceDefinitions(const Aws::Vector< InstanceDefinition > &value)
CreateGameServerGroupRequest & WithGameServerProtectionPolicy(const GameServerProtectionPolicy &value)
CreateGameServerGroupRequest & WithBalancingStrategy(BalancingStrategy &&value)
CreateGameServerGroupRequest & AddInstanceDefinitions(InstanceDefinition &&value)
CreateGameServerGroupRequest & WithMaxSize(int value)
void SetGameServerProtectionPolicy(GameServerProtectionPolicy &&value)
void SetMaxSize(int value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
GameServerProtectionPolicy
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector