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/LocationModel.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
39 template <
typename LocationsT = Aws::Vector<LocationModel>>
41 m_locationsHasBeenSet =
true;
42 m_locations = std::forward<LocationsT>(value);
44 template <
typename LocationsT = Aws::Vector<LocationModel>>
49 template <
typename LocationsT = LocationModel>
51 m_locationsHasBeenSet =
true;
52 m_locations.emplace_back(std::forward<LocationsT>(value));
64 template <
typename NextTokenT = Aws::String>
66 m_nextTokenHasBeenSet =
true;
67 m_nextToken = std::forward<NextTokenT>(value);
69 template <
typename NextTokenT = Aws::String>
79 template <
typename RequestIdT = Aws::String>
81 m_requestIdHasBeenSet =
true;
82 m_requestId = std::forward<RequestIdT>(value);
84 template <
typename RequestIdT = Aws::String>
99 bool m_locationsHasBeenSet =
false;
100 bool m_nextTokenHasBeenSet =
false;
101 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
const Aws::Vector< LocationModel > & GetLocations() const
AWS_GAMELIFT_API ListLocationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListLocationsResult & AddLocations(LocationsT &&value)
void SetNextToken(NextTokenT &&value)
AWS_GAMELIFT_API ListLocationsResult()=default
const Aws::String & GetNextToken() const
AWS_GAMELIFT_API ListLocationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListLocationsResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetLocations(LocationsT &&value)
ListLocationsResult & WithLocations(LocationsT &&value)
void SetRequestId(RequestIdT &&value)
ListLocationsResult & WithNextToken(NextTokenT &&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