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/PlayerSessionStatus.h>
60 inline void SetPlayerSessionId(
const char* value) { m_playerSessionIdHasBeenSet =
true; m_playerSessionId.assign(value); }
75 inline void SetPlayerId(
const char* value) { m_playerIdHasBeenSet =
true; m_playerId.assign(value); }
90 inline void SetGameSessionId(
const char* value) { m_gameSessionIdHasBeenSet =
true; m_gameSessionId.assign(value); }
105 inline void SetFleetId(
const char* value) { m_fleetIdHasBeenSet =
true; m_fleetId.assign(value); }
122 inline void SetFleetArn(
const char* value) { m_fleetArnHasBeenSet =
true; m_fleetArn.assign(value); }
185 inline void SetIpAddress(
const char* value) { m_ipAddressHasBeenSet =
true; m_ipAddress.assign(value); }
208 inline void SetDnsName(
const char* value) { m_dnsNameHasBeenSet =
true; m_dnsName.assign(value); }
221 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
234 inline void SetPlayerData(
const char* value) { m_playerDataHasBeenSet =
true; m_playerData.assign(value); }
242 bool m_playerSessionIdHasBeenSet =
false;
245 bool m_playerIdHasBeenSet =
false;
248 bool m_gameSessionIdHasBeenSet =
false;
251 bool m_fleetIdHasBeenSet =
false;
254 bool m_fleetArnHasBeenSet =
false;
257 bool m_creationTimeHasBeenSet =
false;
260 bool m_terminationTimeHasBeenSet =
false;
263 bool m_statusHasBeenSet =
false;
266 bool m_ipAddressHasBeenSet =
false;
269 bool m_dnsNameHasBeenSet =
false;
272 bool m_portHasBeenSet =
false;
275 bool m_playerDataHasBeenSet =
false;
PlayerSession & WithIpAddress(const char *value)
AWS_GAMELIFT_API PlayerSession & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPlayerSessionId(const char *value)
PlayerSession & WithFleetArn(Aws::String &&value)
void SetIpAddress(const char *value)
void SetStatus(const PlayerSessionStatus &value)
bool IpAddressHasBeenSet() const
PlayerSession & WithGameSessionId(const char *value)
void SetFleetId(const Aws::String &value)
PlayerSession & WithPlayerSessionId(Aws::String &&value)
AWS_GAMELIFT_API PlayerSession(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetTerminationTime() const
PlayerSession & WithFleetId(Aws::String &&value)
void SetFleetId(const char *value)
bool PlayerDataHasBeenSet() const
bool FleetArnHasBeenSet() const
PlayerSession & WithIpAddress(Aws::String &&value)
void SetGameSessionId(const char *value)
void SetGameSessionId(const Aws::String &value)
PlayerSession & WithPlayerData(Aws::String &&value)
PlayerSession & WithCreationTime(const Aws::Utils::DateTime &value)
PlayerSession & WithPlayerId(Aws::String &&value)
void SetPlayerId(const Aws::String &value)
bool PlayerSessionIdHasBeenSet() const
void SetPlayerData(Aws::String &&value)
PlayerSession & WithGameSessionId(const Aws::String &value)
bool DnsNameHasBeenSet() const
PlayerSession & WithDnsName(const char *value)
PlayerSession & WithPlayerSessionId(const Aws::String &value)
bool FleetIdHasBeenSet() const
void SetPlayerId(Aws::String &&value)
void SetPlayerSessionId(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetFleetArn(const char *value)
const Aws::String & GetIpAddress() const
void SetFleetArn(const Aws::String &value)
PlayerSession & WithStatus(const PlayerSessionStatus &value)
PlayerSession & WithTerminationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetGameSessionId() const
const Aws::String & GetPlayerData() const
void SetPlayerId(const char *value)
const Aws::String & GetPlayerId() const
void SetStatus(PlayerSessionStatus &&value)
AWS_GAMELIFT_API PlayerSession()
const Aws::Utils::DateTime & GetCreationTime() const
PlayerSession & WithPort(int value)
bool PlayerIdHasBeenSet() const
void SetDnsName(const Aws::String &value)
PlayerSession & WithGameSessionId(Aws::String &&value)
bool StatusHasBeenSet() const
const Aws::String & GetFleetId() const
void SetTerminationTime(const Aws::Utils::DateTime &value)
PlayerSession & WithFleetArn(const char *value)
void SetFleetId(Aws::String &&value)
void SetPlayerSessionId(Aws::String &&value)
void SetFleetArn(Aws::String &&value)
PlayerSession & WithPlayerSessionId(const char *value)
PlayerSession & WithFleetId(const Aws::String &value)
void SetPlayerData(const char *value)
const PlayerSessionStatus & GetStatus() const
void SetCreationTime(Aws::Utils::DateTime &&value)
PlayerSession & WithStatus(PlayerSessionStatus &&value)
PlayerSession & WithFleetArn(const Aws::String &value)
PlayerSession & WithPlayerData(const Aws::String &value)
PlayerSession & WithTerminationTime(const Aws::Utils::DateTime &value)
PlayerSession & WithPlayerId(const Aws::String &value)
PlayerSession & WithCreationTime(Aws::Utils::DateTime &&value)
void SetDnsName(const char *value)
bool TerminationTimeHasBeenSet() const
PlayerSession & WithPlayerId(const char *value)
void SetPlayerData(const Aws::String &value)
void SetGameSessionId(Aws::String &&value)
const Aws::String & GetDnsName() const
PlayerSession & WithIpAddress(const Aws::String &value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
PlayerSession & WithDnsName(Aws::String &&value)
bool GameSessionIdHasBeenSet() const
PlayerSession & WithFleetId(const char *value)
const Aws::String & GetFleetArn() const
const Aws::String & GetPlayerSessionId() const
bool PortHasBeenSet() const
void SetIpAddress(Aws::String &&value)
void SetTerminationTime(Aws::Utils::DateTime &&value)
void SetDnsName(Aws::String &&value)
PlayerSession & WithDnsName(const Aws::String &value)
void SetIpAddress(const Aws::String &value)
bool CreationTimeHasBeenSet() const
PlayerSession & WithPlayerData(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue