7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/gamelift/model/GameSessionStatus.h>
11#include <aws/gamelift/model/GameSessionStatusReason.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/gamelift/model/PlayerSessionCreationPolicy.h>
14#include <aws/gamelift/model/GameProperty.h>
61 template<
typename GameSessionIdT = Aws::String>
62 void SetGameSessionId(GameSessionIdT&& value) { m_gameSessionIdHasBeenSet =
true; m_gameSessionId = std::forward<GameSessionIdT>(value); }
63 template<
typename GameSessionIdT = Aws::String>
74 template<
typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
76 template<
typename NameT = Aws::String>
86 template<
typename FleetIdT = Aws::String>
87 void SetFleetId(FleetIdT&& value) { m_fleetIdHasBeenSet =
true; m_fleetId = std::forward<FleetIdT>(value); }
88 template<
typename FleetIdT = Aws::String>
100 template<
typename FleetArnT = Aws::String>
101 void SetFleetArn(FleetArnT&& value) { m_fleetArnHasBeenSet =
true; m_fleetArn = std::forward<FleetArnT>(value); }
102 template<
typename FleetArnT = Aws::String>
114 template<
typename CreationTimeT = Aws::Utils::DateTime>
115 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
116 template<
typename CreationTimeT = Aws::Utils::DateTime>
128 template<
typename TerminationTimeT = Aws::Utils::DateTime>
129 void SetTerminationTime(TerminationTimeT&& value) { m_terminationTimeHasBeenSet =
true; m_terminationTime = std::forward<TerminationTimeT>(value); }
130 template<
typename TerminationTimeT = Aws::Utils::DateTime>
191 template<
typename GamePropertiesT = Aws::Vector<GameProperty>>
192 void SetGameProperties(GamePropertiesT&& value) { m_gamePropertiesHasBeenSet =
true; m_gameProperties = std::forward<GamePropertiesT>(value); }
193 template<
typename GamePropertiesT = Aws::Vector<GameProperty>>
195 template<
typename GamePropertiesT = GameProperty>
196 GameSession&
AddGameProperties(GamePropertiesT&& value) { m_gamePropertiesHasBeenSet =
true; m_gameProperties.emplace_back(std::forward<GamePropertiesT>(value));
return *
this; }
206 template<
typename IpAddressT = Aws::String>
207 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet =
true; m_ipAddress = std::forward<IpAddressT>(value); }
208 template<
typename IpAddressT = Aws::String>
227 template<
typename DnsNameT = Aws::String>
228 void SetDnsName(DnsNameT&& value) { m_dnsNameHasBeenSet =
true; m_dnsName = std::forward<DnsNameT>(value); }
229 template<
typename DnsNameT = Aws::String>
240 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
262 template<
typename CreatorIdT = Aws::String>
263 void SetCreatorId(CreatorIdT&& value) { m_creatorIdHasBeenSet =
true; m_creatorId = std::forward<CreatorIdT>(value); }
264 template<
typename CreatorIdT = Aws::String>
278 template<
typename GameSessionDataT = Aws::String>
279 void SetGameSessionData(GameSessionDataT&& value) { m_gameSessionDataHasBeenSet =
true; m_gameSessionData = std::forward<GameSessionDataT>(value); }
280 template<
typename GameSessionDataT = Aws::String>
298 template<
typename MatchmakerDataT = Aws::String>
299 void SetMatchmakerData(MatchmakerDataT&& value) { m_matchmakerDataHasBeenSet =
true; m_matchmakerData = std::forward<MatchmakerDataT>(value); }
300 template<
typename MatchmakerDataT = Aws::String>
312 template<
typename LocationT = Aws::String>
313 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
314 template<
typename LocationT = Aws::String>
320 bool m_gameSessionIdHasBeenSet =
false;
323 bool m_nameHasBeenSet =
false;
326 bool m_fleetIdHasBeenSet =
false;
329 bool m_fleetArnHasBeenSet =
false;
332 bool m_creationTimeHasBeenSet =
false;
335 bool m_terminationTimeHasBeenSet =
false;
337 int m_currentPlayerSessionCount{0};
338 bool m_currentPlayerSessionCountHasBeenSet =
false;
340 int m_maximumPlayerSessionCount{0};
341 bool m_maximumPlayerSessionCountHasBeenSet =
false;
344 bool m_statusHasBeenSet =
false;
347 bool m_statusReasonHasBeenSet =
false;
350 bool m_gamePropertiesHasBeenSet =
false;
353 bool m_ipAddressHasBeenSet =
false;
356 bool m_dnsNameHasBeenSet =
false;
359 bool m_portHasBeenSet =
false;
362 bool m_playerSessionCreationPolicyHasBeenSet =
false;
365 bool m_creatorIdHasBeenSet =
false;
368 bool m_gameSessionDataHasBeenSet =
false;
371 bool m_matchmakerDataHasBeenSet =
false;
374 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