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/PlayerGatewayStatus.h>
15#include <aws/gamelift/model/PlayerSessionCreationPolicy.h>
56 template <
typename GameSessionIdT = Aws::String>
58 m_gameSessionIdHasBeenSet =
true;
59 m_gameSessionId = std::forward<GameSessionIdT>(value);
61 template <
typename GameSessionIdT = Aws::String>
75 template <
typename NameT = Aws::String>
77 m_nameHasBeenSet =
true;
78 m_name = std::forward<NameT>(value);
80 template <
typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
93 template <
typename FleetIdT = Aws::String>
95 m_fleetIdHasBeenSet =
true;
96 m_fleetId = std::forward<FleetIdT>(value);
98 template <
typename FleetIdT = Aws::String>
113 template <
typename FleetArnT = Aws::String>
115 m_fleetArnHasBeenSet =
true;
116 m_fleetArn = std::forward<FleetArnT>(value);
118 template <
typename FleetArnT = Aws::String>
133 template <
typename CreationTimeT = Aws::Utils::DateTime>
135 m_creationTimeHasBeenSet =
true;
136 m_creationTime = std::forward<CreationTimeT>(value);
138 template <
typename CreationTimeT = Aws::Utils::DateTime>
153 template <
typename TerminationTimeT = Aws::Utils::DateTime>
155 m_terminationTimeHasBeenSet =
true;
156 m_terminationTime = std::forward<TerminationTimeT>(value);
158 template <
typename TerminationTimeT = Aws::Utils::DateTime>
172 m_currentPlayerSessionCountHasBeenSet =
true;
173 m_currentPlayerSessionCount = value;
189 m_maximumPlayerSessionCountHasBeenSet =
true;
190 m_maximumPlayerSessionCount = value;
206 m_statusHasBeenSet =
true;
230 m_statusReasonHasBeenSet =
true;
231 m_statusReason = value;
253 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
255 m_gamePropertiesHasBeenSet =
true;
256 m_gameProperties = std::forward<GamePropertiesT>(value);
258 template <
typename GamePropertiesT = Aws::Vector<GameProperty>>
263 template <
typename GamePropertiesT = GameProperty>
265 m_gamePropertiesHasBeenSet =
true;
266 m_gameProperties.emplace_back(std::forward<GamePropertiesT>(value));
278 template <
typename IpAddressT = Aws::String>
280 m_ipAddressHasBeenSet =
true;
281 m_ipAddress = std::forward<IpAddressT>(value);
283 template <
typename IpAddressT = Aws::String>
305 template <
typename DnsNameT = Aws::String>
307 m_dnsNameHasBeenSet =
true;
308 m_dnsName = std::forward<DnsNameT>(value);
310 template <
typename DnsNameT = Aws::String>
325 m_portHasBeenSet =
true;
341 m_playerSessionCreationPolicyHasBeenSet =
true;
342 m_playerSessionCreationPolicy = value;
358 template <
typename CreatorIdT = Aws::String>
360 m_creatorIdHasBeenSet =
true;
361 m_creatorId = std::forward<CreatorIdT>(value);
363 template <
typename CreatorIdT = Aws::String>
380 template <
typename GameSessionDataT = Aws::String>
382 m_gameSessionDataHasBeenSet =
true;
383 m_gameSessionData = std::forward<GameSessionDataT>(value);
385 template <
typename GameSessionDataT = Aws::String>
406 template <
typename MatchmakerDataT = Aws::String>
408 m_matchmakerDataHasBeenSet =
true;
409 m_matchmakerData = std::forward<MatchmakerDataT>(value);
411 template <
typename MatchmakerDataT = Aws::String>
426 template <
typename LocationT = Aws::String>
428 m_locationHasBeenSet =
true;
429 m_location = std::forward<LocationT>(value);
431 template <
typename LocationT = Aws::String>
448 template <
typename ComputeNameT = Aws::String>
450 m_computeNameHasBeenSet =
true;
451 m_computeName = std::forward<ComputeNameT>(value);
453 template <
typename ComputeNameT = Aws::String>
475 m_playerGatewayStatusHasBeenSet =
true;
476 m_playerGatewayStatus = value;
496 int m_currentPlayerSessionCount{0};
498 int m_maximumPlayerSessionCount{0};
525 bool m_gameSessionIdHasBeenSet =
false;
526 bool m_nameHasBeenSet =
false;
527 bool m_fleetIdHasBeenSet =
false;
528 bool m_fleetArnHasBeenSet =
false;
529 bool m_creationTimeHasBeenSet =
false;
530 bool m_terminationTimeHasBeenSet =
false;
531 bool m_currentPlayerSessionCountHasBeenSet =
false;
532 bool m_maximumPlayerSessionCountHasBeenSet =
false;
533 bool m_statusHasBeenSet =
false;
534 bool m_statusReasonHasBeenSet =
false;
535 bool m_gamePropertiesHasBeenSet =
false;
536 bool m_ipAddressHasBeenSet =
false;
537 bool m_dnsNameHasBeenSet =
false;
538 bool m_portHasBeenSet =
false;
539 bool m_playerSessionCreationPolicyHasBeenSet =
false;
540 bool m_creatorIdHasBeenSet =
false;
541 bool m_gameSessionDataHasBeenSet =
false;
542 bool m_matchmakerDataHasBeenSet =
false;
543 bool m_locationHasBeenSet =
false;
544 bool m_computeNameHasBeenSet =
false;
545 bool m_playerGatewayStatusHasBeenSet =
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 & WithPlayerGatewayStatus(PlayerGatewayStatus value)
GameSession & WithName(NameT &&value)
const Aws::String & GetGameSessionData() const
bool PlayerSessionCreationPolicyHasBeenSet() const
GameSession & WithGameSessionId(GameSessionIdT &&value)
GameSessionStatusReason GetStatusReason() const
GameSession & WithLocation(LocationT &&value)
void SetComputeName(ComputeNameT &&value)
GameSession & WithComputeName(ComputeNameT &&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)
PlayerGatewayStatus GetPlayerGatewayStatus() const
bool GamePropertiesHasBeenSet() const
void SetPlayerSessionCreationPolicy(PlayerSessionCreationPolicy value)
int GetCurrentPlayerSessionCount() const
bool DnsNameHasBeenSet() const
bool GameSessionDataHasBeenSet() const
const Aws::String & GetComputeName() 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 SetPlayerGatewayStatus(PlayerGatewayStatus value)
void SetGameSessionId(GameSessionIdT &&value)
bool ComputeNameHasBeenSet() const
bool MaximumPlayerSessionCountHasBeenSet() const
GameSession & WithCreatorId(CreatorIdT &&value)
bool PlayerGatewayStatusHasBeenSet() const
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