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;
55 template <
typename NoticesT = Aws::Vector<RouteResponseNotice>>
57 m_noticesHasBeenSet =
true;
58 m_notices = std::forward<NoticesT>(value);
60 template <
typename NoticesT = Aws::Vector<RouteResponseNotice>>
65 template <
typename NoticesT = RouteResponseNotice>
67 m_noticesHasBeenSet =
true;
68 m_notices.emplace_back(std::forward<NoticesT>(value));
78 template <
typename PricingBucketT = Aws::String>
80 m_pricingBucketHasBeenSet =
true;
81 m_pricingBucket = std::forward<PricingBucketT>(value);
83 template <
typename PricingBucketT = Aws::String>
95 template <
typename RoutesT = Aws::Vector<Route>>
97 m_routesHasBeenSet =
true;
98 m_routes = std::forward<RoutesT>(value);
100 template <
typename RoutesT = Aws::Vector<Route>>
105 template <
typename RoutesT = Route>
107 m_routesHasBeenSet =
true;
108 m_routes.emplace_back(std::forward<RoutesT>(value));
116 template <
typename RequestIdT = Aws::String>
118 m_requestIdHasBeenSet =
true;
119 m_requestId = std::forward<RequestIdT>(value);
121 template <
typename RequestIdT = Aws::String>
140 bool m_legGeometryFormatHasBeenSet =
false;
141 bool m_noticesHasBeenSet =
false;
142 bool m_pricingBucketHasBeenSet =
false;
143 bool m_routesHasBeenSet =
false;
144 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