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>
62 inline void SetGameSessionId(
const char* value) { m_gameSessionIdHasBeenSet =
true; m_gameSessionId.assign(value); }
77 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
91 inline void SetFleetId(
const char* value) { m_fleetIdHasBeenSet =
true; m_fleetId.assign(value); }
107 inline void SetFleetArn(
const char* value) { m_fleetArnHasBeenSet =
true; m_fleetArn.assign(value); }
214 inline void SetIpAddress(
const char* value) { m_ipAddressHasBeenSet =
true; m_ipAddress.assign(value); }
237 inline void SetDnsName(
const char* value) { m_dnsNameHasBeenSet =
true; m_dnsName.assign(value); }
250 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
276 inline void SetCreatorId(
const char* value) { m_creatorIdHasBeenSet =
true; m_creatorId.assign(value); }
294 inline void SetGameSessionData(
const char* value) { m_gameSessionDataHasBeenSet =
true; m_gameSessionData.assign(value); }
316 inline void SetMatchmakerData(
const char* value) { m_matchmakerDataHasBeenSet =
true; m_matchmakerData.assign(value); }
332 inline void SetLocation(
const char* value) { m_locationHasBeenSet =
true; m_location.assign(value); }
340 bool m_gameSessionIdHasBeenSet =
false;
343 bool m_nameHasBeenSet =
false;
346 bool m_fleetIdHasBeenSet =
false;
349 bool m_fleetArnHasBeenSet =
false;
352 bool m_creationTimeHasBeenSet =
false;
355 bool m_terminationTimeHasBeenSet =
false;
357 int m_currentPlayerSessionCount;
358 bool m_currentPlayerSessionCountHasBeenSet =
false;
360 int m_maximumPlayerSessionCount;
361 bool m_maximumPlayerSessionCountHasBeenSet =
false;
364 bool m_statusHasBeenSet =
false;
367 bool m_statusReasonHasBeenSet =
false;
370 bool m_gamePropertiesHasBeenSet =
false;
373 bool m_ipAddressHasBeenSet =
false;
376 bool m_dnsNameHasBeenSet =
false;
379 bool m_portHasBeenSet =
false;
382 bool m_playerSessionCreationPolicyHasBeenSet =
false;
385 bool m_creatorIdHasBeenSet =
false;
388 bool m_gameSessionDataHasBeenSet =
false;
391 bool m_matchmakerDataHasBeenSet =
false;
394 bool m_locationHasBeenSet =
false;
void SetMatchmakerData(Aws::String &&value)
void SetGameSessionData(const Aws::String &value)
GameSession & WithGameProperties(Aws::Vector< GameProperty > &&value)
const GameSessionStatus & GetStatus() const
const Aws::Utils::DateTime & GetTerminationTime() const
void SetPlayerSessionCreationPolicy(PlayerSessionCreationPolicy &&value)
bool CreationTimeHasBeenSet() const
void SetGameSessionId(const char *value)
const Aws::String & GetFleetId() const
GameSession & WithFleetArn(const Aws::String &value)
void SetGameSessionData(const char *value)
void SetFleetId(const char *value)
void SetMatchmakerData(const Aws::String &value)
GameSession & WithGameSessionId(const Aws::String &value)
void SetMatchmakerData(const char *value)
void SetMaximumPlayerSessionCount(int value)
GameSession & WithName(const Aws::String &value)
GameSession & WithFleetArn(const char *value)
GameSession & WithCreationTime(const Aws::Utils::DateTime &value)
GameSession & WithFleetArn(Aws::String &&value)
void SetDnsName(const char *value)
const Aws::String & GetGameSessionData() const
void SetName(const Aws::String &value)
bool PlayerSessionCreationPolicyHasBeenSet() const
void SetDnsName(Aws::String &&value)
GameSession & WithLocation(const Aws::String &value)
GameSession & WithGameProperties(const Aws::Vector< GameProperty > &value)
void SetLocation(const Aws::String &value)
void SetFleetId(Aws::String &&value)
GameSession & WithStatusReason(GameSessionStatusReason &&value)
GameSession & WithCurrentPlayerSessionCount(int value)
GameSession & WithFleetId(const char *value)
GameSession & WithMaximumPlayerSessionCount(int value)
void SetIpAddress(const Aws::String &value)
GameSession & WithDnsName(Aws::String &&value)
void SetGameSessionData(Aws::String &&value)
int GetMaximumPlayerSessionCount() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIpAddress(const char *value)
GameSession & WithFleetId(Aws::String &&value)
GameSession & WithDnsName(const Aws::String &value)
const GameSessionStatusReason & GetStatusReason() const
GameSession & WithMatchmakerData(const char *value)
GameSession & WithIpAddress(const char *value)
AWS_GAMELIFT_API GameSession(Aws::Utils::Json::JsonView jsonValue)
GameSession & WithIpAddress(Aws::String &&value)
GameSession & WithMatchmakerData(const Aws::String &value)
GameSession & WithName(const char *value)
GameSession & WithGameSessionId(Aws::String &&value)
GameSession & AddGameProperties(const GameProperty &value)
bool GamePropertiesHasBeenSet() const
int GetCurrentPlayerSessionCount() const
GameSession & WithTerminationTime(Aws::Utils::DateTime &&value)
GameSession & WithName(Aws::String &&value)
GameSession & WithGameSessionData(const Aws::String &value)
bool DnsNameHasBeenSet() const
void SetIpAddress(Aws::String &&value)
bool GameSessionDataHasBeenSet() const
GameSession & WithFleetId(const Aws::String &value)
void SetFleetId(const Aws::String &value)
const Aws::String & GetDnsName() const
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetFleetArn(const Aws::String &value)
GameSession & WithPort(int value)
GameSession & AddGameProperties(GameProperty &&value)
GameSession & WithMatchmakerData(Aws::String &&value)
void SetStatusReason(const GameSessionStatusReason &value)
bool NameHasBeenSet() const
const Aws::String & GetFleetArn() const
void SetTerminationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetLocation() const
GameSession & WithCreatorId(const Aws::String &value)
bool FleetIdHasBeenSet() const
GameSession & WithDnsName(const char *value)
GameSession & WithPlayerSessionCreationPolicy(PlayerSessionCreationPolicy &&value)
GameSession & WithLocation(Aws::String &&value)
void SetStatus(const GameSessionStatus &value)
GameSession & WithTerminationTime(const Aws::Utils::DateTime &value)
void SetCreatorId(const char *value)
bool MaximumPlayerSessionCountHasBeenSet() const
void SetDnsName(const Aws::String &value)
void SetFleetArn(const char *value)
void SetLocation(Aws::String &&value)
bool CreatorIdHasBeenSet() const
GameSession & WithStatus(GameSessionStatus &&value)
void SetName(const char *value)
void SetName(Aws::String &&value)
void SetGameProperties(Aws::Vector< GameProperty > &&value)
bool IpAddressHasBeenSet() const
AWS_GAMELIFT_API GameSession()
void SetFleetArn(Aws::String &&value)
void SetStatusReason(GameSessionStatusReason &&value)
bool FleetArnHasBeenSet() const
void SetTerminationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetCreatorId() const
bool CurrentPlayerSessionCountHasBeenSet() const
GameSession & WithGameSessionId(const char *value)
GameSession & WithGameSessionData(Aws::String &&value)
bool TerminationTimeHasBeenSet() const
GameSession & WithCreatorId(Aws::String &&value)
void SetGameSessionId(Aws::String &&value)
const Aws::String & GetName() const
void SetCreatorId(Aws::String &&value)
void SetLocation(const char *value)
GameSession & WithStatus(const GameSessionStatus &value)
const PlayerSessionCreationPolicy & GetPlayerSessionCreationPolicy() const
bool StatusHasBeenSet() const
GameSession & WithGameSessionData(const char *value)
GameSession & WithIpAddress(const Aws::String &value)
GameSession & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreatorId(const Aws::String &value)
GameSession & WithLocation(const char *value)
void SetStatus(GameSessionStatus &&value)
const Aws::Vector< GameProperty > & GetGameProperties() const
const Aws::Utils::DateTime & GetCreationTime() const
bool LocationHasBeenSet() const
bool GameSessionIdHasBeenSet() const
void SetCurrentPlayerSessionCount(int value)
bool PortHasBeenSet() const
void SetGameProperties(const Aws::Vector< GameProperty > &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
GameSession & WithStatusReason(const GameSessionStatusReason &value)
const Aws::String & GetGameSessionId() const
bool MatchmakerDataHasBeenSet() const
GameSession & WithCreatorId(const char *value)
AWS_GAMELIFT_API GameSession & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPlayerSessionCreationPolicy(const PlayerSessionCreationPolicy &value)
bool StatusReasonHasBeenSet() const
GameSession & WithPlayerSessionCreationPolicy(const PlayerSessionCreationPolicy &value)
const Aws::String & GetMatchmakerData() const
const Aws::String & GetIpAddress() const
void SetGameSessionId(const Aws::String &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