7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/GeoRoutesRequest.h>
10#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
11#include <aws/geo-routes/model/RouteMatrixAllowOptions.h>
12#include <aws/geo-routes/model/RouteMatrixAvoidanceOptions.h>
13#include <aws/geo-routes/model/RouteMatrixBoundary.h>
14#include <aws/geo-routes/model/RouteMatrixDestination.h>
15#include <aws/geo-routes/model/RouteMatrixExclusionOptions.h>
16#include <aws/geo-routes/model/RouteMatrixOrigin.h>
17#include <aws/geo-routes/model/RouteMatrixTrafficOptions.h>
18#include <aws/geo-routes/model/RouteMatrixTravelMode.h>
19#include <aws/geo-routes/model/RouteMatrixTravelModeOptions.h>
20#include <aws/geo-routes/model/RoutingObjective.h>
53 template <
typename AllowT = RouteMatrixAllowOptions>
55 m_allowHasBeenSet =
true;
56 m_allow = std::forward<AllowT>(value);
58 template <
typename AllowT = RouteMatrixAllowOptions>
60 SetAllow(std::forward<AllowT>(value));
78 template <
typename A
voidT = RouteMatrixA
voidanceOptions>
80 m_avoidHasBeenSet =
true;
81 m_avoid = std::forward<AvoidT>(value);
83 template <
typename A
voidT = RouteMatrixA
voidanceOptions>
85 SetAvoid(std::forward<AvoidT>(value));
97 m_departNowHasBeenSet =
true;
115 template <
typename DepartureTimeT = Aws::String>
117 m_departureTimeHasBeenSet =
true;
118 m_departureTime = std::forward<DepartureTimeT>(value);
120 template <
typename DepartureTimeT = Aws::String>
152 template <
typename DestinationsT = Aws::Vector<RouteMatrixDestination>>
154 m_destinationsHasBeenSet =
true;
155 m_destinations = std::forward<DestinationsT>(value);
157 template <
typename DestinationsT = Aws::Vector<RouteMatrixDestination>>
162 template <
typename DestinationsT = RouteMatrixDestination>
164 m_destinationsHasBeenSet =
true;
165 m_destinations.emplace_back(std::forward<DestinationsT>(value));
179 template <
typename ExcludeT = RouteMatrixExclusionOptions>
181 m_excludeHasBeenSet =
true;
182 m_exclude = std::forward<ExcludeT>(value);
184 template <
typename ExcludeT = RouteMatrixExclusionOptions>
198 template <
typename KeyT = Aws::String>
200 m_keyHasBeenSet =
true;
201 m_key = std::forward<KeyT>(value);
203 template <
typename KeyT = Aws::String>
205 SetKey(std::forward<KeyT>(value));
220 m_optimizeRoutingForHasBeenSet =
true;
221 m_optimizeRoutingFor = value;
254 template <
typename OriginsT = Aws::Vector<RouteMatrixOrigin>>
256 m_originsHasBeenSet =
true;
257 m_origins = std::forward<OriginsT>(value);
259 template <
typename OriginsT = Aws::Vector<RouteMatrixOrigin>>
264 template <
typename OriginsT = RouteMatrixOrigin>
266 m_originsHasBeenSet =
true;
267 m_origins.emplace_back(std::forward<OriginsT>(value));
286 template <
typename RoutingBoundaryT = RouteMatrixBoundary>
288 m_routingBoundaryHasBeenSet =
true;
289 m_routingBoundary = std::forward<RoutingBoundaryT>(value);
291 template <
typename RoutingBoundaryT = RouteMatrixBoundary>
307 template <
typename TrafficT = RouteMatrixTrafficOptions>
309 m_trafficHasBeenSet =
true;
310 m_traffic = std::forward<TrafficT>(value);
312 template <
typename TrafficT = RouteMatrixTrafficOptions>
331 m_travelModeHasBeenSet =
true;
332 m_travelMode = value;
349 template <
typename TravelModeOptionsT = RouteMatrixTravelModeOptions>
351 m_travelModeOptionsHasBeenSet =
true;
352 m_travelModeOptions = std::forward<TravelModeOptionsT>(value);
354 template <
typename TravelModeOptionsT = RouteMatrixTravelModeOptions>
365 bool m_departNow{
false};
371 RouteMatrixExclusionOptions m_exclude;
379 RouteMatrixBoundary m_routingBoundary;
381 RouteMatrixTrafficOptions m_traffic;
385 RouteMatrixTravelModeOptions m_travelModeOptions;
386 bool m_allowHasBeenSet =
false;
387 bool m_avoidHasBeenSet =
false;
388 bool m_departNowHasBeenSet =
false;
389 bool m_departureTimeHasBeenSet =
false;
390 bool m_destinationsHasBeenSet =
false;
391 bool m_excludeHasBeenSet =
false;
392 bool m_keyHasBeenSet =
false;
393 bool m_optimizeRoutingForHasBeenSet =
false;
394 bool m_originsHasBeenSet =
false;
395 bool m_routingBoundaryHasBeenSet =
false;
396 bool m_trafficHasBeenSet =
false;
397 bool m_travelModeHasBeenSet =
false;
398 bool m_travelModeOptionsHasBeenSet =
false;
bool DepartureTimeHasBeenSet() const
CalculateRouteMatrixRequest & WithDepartNow(bool value)
CalculateRouteMatrixRequest & WithExclude(ExcludeT &&value)
void SetTravelMode(RouteMatrixTravelMode value)
bool ExcludeHasBeenSet() const
const RouteMatrixExclusionOptions & GetExclude() const
CalculateRouteMatrixRequest & WithTravelModeOptions(TravelModeOptionsT &&value)
CalculateRouteMatrixRequest & AddOrigins(OriginsT &&value)
CalculateRouteMatrixRequest & WithDestinations(DestinationsT &&value)
void SetAvoid(AvoidT &&value)
const Aws::Vector< RouteMatrixDestination > & GetDestinations() const
void SetAllow(AllowT &&value)
const Aws::String & GetKey() const
bool KeyHasBeenSet() const
const RouteMatrixBoundary & GetRoutingBoundary() const
void SetDepartureTime(DepartureTimeT &&value)
CalculateRouteMatrixRequest & WithKey(KeyT &&value)
void SetDepartNow(bool value)
bool DepartNowHasBeenSet() const
bool OptimizeRoutingForHasBeenSet() const
const RouteMatrixAllowOptions & GetAllow() const
RoutingObjective GetOptimizeRoutingFor() const
CalculateRouteMatrixRequest & AddDestinations(DestinationsT &&value)
bool GetDepartNow() const
void SetOptimizeRoutingFor(RoutingObjective value)
void SetOrigins(OriginsT &&value)
bool DestinationsHasBeenSet() const
void SetDestinations(DestinationsT &&value)
CalculateRouteMatrixRequest & WithTraffic(TrafficT &&value)
virtual const char * GetServiceRequestName() const override
void SetExclude(ExcludeT &&value)
CalculateRouteMatrixRequest & WithAllow(AllowT &&value)
const Aws::String & GetDepartureTime() const
CalculateRouteMatrixRequest & WithDepartureTime(DepartureTimeT &&value)
CalculateRouteMatrixRequest & WithOrigins(OriginsT &&value)
const RouteMatrixAvoidanceOptions & GetAvoid() const
AWS_GEOROUTES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetTraffic(TrafficT &&value)
const RouteMatrixTravelModeOptions & GetTravelModeOptions() const
void SetTravelModeOptions(TravelModeOptionsT &&value)
const Aws::Vector< RouteMatrixOrigin > & GetOrigins() const
bool TravelModeOptionsHasBeenSet() const
bool AvoidHasBeenSet() const
void SetRoutingBoundary(RoutingBoundaryT &&value)
CalculateRouteMatrixRequest & WithTravelMode(RouteMatrixTravelMode value)
CalculateRouteMatrixRequest & WithOptimizeRoutingFor(RoutingObjective value)
bool TravelModeHasBeenSet() const
CalculateRouteMatrixRequest & WithAvoid(AvoidT &&value)
CalculateRouteMatrixRequest & WithRoutingBoundary(RoutingBoundaryT &&value)
AWS_GEOROUTES_API CalculateRouteMatrixRequest()=default
bool TrafficHasBeenSet() const
RouteMatrixTravelMode GetTravelMode() const
const RouteMatrixTrafficOptions & GetTraffic() const
void SetKey(KeyT &&value)
AWS_GEOROUTES_API Aws::String SerializePayload() const override
bool RoutingBoundaryHasBeenSet() const
bool AllowHasBeenSet() const
bool OriginsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector