7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/LocationModel.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
38 template <
typename LocationsT = Aws::Vector<LocationModel>>
40 m_locationsHasBeenSet =
true;
41 m_locations = std::forward<LocationsT>(value);
43 template <
typename LocationsT = Aws::Vector<LocationModel>>
48 template <
typename LocationsT = LocationModel>
50 m_locationsHasBeenSet =
true;
51 m_locations.emplace_back(std::forward<LocationsT>(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>
91 bool m_locationsHasBeenSet =
false;
94 bool m_nextTokenHasBeenSet =
false;
97 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)
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