AWS SDK for C++  1.9.108
AWS SDK for C++
DescribePlayerSessionsRequest.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 "DescribePlayerSessions"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetGameSessionId() const{ return m_gameSessionId; }
44 
48  inline bool GameSessionIdHasBeenSet() const { return m_gameSessionIdHasBeenSet; }
49 
53  inline void SetGameSessionId(const Aws::String& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = value; }
54 
58  inline void SetGameSessionId(Aws::String&& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = std::move(value); }
59 
63  inline void SetGameSessionId(const char* value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId.assign(value); }
64 
68  inline DescribePlayerSessionsRequest& WithGameSessionId(const Aws::String& value) { SetGameSessionId(value); return *this;}
69 
73  inline DescribePlayerSessionsRequest& WithGameSessionId(Aws::String&& value) { SetGameSessionId(std::move(value)); return *this;}
74 
78  inline DescribePlayerSessionsRequest& WithGameSessionId(const char* value) { SetGameSessionId(value); return *this;}
79 
80 
84  inline const Aws::String& GetPlayerId() const{ return m_playerId; }
85 
89  inline bool PlayerIdHasBeenSet() const { return m_playerIdHasBeenSet; }
90 
94  inline void SetPlayerId(const Aws::String& value) { m_playerIdHasBeenSet = true; m_playerId = value; }
95 
99  inline void SetPlayerId(Aws::String&& value) { m_playerIdHasBeenSet = true; m_playerId = std::move(value); }
100 
104  inline void SetPlayerId(const char* value) { m_playerIdHasBeenSet = true; m_playerId.assign(value); }
105 
109  inline DescribePlayerSessionsRequest& WithPlayerId(const Aws::String& value) { SetPlayerId(value); return *this;}
110 
114  inline DescribePlayerSessionsRequest& WithPlayerId(Aws::String&& value) { SetPlayerId(std::move(value)); return *this;}
115 
119  inline DescribePlayerSessionsRequest& WithPlayerId(const char* value) { SetPlayerId(value); return *this;}
120 
121 
125  inline const Aws::String& GetPlayerSessionId() const{ return m_playerSessionId; }
126 
130  inline bool PlayerSessionIdHasBeenSet() const { return m_playerSessionIdHasBeenSet; }
131 
135  inline void SetPlayerSessionId(const Aws::String& value) { m_playerSessionIdHasBeenSet = true; m_playerSessionId = value; }
136 
140  inline void SetPlayerSessionId(Aws::String&& value) { m_playerSessionIdHasBeenSet = true; m_playerSessionId = std::move(value); }
141 
145  inline void SetPlayerSessionId(const char* value) { m_playerSessionIdHasBeenSet = true; m_playerSessionId.assign(value); }
146 
150  inline DescribePlayerSessionsRequest& WithPlayerSessionId(const Aws::String& value) { SetPlayerSessionId(value); return *this;}
151 
155  inline DescribePlayerSessionsRequest& WithPlayerSessionId(Aws::String&& value) { SetPlayerSessionId(std::move(value)); return *this;}
156 
160  inline DescribePlayerSessionsRequest& WithPlayerSessionId(const char* value) { SetPlayerSessionId(value); return *this;}
161 
162 
174  inline const Aws::String& GetPlayerSessionStatusFilter() const{ return m_playerSessionStatusFilter; }
175 
187  inline bool PlayerSessionStatusFilterHasBeenSet() const { return m_playerSessionStatusFilterHasBeenSet; }
188 
200  inline void SetPlayerSessionStatusFilter(const Aws::String& value) { m_playerSessionStatusFilterHasBeenSet = true; m_playerSessionStatusFilter = value; }
201 
213  inline void SetPlayerSessionStatusFilter(Aws::String&& value) { m_playerSessionStatusFilterHasBeenSet = true; m_playerSessionStatusFilter = std::move(value); }
214 
226  inline void SetPlayerSessionStatusFilter(const char* value) { m_playerSessionStatusFilterHasBeenSet = true; m_playerSessionStatusFilter.assign(value); }
227 
239  inline DescribePlayerSessionsRequest& WithPlayerSessionStatusFilter(const Aws::String& value) { SetPlayerSessionStatusFilter(value); return *this;}
240 
252  inline DescribePlayerSessionsRequest& WithPlayerSessionStatusFilter(Aws::String&& value) { SetPlayerSessionStatusFilter(std::move(value)); return *this;}
253 
265  inline DescribePlayerSessionsRequest& WithPlayerSessionStatusFilter(const char* value) { SetPlayerSessionStatusFilter(value); return *this;}
266 
267 
273  inline int GetLimit() const{ return m_limit; }
274 
280  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
281 
287  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
288 
294  inline DescribePlayerSessionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
295 
296 
303  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
304 
311  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
312 
319  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
320 
327  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
328 
335  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
336 
343  inline DescribePlayerSessionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
344 
351  inline DescribePlayerSessionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
352 
359  inline DescribePlayerSessionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
360 
361  private:
362 
363  Aws::String m_gameSessionId;
364  bool m_gameSessionIdHasBeenSet;
365 
366  Aws::String m_playerId;
367  bool m_playerIdHasBeenSet;
368 
369  Aws::String m_playerSessionId;
370  bool m_playerSessionIdHasBeenSet;
371 
372  Aws::String m_playerSessionStatusFilter;
373  bool m_playerSessionStatusFilterHasBeenSet;
374 
375  int m_limit;
376  bool m_limitHasBeenSet;
377 
378  Aws::String m_nextToken;
379  bool m_nextTokenHasBeenSet;
380  };
381 
382 } // namespace Model
383 } // namespace GameLift
384 } // namespace Aws
Aws::GameLift::Model::DescribePlayerSessionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribePlayerSessionsRequest.h:311
Aws::GameLift::Model::DescribePlayerSessionsRequest::SetPlayerSessionStatusFilter
void SetPlayerSessionStatusFilter(const char *value)
Definition: DescribePlayerSessionsRequest.h:226
Aws::GameLift::Model::DescribePlayerSessionsRequest::GetPlayerId
const Aws::String & GetPlayerId() const
Definition: DescribePlayerSessionsRequest.h:84
Aws::GameLift::Model::DescribePlayerSessionsRequest::SetPlayerId
void SetPlayerId(const Aws::String &value)
Definition: DescribePlayerSessionsRequest.h:94
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::DescribePlayerSessionsRequest::SetLimit
void SetLimit(int value)
Definition: DescribePlayerSessionsRequest.h:287
Aws::GameLift::Model::DescribePlayerSessionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribePlayerSessionsRequest.h:335
Aws::GameLift::Model::DescribePlayerSessionsRequest::WithGameSessionId
DescribePlayerSessionsRequest & WithGameSessionId(const char *value)
Definition: DescribePlayerSessionsRequest.h:78
Aws::GameLift::Model::DescribePlayerSessionsRequest::WithGameSessionId
DescribePlayerSessionsRequest & WithGameSessionId(Aws::String &&value)
Definition: DescribePlayerSessionsRequest.h:73
Aws::GameLift::Model::DescribePlayerSessionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribePlayerSessionsRequest.h:303
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribePlayerSessionsRequest::WithNextToken
DescribePlayerSessionsRequest & WithNextToken(const Aws::String &value)
Definition: DescribePlayerSessionsRequest.h:343
Aws::GameLift::Model::DescribePlayerSessionsRequest::GetPlayerSessionStatusFilter
const Aws::String & GetPlayerSessionStatusFilter() const
Definition: DescribePlayerSessionsRequest.h:174
Aws::GameLift::Model::DescribePlayerSessionsRequest::SetGameSessionId
void SetGameSessionId(Aws::String &&value)
Definition: DescribePlayerSessionsRequest.h:58
Aws::GameLift::Model::DescribePlayerSessionsRequest::WithLimit
DescribePlayerSessionsRequest & WithLimit(int value)
Definition: DescribePlayerSessionsRequest.h:294
Aws::GameLift::Model::DescribePlayerSessionsRequest
Definition: DescribePlayerSessionsRequest.h:25
Aws::GameLift::Model::DescribePlayerSessionsRequest::WithPlayerSessionId
DescribePlayerSessionsRequest & WithPlayerSessionId(const char *value)
Definition: DescribePlayerSessionsRequest.h:160
Aws::GameLift::Model::DescribePlayerSessionsRequest::PlayerIdHasBeenSet
bool PlayerIdHasBeenSet() const
Definition: DescribePlayerSessionsRequest.h:89
Aws::GameLift::Model::DescribePlayerSessionsRequest::SetPlayerSessionId
void SetPlayerSessionId(Aws::String &&value)
Definition: DescribePlayerSessionsRequest.h:140
Aws::GameLift::Model::DescribePlayerSessionsRequest::WithPlayerSessionStatusFilter
DescribePlayerSessionsRequest & WithPlayerSessionStatusFilter(const Aws::String &value)
Definition: DescribePlayerSessionsRequest.h:239
Aws::GameLift::Model::DescribePlayerSessionsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribePlayerSessionsRequest.h:280
Aws::GameLift::Model::DescribePlayerSessionsRequest::GetGameSessionId
const Aws::String & GetGameSessionId() const
Definition: DescribePlayerSessionsRequest.h:43
Aws::GameLift::Model::DescribePlayerSessionsRequest::WithPlayerId
DescribePlayerSessionsRequest & WithPlayerId(const char *value)
Definition: DescribePlayerSessionsRequest.h:119
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribePlayerSessionsRequest::SerializePayload
Aws::String SerializePayload() const override
GameLiftRequest.h
Aws::GameLift::Model::DescribePlayerSessionsRequest::GetLimit
int GetLimit() const
Definition: DescribePlayerSessionsRequest.h:273
Aws::GameLift::Model::DescribePlayerSessionsRequest::SetGameSessionId
void SetGameSessionId(const char *value)
Definition: DescribePlayerSessionsRequest.h:63
Aws::GameLift::Model::DescribePlayerSessionsRequest::SetPlayerId
void SetPlayerId(Aws::String &&value)
Definition: DescribePlayerSessionsRequest.h:99
Aws::GameLift::Model::DescribePlayerSessionsRequest::SetPlayerSessionStatusFilter
void SetPlayerSessionStatusFilter(const Aws::String &value)
Definition: DescribePlayerSessionsRequest.h:200
Aws::GameLift::Model::DescribePlayerSessionsRequest::WithPlayerSessionId
DescribePlayerSessionsRequest & WithPlayerSessionId(const Aws::String &value)
Definition: DescribePlayerSessionsRequest.h:150
Aws::GameLift::Model::DescribePlayerSessionsRequest::PlayerSessionIdHasBeenSet
bool PlayerSessionIdHasBeenSet() const
Definition: DescribePlayerSessionsRequest.h:130
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws::GameLift::Model::DescribePlayerSessionsRequest::SetPlayerSessionId
void SetPlayerSessionId(const Aws::String &value)
Definition: DescribePlayerSessionsRequest.h:135
Aws::GameLift::Model::DescribePlayerSessionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribePlayerSessionsRequest.h:327
Aws::GameLift::Model::DescribePlayerSessionsRequest::WithPlayerSessionStatusFilter
DescribePlayerSessionsRequest & WithPlayerSessionStatusFilter(Aws::String &&value)
Definition: DescribePlayerSessionsRequest.h:252
Aws::GameLift::Model::DescribePlayerSessionsRequest::WithNextToken
DescribePlayerSessionsRequest & WithNextToken(Aws::String &&value)
Definition: DescribePlayerSessionsRequest.h:351
Aws::GameLift::Model::DescribePlayerSessionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribePlayerSessionsRequest.h:33
Aws::GameLift::Model::DescribePlayerSessionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribePlayerSessionsRequest.h:319
Aws::GameLift::Model::DescribePlayerSessionsRequest::DescribePlayerSessionsRequest
DescribePlayerSessionsRequest()
Aws::GameLift::Model::DescribePlayerSessionsRequest::GetPlayerSessionId
const Aws::String & GetPlayerSessionId() const
Definition: DescribePlayerSessionsRequest.h:125
Aws::GameLift::Model::DescribePlayerSessionsRequest::GameSessionIdHasBeenSet
bool GameSessionIdHasBeenSet() const
Definition: DescribePlayerSessionsRequest.h:48
Aws::GameLift::Model::DescribePlayerSessionsRequest::SetPlayerSessionStatusFilter
void SetPlayerSessionStatusFilter(Aws::String &&value)
Definition: DescribePlayerSessionsRequest.h:213
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribePlayerSessionsRequest::SetPlayerId
void SetPlayerId(const char *value)
Definition: DescribePlayerSessionsRequest.h:104
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DescribePlayerSessionsRequest::SetPlayerSessionId
void SetPlayerSessionId(const char *value)
Definition: DescribePlayerSessionsRequest.h:145
Aws::GameLift::Model::DescribePlayerSessionsRequest::WithNextToken
DescribePlayerSessionsRequest & WithNextToken(const char *value)
Definition: DescribePlayerSessionsRequest.h:359
Aws::GameLift::Model::DescribePlayerSessionsRequest::WithPlayerId
DescribePlayerSessionsRequest & WithPlayerId(Aws::String &&value)
Definition: DescribePlayerSessionsRequest.h:114
Aws::GameLift::Model::DescribePlayerSessionsRequest::PlayerSessionStatusFilterHasBeenSet
bool PlayerSessionStatusFilterHasBeenSet() const
Definition: DescribePlayerSessionsRequest.h:187
Aws::GameLift::Model::DescribePlayerSessionsRequest::SetGameSessionId
void SetGameSessionId(const Aws::String &value)
Definition: DescribePlayerSessionsRequest.h:53
Aws::GameLift::Model::DescribePlayerSessionsRequest::WithPlayerSessionStatusFilter
DescribePlayerSessionsRequest & WithPlayerSessionStatusFilter(const char *value)
Definition: DescribePlayerSessionsRequest.h:265
Aws::GameLift::Model::DescribePlayerSessionsRequest::WithGameSessionId
DescribePlayerSessionsRequest & WithGameSessionId(const Aws::String &value)
Definition: DescribePlayerSessionsRequest.h:68
Aws::GameLift::Model::DescribePlayerSessionsRequest::WithPlayerSessionId
DescribePlayerSessionsRequest & WithPlayerSessionId(Aws::String &&value)
Definition: DescribePlayerSessionsRequest.h:155
Aws::GameLift::Model::DescribePlayerSessionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::DescribePlayerSessionsRequest::WithPlayerId
DescribePlayerSessionsRequest & WithPlayerId(const Aws::String &value)
Definition: DescribePlayerSessionsRequest.h:109