AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribePlayerSessionsRequest.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:
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 "DescribePlayerSessions"; }
31
32 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetGameSessionId() const{ return m_gameSessionId; }
42 inline bool GameSessionIdHasBeenSet() const { return m_gameSessionIdHasBeenSet; }
43 inline void SetGameSessionId(const Aws::String& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = value; }
44 inline void SetGameSessionId(Aws::String&& value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId = std::move(value); }
45 inline void SetGameSessionId(const char* value) { m_gameSessionIdHasBeenSet = true; m_gameSessionId.assign(value); }
46 inline DescribePlayerSessionsRequest& WithGameSessionId(const Aws::String& value) { SetGameSessionId(value); return *this;}
47 inline DescribePlayerSessionsRequest& WithGameSessionId(Aws::String&& value) { SetGameSessionId(std::move(value)); return *this;}
48 inline DescribePlayerSessionsRequest& WithGameSessionId(const char* value) { SetGameSessionId(value); return *this;}
50
52
55 inline const Aws::String& GetPlayerId() const{ return m_playerId; }
56 inline bool PlayerIdHasBeenSet() const { return m_playerIdHasBeenSet; }
57 inline void SetPlayerId(const Aws::String& value) { m_playerIdHasBeenSet = true; m_playerId = value; }
58 inline void SetPlayerId(Aws::String&& value) { m_playerIdHasBeenSet = true; m_playerId = std::move(value); }
59 inline void SetPlayerId(const char* value) { m_playerIdHasBeenSet = true; m_playerId.assign(value); }
60 inline DescribePlayerSessionsRequest& WithPlayerId(const Aws::String& value) { SetPlayerId(value); return *this;}
61 inline DescribePlayerSessionsRequest& WithPlayerId(Aws::String&& value) { SetPlayerId(std::move(value)); return *this;}
62 inline DescribePlayerSessionsRequest& WithPlayerId(const char* value) { SetPlayerId(value); return *this;}
64
66
69 inline const Aws::String& GetPlayerSessionId() const{ return m_playerSessionId; }
70 inline bool PlayerSessionIdHasBeenSet() const { return m_playerSessionIdHasBeenSet; }
71 inline void SetPlayerSessionId(const Aws::String& value) { m_playerSessionIdHasBeenSet = true; m_playerSessionId = value; }
72 inline void SetPlayerSessionId(Aws::String&& value) { m_playerSessionIdHasBeenSet = true; m_playerSessionId = std::move(value); }
73 inline void SetPlayerSessionId(const char* value) { m_playerSessionIdHasBeenSet = true; m_playerSessionId.assign(value); }
75 inline DescribePlayerSessionsRequest& WithPlayerSessionId(Aws::String&& value) { SetPlayerSessionId(std::move(value)); return *this;}
76 inline DescribePlayerSessionsRequest& WithPlayerSessionId(const char* value) { SetPlayerSessionId(value); return *this;}
78
80
93 inline const Aws::String& GetPlayerSessionStatusFilter() const{ return m_playerSessionStatusFilter; }
94 inline bool PlayerSessionStatusFilterHasBeenSet() const { return m_playerSessionStatusFilterHasBeenSet; }
95 inline void SetPlayerSessionStatusFilter(const Aws::String& value) { m_playerSessionStatusFilterHasBeenSet = true; m_playerSessionStatusFilter = value; }
96 inline void SetPlayerSessionStatusFilter(Aws::String&& value) { m_playerSessionStatusFilterHasBeenSet = true; m_playerSessionStatusFilter = std::move(value); }
97 inline void SetPlayerSessionStatusFilter(const char* value) { m_playerSessionStatusFilterHasBeenSet = true; m_playerSessionStatusFilter.assign(value); }
102
104
109 inline int GetLimit() const{ return m_limit; }
110 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
111 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
112 inline DescribePlayerSessionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
114
116
122 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
123 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
124 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
125 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
126 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
127 inline DescribePlayerSessionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
128 inline DescribePlayerSessionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
129 inline DescribePlayerSessionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
131 private:
132
133 Aws::String m_gameSessionId;
134 bool m_gameSessionIdHasBeenSet = false;
135
136 Aws::String m_playerId;
137 bool m_playerIdHasBeenSet = false;
138
139 Aws::String m_playerSessionId;
140 bool m_playerSessionIdHasBeenSet = false;
141
142 Aws::String m_playerSessionStatusFilter;
143 bool m_playerSessionStatusFilterHasBeenSet = false;
144
145 int m_limit;
146 bool m_limitHasBeenSet = false;
147
148 Aws::String m_nextToken;
149 bool m_nextTokenHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace GameLift
154} // namespace Aws
DescribePlayerSessionsRequest & WithGameSessionId(const Aws::String &value)
DescribePlayerSessionsRequest & WithPlayerSessionStatusFilter(const Aws::String &value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribePlayerSessionsRequest & WithPlayerSessionStatusFilter(const char *value)
DescribePlayerSessionsRequest & WithNextToken(const char *value)
DescribePlayerSessionsRequest & WithPlayerSessionId(const char *value)
DescribePlayerSessionsRequest & WithGameSessionId(Aws::String &&value)
DescribePlayerSessionsRequest & WithPlayerSessionId(const Aws::String &value)
DescribePlayerSessionsRequest & WithNextToken(const Aws::String &value)
DescribePlayerSessionsRequest & WithGameSessionId(const char *value)
DescribePlayerSessionsRequest & WithNextToken(Aws::String &&value)
DescribePlayerSessionsRequest & WithPlayerId(Aws::String &&value)
DescribePlayerSessionsRequest & WithPlayerId(const char *value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DescribePlayerSessionsRequest & WithPlayerId(const Aws::String &value)
DescribePlayerSessionsRequest & WithPlayerSessionStatusFilter(Aws::String &&value)
DescribePlayerSessionsRequest & WithPlayerSessionId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String