AWS SDK for C++  1.9.47
AWS SDK for C++
MatchmakingRuleSet.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace GameLift
23 {
24 namespace Model
25 {
26 
60  {
61  public:
66 
67 
71  inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; }
72 
76  inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
77 
81  inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
82 
86  inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); }
87 
91  inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
92 
96  inline MatchmakingRuleSet& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
97 
101  inline MatchmakingRuleSet& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
102 
106  inline MatchmakingRuleSet& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
107 
108 
118  inline const Aws::String& GetRuleSetArn() const{ return m_ruleSetArn; }
119 
129  inline bool RuleSetArnHasBeenSet() const { return m_ruleSetArnHasBeenSet; }
130 
140  inline void SetRuleSetArn(const Aws::String& value) { m_ruleSetArnHasBeenSet = true; m_ruleSetArn = value; }
141 
151  inline void SetRuleSetArn(Aws::String&& value) { m_ruleSetArnHasBeenSet = true; m_ruleSetArn = std::move(value); }
152 
162  inline void SetRuleSetArn(const char* value) { m_ruleSetArnHasBeenSet = true; m_ruleSetArn.assign(value); }
163 
173  inline MatchmakingRuleSet& WithRuleSetArn(const Aws::String& value) { SetRuleSetArn(value); return *this;}
174 
184  inline MatchmakingRuleSet& WithRuleSetArn(Aws::String&& value) { SetRuleSetArn(std::move(value)); return *this;}
185 
195  inline MatchmakingRuleSet& WithRuleSetArn(const char* value) { SetRuleSetArn(value); return *this;}
196 
197 
202  inline const Aws::String& GetRuleSetBody() const{ return m_ruleSetBody; }
203 
208  inline bool RuleSetBodyHasBeenSet() const { return m_ruleSetBodyHasBeenSet; }
209 
214  inline void SetRuleSetBody(const Aws::String& value) { m_ruleSetBodyHasBeenSet = true; m_ruleSetBody = value; }
215 
220  inline void SetRuleSetBody(Aws::String&& value) { m_ruleSetBodyHasBeenSet = true; m_ruleSetBody = std::move(value); }
221 
226  inline void SetRuleSetBody(const char* value) { m_ruleSetBodyHasBeenSet = true; m_ruleSetBody.assign(value); }
227 
232  inline MatchmakingRuleSet& WithRuleSetBody(const Aws::String& value) { SetRuleSetBody(value); return *this;}
233 
238  inline MatchmakingRuleSet& WithRuleSetBody(Aws::String&& value) { SetRuleSetBody(std::move(value)); return *this;}
239 
244  inline MatchmakingRuleSet& WithRuleSetBody(const char* value) { SetRuleSetBody(value); return *this;}
245 
246 
252  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
253 
259  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
260 
266  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
267 
273  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
274 
280  inline MatchmakingRuleSet& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
281 
287  inline MatchmakingRuleSet& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
288 
289  private:
290 
291  Aws::String m_ruleSetName;
292  bool m_ruleSetNameHasBeenSet;
293 
294  Aws::String m_ruleSetArn;
295  bool m_ruleSetArnHasBeenSet;
296 
297  Aws::String m_ruleSetBody;
298  bool m_ruleSetBodyHasBeenSet;
299 
300  Aws::Utils::DateTime m_creationTime;
301  bool m_creationTimeHasBeenSet;
302  };
303 
304 } // namespace Model
305 } // namespace GameLift
306 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::GameLift::Model::MatchmakingRuleSet
Definition: MatchmakingRuleSet.h:60
Aws::GameLift::Model::MatchmakingRuleSet::GetRuleSetBody
const Aws::String & GetRuleSetBody() const
Definition: MatchmakingRuleSet.h:202
Aws::GameLift::Model::MatchmakingRuleSet::MatchmakingRuleSet
MatchmakingRuleSet()
Aws::GameLift::Model::MatchmakingRuleSet::WithRuleSetBody
MatchmakingRuleSet & WithRuleSetBody(const char *value)
Definition: MatchmakingRuleSet.h:244
Aws::GameLift::Model::MatchmakingRuleSet::WithRuleSetArn
MatchmakingRuleSet & WithRuleSetArn(Aws::String &&value)
Definition: MatchmakingRuleSet.h:184
Aws::GameLift::Model::MatchmakingRuleSet::SetRuleSetArn
void SetRuleSetArn(const char *value)
Definition: MatchmakingRuleSet.h:162
Aws::GameLift::Model::MatchmakingRuleSet::MatchmakingRuleSet
MatchmakingRuleSet(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::MatchmakingRuleSet::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: MatchmakingRuleSet.h:273
DateTime.h
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::MatchmakingRuleSet::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: MatchmakingRuleSet.h:266
Aws::GameLift::Model::MatchmakingRuleSet::GetRuleSetArn
const Aws::String & GetRuleSetArn() const
Definition: MatchmakingRuleSet.h:118
Aws::GameLift::Model::MatchmakingRuleSet::WithRuleSetBody
MatchmakingRuleSet & WithRuleSetBody(Aws::String &&value)
Definition: MatchmakingRuleSet.h:238
Aws::GameLift::Model::MatchmakingRuleSet::WithCreationTime
MatchmakingRuleSet & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: MatchmakingRuleSet.h:287
Aws::GameLift::Model::MatchmakingRuleSet::WithCreationTime
MatchmakingRuleSet & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: MatchmakingRuleSet.h:280
GameLift_EXPORTS.h
Aws::GameLift::Model::MatchmakingRuleSet::RuleSetNameHasBeenSet
bool RuleSetNameHasBeenSet() const
Definition: MatchmakingRuleSet.h:76
Aws::GameLift::Model::MatchmakingRuleSet::WithRuleSetName
MatchmakingRuleSet & WithRuleSetName(Aws::String &&value)
Definition: MatchmakingRuleSet.h:101
Aws::GameLift::Model::MatchmakingRuleSet::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GameLift::Model::MatchmakingRuleSet::WithRuleSetArn
MatchmakingRuleSet & WithRuleSetArn(const char *value)
Definition: MatchmakingRuleSet.h:195
Aws::GameLift::Model::MatchmakingRuleSet::GetRuleSetName
const Aws::String & GetRuleSetName() const
Definition: MatchmakingRuleSet.h:71
Aws::GameLift::Model::MatchmakingRuleSet::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: MatchmakingRuleSet.h:252
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::GameLift::Model::MatchmakingRuleSet::WithRuleSetName
MatchmakingRuleSet & WithRuleSetName(const char *value)
Definition: MatchmakingRuleSet.h:106
AWSString.h
Aws::GameLift::Model::MatchmakingRuleSet::SetRuleSetName
void SetRuleSetName(Aws::String &&value)
Definition: MatchmakingRuleSet.h:86
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GameLift::Model::MatchmakingRuleSet::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: MatchmakingRuleSet.h:259
Aws::GameLift::Model::MatchmakingRuleSet::SetRuleSetName
void SetRuleSetName(const char *value)
Definition: MatchmakingRuleSet.h:91
Aws::GameLift::Model::MatchmakingRuleSet::operator=
MatchmakingRuleSet & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::MatchmakingRuleSet::SetRuleSetBody
void SetRuleSetBody(const char *value)
Definition: MatchmakingRuleSet.h:226
Aws::GameLift::Model::MatchmakingRuleSet::RuleSetArnHasBeenSet
bool RuleSetArnHasBeenSet() const
Definition: MatchmakingRuleSet.h:129
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::MatchmakingRuleSet::WithRuleSetBody
MatchmakingRuleSet & WithRuleSetBody(const Aws::String &value)
Definition: MatchmakingRuleSet.h:232
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::MatchmakingRuleSet::SetRuleSetBody
void SetRuleSetBody(Aws::String &&value)
Definition: MatchmakingRuleSet.h:220
Aws::GameLift::Model::MatchmakingRuleSet::SetRuleSetName
void SetRuleSetName(const Aws::String &value)
Definition: MatchmakingRuleSet.h:81
Aws::GameLift::Model::MatchmakingRuleSet::SetRuleSetBody
void SetRuleSetBody(const Aws::String &value)
Definition: MatchmakingRuleSet.h:214
Aws::GameLift::Model::MatchmakingRuleSet::SetRuleSetArn
void SetRuleSetArn(const Aws::String &value)
Definition: MatchmakingRuleSet.h:140
Aws::GameLift::Model::MatchmakingRuleSet::SetRuleSetArn
void SetRuleSetArn(Aws::String &&value)
Definition: MatchmakingRuleSet.h:151
Aws::GameLift::Model::MatchmakingRuleSet::WithRuleSetName
MatchmakingRuleSet & WithRuleSetName(const Aws::String &value)
Definition: MatchmakingRuleSet.h:96
Aws::GameLift::Model::MatchmakingRuleSet::WithRuleSetArn
MatchmakingRuleSet & WithRuleSetArn(const Aws::String &value)
Definition: MatchmakingRuleSet.h:173
Aws::GameLift::Model::MatchmakingRuleSet::RuleSetBodyHasBeenSet
bool RuleSetBodyHasBeenSet() const
Definition: MatchmakingRuleSet.h:208