7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
51 template<
typename PlayerIdT = Aws::String>
52 void SetPlayerId(PlayerIdT&& value) { m_playerIdHasBeenSet =
true; m_playerId = std::forward<PlayerIdT>(value); }
53 template<
typename PlayerIdT = Aws::String>
63 template<
typename RegionIdentifierT = Aws::String>
64 void SetRegionIdentifier(RegionIdentifierT&& value) { m_regionIdentifierHasBeenSet =
true; m_regionIdentifier = std::forward<RegionIdentifierT>(value); }
65 template<
typename RegionIdentifierT = Aws::String>
76 inline void SetLatencyInMilliseconds(
double value) { m_latencyInMillisecondsHasBeenSet =
true; m_latencyInMilliseconds = value; }
82 bool m_playerIdHasBeenSet =
false;
85 bool m_regionIdentifierHasBeenSet =
false;
87 double m_latencyInMilliseconds{0.0};
88 bool m_latencyInMillisecondsHasBeenSet =
false;
PlayerLatency & WithLatencyInMilliseconds(double value)
PlayerLatency & WithPlayerId(PlayerIdT &&value)
double GetLatencyInMilliseconds() const
AWS_GAMELIFT_API PlayerLatency(Aws::Utils::Json::JsonView jsonValue)
void SetRegionIdentifier(RegionIdentifierT &&value)
const Aws::String & GetPlayerId() const
const Aws::String & GetRegionIdentifier() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFT_API PlayerLatency()=default
bool PlayerIdHasBeenSet() const
AWS_GAMELIFT_API PlayerLatency & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPlayerId(PlayerIdT &&value)
bool RegionIdentifierHasBeenSet() const
bool LatencyInMillisecondsHasBeenSet() const
void SetLatencyInMilliseconds(double value)
PlayerLatency & WithRegionIdentifier(RegionIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue