7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/gamelift/model/BalancingStrategy.h>
11#include <aws/gamelift/model/GameServerProtectionPolicy.h>
12#include <aws/gamelift/model/GameServerGroupStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/gamelift/model/InstanceDefinition.h>
15#include <aws/gamelift/model/GameServerGroupAction.h>
64 inline void SetGameServerGroupName(
const char* value) { m_gameServerGroupNameHasBeenSet =
true; m_gameServerGroupName.assign(value); }
78 inline void SetGameServerGroupArn(
const char* value) { m_gameServerGroupArnHasBeenSet =
true; m_gameServerGroupArn.assign(value); }
95 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
171 inline void SetAutoScalingGroupArn(
const char* value) { m_autoScalingGroupArnHasBeenSet =
true; m_autoScalingGroupArn.assign(value); }
214 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
263 bool m_gameServerGroupNameHasBeenSet =
false;
266 bool m_gameServerGroupArnHasBeenSet =
false;
269 bool m_roleArnHasBeenSet =
false;
272 bool m_instanceDefinitionsHasBeenSet =
false;
275 bool m_balancingStrategyHasBeenSet =
false;
278 bool m_gameServerProtectionPolicyHasBeenSet =
false;
281 bool m_autoScalingGroupArnHasBeenSet =
false;
284 bool m_statusHasBeenSet =
false;
287 bool m_statusReasonHasBeenSet =
false;
290 bool m_suspendedActionsHasBeenSet =
false;
293 bool m_creationTimeHasBeenSet =
false;
296 bool m_lastUpdatedTimeHasBeenSet =
false;
void SetGameServerGroupArn(Aws::String &&value)
GameServerGroup & WithGameServerProtectionPolicy(const GameServerProtectionPolicy &value)
GameServerGroup & WithStatusReason(const char *value)
GameServerGroup & WithStatus(GameServerGroupStatus &&value)
bool GameServerGroupArnHasBeenSet() const
void SetCreationTime(Aws::Utils::DateTime &&value)
GameServerGroup & WithSuspendedActions(const Aws::Vector< GameServerGroupAction > &value)
AWS_GAMELIFT_API GameServerGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
GameServerGroup & WithGameServerGroupName(Aws::String &&value)
void SetGameServerGroupName(const char *value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
GameServerGroup & WithRoleArn(const Aws::String &value)
GameServerGroup & WithGameServerGroupName(const char *value)
void SetInstanceDefinitions(const Aws::Vector< InstanceDefinition > &value)
GameServerGroup & WithBalancingStrategy(BalancingStrategy &&value)
GameServerGroup & WithAutoScalingGroupArn(const char *value)
void SetSuspendedActions(Aws::Vector< GameServerGroupAction > &&value)
void SetRoleArn(const char *value)
void SetStatus(GameServerGroupStatus &&value)
GameServerGroup & AddInstanceDefinitions(InstanceDefinition &&value)
const GameServerGroupStatus & GetStatus() const
bool LastUpdatedTimeHasBeenSet() const
const Aws::String & GetStatusReason() const
void SetGameServerGroupName(Aws::String &&value)
void SetStatusReason(Aws::String &&value)
void SetRoleArn(Aws::String &&value)
void SetAutoScalingGroupArn(const Aws::String &value)
bool GameServerGroupNameHasBeenSet() const
const Aws::String & GetAutoScalingGroupArn() const
bool InstanceDefinitionsHasBeenSet() const
const Aws::String & GetGameServerGroupArn() const
GameServerGroup & WithStatus(const GameServerGroupStatus &value)
void SetStatus(const GameServerGroupStatus &value)
void SetSuspendedActions(const Aws::Vector< GameServerGroupAction > &value)
AWS_GAMELIFT_API GameServerGroup()
void SetRoleArn(const Aws::String &value)
GameServerGroup & WithGameServerProtectionPolicy(GameServerProtectionPolicy &&value)
GameServerGroup & WithCreationTime(const Aws::Utils::DateTime &value)
GameServerGroup & WithCreationTime(Aws::Utils::DateTime &&value)
bool AutoScalingGroupArnHasBeenSet() const
const Aws::Vector< InstanceDefinition > & GetInstanceDefinitions() const
void SetBalancingStrategy(BalancingStrategy &&value)
GameServerGroup & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
bool SuspendedActionsHasBeenSet() const
const Aws::Vector< GameServerGroupAction > & GetSuspendedActions() const
GameServerGroup & AddSuspendedActions(GameServerGroupAction &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
const BalancingStrategy & GetBalancingStrategy() const
void SetGameServerGroupArn(const char *value)
GameServerGroup & WithStatusReason(Aws::String &&value)
const Aws::String & GetRoleArn() const
GameServerGroup & WithAutoScalingGroupArn(const Aws::String &value)
bool BalancingStrategyHasBeenSet() const
bool GameServerProtectionPolicyHasBeenSet() const
GameServerGroup & WithBalancingStrategy(const BalancingStrategy &value)
void SetGameServerProtectionPolicy(const GameServerProtectionPolicy &value)
GameServerGroup & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
GameServerGroup & AddSuspendedActions(const GameServerGroupAction &value)
void SetAutoScalingGroupArn(const char *value)
void SetStatusReason(const Aws::String &value)
void SetGameServerProtectionPolicy(GameServerProtectionPolicy &&value)
AWS_GAMELIFT_API GameServerGroup(Aws::Utils::Json::JsonView jsonValue)
GameServerGroup & WithInstanceDefinitions(const Aws::Vector< InstanceDefinition > &value)
void SetBalancingStrategy(const BalancingStrategy &value)
GameServerGroup & WithRoleArn(const char *value)
void SetStatusReason(const char *value)
const GameServerProtectionPolicy & GetGameServerProtectionPolicy() const
void SetGameServerGroupArn(const Aws::String &value)
GameServerGroup & WithRoleArn(Aws::String &&value)
GameServerGroup & WithGameServerGroupArn(const char *value)
const Aws::String & GetGameServerGroupName() const
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetInstanceDefinitions(Aws::Vector< InstanceDefinition > &&value)
bool CreationTimeHasBeenSet() const
GameServerGroup & WithStatusReason(const Aws::String &value)
void SetGameServerGroupName(const Aws::String &value)
GameServerGroup & WithAutoScalingGroupArn(Aws::String &&value)
bool StatusHasBeenSet() const
void SetCreationTime(const Aws::Utils::DateTime &value)
GameServerGroup & AddInstanceDefinitions(const InstanceDefinition &value)
bool StatusReasonHasBeenSet() const
GameServerGroup & WithGameServerGroupArn(Aws::String &&value)
GameServerGroup & WithGameServerGroupArn(const Aws::String &value)
GameServerGroup & WithGameServerGroupName(const Aws::String &value)
void SetAutoScalingGroupArn(Aws::String &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
GameServerGroup & WithInstanceDefinitions(Aws::Vector< InstanceDefinition > &&value)
GameServerGroup & WithSuspendedActions(Aws::Vector< GameServerGroupAction > &&value)
bool RoleArnHasBeenSet() const
GameServerProtectionPolicy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue