7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11#include <aws/gamelift/model/PlayerSessionStatus.h>
42 AWS_GAMELIFT_API
PlayerSession(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
44 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
52 template <
typename PlayerSessionIdT = Aws::String>
54 m_playerSessionIdHasBeenSet =
true;
55 m_playerSessionId = std::forward<PlayerSessionIdT>(value);
57 template <
typename PlayerSessionIdT = Aws::String>
71 template <
typename PlayerIdT = Aws::String>
73 m_playerIdHasBeenSet =
true;
74 m_playerId = std::forward<PlayerIdT>(value);
76 template <
typename PlayerIdT = Aws::String>
95 template <
typename GameSessionIdT = Aws::String>
97 m_gameSessionIdHasBeenSet =
true;
98 m_gameSessionId = std::forward<GameSessionIdT>(value);
100 template <
typename GameSessionIdT = Aws::String>
114 template <
typename FleetIdT = Aws::String>
116 m_fleetIdHasBeenSet =
true;
117 m_fleetId = std::forward<FleetIdT>(value);
119 template <
typename FleetIdT = Aws::String>
135 template <
typename FleetArnT = Aws::String>
137 m_fleetArnHasBeenSet =
true;
138 m_fleetArn = std::forward<FleetArnT>(value);
140 template <
typename FleetArnT = Aws::String>
155 template <
typename CreationTimeT = Aws::Utils::DateTime>
157 m_creationTimeHasBeenSet =
true;
158 m_creationTime = std::forward<CreationTimeT>(value);
160 template <
typename CreationTimeT = Aws::Utils::DateTime>
175 template <
typename TerminationTimeT = Aws::Utils::DateTime>
177 m_terminationTimeHasBeenSet =
true;
178 m_terminationTime = std::forward<TerminationTimeT>(value);
180 template <
typename TerminationTimeT = Aws::Utils::DateTime>
202 m_statusHasBeenSet =
true;
218 template <
typename IpAddressT = Aws::String>
220 m_ipAddressHasBeenSet =
true;
221 m_ipAddress = std::forward<IpAddressT>(value);
223 template <
typename IpAddressT = Aws::String>
245 template <
typename DnsNameT = Aws::String>
247 m_dnsNameHasBeenSet =
true;
248 m_dnsName = std::forward<DnsNameT>(value);
250 template <
typename DnsNameT = Aws::String>
262 inline int64_t
GetPort()
const {
return m_port; }
265 m_portHasBeenSet =
true;
282 template <
typename PlayerDataT = Aws::String>
284 m_playerDataHasBeenSet =
true;
285 m_playerData = std::forward<PlayerDataT>(value);
287 template <
typename PlayerDataT = Aws::String>
317 bool m_playerSessionIdHasBeenSet =
false;
318 bool m_playerIdHasBeenSet =
false;
319 bool m_gameSessionIdHasBeenSet =
false;
320 bool m_fleetIdHasBeenSet =
false;
321 bool m_fleetArnHasBeenSet =
false;
322 bool m_creationTimeHasBeenSet =
false;
323 bool m_terminationTimeHasBeenSet =
false;
324 bool m_statusHasBeenSet =
false;
325 bool m_ipAddressHasBeenSet =
false;
326 bool m_dnsNameHasBeenSet =
false;
327 bool m_portHasBeenSet =
false;
328 bool m_playerDataHasBeenSet =
false;
bool IpAddressHasBeenSet() const
const Aws::Utils::DateTime & GetTerminationTime() const
void SetFleetArn(FleetArnT &&value)
bool PlayerDataHasBeenSet() const
AWS_GAMELIFT_API PlayerSession()=default
bool FleetArnHasBeenSet() const
void SetPlayerSessionId(PlayerSessionIdT &&value)
void SetPlayerId(PlayerIdT &&value)
PlayerSession & WithPlayerId(PlayerIdT &&value)
bool PlayerSessionIdHasBeenSet() const
bool DnsNameHasBeenSet() const
bool FleetIdHasBeenSet() const
void SetCreationTime(CreationTimeT &&value)
void SetGameSessionId(GameSessionIdT &&value)
const Aws::String & GetIpAddress() const
const Aws::String & GetGameSessionId() const
const Aws::String & GetPlayerData() const
void SetIpAddress(IpAddressT &&value)
void SetPlayerData(PlayerDataT &&value)
const Aws::String & GetPlayerId() const
const Aws::Utils::DateTime & GetCreationTime() const
bool PlayerIdHasBeenSet() const
bool StatusHasBeenSet() const
AWS_GAMELIFT_API PlayerSession & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetFleetId() const
PlayerSession & WithFleetArn(FleetArnT &&value)
PlayerSession & WithPort(int64_t value)
PlayerSession & WithDnsName(DnsNameT &&value)
void SetStatus(PlayerSessionStatus value)
PlayerSession & WithGameSessionId(GameSessionIdT &&value)
bool TerminationTimeHasBeenSet() const
const Aws::String & GetDnsName() const
void SetTerminationTime(TerminationTimeT &&value)
PlayerSessionStatus GetStatus() const
PlayerSession & WithFleetId(FleetIdT &&value)
PlayerSession & WithIpAddress(IpAddressT &&value)
void SetDnsName(DnsNameT &&value)
bool GameSessionIdHasBeenSet() const
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetFleetArn() const
void SetPort(int64_t value)
const Aws::String & GetPlayerSessionId() const
PlayerSession & WithPlayerSessionId(PlayerSessionIdT &&value)
bool PortHasBeenSet() const
PlayerSession & WithCreationTime(CreationTimeT &&value)
PlayerSession & WithPlayerData(PlayerDataT &&value)
PlayerSession & WithStatus(PlayerSessionStatus value)
AWS_GAMELIFT_API PlayerSession(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetFleetId(FleetIdT &&value)
PlayerSession & WithTerminationTime(TerminationTimeT &&value)
bool CreationTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String