AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeMatchmakingConfigurationsRequest.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 "DescribeMatchmakingConfigurations"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
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 DescribeMatchmakingConfigurationsRequest& WithNames(const Aws::Vector<Aws::String>& value) { SetNames(value); return *this;}
75 
81  inline DescribeMatchmakingConfigurationsRequest& WithNames(Aws::Vector<Aws::String>&& value) { SetNames(std::move(value)); return *this;}
82 
88  inline DescribeMatchmakingConfigurationsRequest& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
89 
95  inline DescribeMatchmakingConfigurationsRequest& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; }
96 
102  inline DescribeMatchmakingConfigurationsRequest& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
103 
104 
110  inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; }
111 
117  inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
118 
124  inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
125 
131  inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); }
132 
138  inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
139 
145  inline DescribeMatchmakingConfigurationsRequest& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
146 
152  inline DescribeMatchmakingConfigurationsRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
153 
159  inline DescribeMatchmakingConfigurationsRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
160 
161 
167  inline int GetLimit() const{ return m_limit; }
168 
174  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
175 
181  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
182 
188  inline DescribeMatchmakingConfigurationsRequest& WithLimit(int value) { SetLimit(value); return *this;}
189 
190 
196  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
197 
203  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
204 
210  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
211 
217  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
218 
224  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
225 
231  inline DescribeMatchmakingConfigurationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
232 
238  inline DescribeMatchmakingConfigurationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
239 
245  inline DescribeMatchmakingConfigurationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
246 
247  private:
248 
249  Aws::Vector<Aws::String> m_names;
250  bool m_namesHasBeenSet;
251 
252  Aws::String m_ruleSetName;
253  bool m_ruleSetNameHasBeenSet;
254 
255  int m_limit;
256  bool m_limitHasBeenSet;
257 
258  Aws::String m_nextToken;
259  bool m_nextTokenHasBeenSet;
260  };
261 
262 } // namespace Model
263 } // namespace GameLift
264 } // namespace Aws
DescribeMatchmakingConfigurationsRequest & WithNames(const Aws::Vector< Aws::String > &value)
DescribeMatchmakingConfigurationsRequest & WithRuleSetName(const char *value)
DescribeMatchmakingConfigurationsRequest & WithRuleSetName(const Aws::String &value)
#define AWS_GAMELIFT_API
DescribeMatchmakingConfigurationsRequest & WithNames(Aws::Vector< Aws::String > &&value)
DescribeMatchmakingConfigurationsRequest & AddNames(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
DescribeMatchmakingConfigurationsRequest & WithRuleSetName(Aws::String &&value)
DescribeMatchmakingConfigurationsRequest & AddNames(const char *value)
DescribeMatchmakingConfigurationsRequest & WithNextToken(Aws::String &&value)
DescribeMatchmakingConfigurationsRequest & WithNextToken(const char *value)
DescribeMatchmakingConfigurationsRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeMatchmakingConfigurationsRequest & AddNames(const Aws::String &value)