7#include <aws/crt/cbor/Cbor.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
34 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 return m_maximumIndividualPlayerLatencyMillisecondsHasBeenSet;
46 m_maximumIndividualPlayerLatencyMillisecondsHasBeenSet =
true;
47 m_maximumIndividualPlayerLatencyMilliseconds = value;
64 m_policyDurationSecondsHasBeenSet =
true;
65 m_policyDurationSeconds = value;
73 int64_t m_maximumIndividualPlayerLatencyMilliseconds{0};
75 int64_t m_policyDurationSeconds{0};
76 bool m_maximumIndividualPlayerLatencyMillisecondsHasBeenSet =
false;
77 bool m_policyDurationSecondsHasBeenSet =
false;
int64_t GetMaximumIndividualPlayerLatencyMilliseconds() const
PlayerLatencyPolicy & WithMaximumIndividualPlayerLatencyMilliseconds(int64_t value)
bool MaximumIndividualPlayerLatencyMillisecondsHasBeenSet() const
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
int64_t GetPolicyDurationSeconds() const
PlayerLatencyPolicy & WithPolicyDurationSeconds(int64_t value)
AWS_GAMELIFT_API PlayerLatencyPolicy()=default
AWS_GAMELIFT_API PlayerLatencyPolicy(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetMaximumIndividualPlayerLatencyMilliseconds(int64_t value)
bool PolicyDurationSecondsHasBeenSet() const
AWS_GAMELIFT_API PlayerLatencyPolicy & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetPolicyDurationSeconds(int64_t value)