7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/geo-routes/model/RouteMatrixBoundary.h>
11#include <aws/geo-routes/model/RouteMatrixEntry.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
44 inline void SetErrorCount(
int value) { m_errorCountHasBeenSet =
true; m_errorCount = value; }
53 template<
typename PricingBucketT = Aws::String>
54 void SetPricingBucket(PricingBucketT&& value) { m_pricingBucketHasBeenSet =
true; m_pricingBucket = std::forward<PricingBucketT>(value); }
55 template<
typename PricingBucketT = Aws::String>
67 template<
typename RouteMatrixT = Aws::Vector<Aws::Vector<RouteMatrixEntry>>>
68 void SetRouteMatrix(RouteMatrixT&& value) { m_routeMatrixHasBeenSet =
true; m_routeMatrix = std::forward<RouteMatrixT>(value); }
69 template<
typename RouteMatrixT = Aws::Vector<Aws::Vector<RouteMatrixEntry>>>
71 template<
typename RouteMatrixT = Aws::Vector<RouteMatrixEntry>>
83 template<
typename RoutingBoundaryT = RouteMatrixBoundary>
84 void SetRoutingBoundary(RoutingBoundaryT&& value) { m_routingBoundaryHasBeenSet =
true; m_routingBoundary = std::forward<RoutingBoundaryT>(value); }
85 template<
typename RoutingBoundaryT = RouteMatrixBoundary>
92 template<
typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
94 template<
typename RequestIdT = Aws::String>
100 bool m_errorCountHasBeenSet =
false;
103 bool m_pricingBucketHasBeenSet =
false;
106 bool m_routeMatrixHasBeenSet =
false;
108 RouteMatrixBoundary m_routingBoundary;
109 bool m_routingBoundaryHasBeenSet =
false;
112 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_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