AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchGameSessionsRequest.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace GameLift
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_GAMELIFT_API SearchGameSessionsRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "SearchGameSessions"; }
31
32 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
33
35
36
38
43 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
44 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
45 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
46 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
47 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
48 inline SearchGameSessionsRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
49 inline SearchGameSessionsRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
50 inline SearchGameSessionsRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
52
54
59 inline const Aws::String& GetAliasId() const{ return m_aliasId; }
60 inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
61 inline void SetAliasId(const Aws::String& value) { m_aliasIdHasBeenSet = true; m_aliasId = value; }
62 inline void SetAliasId(Aws::String&& value) { m_aliasIdHasBeenSet = true; m_aliasId = std::move(value); }
63 inline void SetAliasId(const char* value) { m_aliasIdHasBeenSet = true; m_aliasId.assign(value); }
64 inline SearchGameSessionsRequest& WithAliasId(const Aws::String& value) { SetAliasId(value); return *this;}
65 inline SearchGameSessionsRequest& WithAliasId(Aws::String&& value) { SetAliasId(std::move(value)); return *this;}
66 inline SearchGameSessionsRequest& WithAliasId(const char* value) { SetAliasId(value); return *this;}
68
70
75 inline const Aws::String& GetLocation() const{ return m_location; }
76 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
77 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
78 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
79 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
80 inline SearchGameSessionsRequest& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
81 inline SearchGameSessionsRequest& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
82 inline SearchGameSessionsRequest& WithLocation(const char* value) { SetLocation(value); return *this;}
84
86
117 inline const Aws::String& GetFilterExpression() const{ return m_filterExpression; }
118 inline bool FilterExpressionHasBeenSet() const { return m_filterExpressionHasBeenSet; }
119 inline void SetFilterExpression(const Aws::String& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = value; }
120 inline void SetFilterExpression(Aws::String&& value) { m_filterExpressionHasBeenSet = true; m_filterExpression = std::move(value); }
121 inline void SetFilterExpression(const char* value) { m_filterExpressionHasBeenSet = true; m_filterExpression.assign(value); }
123 inline SearchGameSessionsRequest& WithFilterExpression(Aws::String&& value) { SetFilterExpression(std::move(value)); return *this;}
124 inline SearchGameSessionsRequest& WithFilterExpression(const char* value) { SetFilterExpression(value); return *this;}
126
128
142 inline const Aws::String& GetSortExpression() const{ return m_sortExpression; }
143 inline bool SortExpressionHasBeenSet() const { return m_sortExpressionHasBeenSet; }
144 inline void SetSortExpression(const Aws::String& value) { m_sortExpressionHasBeenSet = true; m_sortExpression = value; }
145 inline void SetSortExpression(Aws::String&& value) { m_sortExpressionHasBeenSet = true; m_sortExpression = std::move(value); }
146 inline void SetSortExpression(const char* value) { m_sortExpressionHasBeenSet = true; m_sortExpression.assign(value); }
147 inline SearchGameSessionsRequest& WithSortExpression(const Aws::String& value) { SetSortExpression(value); return *this;}
148 inline SearchGameSessionsRequest& WithSortExpression(Aws::String&& value) { SetSortExpression(std::move(value)); return *this;}
149 inline SearchGameSessionsRequest& WithSortExpression(const char* value) { SetSortExpression(value); return *this;}
151
153
159 inline int GetLimit() const{ return m_limit; }
160 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
161 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
162 inline SearchGameSessionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
164
166
171 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
172 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
173 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
174 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
175 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
176 inline SearchGameSessionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
177 inline SearchGameSessionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
178 inline SearchGameSessionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
180 private:
181
182 Aws::String m_fleetId;
183 bool m_fleetIdHasBeenSet = false;
184
185 Aws::String m_aliasId;
186 bool m_aliasIdHasBeenSet = false;
187
188 Aws::String m_location;
189 bool m_locationHasBeenSet = false;
190
191 Aws::String m_filterExpression;
192 bool m_filterExpressionHasBeenSet = false;
193
194 Aws::String m_sortExpression;
195 bool m_sortExpressionHasBeenSet = false;
196
197 int m_limit;
198 bool m_limitHasBeenSet = false;
199
200 Aws::String m_nextToken;
201 bool m_nextTokenHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace GameLift
206} // namespace Aws
SearchGameSessionsRequest & WithSortExpression(const Aws::String &value)
SearchGameSessionsRequest & WithLocation(Aws::String &&value)
SearchGameSessionsRequest & WithLocation(const Aws::String &value)
SearchGameSessionsRequest & WithAliasId(const char *value)
SearchGameSessionsRequest & WithAliasId(Aws::String &&value)
SearchGameSessionsRequest & WithLocation(const char *value)
SearchGameSessionsRequest & WithFleetId(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SearchGameSessionsRequest & WithSortExpression(const char *value)
SearchGameSessionsRequest & WithNextToken(Aws::String &&value)
SearchGameSessionsRequest & WithFleetId(const Aws::String &value)
SearchGameSessionsRequest & WithFilterExpression(const Aws::String &value)
SearchGameSessionsRequest & WithFleetId(Aws::String &&value)
SearchGameSessionsRequest & WithFilterExpression(const char *value)
SearchGameSessionsRequest & WithAliasId(const Aws::String &value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
SearchGameSessionsRequest & WithNextToken(const char *value)
SearchGameSessionsRequest & WithFilterExpression(Aws::String &&value)
SearchGameSessionsRequest & WithNextToken(const Aws::String &value)
SearchGameSessionsRequest & WithSortExpression(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String