7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datasync/DataSync_EXPORTS.h>
10#include <aws/datasync/model/LocationListEntry.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
41 template <
typename LocationsT = Aws::Vector<LocationListEntry>>
43 m_locationsHasBeenSet =
true;
44 m_locations = std::forward<LocationsT>(value);
46 template <
typename LocationsT = Aws::Vector<LocationListEntry>>
51 template <
typename LocationsT = LocationListEntry>
53 m_locationsHasBeenSet =
true;
54 m_locations.emplace_back(std::forward<LocationsT>(value));
65 template <
typename NextTokenT = Aws::String>
67 m_nextTokenHasBeenSet =
true;
68 m_nextToken = std::forward<NextTokenT>(value);
70 template <
typename NextTokenT = Aws::String>
80 template <
typename RequestIdT = Aws::String>
82 m_requestIdHasBeenSet =
true;
83 m_requestId = std::forward<RequestIdT>(value);
85 template <
typename RequestIdT = Aws::String>
97 bool m_locationsHasBeenSet =
false;
98 bool m_nextTokenHasBeenSet =
false;
99 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
AWS_DATASYNC_API ListLocationsResult()=default
const Aws::String & GetRequestId() 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