AWS SDK for C++

AWS SDK for C++ Version 1.11.851

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
62 inline const Aws::String& GetGameSessionId() const { return m_gameSessionId; }
63 inline bool GameSessionIdHasBeenSet() const { return m_gameSessionIdHasBeenSet; }
64 template <typename GameSessionIdT = Aws::String>
65 void SetGameSessionId(GameSessionIdT&& value) {
66 m_gameSessionIdHasBeenSet = true;
67 m_gameSessionId = std::forward<GameSessionIdT>(value);
68 }
69 template <typename GameSessionIdT = Aws::String>
71 SetGameSessionId(std::forward<GameSessionIdT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetAliasId() const { return m_aliasId; }
82 inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
83 template <typename AliasIdT = Aws::String>
84 void SetAliasId(AliasIdT&& value) {
85 m_aliasIdHasBeenSet = true;
86 m_aliasId = std::forward<AliasIdT>(value);
87 }
88 template <typename AliasIdT = Aws::String>
90 SetAliasId(std::forward<AliasIdT>(value));
91 return *this;
92 }
94
96
101 inline const Aws::String& GetLocation() const { return m_location; }
102 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
103 template <typename LocationT = Aws::String>
104 void SetLocation(LocationT&& value) {
105 m_locationHasBeenSet = true;
106 m_location = std::forward<LocationT>(value);
107 }
108 template <typename LocationT = Aws::String>
110 SetLocation(std::forward<LocationT>(value));
111 return *this;
112 }
114
116
122 inline const Aws::String& GetStatusFilter() const { return m_statusFilter; }
123 inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
124 template <typename StatusFilterT = Aws::String>
125 void SetStatusFilter(StatusFilterT&& value) {
126 m_statusFilterHasBeenSet = true;
127 m_statusFilter = std::forward<StatusFilterT>(value);
128 }
129 template <typename StatusFilterT = Aws::String>
131 SetStatusFilter(std::forward<StatusFilterT>(value));
132 return *this;
133 }
135
137
141 inline int GetLimit() const { return m_limit; }
142 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
143 inline void SetLimit(int value) {
144 m_limitHasBeenSet = true;
145 m_limit = value;
146 }
148 SetLimit(value);
149 return *this;
150 }
152
154
159 inline const Aws::String& GetNextToken() const { return m_nextToken; }
160 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
161 template <typename NextTokenT = Aws::String>
162 void SetNextToken(NextTokenT&& value) {
163 m_nextTokenHasBeenSet = true;
164 m_nextToken = std::forward<NextTokenT>(value);
165 }
166 template <typename NextTokenT = Aws::String>
168 SetNextToken(std::forward<NextTokenT>(value));
169 return *this;
170 }
172 private:
173 Aws::String m_fleetId;
174
175 Aws::String m_gameSessionId;
176
177 Aws::String m_aliasId;
178
179 Aws::String m_location;
180
181 Aws::String m_statusFilter;
182
183 int m_limit{0};
184
185 Aws::String m_nextToken;
186 bool m_fleetIdHasBeenSet = false;
187 bool m_gameSessionIdHasBeenSet = false;
188 bool m_aliasIdHasBeenSet = false;
189 bool m_locationHasBeenSet = false;
190 bool m_statusFilterHasBeenSet = false;
191 bool m_limitHasBeenSet = false;
192 bool m_nextTokenHasBeenSet = false;
193};
194
195} // namespace Model
196} // namespace GameLift
197} // 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