7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11#include <aws/gamelift/model/BalancingStrategy.h>
12#include <aws/gamelift/model/GameServerGroupAction.h>
13#include <aws/gamelift/model/GameServerGroupStatus.h>
14#include <aws/gamelift/model/GameServerProtectionPolicy.h>
15#include <aws/gamelift/model/InstanceDefinition.h>
55 template <
typename GameServerGroupNameT = Aws::String>
57 m_gameServerGroupNameHasBeenSet =
true;
58 m_gameServerGroupName = std::forward<GameServerGroupNameT>(value);
60 template <
typename GameServerGroupNameT = Aws::String>
73 template <
typename GameServerGroupArnT = Aws::String>
75 m_gameServerGroupArnHasBeenSet =
true;
76 m_gameServerGroupArn = std::forward<GameServerGroupArnT>(value);
78 template <
typename GameServerGroupArnT = Aws::String>
94 template <
typename RoleArnT = Aws::String>
96 m_roleArnHasBeenSet =
true;
97 m_roleArn = std::forward<RoleArnT>(value);
99 template <
typename RoleArnT = Aws::String>
114 template <
typename InstanceDefinitionsT = Aws::Vector<InstanceDefinition>>
116 m_instanceDefinitionsHasBeenSet =
true;
117 m_instanceDefinitions = std::forward<InstanceDefinitionsT>(value);
119 template <
typename InstanceDefinitionsT = Aws::Vector<InstanceDefinition>>
124 template <
typename InstanceDefinitionsT = InstanceDefinition>
126 m_instanceDefinitionsHasBeenSet =
true;
127 m_instanceDefinitions.emplace_back(std::forward<InstanceDefinitionsT>(value));
154 m_balancingStrategyHasBeenSet =
true;
155 m_balancingStrategy = value;
176 m_gameServerProtectionPolicyHasBeenSet =
true;
177 m_gameServerProtectionPolicy = value;
192 template <
typename AutoScalingGroupArnT = Aws::String>
194 m_autoScalingGroupArnHasBeenSet =
true;
195 m_autoScalingGroupArn = std::forward<AutoScalingGroupArnT>(value);
197 template <
typename AutoScalingGroupArnT = Aws::String>
226 m_statusHasBeenSet =
true;
243 template <
typename StatusReasonT = Aws::String>
245 m_statusReasonHasBeenSet =
true;
246 m_statusReason = std::forward<StatusReasonT>(value);
248 template <
typename StatusReasonT = Aws::String>
262 template <
typename SuspendedActionsT = Aws::Vector<GameServerGroupAction>>
264 m_suspendedActionsHasBeenSet =
true;
265 m_suspendedActions = std::forward<SuspendedActionsT>(value);
267 template <
typename SuspendedActionsT = Aws::Vector<GameServerGroupAction>>
273 m_suspendedActionsHasBeenSet =
true;
274 m_suspendedActions.push_back(value);
287 template <
typename CreationTimeT = Aws::Utils::DateTime>
289 m_creationTimeHasBeenSet =
true;
290 m_creationTime = std::forward<CreationTimeT>(value);
292 template <
typename CreationTimeT = Aws::Utils::DateTime>
305 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
307 m_lastUpdatedTimeHasBeenSet =
true;
308 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
310 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
340 bool m_gameServerGroupNameHasBeenSet =
false;
341 bool m_gameServerGroupArnHasBeenSet =
false;
342 bool m_roleArnHasBeenSet =
false;
343 bool m_instanceDefinitionsHasBeenSet =
false;
344 bool m_balancingStrategyHasBeenSet =
false;
345 bool m_gameServerProtectionPolicyHasBeenSet =
false;
346 bool m_autoScalingGroupArnHasBeenSet =
false;
347 bool m_statusHasBeenSet =
false;
348 bool m_statusReasonHasBeenSet =
false;
349 bool m_suspendedActionsHasBeenSet =
false;
350 bool m_creationTimeHasBeenSet =
false;
351 bool m_lastUpdatedTimeHasBeenSet =
false;
bool GameServerGroupArnHasBeenSet() const
GameServerGroup & WithAutoScalingGroupArn(AutoScalingGroupArnT &&value)
void SetStatus(GameServerGroupStatus value)
AWS_GAMELIFT_API GameServerGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetGameServerGroupArn(GameServerGroupArnT &&value)
GameServerGroup & WithLastUpdatedTime(LastUpdatedTimeT &&value)
bool LastUpdatedTimeHasBeenSet() const
const Aws::String & GetStatusReason() const
bool GameServerGroupNameHasBeenSet() const
const Aws::String & GetAutoScalingGroupArn() const
bool InstanceDefinitionsHasBeenSet() const
const Aws::String & GetGameServerGroupArn() const
void SetSuspendedActions(SuspendedActionsT &&value)
void SetCreationTime(CreationTimeT &&value)
BalancingStrategy GetBalancingStrategy() const
GameServerGroup & WithStatusReason(StatusReasonT &&value)
GameServerGroup & WithBalancingStrategy(BalancingStrategy value)
void SetRoleArn(RoleArnT &&value)
bool AutoScalingGroupArnHasBeenSet() const
const Aws::Vector< InstanceDefinition > & GetInstanceDefinitions() const
bool SuspendedActionsHasBeenSet() const
const Aws::Vector< GameServerGroupAction > & GetSuspendedActions() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGameServerGroupName(GameServerGroupNameT &&value)
const Aws::String & GetRoleArn() const
bool BalancingStrategyHasBeenSet() const
bool GameServerProtectionPolicyHasBeenSet() const
GameServerGroup & WithGameServerGroupArn(GameServerGroupArnT &&value)
GameServerGroup & WithStatus(GameServerGroupStatus value)
GameServerProtectionPolicy GetGameServerProtectionPolicy() const
GameServerGroup & AddSuspendedActions(GameServerGroupAction value)
AWS_GAMELIFT_API GameServerGroup(Aws::Utils::Json::JsonView jsonValue)
void SetStatusReason(StatusReasonT &&value)
void SetInstanceDefinitions(InstanceDefinitionsT &&value)
GameServerGroup & AddInstanceDefinitions(InstanceDefinitionsT &&value)
void SetAutoScalingGroupArn(AutoScalingGroupArnT &&value)
void SetBalancingStrategy(BalancingStrategy value)
GameServerGroup & WithRoleArn(RoleArnT &&value)
const Aws::String & GetGameServerGroupName() const
GameServerGroup & WithGameServerProtectionPolicy(GameServerProtectionPolicy value)
GameServerGroup & WithGameServerGroupName(GameServerGroupNameT &&value)
bool CreationTimeHasBeenSet() const
bool StatusHasBeenSet() const
AWS_GAMELIFT_API GameServerGroup()=default
GameServerGroup & WithCreationTime(CreationTimeT &&value)
bool StatusReasonHasBeenSet() const
void SetGameServerProtectionPolicy(GameServerProtectionPolicy value)
GameServerGroup & WithInstanceDefinitions(InstanceDefinitionsT &&value)
GameServerGroup & WithSuspendedActions(SuspendedActionsT &&value)
GameServerGroupStatus GetStatus() const
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