AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
DescribeMatchmakingRuleSetsRequest.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 DescribeMatchmakingRuleSetsRequest() = 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 "DescribeMatchmakingRuleSets"; }
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
65 inline int GetLimit() const { return m_limit; }
66 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
67 inline void SetLimit(int value) {
68 m_limitHasBeenSet = true;
69 m_limit = value;
70 }
72 SetLimit(value);
73 return *this;
74 }
76
78
83 inline const Aws::String& GetNextToken() const { return m_nextToken; }
84 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
85 template <typename NextTokenT = Aws::String>
86 void SetNextToken(NextTokenT&& value) {
87 m_nextTokenHasBeenSet = true;
88 m_nextToken = std::forward<NextTokenT>(value);
89 }
90 template <typename NextTokenT = Aws::String>
92 SetNextToken(std::forward<NextTokenT>(value));
93 return *this;
94 }
96 private:
98 bool m_namesHasBeenSet = false;
99
100 int m_limit{0};
101 bool m_limitHasBeenSet = false;
102
103 Aws::String m_nextToken;
104 bool m_nextTokenHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace GameLift
109} // namespace Aws
DescribeMatchmakingRuleSetsRequest & WithNames(NamesT &&value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeMatchmakingRuleSetsRequest & AddNames(NamesT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DescribeMatchmakingRuleSetsRequest & WithNextToken(NextTokenT &&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