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/datasync/DataSync_EXPORTS.h>
11#include <aws/datasync/model/LocationListEntry.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
42 template <
typename LocationsT = Aws::Vector<LocationListEntry>>
44 m_locationsHasBeenSet =
true;
45 m_locations = std::forward<LocationsT>(value);
47 template <
typename LocationsT = Aws::Vector<LocationListEntry>>
52 template <
typename LocationsT = LocationListEntry>
54 m_locationsHasBeenSet =
true;
55 m_locations.emplace_back(std::forward<LocationsT>(value));
66 template <
typename NextTokenT = Aws::String>
68 m_nextTokenHasBeenSet =
true;
69 m_nextToken = std::forward<NextTokenT>(value);
71 template <
typename NextTokenT = Aws::String>
81 template <
typename RequestIdT = Aws::String>
83 m_requestIdHasBeenSet =
true;
84 m_requestId = std::forward<RequestIdT>(value);
86 template <
typename RequestIdT = Aws::String>
101 bool m_locationsHasBeenSet =
false;
102 bool m_nextTokenHasBeenSet =
false;
103 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
AWS_DATASYNC_API ListLocationsResult()=default
const Aws::String & GetRequestId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_DATASYNC_API ListLocationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListLocationsResult & AddLocations(LocationsT &&value)
ListLocationsResult & WithLocations(LocationsT &&value)
ListLocationsResult & WithRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
AWS_DATASYNC_API ListLocationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLocations(LocationsT &&value)
const Aws::String & GetNextToken() const
ListLocationsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< LocationListEntry > & GetLocations() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue