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/RouteMatrixBoundary.h>
12#include <aws/geo-routes/model/RouteMatrixEntry.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
40 m_errorCountHasBeenSet =
true;
54 template <
typename PricingBucketT = Aws::String>
56 m_pricingBucketHasBeenSet =
true;
57 m_pricingBucket = std::forward<PricingBucketT>(value);
59 template <
typename PricingBucketT = Aws::String>
74 template <
typename RouteMatrixT = Aws::Vector<Aws::Vector<RouteMatrixEntry>>>
76 m_routeMatrixHasBeenSet =
true;
77 m_routeMatrix = std::forward<RouteMatrixT>(value);
79 template <
typename RouteMatrixT = Aws::Vector<Aws::Vector<RouteMatrixEntry>>>
84 template <
typename RouteMatrixT = Aws::Vector<RouteMatrixEntry>>
86 m_routeMatrixHasBeenSet =
true;
87 m_routeMatrix.emplace_back(std::forward<RouteMatrixT>(value));
100 template <
typename RoutingBoundaryT = RouteMatrixBoundary>
102 m_routingBoundaryHasBeenSet =
true;
103 m_routingBoundary = std::forward<RoutingBoundaryT>(value);
105 template <
typename RoutingBoundaryT = RouteMatrixBoundary>
115 template <
typename RequestIdT = Aws::String>
117 m_requestIdHasBeenSet =
true;
118 m_requestId = std::forward<RequestIdT>(value);
120 template <
typename RequestIdT = Aws::String>
135 RouteMatrixBoundary m_routingBoundary;
139 bool m_errorCountHasBeenSet =
false;
140 bool m_pricingBucketHasBeenSet =
false;
141 bool m_routeMatrixHasBeenSet =
false;
142 bool m_routingBoundaryHasBeenSet =
false;
143 bool m_requestIdHasBeenSet =
false;
CalculateRouteMatrixResult & WithRequestId(RequestIdT &&value)
int GetErrorCount() const
AWS_GEOROUTES_API CalculateRouteMatrixResult()=default
void SetErrorCount(int value)
AWS_GEOROUTES_API CalculateRouteMatrixResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetPricingBucket() const
const Aws::String & GetRequestId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_GEOROUTES_API CalculateRouteMatrixResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRouteMatrix(RouteMatrixT &&value)
void SetRoutingBoundary(RoutingBoundaryT &&value)
CalculateRouteMatrixResult & WithPricingBucket(PricingBucketT &&value)
CalculateRouteMatrixResult & WithRouteMatrix(RouteMatrixT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Vector< Aws::Vector< RouteMatrixEntry > > & GetRouteMatrix() const
CalculateRouteMatrixResult & AddRouteMatrix(RouteMatrixT &&value)
void SetPricingBucket(PricingBucketT &&value)
const RouteMatrixBoundary & GetRoutingBoundary() const
CalculateRouteMatrixResult & WithRoutingBoundary(RoutingBoundaryT &&value)
CalculateRouteMatrixResult & WithErrorCount(int 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