7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/gamelift/model/LocationModel.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
44 template<
typename LocationsT = Aws::Vector<LocationModel>>
45 void SetLocations(LocationsT&& value) { m_locationsHasBeenSet =
true; m_locations = std::forward<LocationsT>(value); }
46 template<
typename LocationsT = Aws::Vector<LocationModel>>
48 template<
typename LocationsT = LocationModel>
59 template<
typename NextTokenT = Aws::String>
60 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
61 template<
typename NextTokenT = Aws::String>
68 template<
typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
70 template<
typename RequestIdT = Aws::String>
76 bool m_locationsHasBeenSet =
false;
79 bool m_nextTokenHasBeenSet =
false;
82 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