AWS SDK for C++

AWS SDK for C++ Version 1.11.851

Loading...
Searching...
No Matches
DescribeGameSessionDetailsRequest.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 DescribeGameSessionDetailsRequest() = 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 "DescribeGameSessionDetails"; }
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
121 inline const Aws::String& GetStatusFilter() const { return m_statusFilter; }
122 inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
123 template <typename StatusFilterT = Aws::String>
124 void SetStatusFilter(StatusFilterT&& value) {
125 m_statusFilterHasBeenSet = true;
126 m_statusFilter = std::forward<StatusFilterT>(value);
127 }
128 template <typename StatusFilterT = Aws::String>
130 SetStatusFilter(std::forward<StatusFilterT>(value));
131 return *this;
132 }
134
136
140 inline int GetLimit() const { return m_limit; }
141 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
142 inline void SetLimit(int value) {
143 m_limitHasBeenSet = true;
144 m_limit = value;
145 }
147 SetLimit(value);
148 return *this;
149 }
151
153
158 inline const Aws::String& GetNextToken() const { return m_nextToken; }
159 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
160 template <typename NextTokenT = Aws::String>
161 void SetNextToken(NextTokenT&& value) {
162 m_nextTokenHasBeenSet = true;
163 m_nextToken = std::forward<NextTokenT>(value);
164 }
165 template <typename NextTokenT = Aws::String>
167 SetNextToken(std::forward<NextTokenT>(value));
168 return *this;
169 }
171 private:
172 Aws::String m_fleetId;
173
174 Aws::String m_gameSessionId;
175
176 Aws::String m_aliasId;
177
178 Aws::String m_location;
179
180 Aws::String m_statusFilter;
181
182 int m_limit{0};
183
184 Aws::String m_nextToken;
185 bool m_fleetIdHasBeenSet = false;
186 bool m_gameSessionIdHasBeenSet = false;
187 bool m_aliasIdHasBeenSet = false;
188 bool m_locationHasBeenSet = false;
189 bool m_statusFilterHasBeenSet = false;
190 bool m_limitHasBeenSet = false;
191 bool m_nextTokenHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace GameLift
196} // namespace Aws
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeGameSessionDetailsRequest & WithNextToken(NextTokenT &&value)
DescribeGameSessionDetailsRequest & WithAliasId(AliasIdT &&value)
AWS_GAMELIFT_API DescribeGameSessionDetailsRequest()=default
DescribeGameSessionDetailsRequest & WithGameSessionId(GameSessionIdT &&value)
DescribeGameSessionDetailsRequest & WithStatusFilter(StatusFilterT &&value)
DescribeGameSessionDetailsRequest & WithLocation(LocationT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DescribeGameSessionDetailsRequest & WithFleetId(FleetIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String