7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datasync/model/LocationListEntry.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
47 template<
typename LocationsT = Aws::Vector<LocationListEntry>>
48 void SetLocations(LocationsT&& value) { m_locationsHasBeenSet =
true; m_locations = std::forward<LocationsT>(value); }
49 template<
typename LocationsT = Aws::Vector<LocationListEntry>>
51 template<
typename LocationsT = LocationListEntry>
61 template<
typename NextTokenT = Aws::String>
62 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
63 template<
typename NextTokenT = Aws::String>
70 template<
typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
72 template<
typename RequestIdT = Aws::String>
78 bool m_locationsHasBeenSet =
false;
81 bool m_nextTokenHasBeenSet =
false;
84 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