7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/gamelift/model/AttributeValue.h>
52 inline void SetPlayerId(
const char* value) { m_playerIdHasBeenSet =
true; m_playerId.assign(value); }
89 inline void SetTeam(
const char* value) { m_teamHasBeenSet =
true; m_team.assign(value); }
113 inline Player&
AddLatencyInMs(
const char* key,
int value) { m_latencyInMsHasBeenSet =
true; m_latencyInMs.emplace(key, value);
return *
this; }
118 bool m_playerIdHasBeenSet =
false;
121 bool m_playerAttributesHasBeenSet =
false;
124 bool m_teamHasBeenSet =
false;
127 bool m_latencyInMsHasBeenSet =
false;
Player & AddPlayerAttributes(const Aws::String &key, AttributeValue &&value)
void SetTeam(const char *value)
void SetTeam(Aws::String &&value)
void SetPlayerId(const char *value)
AWS_GAMELIFT_API Player & operator=(Aws::Utils::Json::JsonView jsonValue)
Player & WithLatencyInMs(const Aws::Map< Aws::String, int > &value)
Player & WithTeam(const Aws::String &value)
const Aws::String & GetTeam() const
Player & WithPlayerAttributes(const Aws::Map< Aws::String, AttributeValue > &value)
Player & AddPlayerAttributes(const char *key, AttributeValue &&value)
bool LatencyInMsHasBeenSet() const
Player & WithTeam(Aws::String &&value)
AWS_GAMELIFT_API Player()
Player & AddLatencyInMs(const Aws::String &key, int value)
const Aws::String & GetPlayerId() const
bool TeamHasBeenSet() const
bool PlayerIdHasBeenSet() const
Player & WithPlayerAttributes(Aws::Map< Aws::String, AttributeValue > &&value)
void SetLatencyInMs(Aws::Map< Aws::String, int > &&value)
void SetTeam(const Aws::String &value)
Player & WithLatencyInMs(Aws::Map< Aws::String, int > &&value)
Player & WithTeam(const char *value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
Player & WithPlayerId(const char *value)
const Aws::Map< Aws::String, AttributeValue > & GetPlayerAttributes() const
Player & AddPlayerAttributes(const Aws::String &key, const AttributeValue &value)
void SetPlayerId(const Aws::String &value)
AWS_GAMELIFT_API Player(Aws::Utils::Json::JsonView jsonValue)
Player & AddLatencyInMs(const char *key, int value)
void SetPlayerAttributes(const Aws::Map< Aws::String, AttributeValue > &value)
Player & AddLatencyInMs(Aws::String &&key, int value)
const Aws::Map< Aws::String, int > & GetLatencyInMs() const
Player & AddPlayerAttributes(Aws::String &&key, const AttributeValue &value)
Player & WithPlayerId(Aws::String &&value)
Player & WithPlayerId(const Aws::String &value)
bool PlayerAttributesHasBeenSet() const
void SetLatencyInMs(const Aws::Map< Aws::String, int > &value)
Player & AddPlayerAttributes(Aws::String &&key, AttributeValue &&value)
void SetPlayerId(Aws::String &&value)
Player & AddPlayerAttributes(const char *key, const AttributeValue &value)
void SetPlayerAttributes(Aws::Map< Aws::String, AttributeValue > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue