AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceCreationLimitPolicy.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GameLift
20{
21namespace Model
22{
23
36 {
37 public:
38 AWS_GAMELIFT_API ResourceCreationLimitPolicy();
41 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
54 inline int GetNewGameSessionsPerCreator() const{ return m_newGameSessionsPerCreator; }
55 inline bool NewGameSessionsPerCreatorHasBeenSet() const { return m_newGameSessionsPerCreatorHasBeenSet; }
56 inline void SetNewGameSessionsPerCreator(int value) { m_newGameSessionsPerCreatorHasBeenSet = true; m_newGameSessionsPerCreator = value; }
59
61
64 inline int GetPolicyPeriodInMinutes() const{ return m_policyPeriodInMinutes; }
65 inline bool PolicyPeriodInMinutesHasBeenSet() const { return m_policyPeriodInMinutesHasBeenSet; }
66 inline void SetPolicyPeriodInMinutes(int value) { m_policyPeriodInMinutesHasBeenSet = true; m_policyPeriodInMinutes = value; }
69 private:
70
71 int m_newGameSessionsPerCreator;
72 bool m_newGameSessionsPerCreatorHasBeenSet = false;
73
74 int m_policyPeriodInMinutes;
75 bool m_policyPeriodInMinutesHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace GameLift
80} // namespace Aws
AWS_GAMELIFT_API ResourceCreationLimitPolicy(Aws::Utils::Json::JsonView jsonValue)
ResourceCreationLimitPolicy & WithNewGameSessionsPerCreator(int value)
AWS_GAMELIFT_API ResourceCreationLimitPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceCreationLimitPolicy & WithPolicyPeriodInMinutes(int value)
Aws::Utils::Json::JsonValue JsonValue