AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
SearchGameSessionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace GameLift {
15namespace Model {
16
20 public:
21 AWS_GAMELIFT_API SearchGameSessionsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "SearchGameSessions"; }
28
29 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
30
32
34
39 inline const Aws::String& GetFleetId() const { return m_fleetId; }
40 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
41 template <typename FleetIdT = Aws::String>
42 void SetFleetId(FleetIdT&& value) {
43 m_fleetIdHasBeenSet = true;
44 m_fleetId = std::forward<FleetIdT>(value);
45 }
46 template <typename FleetIdT = Aws::String>
48 SetFleetId(std::forward<FleetIdT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetAliasId() const { return m_aliasId; }
60 inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
61 template <typename AliasIdT = Aws::String>
62 void SetAliasId(AliasIdT&& value) {
63 m_aliasIdHasBeenSet = true;
64 m_aliasId = std::forward<AliasIdT>(value);
65 }
66 template <typename AliasIdT = Aws::String>
68 SetAliasId(std::forward<AliasIdT>(value));
69 return *this;
70 }
72
74
79 inline const Aws::String& GetLocation() const { return m_location; }
80 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
81 template <typename LocationT = Aws::String>
82 void SetLocation(LocationT&& value) {
83 m_locationHasBeenSet = true;
84 m_location = std::forward<LocationT>(value);
85 }
86 template <typename LocationT = Aws::String>
88 SetLocation(std::forward<LocationT>(value));
89 return *this;
90 }
92
94
125 inline const Aws::String& GetFilterExpression() const { return m_filterExpression; }
126 inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; }
127 template <typename FilterExpressionT = Aws::String>
128 void SetFilterExpression(FilterExpressionT&& value) {
129 m_filterExpressionHasBeenSet = true;
130 m_filterExpression = std::forward<FilterExpressionT>(value);
131 }
132 template <typename FilterExpressionT = Aws::String>
134 SetFilterExpression(std::forward<FilterExpressionT>(value));
135 return *this;
136 }
138
140
154 inline const Aws::String& GetSortExpression() const { return m_sortExpression; }
155 inline bool SortExpressionHasBeenSet() const { return m_sortExpressionHasBeenSet; }
156 template <typename SortExpressionT = Aws::String>
157 void SetSortExpression(SortExpressionT&& value) {
158 m_sortExpressionHasBeenSet = true;
159 m_sortExpression = std::forward<SortExpressionT>(value);
160 }
161 template <typename SortExpressionT = Aws::String>
163 SetSortExpression(std::forward<SortExpressionT>(value));
164 return *this;
165 }
167
169
175 inline int GetLimit() const { return m_limit; }
176 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
177 inline void SetLimit(int value) {
178 m_limitHasBeenSet = true;
179 m_limit = value;
180 }
182 SetLimit(value);
183 return *this;
184 }
186
188
193 inline const Aws::String& GetNextToken() const { return m_nextToken; }
194 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
195 template <typename NextTokenT = Aws::String>
196 void SetNextToken(NextTokenT&& value) {
197 m_nextTokenHasBeenSet = true;
198 m_nextToken = std::forward<NextTokenT>(value);
199 }
200 template <typename NextTokenT = Aws::String>
202 SetNextToken(std::forward<NextTokenT>(value));
203 return *this;
204 }
206 private:
207 Aws::String m_fleetId;
208 bool m_fleetIdHasBeenSet = false;
209
210 Aws::String m_aliasId;
211 bool m_aliasIdHasBeenSet = false;
212
213 Aws::String m_location;
214 bool m_locationHasBeenSet = false;
215
216 Aws::String m_filterExpression;
217 bool m_filterExpressionHasBeenSet = false;
218
219 Aws::String m_sortExpression;
220 bool m_sortExpressionHasBeenSet = false;
221
222 int m_limit{0};
223 bool m_limitHasBeenSet = false;
224
225 Aws::String m_nextToken;
226 bool m_nextTokenHasBeenSet = false;
227};
228
229} // namespace Model
230} // namespace GameLift
231} // namespace Aws
SearchGameSessionsRequest & WithNextToken(NextTokenT &&value)
SearchGameSessionsRequest & WithAliasId(AliasIdT &&value)
SearchGameSessionsRequest & WithFleetId(FleetIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SearchGameSessionsRequest & WithFilterExpression(FilterExpressionT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
AWS_GAMELIFT_API SearchGameSessionsRequest()=default
SearchGameSessionsRequest & WithSortExpression(SortExpressionT &&value)
SearchGameSessionsRequest & WithLocation(LocationT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String