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>
92 template <
typename GameSessionIdT = Aws::String>
94 m_gameSessionIdHasBeenSet =
true;
95 m_gameSessionId = std::forward<GameSessionIdT>(value);
97 template <
typename GameSessionIdT = Aws::String>
111 template <
typename FleetIdT = Aws::String>
113 m_fleetIdHasBeenSet =
true;
114 m_fleetId = std::forward<FleetIdT>(value);
116 template <
typename FleetIdT = Aws::String>
132 template <
typename FleetArnT = Aws::String>
134 m_fleetArnHasBeenSet =
true;
135 m_fleetArn = std::forward<FleetArnT>(value);
137 template <
typename FleetArnT = Aws::String>
152 template <
typename CreationTimeT = Aws::Utils::DateTime>
154 m_creationTimeHasBeenSet =
true;
155 m_creationTime = std::forward<CreationTimeT>(value);
157 template <
typename CreationTimeT = Aws::Utils::DateTime>
172 template <
typename TerminationTimeT = Aws::Utils::DateTime>
174 m_terminationTimeHasBeenSet =
true;
175 m_terminationTime = std::forward<TerminationTimeT>(value);
177 template <
typename TerminationTimeT = Aws::Utils::DateTime>
199 m_statusHasBeenSet =
true;
215 template <
typename IpAddressT = Aws::String>
217 m_ipAddressHasBeenSet =
true;
218 m_ipAddress = std::forward<IpAddressT>(value);
220 template <
typename IpAddressT = Aws::String>
242 template <
typename DnsNameT = Aws::String>
244 m_dnsNameHasBeenSet =
true;
245 m_dnsName = std::forward<DnsNameT>(value);
247 template <
typename DnsNameT = Aws::String>
259 inline int64_t
GetPort()
const {
return m_port; }
262 m_portHasBeenSet =
true;
279 template <
typename PlayerDataT = Aws::String>
281 m_playerDataHasBeenSet =
true;
282 m_playerData = std::forward<PlayerDataT>(value);
284 template <
typename PlayerDataT = Aws::String>
314 bool m_playerSessionIdHasBeenSet =
false;
315 bool m_playerIdHasBeenSet =
false;
316 bool m_gameSessionIdHasBeenSet =
false;
317 bool m_fleetIdHasBeenSet =
false;
318 bool m_fleetArnHasBeenSet =
false;
319 bool m_creationTimeHasBeenSet =
false;
320 bool m_terminationTimeHasBeenSet =
false;
321 bool m_statusHasBeenSet =
false;
322 bool m_ipAddressHasBeenSet =
false;
323 bool m_dnsNameHasBeenSet =
false;
324 bool m_portHasBeenSet =
false;
325 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