AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
MatchmakingRuleSet.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GameLift
23{
24namespace Model
25{
26
59 {
60 public:
61 AWS_GAMELIFT_API MatchmakingRuleSet() = default;
64 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
65
66
68
71 inline const Aws::String& GetRuleSetName() const { return m_ruleSetName; }
72 inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
73 template<typename RuleSetNameT = Aws::String>
74 void SetRuleSetName(RuleSetNameT&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::forward<RuleSetNameT>(value); }
75 template<typename RuleSetNameT = Aws::String>
76 MatchmakingRuleSet& WithRuleSetName(RuleSetNameT&& value) { SetRuleSetName(std::forward<RuleSetNameT>(value)); return *this;}
78
80
89 inline const Aws::String& GetRuleSetArn() const { return m_ruleSetArn; }
90 inline bool RuleSetArnHasBeenSet() const { return m_ruleSetArnHasBeenSet; }
91 template<typename RuleSetArnT = Aws::String>
92 void SetRuleSetArn(RuleSetArnT&& value) { m_ruleSetArnHasBeenSet = true; m_ruleSetArn = std::forward<RuleSetArnT>(value); }
93 template<typename RuleSetArnT = Aws::String>
94 MatchmakingRuleSet& WithRuleSetArn(RuleSetArnT&& value) { SetRuleSetArn(std::forward<RuleSetArnT>(value)); return *this;}
96
98
102 inline const Aws::String& GetRuleSetBody() const { return m_ruleSetBody; }
103 inline bool RuleSetBodyHasBeenSet() const { return m_ruleSetBodyHasBeenSet; }
104 template<typename RuleSetBodyT = Aws::String>
105 void SetRuleSetBody(RuleSetBodyT&& value) { m_ruleSetBodyHasBeenSet = true; m_ruleSetBody = std::forward<RuleSetBodyT>(value); }
106 template<typename RuleSetBodyT = Aws::String>
107 MatchmakingRuleSet& WithRuleSetBody(RuleSetBodyT&& value) { SetRuleSetBody(std::forward<RuleSetBodyT>(value)); return *this;}
109
111
116 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
117 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
118 template<typename CreationTimeT = Aws::Utils::DateTime>
119 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
120 template<typename CreationTimeT = Aws::Utils::DateTime>
121 MatchmakingRuleSet& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
123 private:
124
125 Aws::String m_ruleSetName;
126 bool m_ruleSetNameHasBeenSet = false;
127
128 Aws::String m_ruleSetArn;
129 bool m_ruleSetArnHasBeenSet = false;
130
131 Aws::String m_ruleSetBody;
132 bool m_ruleSetBodyHasBeenSet = false;
133
134 Aws::Utils::DateTime m_creationTime{};
135 bool m_creationTimeHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace GameLift
140} // namespace Aws
MatchmakingRuleSet & WithCreationTime(CreationTimeT &&value)
AWS_GAMELIFT_API MatchmakingRuleSet(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRuleSetArn() const
MatchmakingRuleSet & WithRuleSetName(RuleSetNameT &&value)
const Aws::String & GetRuleSetName() const
AWS_GAMELIFT_API MatchmakingRuleSet()=default
MatchmakingRuleSet & WithRuleSetBody(RuleSetBodyT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetCreationTime(CreationTimeT &&value)
AWS_GAMELIFT_API MatchmakingRuleSet & operator=(Aws::Utils::Json::JsonView jsonValue)
MatchmakingRuleSet & WithRuleSetArn(RuleSetArnT &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue