AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
DescribeMatchmakingConfigurationsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/gamelift/GameLiftRequest.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace GameLift {
16namespace Model {
17
21 public:
22 AWS_GAMELIFT_API DescribeMatchmakingConfigurationsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeMatchmakingConfigurations"; }
29
30 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
31
33
35
40 inline const Aws::Vector<Aws::String>& GetNames() const { return m_names; }
41 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
42 template <typename NamesT = Aws::Vector<Aws::String>>
43 void SetNames(NamesT&& value) {
44 m_namesHasBeenSet = true;
45 m_names = std::forward<NamesT>(value);
46 }
47 template <typename NamesT = Aws::Vector<Aws::String>>
49 SetNames(std::forward<NamesT>(value));
50 return *this;
51 }
52 template <typename NamesT = Aws::String>
54 m_namesHasBeenSet = true;
55 m_names.emplace_back(std::forward<NamesT>(value));
56 return *this;
57 }
59
61
66 inline const Aws::String& GetRuleSetName() const { return m_ruleSetName; }
67 inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
68 template <typename RuleSetNameT = Aws::String>
69 void SetRuleSetName(RuleSetNameT&& value) {
70 m_ruleSetNameHasBeenSet = true;
71 m_ruleSetName = std::forward<RuleSetNameT>(value);
72 }
73 template <typename RuleSetNameT = Aws::String>
75 SetRuleSetName(std::forward<RuleSetNameT>(value));
76 return *this;
77 }
79
81
86 inline int GetLimit() const { return m_limit; }
87 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
88 inline void SetLimit(int value) {
89 m_limitHasBeenSet = true;
90 m_limit = value;
91 }
93 SetLimit(value);
94 return *this;
95 }
97
99
104 inline const Aws::String& GetNextToken() const { return m_nextToken; }
105 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
106 template <typename NextTokenT = Aws::String>
107 void SetNextToken(NextTokenT&& value) {
108 m_nextTokenHasBeenSet = true;
109 m_nextToken = std::forward<NextTokenT>(value);
110 }
111 template <typename NextTokenT = Aws::String>
113 SetNextToken(std::forward<NextTokenT>(value));
114 return *this;
115 }
117 private:
119
120 Aws::String m_ruleSetName;
121
122 int m_limit{0};
123
124 Aws::String m_nextToken;
125 bool m_namesHasBeenSet = false;
126 bool m_ruleSetNameHasBeenSet = false;
127 bool m_limitHasBeenSet = false;
128 bool m_nextTokenHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace GameLift
133} // namespace Aws
DescribeMatchmakingConfigurationsRequest & WithNextToken(NextTokenT &&value)
DescribeMatchmakingConfigurationsRequest & AddNames(NamesT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeMatchmakingConfigurationsRequest & WithNames(NamesT &&value)
DescribeMatchmakingConfigurationsRequest & WithRuleSetName(RuleSetNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector