7#include <aws/crt/cbor/Cbor.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
35 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
50 m_newGameSessionsPerCreatorHasBeenSet =
true;
51 m_newGameSessionsPerCreator = value;
66 m_policyPeriodInMinutesHasBeenSet =
true;
67 m_policyPeriodInMinutes = value;
75 int64_t m_newGameSessionsPerCreator{0};
77 int64_t m_policyPeriodInMinutes{0};
78 bool m_newGameSessionsPerCreatorHasBeenSet =
false;
79 bool m_policyPeriodInMinutesHasBeenSet =
false;
AWS_GAMELIFT_API GameSessionCreationLimitPolicy(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
GameSessionCreationLimitPolicy & WithPolicyPeriodInMinutes(int64_t value)
GameSessionCreationLimitPolicy & WithNewGameSessionsPerCreator(int64_t value)
void SetPolicyPeriodInMinutes(int64_t value)
AWS_GAMELIFT_API GameSessionCreationLimitPolicy()=default
AWS_GAMELIFT_API GameSessionCreationLimitPolicy & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
int64_t GetNewGameSessionsPerCreator() const
void SetNewGameSessionsPerCreator(int64_t value)
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
int64_t GetPolicyPeriodInMinutes() const
bool NewGameSessionsPerCreatorHasBeenSet() const
bool PolicyPeriodInMinutesHasBeenSet() const