7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/AttributeValue.h>
44 template <
typename PlayerIdT = Aws::String>
46 m_playerIdHasBeenSet =
true;
47 m_playerId = std::forward<PlayerIdT>(value);
49 template <
typename PlayerIdT = Aws::String>
66 template <
typename PlayerAttributesT = Aws::Map<Aws::String, AttributeValue>>
68 m_playerAttributesHasBeenSet =
true;
69 m_playerAttributes = std::forward<PlayerAttributesT>(value);
71 template <
typename PlayerAttributesT = Aws::Map<Aws::String, AttributeValue>>
76 template <
typename PlayerAttributesKeyT = Aws::String,
typename PlayerAttributesValueT = AttributeValue>
78 m_playerAttributesHasBeenSet =
true;
79 m_playerAttributes.emplace(std::forward<PlayerAttributesKeyT>(key), std::forward<PlayerAttributesValueT>(value));
91 template <
typename TeamT = Aws::String>
93 m_teamHasBeenSet =
true;
94 m_team = std::forward<TeamT>(value);
96 template <
typename TeamT = Aws::String>
98 SetTeam(std::forward<TeamT>(value));
115 template <
typename LatencyInMsT = Aws::Map<Aws::String,
int>>
117 m_latencyInMsHasBeenSet =
true;
118 m_latencyInMs = std::forward<LatencyInMsT>(value);
120 template <
typename LatencyInMsT = Aws::Map<Aws::String,
int>>
126 m_latencyInMsHasBeenSet =
true;
127 m_latencyInMs.emplace(key, value);
139 bool m_playerIdHasBeenSet =
false;
140 bool m_playerAttributesHasBeenSet =
false;
141 bool m_teamHasBeenSet =
false;
142 bool m_latencyInMsHasBeenSet =
false;
AWS_GAMELIFT_API Player()=default
AWS_GAMELIFT_API Player & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLatencyInMs(LatencyInMsT &&value)
const Aws::String & GetTeam() const
void SetPlayerId(PlayerIdT &&value)
bool LatencyInMsHasBeenSet() const
void SetPlayerAttributes(PlayerAttributesT &&value)
Player & WithPlayerId(PlayerIdT &&value)
const Aws::String & GetPlayerId() const
bool TeamHasBeenSet() const
bool PlayerIdHasBeenSet() const
Player & WithPlayerAttributes(PlayerAttributesT &&value)
void SetTeam(TeamT &&value)
Player & WithTeam(TeamT &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, AttributeValue > & GetPlayerAttributes() const
AWS_GAMELIFT_API Player(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, int > & GetLatencyInMs() const
bool PlayerAttributesHasBeenSet() const
Player & WithLatencyInMs(LatencyInMsT &&value)
Player & AddLatencyInMs(Aws::String key, int value)
Player & AddPlayerAttributes(PlayerAttributesKeyT &&key, PlayerAttributesValueT &&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