AWS SDK for C++  1.9.44
AWS SDK for C++
DescribeMatchmakingRuleSetsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace GameLift
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<MatchmakingRuleSet>& GetRuleSets() const{ return m_ruleSets; }
47 
51  inline void SetRuleSets(const Aws::Vector<MatchmakingRuleSet>& value) { m_ruleSets = value; }
52 
56  inline void SetRuleSets(Aws::Vector<MatchmakingRuleSet>&& value) { m_ruleSets = std::move(value); }
57 
61  inline DescribeMatchmakingRuleSetsResult& WithRuleSets(const Aws::Vector<MatchmakingRuleSet>& value) { SetRuleSets(value); return *this;}
62 
66  inline DescribeMatchmakingRuleSetsResult& WithRuleSets(Aws::Vector<MatchmakingRuleSet>&& value) { SetRuleSets(std::move(value)); return *this;}
67 
71  inline DescribeMatchmakingRuleSetsResult& AddRuleSets(const MatchmakingRuleSet& value) { m_ruleSets.push_back(value); return *this; }
72 
76  inline DescribeMatchmakingRuleSetsResult& AddRuleSets(MatchmakingRuleSet&& value) { m_ruleSets.push_back(std::move(value)); return *this; }
77 
78 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
91  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
92 
98  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
99 
105  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
106 
112  inline DescribeMatchmakingRuleSetsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
113 
119  inline DescribeMatchmakingRuleSetsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 
126  inline DescribeMatchmakingRuleSetsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
127 
128  private:
129 
131 
132  Aws::String m_nextToken;
133  };
134 
135 } // namespace Model
136 } // namespace GameLift
137 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::MatchmakingRuleSet
Definition: MatchmakingRuleSet.h:60
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::SetRuleSets
void SetRuleSets(const Aws::Vector< MatchmakingRuleSet > &value)
Definition: DescribeMatchmakingRuleSetsResult.h:51
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeMatchmakingRuleSetsResult.h:91
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::WithRuleSets
DescribeMatchmakingRuleSetsResult & WithRuleSets(const Aws::Vector< MatchmakingRuleSet > &value)
Definition: DescribeMatchmakingRuleSetsResult.h:61
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::WithNextToken
DescribeMatchmakingRuleSetsResult & WithNextToken(const char *value)
Definition: DescribeMatchmakingRuleSetsResult.h:126
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::GetRuleSets
const Aws::Vector< MatchmakingRuleSet > & GetRuleSets() const
Definition: DescribeMatchmakingRuleSetsResult.h:46
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
MatchmakingRuleSet.h
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeMatchmakingRuleSetsResult.h:105
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::WithNextToken
DescribeMatchmakingRuleSetsResult & WithNextToken(Aws::String &&value)
Definition: DescribeMatchmakingRuleSetsResult.h:119
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::WithRuleSets
DescribeMatchmakingRuleSetsResult & WithRuleSets(Aws::Vector< MatchmakingRuleSet > &&value)
Definition: DescribeMatchmakingRuleSetsResult.h:66
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeMatchmakingRuleSetsResult.h:98
AWSVector.h
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult
Definition: DescribeMatchmakingRuleSetsResult.h:36
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::DescribeMatchmakingRuleSetsResult
DescribeMatchmakingRuleSetsResult()
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::DescribeMatchmakingRuleSetsResult
DescribeMatchmakingRuleSetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::AddRuleSets
DescribeMatchmakingRuleSetsResult & AddRuleSets(MatchmakingRuleSet &&value)
Definition: DescribeMatchmakingRuleSetsResult.h:76
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::AddRuleSets
DescribeMatchmakingRuleSetsResult & AddRuleSets(const MatchmakingRuleSet &value)
Definition: DescribeMatchmakingRuleSetsResult.h:71
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::SetRuleSets
void SetRuleSets(Aws::Vector< MatchmakingRuleSet > &&value)
Definition: DescribeMatchmakingRuleSetsResult.h:56
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::operator=
DescribeMatchmakingRuleSetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::WithNextToken
DescribeMatchmakingRuleSetsResult & WithNextToken(const Aws::String &value)
Definition: DescribeMatchmakingRuleSetsResult.h:112
Aws::GameLift::Model::DescribeMatchmakingRuleSetsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeMatchmakingRuleSetsResult.h:84