AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CalculateRoutesRequest.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/GeoRoutesRequest.h>
9#include <aws/geo-routes/model/RouteAllowOptions.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/geo-routes/model/RouteAvoidanceOptions.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/geo-routes/model/RouteDestinationOptions.h>
14#include <aws/geo-routes/model/RouteDriverOptions.h>
15#include <aws/geo-routes/model/RouteExclusionOptions.h>
16#include <aws/geo-routes/model/MeasurementSystem.h>
17#include <aws/geo-routes/model/GeometryFormat.h>
18#include <aws/geo-routes/model/RoutingObjective.h>
19#include <aws/geo-routes/model/RouteOriginOptions.h>
20#include <aws/geo-routes/model/RouteTollOptions.h>
21#include <aws/geo-routes/model/RouteTrafficOptions.h>
22#include <aws/geo-routes/model/RouteTravelMode.h>
23#include <aws/geo-routes/model/RouteTravelModeOptions.h>
24#include <aws/geo-routes/model/RouteTravelStepType.h>
25#include <aws/geo-routes/model/RouteLegAdditionalFeature.h>
26#include <aws/geo-routes/model/RouteSpanAdditionalFeature.h>
27#include <aws/geo-routes/model/RouteWaypoint.h>
28#include <utility>
29
30namespace Aws
31{
32namespace Http
33{
34 class URI;
35} //namespace Http
36namespace GeoRoutes
37{
38namespace Model
39{
40
44 {
45 public:
46 AWS_GEOROUTES_API CalculateRoutesRequest();
47
48 // Service request name is the Operation name which will send this request out,
49 // each operation should has unique request name, so that we can get operation's name from this request.
50 // Note: this is not true for response, multiple operations may have the same response name,
51 // so we can not get operation's name from response.
52 inline virtual const char* GetServiceRequestName() const override { return "CalculateRoutes"; }
53
54 AWS_GEOROUTES_API Aws::String SerializePayload() const override;
55
56 AWS_GEOROUTES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
57
58
60
63 inline const RouteAllowOptions& GetAllow() const{ return m_allow; }
64 inline bool AllowHasBeenSet() const { return m_allowHasBeenSet; }
65 inline void SetAllow(const RouteAllowOptions& value) { m_allowHasBeenSet = true; m_allow = value; }
66 inline void SetAllow(RouteAllowOptions&& value) { m_allowHasBeenSet = true; m_allow = std::move(value); }
67 inline CalculateRoutesRequest& WithAllow(const RouteAllowOptions& value) { SetAllow(value); return *this;}
68 inline CalculateRoutesRequest& WithAllow(RouteAllowOptions&& value) { SetAllow(std::move(value)); return *this;}
70
72
78 inline const Aws::String& GetArrivalTime() const{ return m_arrivalTime; }
79 inline bool ArrivalTimeHasBeenSet() const { return m_arrivalTimeHasBeenSet; }
80 inline void SetArrivalTime(const Aws::String& value) { m_arrivalTimeHasBeenSet = true; m_arrivalTime = value; }
81 inline void SetArrivalTime(Aws::String&& value) { m_arrivalTimeHasBeenSet = true; m_arrivalTime = std::move(value); }
82 inline void SetArrivalTime(const char* value) { m_arrivalTimeHasBeenSet = true; m_arrivalTime.assign(value); }
83 inline CalculateRoutesRequest& WithArrivalTime(const Aws::String& value) { SetArrivalTime(value); return *this;}
84 inline CalculateRoutesRequest& WithArrivalTime(Aws::String&& value) { SetArrivalTime(std::move(value)); return *this;}
85 inline CalculateRoutesRequest& WithArrivalTime(const char* value) { SetArrivalTime(value); return *this;}
87
89
95 inline const RouteAvoidanceOptions& GetAvoid() const{ return m_avoid; }
96 inline bool AvoidHasBeenSet() const { return m_avoidHasBeenSet; }
97 inline void SetAvoid(const RouteAvoidanceOptions& value) { m_avoidHasBeenSet = true; m_avoid = value; }
98 inline void SetAvoid(RouteAvoidanceOptions&& value) { m_avoidHasBeenSet = true; m_avoid = std::move(value); }
99 inline CalculateRoutesRequest& WithAvoid(const RouteAvoidanceOptions& value) { SetAvoid(value); return *this;}
100 inline CalculateRoutesRequest& WithAvoid(RouteAvoidanceOptions&& value) { SetAvoid(std::move(value)); return *this;}
102
104
107 inline bool GetDepartNow() const{ return m_departNow; }
108 inline bool DepartNowHasBeenSet() const { return m_departNowHasBeenSet; }
109 inline void SetDepartNow(bool value) { m_departNowHasBeenSet = true; m_departNow = value; }
110 inline CalculateRoutesRequest& WithDepartNow(bool value) { SetDepartNow(value); return *this;}
112
114
120 inline const Aws::String& GetDepartureTime() const{ return m_departureTime; }
121 inline bool DepartureTimeHasBeenSet() const { return m_departureTimeHasBeenSet; }
122 inline void SetDepartureTime(const Aws::String& value) { m_departureTimeHasBeenSet = true; m_departureTime = value; }
123 inline void SetDepartureTime(Aws::String&& value) { m_departureTimeHasBeenSet = true; m_departureTime = std::move(value); }
124 inline void SetDepartureTime(const char* value) { m_departureTimeHasBeenSet = true; m_departureTime.assign(value); }
125 inline CalculateRoutesRequest& WithDepartureTime(const Aws::String& value) { SetDepartureTime(value); return *this;}
126 inline CalculateRoutesRequest& WithDepartureTime(Aws::String&& value) { SetDepartureTime(std::move(value)); return *this;}
127 inline CalculateRoutesRequest& WithDepartureTime(const char* value) { SetDepartureTime(value); return *this;}
129
131
135 inline const Aws::Vector<double>& GetDestination() const{ return m_destination; }
136 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
137 inline void SetDestination(const Aws::Vector<double>& value) { m_destinationHasBeenSet = true; m_destination = value; }
138 inline void SetDestination(Aws::Vector<double>&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
139 inline CalculateRoutesRequest& WithDestination(const Aws::Vector<double>& value) { SetDestination(value); return *this;}
140 inline CalculateRoutesRequest& WithDestination(Aws::Vector<double>&& value) { SetDestination(std::move(value)); return *this;}
141 inline CalculateRoutesRequest& AddDestination(double value) { m_destinationHasBeenSet = true; m_destination.push_back(value); return *this; }
143
145
148 inline const RouteDestinationOptions& GetDestinationOptions() const{ return m_destinationOptions; }
149 inline bool DestinationOptionsHasBeenSet() const { return m_destinationOptionsHasBeenSet; }
150 inline void SetDestinationOptions(const RouteDestinationOptions& value) { m_destinationOptionsHasBeenSet = true; m_destinationOptions = value; }
151 inline void SetDestinationOptions(RouteDestinationOptions&& value) { m_destinationOptionsHasBeenSet = true; m_destinationOptions = std::move(value); }
155
157
160 inline const RouteDriverOptions& GetDriver() const{ return m_driver; }
161 inline bool DriverHasBeenSet() const { return m_driverHasBeenSet; }
162 inline void SetDriver(const RouteDriverOptions& value) { m_driverHasBeenSet = true; m_driver = value; }
163 inline void SetDriver(RouteDriverOptions&& value) { m_driverHasBeenSet = true; m_driver = std::move(value); }
164 inline CalculateRoutesRequest& WithDriver(const RouteDriverOptions& value) { SetDriver(value); return *this;}
165 inline CalculateRoutesRequest& WithDriver(RouteDriverOptions&& value) { SetDriver(std::move(value)); return *this;}
167
169
172 inline const RouteExclusionOptions& GetExclude() const{ return m_exclude; }
173 inline bool ExcludeHasBeenSet() const { return m_excludeHasBeenSet; }
174 inline void SetExclude(const RouteExclusionOptions& value) { m_excludeHasBeenSet = true; m_exclude = value; }
175 inline void SetExclude(RouteExclusionOptions&& value) { m_excludeHasBeenSet = true; m_exclude = std::move(value); }
176 inline CalculateRoutesRequest& WithExclude(const RouteExclusionOptions& value) { SetExclude(value); return *this;}
177 inline CalculateRoutesRequest& WithExclude(RouteExclusionOptions&& value) { SetExclude(std::move(value)); return *this;}
179
181
185 inline const MeasurementSystem& GetInstructionsMeasurementSystem() const{ return m_instructionsMeasurementSystem; }
186 inline bool InstructionsMeasurementSystemHasBeenSet() const { return m_instructionsMeasurementSystemHasBeenSet; }
187 inline void SetInstructionsMeasurementSystem(const MeasurementSystem& value) { m_instructionsMeasurementSystemHasBeenSet = true; m_instructionsMeasurementSystem = value; }
188 inline void SetInstructionsMeasurementSystem(MeasurementSystem&& value) { m_instructionsMeasurementSystemHasBeenSet = true; m_instructionsMeasurementSystem = std::move(value); }
192
194
198 inline const Aws::String& GetKey() const{ return m_key; }
199 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
200 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
201 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
202 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
203 inline CalculateRoutesRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;}
204 inline CalculateRoutesRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
205 inline CalculateRoutesRequest& WithKey(const char* value) { SetKey(value); return *this;}
207
209
214 inline const Aws::Vector<Aws::String>& GetLanguages() const{ return m_languages; }
215 inline bool LanguagesHasBeenSet() const { return m_languagesHasBeenSet; }
216 inline void SetLanguages(const Aws::Vector<Aws::String>& value) { m_languagesHasBeenSet = true; m_languages = value; }
217 inline void SetLanguages(Aws::Vector<Aws::String>&& value) { m_languagesHasBeenSet = true; m_languages = std::move(value); }
218 inline CalculateRoutesRequest& WithLanguages(const Aws::Vector<Aws::String>& value) { SetLanguages(value); return *this;}
219 inline CalculateRoutesRequest& WithLanguages(Aws::Vector<Aws::String>&& value) { SetLanguages(std::move(value)); return *this;}
220 inline CalculateRoutesRequest& AddLanguages(const Aws::String& value) { m_languagesHasBeenSet = true; m_languages.push_back(value); return *this; }
221 inline CalculateRoutesRequest& AddLanguages(Aws::String&& value) { m_languagesHasBeenSet = true; m_languages.push_back(std::move(value)); return *this; }
222 inline CalculateRoutesRequest& AddLanguages(const char* value) { m_languagesHasBeenSet = true; m_languages.push_back(value); return *this; }
224
226
242 inline const Aws::Vector<RouteLegAdditionalFeature>& GetLegAdditionalFeatures() const{ return m_legAdditionalFeatures; }
243 inline bool LegAdditionalFeaturesHasBeenSet() const { return m_legAdditionalFeaturesHasBeenSet; }
244 inline void SetLegAdditionalFeatures(const Aws::Vector<RouteLegAdditionalFeature>& value) { m_legAdditionalFeaturesHasBeenSet = true; m_legAdditionalFeatures = value; }
245 inline void SetLegAdditionalFeatures(Aws::Vector<RouteLegAdditionalFeature>&& value) { m_legAdditionalFeaturesHasBeenSet = true; m_legAdditionalFeatures = std::move(value); }
248 inline CalculateRoutesRequest& AddLegAdditionalFeatures(const RouteLegAdditionalFeature& value) { m_legAdditionalFeaturesHasBeenSet = true; m_legAdditionalFeatures.push_back(value); return *this; }
249 inline CalculateRoutesRequest& AddLegAdditionalFeatures(RouteLegAdditionalFeature&& value) { m_legAdditionalFeaturesHasBeenSet = true; m_legAdditionalFeatures.push_back(std::move(value)); return *this; }
251
253
263 inline const GeometryFormat& GetLegGeometryFormat() const{ return m_legGeometryFormat; }
264 inline bool LegGeometryFormatHasBeenSet() const { return m_legGeometryFormatHasBeenSet; }
265 inline void SetLegGeometryFormat(const GeometryFormat& value) { m_legGeometryFormatHasBeenSet = true; m_legGeometryFormat = value; }
266 inline void SetLegGeometryFormat(GeometryFormat&& value) { m_legGeometryFormatHasBeenSet = true; m_legGeometryFormat = std::move(value); }
268 inline CalculateRoutesRequest& WithLegGeometryFormat(GeometryFormat&& value) { SetLegGeometryFormat(std::move(value)); return *this;}
270
272
276 inline int GetMaxAlternatives() const{ return m_maxAlternatives; }
277 inline bool MaxAlternativesHasBeenSet() const { return m_maxAlternativesHasBeenSet; }
278 inline void SetMaxAlternatives(int value) { m_maxAlternativesHasBeenSet = true; m_maxAlternatives = value; }
279 inline CalculateRoutesRequest& WithMaxAlternatives(int value) { SetMaxAlternatives(value); return *this;}
281
283
287 inline const RoutingObjective& GetOptimizeRoutingFor() const{ return m_optimizeRoutingFor; }
288 inline bool OptimizeRoutingForHasBeenSet() const { return m_optimizeRoutingForHasBeenSet; }
289 inline void SetOptimizeRoutingFor(const RoutingObjective& value) { m_optimizeRoutingForHasBeenSet = true; m_optimizeRoutingFor = value; }
290 inline void SetOptimizeRoutingFor(RoutingObjective&& value) { m_optimizeRoutingForHasBeenSet = true; m_optimizeRoutingFor = std::move(value); }
292 inline CalculateRoutesRequest& WithOptimizeRoutingFor(RoutingObjective&& value) { SetOptimizeRoutingFor(std::move(value)); return *this;}
294
296
299 inline const Aws::Vector<double>& GetOrigin() const{ return m_origin; }
300 inline bool OriginHasBeenSet() const { return m_originHasBeenSet; }
301 inline void SetOrigin(const Aws::Vector<double>& value) { m_originHasBeenSet = true; m_origin = value; }
302 inline void SetOrigin(Aws::Vector<double>&& value) { m_originHasBeenSet = true; m_origin = std::move(value); }
303 inline CalculateRoutesRequest& WithOrigin(const Aws::Vector<double>& value) { SetOrigin(value); return *this;}
304 inline CalculateRoutesRequest& WithOrigin(Aws::Vector<double>&& value) { SetOrigin(std::move(value)); return *this;}
305 inline CalculateRoutesRequest& AddOrigin(double value) { m_originHasBeenSet = true; m_origin.push_back(value); return *this; }
307
309
312 inline const RouteOriginOptions& GetOriginOptions() const{ return m_originOptions; }
313 inline bool OriginOptionsHasBeenSet() const { return m_originOptionsHasBeenSet; }
314 inline void SetOriginOptions(const RouteOriginOptions& value) { m_originOptionsHasBeenSet = true; m_originOptions = value; }
315 inline void SetOriginOptions(RouteOriginOptions&& value) { m_originOptionsHasBeenSet = true; m_originOptions = std::move(value); }
317 inline CalculateRoutesRequest& WithOriginOptions(RouteOriginOptions&& value) { SetOriginOptions(std::move(value)); return *this;}
319
321
326 inline const Aws::Vector<RouteSpanAdditionalFeature>& GetSpanAdditionalFeatures() const{ return m_spanAdditionalFeatures; }
327 inline bool SpanAdditionalFeaturesHasBeenSet() const { return m_spanAdditionalFeaturesHasBeenSet; }
328 inline void SetSpanAdditionalFeatures(const Aws::Vector<RouteSpanAdditionalFeature>& value) { m_spanAdditionalFeaturesHasBeenSet = true; m_spanAdditionalFeatures = value; }
329 inline void SetSpanAdditionalFeatures(Aws::Vector<RouteSpanAdditionalFeature>&& value) { m_spanAdditionalFeaturesHasBeenSet = true; m_spanAdditionalFeatures = std::move(value); }
332 inline CalculateRoutesRequest& AddSpanAdditionalFeatures(const RouteSpanAdditionalFeature& value) { m_spanAdditionalFeaturesHasBeenSet = true; m_spanAdditionalFeatures.push_back(value); return *this; }
333 inline CalculateRoutesRequest& AddSpanAdditionalFeatures(RouteSpanAdditionalFeature&& value) { m_spanAdditionalFeaturesHasBeenSet = true; m_spanAdditionalFeatures.push_back(std::move(value)); return *this; }
335
337
340 inline const RouteTollOptions& GetTolls() const{ return m_tolls; }
341 inline bool TollsHasBeenSet() const { return m_tollsHasBeenSet; }
342 inline void SetTolls(const RouteTollOptions& value) { m_tollsHasBeenSet = true; m_tolls = value; }
343 inline void SetTolls(RouteTollOptions&& value) { m_tollsHasBeenSet = true; m_tolls = std::move(value); }
344 inline CalculateRoutesRequest& WithTolls(const RouteTollOptions& value) { SetTolls(value); return *this;}
345 inline CalculateRoutesRequest& WithTolls(RouteTollOptions&& value) { SetTolls(std::move(value)); return *this;}
347
349
352 inline const RouteTrafficOptions& GetTraffic() const{ return m_traffic; }
353 inline bool TrafficHasBeenSet() const { return m_trafficHasBeenSet; }
354 inline void SetTraffic(const RouteTrafficOptions& value) { m_trafficHasBeenSet = true; m_traffic = value; }
355 inline void SetTraffic(RouteTrafficOptions&& value) { m_trafficHasBeenSet = true; m_traffic = std::move(value); }
356 inline CalculateRoutesRequest& WithTraffic(const RouteTrafficOptions& value) { SetTraffic(value); return *this;}
357 inline CalculateRoutesRequest& WithTraffic(RouteTrafficOptions&& value) { SetTraffic(std::move(value)); return *this;}
359
361
366 inline const RouteTravelMode& GetTravelMode() const{ return m_travelMode; }
367 inline bool TravelModeHasBeenSet() const { return m_travelModeHasBeenSet; }
368 inline void SetTravelMode(const RouteTravelMode& value) { m_travelModeHasBeenSet = true; m_travelMode = value; }
369 inline void SetTravelMode(RouteTravelMode&& value) { m_travelModeHasBeenSet = true; m_travelMode = std::move(value); }
370 inline CalculateRoutesRequest& WithTravelMode(const RouteTravelMode& value) { SetTravelMode(value); return *this;}
371 inline CalculateRoutesRequest& WithTravelMode(RouteTravelMode&& value) { SetTravelMode(std::move(value)); return *this;}
373
375
378 inline const RouteTravelModeOptions& GetTravelModeOptions() const{ return m_travelModeOptions; }
379 inline bool TravelModeOptionsHasBeenSet() const { return m_travelModeOptionsHasBeenSet; }
380 inline void SetTravelModeOptions(const RouteTravelModeOptions& value) { m_travelModeOptionsHasBeenSet = true; m_travelModeOptions = value; }
381 inline void SetTravelModeOptions(RouteTravelModeOptions&& value) { m_travelModeOptionsHasBeenSet = true; m_travelModeOptions = std::move(value); }
385
387
392 inline const RouteTravelStepType& GetTravelStepType() const{ return m_travelStepType; }
393 inline bool TravelStepTypeHasBeenSet() const { return m_travelStepTypeHasBeenSet; }
394 inline void SetTravelStepType(const RouteTravelStepType& value) { m_travelStepTypeHasBeenSet = true; m_travelStepType = value; }
395 inline void SetTravelStepType(RouteTravelStepType&& value) { m_travelStepTypeHasBeenSet = true; m_travelStepType = std::move(value); }
397 inline CalculateRoutesRequest& WithTravelStepType(RouteTravelStepType&& value) { SetTravelStepType(std::move(value)); return *this;}
399
401
404 inline const Aws::Vector<RouteWaypoint>& GetWaypoints() const{ return m_waypoints; }
405 inline bool WaypointsHasBeenSet() const { return m_waypointsHasBeenSet; }
406 inline void SetWaypoints(const Aws::Vector<RouteWaypoint>& value) { m_waypointsHasBeenSet = true; m_waypoints = value; }
407 inline void SetWaypoints(Aws::Vector<RouteWaypoint>&& value) { m_waypointsHasBeenSet = true; m_waypoints = std::move(value); }
409 inline CalculateRoutesRequest& WithWaypoints(Aws::Vector<RouteWaypoint>&& value) { SetWaypoints(std::move(value)); return *this;}
410 inline CalculateRoutesRequest& AddWaypoints(const RouteWaypoint& value) { m_waypointsHasBeenSet = true; m_waypoints.push_back(value); return *this; }
411 inline CalculateRoutesRequest& AddWaypoints(RouteWaypoint&& value) { m_waypointsHasBeenSet = true; m_waypoints.push_back(std::move(value)); return *this; }
413 private:
414
415 RouteAllowOptions m_allow;
416 bool m_allowHasBeenSet = false;
417
418 Aws::String m_arrivalTime;
419 bool m_arrivalTimeHasBeenSet = false;
420
421 RouteAvoidanceOptions m_avoid;
422 bool m_avoidHasBeenSet = false;
423
424 bool m_departNow;
425 bool m_departNowHasBeenSet = false;
426
427 Aws::String m_departureTime;
428 bool m_departureTimeHasBeenSet = false;
429
430 Aws::Vector<double> m_destination;
431 bool m_destinationHasBeenSet = false;
432
433 RouteDestinationOptions m_destinationOptions;
434 bool m_destinationOptionsHasBeenSet = false;
435
436 RouteDriverOptions m_driver;
437 bool m_driverHasBeenSet = false;
438
439 RouteExclusionOptions m_exclude;
440 bool m_excludeHasBeenSet = false;
441
442 MeasurementSystem m_instructionsMeasurementSystem;
443 bool m_instructionsMeasurementSystemHasBeenSet = false;
444
445 Aws::String m_key;
446 bool m_keyHasBeenSet = false;
447
448 Aws::Vector<Aws::String> m_languages;
449 bool m_languagesHasBeenSet = false;
450
451 Aws::Vector<RouteLegAdditionalFeature> m_legAdditionalFeatures;
452 bool m_legAdditionalFeaturesHasBeenSet = false;
453
454 GeometryFormat m_legGeometryFormat;
455 bool m_legGeometryFormatHasBeenSet = false;
456
457 int m_maxAlternatives;
458 bool m_maxAlternativesHasBeenSet = false;
459
460 RoutingObjective m_optimizeRoutingFor;
461 bool m_optimizeRoutingForHasBeenSet = false;
462
463 Aws::Vector<double> m_origin;
464 bool m_originHasBeenSet = false;
465
466 RouteOriginOptions m_originOptions;
467 bool m_originOptionsHasBeenSet = false;
468
469 Aws::Vector<RouteSpanAdditionalFeature> m_spanAdditionalFeatures;
470 bool m_spanAdditionalFeaturesHasBeenSet = false;
471
472 RouteTollOptions m_tolls;
473 bool m_tollsHasBeenSet = false;
474
475 RouteTrafficOptions m_traffic;
476 bool m_trafficHasBeenSet = false;
477
478 RouteTravelMode m_travelMode;
479 bool m_travelModeHasBeenSet = false;
480
481 RouteTravelModeOptions m_travelModeOptions;
482 bool m_travelModeOptionsHasBeenSet = false;
483
484 RouteTravelStepType m_travelStepType;
485 bool m_travelStepTypeHasBeenSet = false;
486
487 Aws::Vector<RouteWaypoint> m_waypoints;
488 bool m_waypointsHasBeenSet = false;
489 };
490
491} // namespace Model
492} // namespace GeoRoutes
493} // namespace Aws
void SetTravelStepType(RouteTravelStepType &&value)
const Aws::Vector< RouteSpanAdditionalFeature > & GetSpanAdditionalFeatures() const
CalculateRoutesRequest & WithOriginOptions(const RouteOriginOptions &value)
const Aws::Vector< Aws::String > & GetLanguages() const
void SetOrigin(Aws::Vector< double > &&value)
const RouteExclusionOptions & GetExclude() const
CalculateRoutesRequest & WithTraffic(const RouteTrafficOptions &value)
CalculateRoutesRequest & WithDriver(const RouteDriverOptions &value)
CalculateRoutesRequest & AddLegAdditionalFeatures(RouteLegAdditionalFeature &&value)
void SetDestinationOptions(const RouteDestinationOptions &value)
const RouteTravelStepType & GetTravelStepType() const
CalculateRoutesRequest & WithExclude(const RouteExclusionOptions &value)
void SetSpanAdditionalFeatures(const Aws::Vector< RouteSpanAdditionalFeature > &value)
void SetSpanAdditionalFeatures(Aws::Vector< RouteSpanAdditionalFeature > &&value)
const Aws::Vector< double > & GetDestination() const
CalculateRoutesRequest & WithTolls(const RouteTollOptions &value)
void SetTravelStepType(const RouteTravelStepType &value)
CalculateRoutesRequest & WithOrigin(const Aws::Vector< double > &value)
CalculateRoutesRequest & AddLegAdditionalFeatures(const RouteLegAdditionalFeature &value)
CalculateRoutesRequest & WithInstructionsMeasurementSystem(const MeasurementSystem &value)
CalculateRoutesRequest & WithWaypoints(Aws::Vector< RouteWaypoint > &&value)
const Aws::Vector< RouteLegAdditionalFeature > & GetLegAdditionalFeatures() const
CalculateRoutesRequest & WithOriginOptions(RouteOriginOptions &&value)
const RouteAvoidanceOptions & GetAvoid() const
CalculateRoutesRequest & WithTravelMode(const RouteTravelMode &value)
void SetOptimizeRoutingFor(const RoutingObjective &value)
CalculateRoutesRequest & WithLegGeometryFormat(GeometryFormat &&value)
void SetDestination(const Aws::Vector< double > &value)
CalculateRoutesRequest & WithTravelStepType(RouteTravelStepType &&value)
virtual const char * GetServiceRequestName() const override
void SetLegAdditionalFeatures(Aws::Vector< RouteLegAdditionalFeature > &&value)
CalculateRoutesRequest & AddWaypoints(const RouteWaypoint &value)
CalculateRoutesRequest & WithDepartureTime(Aws::String &&value)
CalculateRoutesRequest & WithDepartureTime(const Aws::String &value)
CalculateRoutesRequest & WithDestinationOptions(RouteDestinationOptions &&value)
CalculateRoutesRequest & WithAllow(const RouteAllowOptions &value)
CalculateRoutesRequest & WithTravelModeOptions(const RouteTravelModeOptions &value)
void SetInstructionsMeasurementSystem(MeasurementSystem &&value)
CalculateRoutesRequest & WithArrivalTime(const Aws::String &value)
void SetInstructionsMeasurementSystem(const MeasurementSystem &value)
CalculateRoutesRequest & AddLanguages(const Aws::String &value)
void SetOrigin(const Aws::Vector< double > &value)
void SetExclude(RouteExclusionOptions &&value)
void SetTravelModeOptions(RouteTravelModeOptions &&value)
CalculateRoutesRequest & WithDestination(Aws::Vector< double > &&value)
CalculateRoutesRequest & WithArrivalTime(const char *value)
CalculateRoutesRequest & AddWaypoints(RouteWaypoint &&value)
CalculateRoutesRequest & WithTravelStepType(const RouteTravelStepType &value)
const RouteDestinationOptions & GetDestinationOptions() const
CalculateRoutesRequest & WithDepartureTime(const char *value)
void SetLanguages(Aws::Vector< Aws::String > &&value)
CalculateRoutesRequest & WithArrivalTime(Aws::String &&value)
CalculateRoutesRequest & WithLanguages(Aws::Vector< Aws::String > &&value)
CalculateRoutesRequest & WithExclude(RouteExclusionOptions &&value)
CalculateRoutesRequest & WithAllow(RouteAllowOptions &&value)
AWS_GEOROUTES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CalculateRoutesRequest & WithDepartNow(bool value)
CalculateRoutesRequest & WithSpanAdditionalFeatures(const Aws::Vector< RouteSpanAdditionalFeature > &value)
CalculateRoutesRequest & WithTolls(RouteTollOptions &&value)
CalculateRoutesRequest & AddDestination(double value)
const Aws::Vector< RouteWaypoint > & GetWaypoints() const
void SetDestinationOptions(RouteDestinationOptions &&value)
CalculateRoutesRequest & WithDestination(const Aws::Vector< double > &value)
CalculateRoutesRequest & WithDriver(RouteDriverOptions &&value)
CalculateRoutesRequest & WithDestinationOptions(const RouteDestinationOptions &value)
CalculateRoutesRequest & WithOrigin(Aws::Vector< double > &&value)
CalculateRoutesRequest & AddSpanAdditionalFeatures(RouteSpanAdditionalFeature &&value)
CalculateRoutesRequest & WithTraffic(RouteTrafficOptions &&value)
CalculateRoutesRequest & WithTravelMode(RouteTravelMode &&value)
CalculateRoutesRequest & WithAvoid(RouteAvoidanceOptions &&value)
CalculateRoutesRequest & AddLanguages(const char *value)
CalculateRoutesRequest & WithLanguages(const Aws::Vector< Aws::String > &value)
CalculateRoutesRequest & WithLegAdditionalFeatures(const Aws::Vector< RouteLegAdditionalFeature > &value)
void SetWaypoints(Aws::Vector< RouteWaypoint > &&value)
CalculateRoutesRequest & WithTravelModeOptions(RouteTravelModeOptions &&value)
void SetWaypoints(const Aws::Vector< RouteWaypoint > &value)
CalculateRoutesRequest & WithKey(Aws::String &&value)
const MeasurementSystem & GetInstructionsMeasurementSystem() const
void SetTravelModeOptions(const RouteTravelModeOptions &value)
CalculateRoutesRequest & WithInstructionsMeasurementSystem(MeasurementSystem &&value)
void SetTraffic(const RouteTrafficOptions &value)
CalculateRoutesRequest & AddLanguages(Aws::String &&value)
void SetLegAdditionalFeatures(const Aws::Vector< RouteLegAdditionalFeature > &value)
void SetTravelMode(const RouteTravelMode &value)
void SetDriver(const RouteDriverOptions &value)
CalculateRoutesRequest & WithWaypoints(const Aws::Vector< RouteWaypoint > &value)
void SetAvoid(const RouteAvoidanceOptions &value)
CalculateRoutesRequest & WithOptimizeRoutingFor(const RoutingObjective &value)
void SetLanguages(const Aws::Vector< Aws::String > &value)
const RouteTrafficOptions & GetTraffic() const
void SetLegGeometryFormat(const GeometryFormat &value)
void SetDestination(Aws::Vector< double > &&value)
CalculateRoutesRequest & AddOrigin(double value)
CalculateRoutesRequest & WithLegGeometryFormat(const GeometryFormat &value)
CalculateRoutesRequest & WithOptimizeRoutingFor(RoutingObjective &&value)
const Aws::Vector< double > & GetOrigin() const
void SetAllow(const RouteAllowOptions &value)
void SetOriginOptions(const RouteOriginOptions &value)
CalculateRoutesRequest & WithAvoid(const RouteAvoidanceOptions &value)
CalculateRoutesRequest & WithMaxAlternatives(int value)
void SetExclude(const RouteExclusionOptions &value)
CalculateRoutesRequest & WithKey(const Aws::String &value)
CalculateRoutesRequest & WithSpanAdditionalFeatures(Aws::Vector< RouteSpanAdditionalFeature > &&value)
CalculateRoutesRequest & WithLegAdditionalFeatures(Aws::Vector< RouteLegAdditionalFeature > &&value)
const RoutingObjective & GetOptimizeRoutingFor() const
const RouteTravelModeOptions & GetTravelModeOptions() const
AWS_GEOROUTES_API Aws::String SerializePayload() const override
void SetAvoid(RouteAvoidanceOptions &&value)
CalculateRoutesRequest & WithKey(const char *value)
const RouteOriginOptions & GetOriginOptions() const
CalculateRoutesRequest & AddSpanAdditionalFeatures(const RouteSpanAdditionalFeature &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector