AWS SDK for C++  1.9.18
AWS SDK for C++
DescribeMatchmakingRuleSetsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace GameLift
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeMatchmakingRuleSets"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
46  inline const Aws::Vector<Aws::String>& GetNames() const{ return m_names; }
47 
53  inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
54 
60  inline void SetNames(const Aws::Vector<Aws::String>& value) { m_namesHasBeenSet = true; m_names = value; }
61 
67  inline void SetNames(Aws::Vector<Aws::String>&& value) { m_namesHasBeenSet = true; m_names = std::move(value); }
68 
74  inline DescribeMatchmakingRuleSetsRequest& WithNames(const Aws::Vector<Aws::String>& value) { SetNames(value); return *this;}
75 
81  inline DescribeMatchmakingRuleSetsRequest& WithNames(Aws::Vector<Aws::String>&& value) { SetNames(std::move(value)); return *this;}
82 
88  inline DescribeMatchmakingRuleSetsRequest& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
89 
95  inline DescribeMatchmakingRuleSetsRequest& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; }
96 
102  inline DescribeMatchmakingRuleSetsRequest& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
103 
104 
109  inline int GetLimit() const{ return m_limit; }
110 
115  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
116 
121  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
122 
127  inline DescribeMatchmakingRuleSetsRequest& WithLimit(int value) { SetLimit(value); return *this;}
128 
129 
135  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
136 
142  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
143 
149  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
150 
156  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
157 
163  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
164 
170  inline DescribeMatchmakingRuleSetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
171 
177  inline DescribeMatchmakingRuleSetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
178 
184  inline DescribeMatchmakingRuleSetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
185 
186  private:
187 
188  Aws::Vector<Aws::String> m_names;
189  bool m_namesHasBeenSet;
190 
191  int m_limit;
192  bool m_limitHasBeenSet;
193 
194  Aws::String m_nextToken;
195  bool m_nextTokenHasBeenSet;
196  };
197 
198 } // namespace Model
199 } // namespace GameLift
200 } // namespace Aws
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeMatchmakingRuleSetsRequest.h:149
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::NamesHasBeenSet
bool NamesHasBeenSet() const
Definition: DescribeMatchmakingRuleSetsRequest.h:53
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeMatchmakingRuleSetsRequest.h:135
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::WithNames
DescribeMatchmakingRuleSetsRequest & WithNames(const Aws::Vector< Aws::String > &value)
Definition: DescribeMatchmakingRuleSetsRequest.h:74
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::WithLimit
DescribeMatchmakingRuleSetsRequest & WithLimit(int value)
Definition: DescribeMatchmakingRuleSetsRequest.h:127
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::DescribeMatchmakingRuleSetsRequest
DescribeMatchmakingRuleSetsRequest()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribeMatchmakingRuleSetsRequest.h:115
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeMatchmakingRuleSetsRequest.h:34
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::SetNames
void SetNames(const Aws::Vector< Aws::String > &value)
Definition: DescribeMatchmakingRuleSetsRequest.h:60
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::SetNames
void SetNames(Aws::Vector< Aws::String > &&value)
Definition: DescribeMatchmakingRuleSetsRequest.h:67
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeMatchmakingRuleSetsRequest.h:163
AWSVector.h
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::WithNames
DescribeMatchmakingRuleSetsRequest & WithNames(Aws::Vector< Aws::String > &&value)
Definition: DescribeMatchmakingRuleSetsRequest.h:81
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::WithNextToken
DescribeMatchmakingRuleSetsRequest & WithNextToken(const char *value)
Definition: DescribeMatchmakingRuleSetsRequest.h:184
GameLift_EXPORTS.h
GameLiftRequest.h
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::SetLimit
void SetLimit(int value)
Definition: DescribeMatchmakingRuleSetsRequest.h:121
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::AddNames
DescribeMatchmakingRuleSetsRequest & AddNames(const Aws::String &value)
Definition: DescribeMatchmakingRuleSetsRequest.h:88
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::AddNames
DescribeMatchmakingRuleSetsRequest & AddNames(const char *value)
Definition: DescribeMatchmakingRuleSetsRequest.h:102
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest
Definition: DescribeMatchmakingRuleSetsRequest.h:26
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::AddNames
DescribeMatchmakingRuleSetsRequest & AddNames(Aws::String &&value)
Definition: DescribeMatchmakingRuleSetsRequest.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeMatchmakingRuleSetsRequest.h:142
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeMatchmakingRuleSetsRequest.h:156
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::GetLimit
int GetLimit() const
Definition: DescribeMatchmakingRuleSetsRequest.h:109
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::WithNextToken
DescribeMatchmakingRuleSetsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeMatchmakingRuleSetsRequest.h:177
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::WithNextToken
DescribeMatchmakingRuleSetsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeMatchmakingRuleSetsRequest.h:170
Aws::GameLift::Model::DescribeMatchmakingRuleSetsRequest::GetNames
const Aws::Vector< Aws::String > & GetNames() const
Definition: DescribeMatchmakingRuleSetsRequest.h:46