AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeGameSessionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GameLift
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DescribeGameSessions"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
44  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
45 
50  inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
51 
56  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
57 
62  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
63 
68  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
69 
74  inline DescribeGameSessionsRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
75 
80  inline DescribeGameSessionsRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
81 
86  inline DescribeGameSessionsRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
87 
88 
92  inline const Aws::String& GetGameSessionId() const{ return m_gameSessionId; }
93 
97  inline bool GameSessionIdHasBeenSet() const { return m_gameSessionIdHasBeenSet; }
98 
102  inline void SetGameSessionId(const Aws::String& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = value; }
103 
107  inline void SetGameSessionId(Aws::String&& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = std::move(value); }
108 
112  inline void SetGameSessionId(const char* value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId.assign(value); }
113 
117  inline DescribeGameSessionsRequest& WithGameSessionId(const Aws::String& value) { SetGameSessionId(value); return *this;}
118 
122  inline DescribeGameSessionsRequest& WithGameSessionId(Aws::String&& value) { SetGameSessionId(std::move(value)); return *this;}
123 
127  inline DescribeGameSessionsRequest& WithGameSessionId(const char* value) { SetGameSessionId(value); return *this;}
128 
129 
134  inline const Aws::String& GetAliasId() const{ return m_aliasId; }
135 
140  inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
141 
146  inline void SetAliasId(const Aws::String& value) { m_aliasIdHasBeenSet = true; m_aliasId = value; }
147 
152  inline void SetAliasId(Aws::String&& value) { m_aliasIdHasBeenSet = true; m_aliasId = std::move(value); }
153 
158  inline void SetAliasId(const char* value) { m_aliasIdHasBeenSet = true; m_aliasId.assign(value); }
159 
164  inline DescribeGameSessionsRequest& WithAliasId(const Aws::String& value) { SetAliasId(value); return *this;}
165 
170  inline DescribeGameSessionsRequest& WithAliasId(Aws::String&& value) { SetAliasId(std::move(value)); return *this;}
171 
176  inline DescribeGameSessionsRequest& WithAliasId(const char* value) { SetAliasId(value); return *this;}
177 
178 
184  inline const Aws::String& GetLocation() const{ return m_location; }
185 
191  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
192 
198  inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
199 
205  inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
206 
212  inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
213 
219  inline DescribeGameSessionsRequest& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
220 
226  inline DescribeGameSessionsRequest& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
227 
233  inline DescribeGameSessionsRequest& WithLocation(const char* value) { SetLocation(value); return *this;}
234 
235 
242  inline const Aws::String& GetStatusFilter() const{ return m_statusFilter; }
243 
250  inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
251 
258  inline void SetStatusFilter(const Aws::String& value) { m_statusFilterHasBeenSet = true; m_statusFilter = value; }
259 
266  inline void SetStatusFilter(Aws::String&& value) { m_statusFilterHasBeenSet = true; m_statusFilter = std::move(value); }
267 
274  inline void SetStatusFilter(const char* value) { m_statusFilterHasBeenSet = true; m_statusFilter.assign(value); }
275 
282  inline DescribeGameSessionsRequest& WithStatusFilter(const Aws::String& value) { SetStatusFilter(value); return *this;}
283 
290  inline DescribeGameSessionsRequest& WithStatusFilter(Aws::String&& value) { SetStatusFilter(std::move(value)); return *this;}
291 
298  inline DescribeGameSessionsRequest& WithStatusFilter(const char* value) { SetStatusFilter(value); return *this;}
299 
300 
305  inline int GetLimit() const{ return m_limit; }
306 
311  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
312 
317  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
318 
323  inline DescribeGameSessionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
324 
325 
331  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
332 
338  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
339 
345  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
346 
352  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
353 
359  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
360 
366  inline DescribeGameSessionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
367 
373  inline DescribeGameSessionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
374 
380  inline DescribeGameSessionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
381 
382  private:
383 
384  Aws::String m_fleetId;
385  bool m_fleetIdHasBeenSet;
386 
387  Aws::String m_gameSessionId;
388  bool m_gameSessionIdHasBeenSet;
389 
390  Aws::String m_aliasId;
391  bool m_aliasIdHasBeenSet;
392 
393  Aws::String m_location;
394  bool m_locationHasBeenSet;
395 
396  Aws::String m_statusFilter;
397  bool m_statusFilterHasBeenSet;
398 
399  int m_limit;
400  bool m_limitHasBeenSet;
401 
402  Aws::String m_nextToken;
403  bool m_nextTokenHasBeenSet;
404  };
405 
406 } // namespace Model
407 } // namespace GameLift
408 } // namespace Aws
Aws::GameLift::Model::DescribeGameSessionsRequest::WithNextToken
DescribeGameSessionsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeGameSessionsRequest.h:366
Aws::GameLift::Model::DescribeGameSessionsRequest::GameSessionIdHasBeenSet
bool GameSessionIdHasBeenSet() const
Definition: DescribeGameSessionsRequest.h:97
Aws::GameLift::Model::DescribeGameSessionsRequest::SetLocation
void SetLocation(const Aws::String &value)
Definition: DescribeGameSessionsRequest.h:198
Aws::GameLift::Model::DescribeGameSessionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::DescribeGameSessionsRequest::WithFleetId
DescribeGameSessionsRequest & WithFleetId(const char *value)
Definition: DescribeGameSessionsRequest.h:86
Aws::GameLift::Model::DescribeGameSessionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeGameSessionsRequest.h:33
Aws::GameLift::Model::DescribeGameSessionsRequest::WithStatusFilter
DescribeGameSessionsRequest & WithStatusFilter(const Aws::String &value)
Definition: DescribeGameSessionsRequest.h:282
Aws::GameLift::Model::DescribeGameSessionsRequest::SetAliasId
void SetAliasId(const char *value)
Definition: DescribeGameSessionsRequest.h:158
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::DescribeGameSessionsRequest::WithLocation
DescribeGameSessionsRequest & WithLocation(Aws::String &&value)
Definition: DescribeGameSessionsRequest.h:226
Aws::GameLift::Model::DescribeGameSessionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::DescribeGameSessionsRequest::SetGameSessionId
void SetGameSessionId(const Aws::String &value)
Definition: DescribeGameSessionsRequest.h:102
Aws::GameLift::Model::DescribeGameSessionsRequest::AliasIdHasBeenSet
bool AliasIdHasBeenSet() const
Definition: DescribeGameSessionsRequest.h:140
Aws::GameLift::Model::DescribeGameSessionsRequest::WithGameSessionId
DescribeGameSessionsRequest & WithGameSessionId(const Aws::String &value)
Definition: DescribeGameSessionsRequest.h:117
Aws::GameLift::Model::DescribeGameSessionsRequest::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: DescribeGameSessionsRequest.h:62
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeGameSessionsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribeGameSessionsRequest.h:311
Aws::GameLift::Model::DescribeGameSessionsRequest::WithStatusFilter
DescribeGameSessionsRequest & WithStatusFilter(Aws::String &&value)
Definition: DescribeGameSessionsRequest.h:290
Aws::GameLift::Model::DescribeGameSessionsRequest::WithLimit
DescribeGameSessionsRequest & WithLimit(int value)
Definition: DescribeGameSessionsRequest.h:323
Aws::GameLift::Model::DescribeGameSessionsRequest::SetStatusFilter
void SetStatusFilter(Aws::String &&value)
Definition: DescribeGameSessionsRequest.h:266
Aws::GameLift::Model::DescribeGameSessionsRequest::WithAliasId
DescribeGameSessionsRequest & WithAliasId(const char *value)
Definition: DescribeGameSessionsRequest.h:176
Aws::GameLift::Model::DescribeGameSessionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeGameSessionsRequest.h:359
Aws::GameLift::Model::DescribeGameSessionsRequest::SetAliasId
void SetAliasId(const Aws::String &value)
Definition: DescribeGameSessionsRequest.h:146
Aws::GameLift::Model::DescribeGameSessionsRequest::GetGameSessionId
const Aws::String & GetGameSessionId() const
Definition: DescribeGameSessionsRequest.h:92
Aws::GameLift::Model::DescribeGameSessionsRequest::WithLocation
DescribeGameSessionsRequest & WithLocation(const Aws::String &value)
Definition: DescribeGameSessionsRequest.h:219
Aws::GameLift::Model::DescribeGameSessionsRequest::WithGameSessionId
DescribeGameSessionsRequest & WithGameSessionId(Aws::String &&value)
Definition: DescribeGameSessionsRequest.h:122
Aws::GameLift::Model::DescribeGameSessionsRequest::WithGameSessionId
DescribeGameSessionsRequest & WithGameSessionId(const char *value)
Definition: DescribeGameSessionsRequest.h:127
Aws::GameLift::Model::DescribeGameSessionsRequest::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: DescribeGameSessionsRequest.h:56
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeGameSessionsRequest
Definition: DescribeGameSessionsRequest.h:25
GameLiftRequest.h
Aws::GameLift::Model::DescribeGameSessionsRequest::SetGameSessionId
void SetGameSessionId(const char *value)
Definition: DescribeGameSessionsRequest.h:112
Aws::GameLift::Model::DescribeGameSessionsRequest::WithLocation
DescribeGameSessionsRequest & WithLocation(const char *value)
Definition: DescribeGameSessionsRequest.h:233
Aws::GameLift::Model::DescribeGameSessionsRequest::WithNextToken
DescribeGameSessionsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeGameSessionsRequest.h:373
Aws::GameLift::Model::DescribeGameSessionsRequest::GetLocation
const Aws::String & GetLocation() const
Definition: DescribeGameSessionsRequest.h:184
Aws::GameLift::Model::DescribeGameSessionsRequest::SetLocation
void SetLocation(Aws::String &&value)
Definition: DescribeGameSessionsRequest.h:205
Aws::GameLift::Model::DescribeGameSessionsRequest::GetLimit
int GetLimit() const
Definition: DescribeGameSessionsRequest.h:305
Aws::GameLift::Model::DescribeGameSessionsRequest::WithFleetId
DescribeGameSessionsRequest & WithFleetId(Aws::String &&value)
Definition: DescribeGameSessionsRequest.h:80
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws::GameLift::Model::DescribeGameSessionsRequest::SetStatusFilter
void SetStatusFilter(const char *value)
Definition: DescribeGameSessionsRequest.h:274
Aws::GameLift::Model::DescribeGameSessionsRequest::SetStatusFilter
void SetStatusFilter(const Aws::String &value)
Definition: DescribeGameSessionsRequest.h:258
Aws::GameLift::Model::DescribeGameSessionsRequest::WithAliasId
DescribeGameSessionsRequest & WithAliasId(Aws::String &&value)
Definition: DescribeGameSessionsRequest.h:170
Aws::GameLift::Model::DescribeGameSessionsRequest::WithAliasId
DescribeGameSessionsRequest & WithAliasId(const Aws::String &value)
Definition: DescribeGameSessionsRequest.h:164
Aws::GameLift::Model::DescribeGameSessionsRequest::WithStatusFilter
DescribeGameSessionsRequest & WithStatusFilter(const char *value)
Definition: DescribeGameSessionsRequest.h:298
Aws::GameLift::Model::DescribeGameSessionsRequest::SetGameSessionId
void SetGameSessionId(Aws::String &&value)
Definition: DescribeGameSessionsRequest.h:107
Aws::GameLift::Model::DescribeGameSessionsRequest::FleetIdHasBeenSet
bool FleetIdHasBeenSet() const
Definition: DescribeGameSessionsRequest.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeGameSessionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeGameSessionsRequest.h:345
Aws::GameLift::Model::DescribeGameSessionsRequest::DescribeGameSessionsRequest
DescribeGameSessionsRequest()
Aws::GameLift::Model::DescribeGameSessionsRequest::SetLocation
void SetLocation(const char *value)
Definition: DescribeGameSessionsRequest.h:212
Aws::GameLift::Model::DescribeGameSessionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeGameSessionsRequest.h:338
Aws::GameLift::Model::DescribeGameSessionsRequest::WithFleetId
DescribeGameSessionsRequest & WithFleetId(const Aws::String &value)
Definition: DescribeGameSessionsRequest.h:74
Aws::GameLift::Model::DescribeGameSessionsRequest::SetAliasId
void SetAliasId(Aws::String &&value)
Definition: DescribeGameSessionsRequest.h:152
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DescribeGameSessionsRequest::GetStatusFilter
const Aws::String & GetStatusFilter() const
Definition: DescribeGameSessionsRequest.h:242
Aws::GameLift::Model::DescribeGameSessionsRequest::SetFleetId
void SetFleetId(const char *value)
Definition: DescribeGameSessionsRequest.h:68
Aws::GameLift::Model::DescribeGameSessionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeGameSessionsRequest.h:352
Aws::GameLift::Model::DescribeGameSessionsRequest::StatusFilterHasBeenSet
bool StatusFilterHasBeenSet() const
Definition: DescribeGameSessionsRequest.h:250
Aws::GameLift::Model::DescribeGameSessionsRequest::WithNextToken
DescribeGameSessionsRequest & WithNextToken(const char *value)
Definition: DescribeGameSessionsRequest.h:380
Aws::GameLift::Model::DescribeGameSessionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeGameSessionsRequest.h:331
Aws::GameLift::Model::DescribeGameSessionsRequest::SetLimit
void SetLimit(int value)
Definition: DescribeGameSessionsRequest.h:317
Aws::GameLift::Model::DescribeGameSessionsRequest::GetFleetId
const Aws::String & GetFleetId() const
Definition: DescribeGameSessionsRequest.h:44
Aws::GameLift::Model::DescribeGameSessionsRequest::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: DescribeGameSessionsRequest.h:191
Aws::GameLift::Model::DescribeGameSessionsRequest::GetAliasId
const Aws::String & GetAliasId() const
Definition: DescribeGameSessionsRequest.h:134