AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
74 inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); }
75 inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
76 inline MatchmakingRuleSet& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
77 inline MatchmakingRuleSet& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
78 inline MatchmakingRuleSet& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
80
82
91 inline const Aws::String& GetRuleSetArn() const{ return m_ruleSetArn; }
92 inline bool RuleSetArnHasBeenSet() const { return m_ruleSetArnHasBeenSet; }
93 inline void SetRuleSetArn(const Aws::String& value) { m_ruleSetArnHasBeenSet = true; m_ruleSetArn = value; }
94 inline void SetRuleSetArn(Aws::String&& value) { m_ruleSetArnHasBeenSet = true; m_ruleSetArn = std::move(value); }
95 inline void SetRuleSetArn(const char* value) { m_ruleSetArnHasBeenSet = true; m_ruleSetArn.assign(value); }
96 inline MatchmakingRuleSet& WithRuleSetArn(const Aws::String& value) { SetRuleSetArn(value); return *this;}
97 inline MatchmakingRuleSet& WithRuleSetArn(Aws::String&& value) { SetRuleSetArn(std::move(value)); return *this;}
98 inline MatchmakingRuleSet& WithRuleSetArn(const char* value) { SetRuleSetArn(value); return *this;}
100
102
106 inline const Aws::String& GetRuleSetBody() const{ return m_ruleSetBody; }
107 inline bool RuleSetBodyHasBeenSet() const { return m_ruleSetBodyHasBeenSet; }
108 inline void SetRuleSetBody(const Aws::String& value) { m_ruleSetBodyHasBeenSet = true; m_ruleSetBody = value; }
109 inline void SetRuleSetBody(Aws::String&& value) { m_ruleSetBodyHasBeenSet = true; m_ruleSetBody = std::move(value); }
110 inline void SetRuleSetBody(const char* value) { m_ruleSetBodyHasBeenSet = true; m_ruleSetBody.assign(value); }
111 inline MatchmakingRuleSet& WithRuleSetBody(const Aws::String& value) { SetRuleSetBody(value); return *this;}
112 inline MatchmakingRuleSet& WithRuleSetBody(Aws::String&& value) { SetRuleSetBody(std::move(value)); return *this;}
113 inline MatchmakingRuleSet& WithRuleSetBody(const char* value) { SetRuleSetBody(value); return *this;}
115
117
122 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
123 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
124 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
125 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
126 inline MatchmakingRuleSet& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
127 inline MatchmakingRuleSet& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
129 private:
130
131 Aws::String m_ruleSetName;
132 bool m_ruleSetNameHasBeenSet = false;
133
134 Aws::String m_ruleSetArn;
135 bool m_ruleSetArnHasBeenSet = false;
136
137 Aws::String m_ruleSetBody;
138 bool m_ruleSetBodyHasBeenSet = false;
139
140 Aws::Utils::DateTime m_creationTime;
141 bool m_creationTimeHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace GameLift
146} // namespace Aws
MatchmakingRuleSet & WithRuleSetBody(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
MatchmakingRuleSet & WithRuleSetArn(const char *value)
MatchmakingRuleSet & WithRuleSetArn(Aws::String &&value)
void SetRuleSetName(const Aws::String &value)
MatchmakingRuleSet & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_GAMELIFT_API MatchmakingRuleSet(Aws::Utils::Json::JsonView jsonValue)
MatchmakingRuleSet & WithRuleSetName(const char *value)
MatchmakingRuleSet & WithRuleSetName(const Aws::String &value)
void SetRuleSetArn(const Aws::String &value)
const Aws::String & GetRuleSetArn() const
MatchmakingRuleSet & WithCreationTime(const Aws::Utils::DateTime &value)
MatchmakingRuleSet & WithRuleSetName(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
MatchmakingRuleSet & WithRuleSetArn(const Aws::String &value)
const Aws::String & GetRuleSetName() const
void SetRuleSetBody(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
MatchmakingRuleSet & WithRuleSetBody(Aws::String &&value)
AWS_GAMELIFT_API MatchmakingRuleSet & operator=(Aws::Utils::Json::JsonView jsonValue)
MatchmakingRuleSet & WithRuleSetBody(const char *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