7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
35 AWS_GAMELIFT_API
PlayerLatency(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
37 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename PlayerIdT = Aws::String>
47 m_playerIdHasBeenSet =
true;
48 m_playerId = std::forward<PlayerIdT>(value);
50 template <
typename PlayerIdT = Aws::String>
63 template <
typename RegionIdentifierT = Aws::String>
65 m_regionIdentifierHasBeenSet =
true;
66 m_regionIdentifier = std::forward<RegionIdentifierT>(value);
68 template <
typename RegionIdentifierT = Aws::String>
83 m_latencyInMillisecondsHasBeenSet =
true;
84 m_latencyInMilliseconds = value;
96 double m_latencyInMilliseconds{0.0};
97 bool m_playerIdHasBeenSet =
false;
98 bool m_regionIdentifierHasBeenSet =
false;
99 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