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/directconnect/DirectConnect_EXPORTS.h>
11#include <aws/directconnect/model/Location.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace DirectConnect {
37 template <
typename LocationsT = Aws::Vector<Location>>
39 m_locationsHasBeenSet =
true;
40 m_locations = std::forward<LocationsT>(value);
42 template <
typename LocationsT = Aws::Vector<Location>>
47 template <
typename LocationsT = Location>
49 m_locationsHasBeenSet =
true;
50 m_locations.emplace_back(std::forward<LocationsT>(value));
58 template <
typename RequestIdT = Aws::String>
60 m_requestIdHasBeenSet =
true;
61 m_requestId = std::forward<RequestIdT>(value);
63 template <
typename RequestIdT = Aws::String>
76 bool m_locationsHasBeenSet =
false;
77 bool m_requestIdHasBeenSet =
false;
AWS_DIRECTCONNECT_API DescribeLocationsResult()=default
AWS_DIRECTCONNECT_API DescribeLocationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Location > & GetLocations() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
DescribeLocationsResult & WithLocations(LocationsT &&value)
void SetLocations(LocationsT &&value)
DescribeLocationsResult & AddLocations(LocationsT &&value)
DescribeLocationsResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_DIRECTCONNECT_API DescribeLocationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue