AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
DescribeGameSessionsRequest.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 DescribeGameSessionsRequest() = 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 "DescribeGameSessions"; }
28
29 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetFleetId() const { return m_fleetId; }
39 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
40 template <typename FleetIdT = Aws::String>
41 void SetFleetId(FleetIdT&& value) {
42 m_fleetIdHasBeenSet = true;
43 m_fleetId = std::forward<FleetIdT>(value);
44 }
45 template <typename FleetIdT = Aws::String>
47 SetFleetId(std::forward<FleetIdT>(value));
48 return *this;
49 }
51
53
59 inline const Aws::String& GetGameSessionId() const { return m_gameSessionId; }
60 inline bool GameSessionIdHasBeenSet() const { return m_gameSessionIdHasBeenSet; }
61 template <typename GameSessionIdT = Aws::String>
62 void SetGameSessionId(GameSessionIdT&& value) {
63 m_gameSessionIdHasBeenSet = true;
64 m_gameSessionId = std::forward<GameSessionIdT>(value);
65 }
66 template <typename GameSessionIdT = Aws::String>
68 SetGameSessionId(std::forward<GameSessionIdT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetAliasId() const { return m_aliasId; }
79 inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
80 template <typename AliasIdT = Aws::String>
81 void SetAliasId(AliasIdT&& value) {
82 m_aliasIdHasBeenSet = true;
83 m_aliasId = std::forward<AliasIdT>(value);
84 }
85 template <typename AliasIdT = Aws::String>
87 SetAliasId(std::forward<AliasIdT>(value));
88 return *this;
89 }
91
93
98 inline const Aws::String& GetLocation() const { return m_location; }
99 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
100 template <typename LocationT = Aws::String>
101 void SetLocation(LocationT&& value) {
102 m_locationHasBeenSet = true;
103 m_location = std::forward<LocationT>(value);
104 }
105 template <typename LocationT = Aws::String>
107 SetLocation(std::forward<LocationT>(value));
108 return *this;
109 }
111
113
119 inline const Aws::String& GetStatusFilter() const { return m_statusFilter; }
120 inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
121 template <typename StatusFilterT = Aws::String>
122 void SetStatusFilter(StatusFilterT&& value) {
123 m_statusFilterHasBeenSet = true;
124 m_statusFilter = std::forward<StatusFilterT>(value);
125 }
126 template <typename StatusFilterT = Aws::String>
128 SetStatusFilter(std::forward<StatusFilterT>(value));
129 return *this;
130 }
132
134
138 inline int GetLimit() const { return m_limit; }
139 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
140 inline void SetLimit(int value) {
141 m_limitHasBeenSet = true;
142 m_limit = value;
143 }
145 SetLimit(value);
146 return *this;
147 }
149
151
156 inline const Aws::String& GetNextToken() const { return m_nextToken; }
157 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
158 template <typename NextTokenT = Aws::String>
159 void SetNextToken(NextTokenT&& value) {
160 m_nextTokenHasBeenSet = true;
161 m_nextToken = std::forward<NextTokenT>(value);
162 }
163 template <typename NextTokenT = Aws::String>
165 SetNextToken(std::forward<NextTokenT>(value));
166 return *this;
167 }
169 private:
170 Aws::String m_fleetId;
171
172 Aws::String m_gameSessionId;
173
174 Aws::String m_aliasId;
175
176 Aws::String m_location;
177
178 Aws::String m_statusFilter;
179
180 int m_limit{0};
181
182 Aws::String m_nextToken;
183 bool m_fleetIdHasBeenSet = false;
184 bool m_gameSessionIdHasBeenSet = false;
185 bool m_aliasIdHasBeenSet = false;
186 bool m_locationHasBeenSet = false;
187 bool m_statusFilterHasBeenSet = false;
188 bool m_limitHasBeenSet = false;
189 bool m_nextTokenHasBeenSet = false;
190};
191
192} // namespace Model
193} // namespace GameLift
194} // namespace Aws
virtual const char * GetServiceRequestName() const override
DescribeGameSessionsRequest & WithLocation(LocationT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DescribeGameSessionsRequest & WithGameSessionId(GameSessionIdT &&value)
AWS_GAMELIFT_API DescribeGameSessionsRequest()=default
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeGameSessionsRequest & WithAliasId(AliasIdT &&value)
DescribeGameSessionsRequest & WithStatusFilter(StatusFilterT &&value)
DescribeGameSessionsRequest & WithFleetId(FleetIdT &&value)
DescribeGameSessionsRequest & WithNextToken(NextTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String