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/geo-routes/GeoRoutes_EXPORTS.h>
11#include <aws/geo-routes/model/GeometryFormat.h>
12#include <aws/geo-routes/model/Route.h>
13#include <aws/geo-routes/model/RouteResponseNotice.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
40 m_legGeometryFormatHasBeenSet =
true;
41 m_legGeometryFormat = value;
58 template <
typename NoticesT = Aws::Vector<RouteResponseNotice>>
60 m_noticesHasBeenSet =
true;
61 m_notices = std::forward<NoticesT>(value);
63 template <
typename NoticesT = Aws::Vector<RouteResponseNotice>>
68 template <
typename NoticesT = RouteResponseNotice>
70 m_noticesHasBeenSet =
true;
71 m_notices.emplace_back(std::forward<NoticesT>(value));
81 template <
typename PricingBucketT = Aws::String>
83 m_pricingBucketHasBeenSet =
true;
84 m_pricingBucket = std::forward<PricingBucketT>(value);
86 template <
typename PricingBucketT = Aws::String>
98 template <
typename RoutesT = Aws::Vector<Route>>
100 m_routesHasBeenSet =
true;
101 m_routes = std::forward<RoutesT>(value);
103 template <
typename RoutesT = Aws::Vector<Route>>
108 template <
typename RoutesT = Route>
110 m_routesHasBeenSet =
true;
111 m_routes.emplace_back(std::forward<RoutesT>(value));
119 template <
typename RequestIdT = Aws::String>
121 m_requestIdHasBeenSet =
true;
122 m_requestId = std::forward<RequestIdT>(value);
124 template <
typename RequestIdT = Aws::String>
143 bool m_legGeometryFormatHasBeenSet =
false;
144 bool m_noticesHasBeenSet =
false;
145 bool m_pricingBucketHasBeenSet =
false;
146 bool m_routesHasBeenSet =
false;
147 bool m_requestIdHasBeenSet =
false;
CalculateRoutesResult & WithRequestId(RequestIdT &&value)
void SetPricingBucket(PricingBucketT &&value)
CalculateRoutesResult & AddRoutes(RoutesT &&value)
GeometryFormat GetLegGeometryFormat() const
void SetLegGeometryFormat(GeometryFormat value)
CalculateRoutesResult & AddNotices(NoticesT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CalculateRoutesResult & WithPricingBucket(PricingBucketT &&value)
const Aws::String & GetRequestId() const
CalculateRoutesResult & WithRoutes(RoutesT &&value)
CalculateRoutesResult & WithNotices(NoticesT &&value)
void SetNotices(NoticesT &&value)
AWS_GEOROUTES_API CalculateRoutesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< RouteResponseNotice > & GetNotices() const
const Aws::Vector< Route > & GetRoutes() const
AWS_GEOROUTES_API CalculateRoutesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRoutes(RoutesT &&value)
const Aws::String & GetPricingBucket() const
CalculateRoutesResult & WithLegGeometryFormat(GeometryFormat value)
AWS_GEOROUTES_API CalculateRoutesResult()=default
void SetRequestId(RequestIdT &&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