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>
62 template<
typename GameServerGroupNameT = Aws::String>
63 void SetGameServerGroupName(GameServerGroupNameT&& value) { m_gameServerGroupNameHasBeenSet =
true; m_gameServerGroupName = std::forward<GameServerGroupNameT>(value); }
64 template<
typename GameServerGroupNameT = Aws::String>
74 template<
typename GameServerGroupArnT = Aws::String>
75 void SetGameServerGroupArn(GameServerGroupArnT&& value) { m_gameServerGroupArnHasBeenSet =
true; m_gameServerGroupArn = std::forward<GameServerGroupArnT>(value); }
76 template<
typename GameServerGroupArnT = Aws::String>
89 template<
typename RoleArnT = Aws::String>
90 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
91 template<
typename RoleArnT = Aws::String>
103 template<
typename InstanceDefinitionsT = Aws::Vector<InstanceDefinition>>
104 void SetInstanceDefinitions(InstanceDefinitionsT&& value) { m_instanceDefinitionsHasBeenSet =
true; m_instanceDefinitions = std::forward<InstanceDefinitionsT>(value); }
105 template<
typename InstanceDefinitionsT = Aws::Vector<InstanceDefinition>>
107 template<
typename InstanceDefinitionsT = InstanceDefinition>
108 GameServerGroup&
AddInstanceDefinitions(InstanceDefinitionsT&& value) { m_instanceDefinitionsHasBeenSet =
true; m_instanceDefinitions.emplace_back(std::forward<InstanceDefinitionsT>(value));
return *
this; }
159 template<
typename AutoScalingGroupArnT = Aws::String>
160 void SetAutoScalingGroupArn(AutoScalingGroupArnT&& value) { m_autoScalingGroupArnHasBeenSet =
true; m_autoScalingGroupArn = std::forward<AutoScalingGroupArnT>(value); }
161 template<
typename AutoScalingGroupArnT = Aws::String>
198 template<
typename StatusReasonT = Aws::String>
199 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
200 template<
typename StatusReasonT = Aws::String>
211 template<
typename SuspendedActionsT = Aws::Vector<GameServerGroupAction>>
212 void SetSuspendedActions(SuspendedActionsT&& value) { m_suspendedActionsHasBeenSet =
true; m_suspendedActions = std::forward<SuspendedActionsT>(value); }
213 template<
typename SuspendedActionsT = Aws::Vector<GameServerGroupAction>>
226 template<
typename CreationTimeT = Aws::Utils::DateTime>
227 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
228 template<
typename CreationTimeT = Aws::Utils::DateTime>
238 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
239 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
240 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
246 bool m_gameServerGroupNameHasBeenSet =
false;
249 bool m_gameServerGroupArnHasBeenSet =
false;
252 bool m_roleArnHasBeenSet =
false;
255 bool m_instanceDefinitionsHasBeenSet =
false;
258 bool m_balancingStrategyHasBeenSet =
false;
261 bool m_gameServerProtectionPolicyHasBeenSet =
false;
264 bool m_autoScalingGroupArnHasBeenSet =
false;
267 bool m_statusHasBeenSet =
false;
270 bool m_statusReasonHasBeenSet =
false;
273 bool m_suspendedActionsHasBeenSet =
false;
276 bool m_creationTimeHasBeenSet =
false;
279 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