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/GameProperty.h>
12#include <aws/gamelift/model/GameSessionStatus.h>
13#include <aws/gamelift/model/GameSessionStatusReason.h>
14#include <aws/gamelift/model/PlayerSessionCreationPolicy.h>
55 template <
typename GameSessionIdT = Aws::String>
57 m_gameSessionIdHasBeenSet =
true;
58 m_gameSessionId = std::forward<GameSessionIdT>(value);
60 template <
typename GameSessionIdT = Aws::String>
74 template <
typename NameT = Aws::String>
76 m_nameHasBeenSet =
true;
77 m_name = std::forward<NameT>(value);
79 template <
typename NameT = Aws::String>
81 SetName(std::forward<NameT>(value));
92 template <
typename FleetIdT = Aws::String>
94 m_fleetIdHasBeenSet =
true;
95 m_fleetId = std::forward<FleetIdT>(value);
97 template <
typename FleetIdT = Aws::String>
112 template <
typename FleetArnT = Aws::String>
114 m_fleetArnHasBeenSet =
true;
115 m_fleetArn = std::forward<FleetArnT>(value);
117 template <
typename FleetArnT = Aws::String>
132 template <
typename CreationTimeT = Aws::Utils::DateTime>
134 m_creationTimeHasBeenSet =
true;
135 m_creationTime = std::forward<CreationTimeT>(value);
137 template <
typename CreationTimeT = Aws::Utils::DateTime>
152 template <
typename TerminationTimeT = Aws::Utils::DateTime>
154 m_terminationTimeHasBeenSet =
true;
155 m_terminationTime = std::forward<TerminationTimeT>(value);
157 template <
typename TerminationTimeT = Aws::Utils::DateTime>
171 m_currentPlayerSessionCountHasBeenSet =
true;
172 m_currentPlayerSessionCount = value;
188 m_maximumPlayerSessionCountHasBeenSet =
true;
189 m_maximumPlayerSessionCount = value;
205 m_statusHasBeenSet =
true;
229 m_statusReasonHasBeenSet =
true;
230 m_statusReason = value;
249 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
251 m_gamePropertiesHasBeenSet =
true;
252 m_gameProperties = std::forward<GamePropertiesT>(value);
254 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
259 template <
typename GamePropertiesT = GameProperty>
261 m_gamePropertiesHasBeenSet =
true;
262 m_gameProperties.emplace_back(std::forward<GamePropertiesT>(value));
274 template <
typename IpAddressT = Aws::String>
276 m_ipAddressHasBeenSet =
true;
277 m_ipAddress = std::forward<IpAddressT>(value);
279 template <
typename IpAddressT = Aws::String>
301 template <
typename DnsNameT = Aws::String>
303 m_dnsNameHasBeenSet =
true;
304 m_dnsName = std::forward<DnsNameT>(value);
306 template <
typename DnsNameT = Aws::String>
321 m_portHasBeenSet =
true;
337 m_playerSessionCreationPolicyHasBeenSet =
true;
338 m_playerSessionCreationPolicy = value;
354 template <
typename CreatorIdT = Aws::String>
356 m_creatorIdHasBeenSet =
true;
357 m_creatorId = std::forward<CreatorIdT>(value);
359 template <
typename CreatorIdT = Aws::String>
376 template <
typename GameSessionDataT = Aws::String>
378 m_gameSessionDataHasBeenSet =
true;
379 m_gameSessionData = std::forward<GameSessionDataT>(value);
381 template <
typename GameSessionDataT = Aws::String>
402 template <
typename MatchmakerDataT = Aws::String>
404 m_matchmakerDataHasBeenSet =
true;
405 m_matchmakerData = std::forward<MatchmakerDataT>(value);
407 template <
typename MatchmakerDataT = Aws::String>
422 template <
typename LocationT = Aws::String>
424 m_locationHasBeenSet =
true;
425 m_location = std::forward<LocationT>(value);
427 template <
typename LocationT = Aws::String>
446 int m_currentPlayerSessionCount{0};
448 int m_maximumPlayerSessionCount{0};
471 bool m_gameSessionIdHasBeenSet =
false;
472 bool m_nameHasBeenSet =
false;
473 bool m_fleetIdHasBeenSet =
false;
474 bool m_fleetArnHasBeenSet =
false;
475 bool m_creationTimeHasBeenSet =
false;
476 bool m_terminationTimeHasBeenSet =
false;
477 bool m_currentPlayerSessionCountHasBeenSet =
false;
478 bool m_maximumPlayerSessionCountHasBeenSet =
false;
479 bool m_statusHasBeenSet =
false;
480 bool m_statusReasonHasBeenSet =
false;
481 bool m_gamePropertiesHasBeenSet =
false;
482 bool m_ipAddressHasBeenSet =
false;
483 bool m_dnsNameHasBeenSet =
false;
484 bool m_portHasBeenSet =
false;
485 bool m_playerSessionCreationPolicyHasBeenSet =
false;
486 bool m_creatorIdHasBeenSet =
false;
487 bool m_gameSessionDataHasBeenSet =
false;
488 bool m_matchmakerDataHasBeenSet =
false;
489 bool m_locationHasBeenSet =
false;
PlayerSessionCreationPolicy GetPlayerSessionCreationPolicy() const
const Aws::Utils::DateTime & GetTerminationTime() const
void SetGameProperties(GamePropertiesT &&value)
bool CreationTimeHasBeenSet() const
const Aws::String & GetFleetId() const
void SetMaximumPlayerSessionCount(int value)
GameSession & WithStatusReason(GameSessionStatusReason value)
GameSession & WithName(NameT &&value)
const Aws::String & GetGameSessionData() const
bool PlayerSessionCreationPolicyHasBeenSet() const
GameSession & WithGameSessionId(GameSessionIdT &&value)
GameSessionStatusReason GetStatusReason() const
GameSession & WithLocation(LocationT &&value)
GameSession & WithIpAddress(IpAddressT &&value)
void SetFleetArn(FleetArnT &&value)
GameSession & WithCurrentPlayerSessionCount(int value)
GameSession & WithMaximumPlayerSessionCount(int value)
int GetMaximumPlayerSessionCount() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIpAddress(IpAddressT &&value)
AWS_GAMELIFT_API GameSession(Aws::Utils::Json::JsonView jsonValue)
bool GamePropertiesHasBeenSet() const
void SetPlayerSessionCreationPolicy(PlayerSessionCreationPolicy value)
int GetCurrentPlayerSessionCount() const
bool DnsNameHasBeenSet() const
bool GameSessionDataHasBeenSet() const
const Aws::String & GetDnsName() const
void SetName(NameT &&value)
GameSession & WithPort(int value)
GameSession & WithGameProperties(GamePropertiesT &&value)
bool NameHasBeenSet() const
const Aws::String & GetFleetArn() const
const Aws::String & GetLocation() const
GameSession & WithCreationTime(CreationTimeT &&value)
bool FleetIdHasBeenSet() const
void SetMatchmakerData(MatchmakerDataT &&value)
void SetGameSessionId(GameSessionIdT &&value)
bool MaximumPlayerSessionCountHasBeenSet() const
GameSession & WithCreatorId(CreatorIdT &&value)
AWS_GAMELIFT_API GameSession()=default
bool CreatorIdHasBeenSet() const
GameSession & WithTerminationTime(TerminationTimeT &&value)
void SetCreatorId(CreatorIdT &&value)
bool IpAddressHasBeenSet() const
GameSession & AddGameProperties(GamePropertiesT &&value)
void SetTerminationTime(TerminationTimeT &&value)
bool FleetArnHasBeenSet() const
const Aws::String & GetCreatorId() const
bool CurrentPlayerSessionCountHasBeenSet() const
bool TerminationTimeHasBeenSet() const
const Aws::String & GetName() const
void SetGameSessionData(GameSessionDataT &&value)
void SetCreationTime(CreationTimeT &&value)
GameSessionStatus GetStatus() const
bool StatusHasBeenSet() const
GameSession & WithFleetArn(FleetArnT &&value)
void SetFleetId(FleetIdT &&value)
GameSession & WithMatchmakerData(MatchmakerDataT &&value)
GameSession & WithFleetId(FleetIdT &&value)
GameSession & WithGameSessionData(GameSessionDataT &&value)
const Aws::Vector< GameProperty > & GetGameProperties() const
void SetStatusReason(GameSessionStatusReason value)
const Aws::Utils::DateTime & GetCreationTime() const
GameSession & WithPlayerSessionCreationPolicy(PlayerSessionCreationPolicy value)
bool LocationHasBeenSet() const
void SetDnsName(DnsNameT &&value)
bool GameSessionIdHasBeenSet() const
void SetCurrentPlayerSessionCount(int value)
void SetLocation(LocationT &&value)
bool PortHasBeenSet() const
const Aws::String & GetGameSessionId() const
bool MatchmakerDataHasBeenSet() const
void SetStatus(GameSessionStatus value)
AWS_GAMELIFT_API GameSession & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusReasonHasBeenSet() const
GameSession & WithStatus(GameSessionStatus value)
const Aws::String & GetMatchmakerData() const
const Aws::String & GetIpAddress() const
GameSession & WithDnsName(DnsNameT &&value)
PlayerSessionCreationPolicy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue