7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
36 AWS_GAMELIFT_API
PlayerLatency(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
38 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
46 template <
typename PlayerIdT = Aws::String>
48 m_playerIdHasBeenSet =
true;
49 m_playerId = std::forward<PlayerIdT>(value);
51 template <
typename PlayerIdT = Aws::String>
66 template <
typename RegionIdentifierT = Aws::String>
68 m_regionIdentifierHasBeenSet =
true;
69 m_regionIdentifier = std::forward<RegionIdentifierT>(value);
71 template <
typename RegionIdentifierT = Aws::String>
86 m_latencyInMillisecondsHasBeenSet =
true;
87 m_latencyInMilliseconds = value;
99 double m_latencyInMilliseconds{0.0};
100 bool m_playerIdHasBeenSet =
false;
101 bool m_regionIdentifierHasBeenSet =
false;
102 bool m_latencyInMillisecondsHasBeenSet =
false;
PlayerLatency & WithLatencyInMilliseconds(double value)
PlayerLatency & WithPlayerId(PlayerIdT &&value)
double GetLatencyInMilliseconds() const
void SetRegionIdentifier(RegionIdentifierT &&value)
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetPlayerId() const
const Aws::String & GetRegionIdentifier() const
AWS_GAMELIFT_API PlayerLatency()=default
bool PlayerIdHasBeenSet() const
AWS_GAMELIFT_API PlayerLatency(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetPlayerId(PlayerIdT &&value)
bool RegionIdentifierHasBeenSet() const
bool LatencyInMillisecondsHasBeenSet() const
void SetLatencyInMilliseconds(double value)
PlayerLatency & WithRegionIdentifier(RegionIdentifierT &&value)
AWS_GAMELIFT_API PlayerLatency & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String