7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11#include <aws/gamelift/model/GameSession.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename GameSessionsT = Aws::Vector<GameSession>>
40 m_gameSessionsHasBeenSet =
true;
41 m_gameSessions = std::forward<GameSessionsT>(value);
43 template <
typename GameSessionsT = Aws::Vector<GameSession>>
48 template <
typename GameSessionsT = GameSession>
50 m_gameSessionsHasBeenSet =
true;
51 m_gameSessions.emplace_back(std::forward<GameSessionsT>(value));
63 template <
typename NextTokenT = Aws::String>
65 m_nextTokenHasBeenSet =
true;
66 m_nextToken = std::forward<NextTokenT>(value);
68 template <
typename NextTokenT = Aws::String>
78 template <
typename RequestIdT = Aws::String>
80 m_requestIdHasBeenSet =
true;
81 m_requestId = std::forward<RequestIdT>(value);
83 template <
typename RequestIdT = Aws::String>
98 bool m_gameSessionsHasBeenSet =
false;
99 bool m_nextTokenHasBeenSet =
false;
100 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
SearchGameSessionsResult & WithNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_GAMELIFT_API SearchGameSessionsResult()=default
SearchGameSessionsResult & WithGameSessions(GameSessionsT &&value)
void SetRequestId(RequestIdT &&value)
AWS_GAMELIFT_API SearchGameSessionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< GameSession > & GetGameSessions() const
SearchGameSessionsResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
AWS_GAMELIFT_API SearchGameSessionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetGameSessions(GameSessionsT &&value)
SearchGameSessionsResult & AddGameSessions(GameSessionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue