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;
int64_t GetNewGameSessionsPerCreator() const
ResourceCreationLimitPolicy & WithPolicyPeriodInMinutes(int64_t value)
bool PolicyPeriodInMinutesHasBeenSet() const
AWS_GAMELIFT_API ResourceCreationLimitPolicy & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ResourceCreationLimitPolicy & WithNewGameSessionsPerCreator(int64_t value)
bool NewGameSessionsPerCreatorHasBeenSet() const
AWS_GAMELIFT_API ResourceCreationLimitPolicy()=default
int64_t GetPolicyPeriodInMinutes() const
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_GAMELIFT_API ResourceCreationLimitPolicy(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetNewGameSessionsPerCreator(int64_t value)
void SetPolicyPeriodInMinutes(int64_t value)