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>
82 inline void SetArrivalTime(
const char* value) { m_arrivalTimeHasBeenSet =
true; m_arrivalTime.assign(value); }
109 inline void SetDepartNow(
bool value) { m_departNowHasBeenSet =
true; m_departNow = value; }
124 inline void SetDepartureTime(
const char* value) { m_departureTimeHasBeenSet =
true; m_departureTime.assign(value); }
202 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
278 inline void SetMaxAlternatives(
int value) { m_maxAlternativesHasBeenSet =
true; m_maxAlternatives = value; }
416 bool m_allowHasBeenSet =
false;
419 bool m_arrivalTimeHasBeenSet =
false;
422 bool m_avoidHasBeenSet =
false;
425 bool m_departNowHasBeenSet =
false;
428 bool m_departureTimeHasBeenSet =
false;
431 bool m_destinationHasBeenSet =
false;
434 bool m_destinationOptionsHasBeenSet =
false;
437 bool m_driverHasBeenSet =
false;
440 bool m_excludeHasBeenSet =
false;
443 bool m_instructionsMeasurementSystemHasBeenSet =
false;
446 bool m_keyHasBeenSet =
false;
449 bool m_languagesHasBeenSet =
false;
452 bool m_legAdditionalFeaturesHasBeenSet =
false;
455 bool m_legGeometryFormatHasBeenSet =
false;
457 int m_maxAlternatives;
458 bool m_maxAlternativesHasBeenSet =
false;
461 bool m_optimizeRoutingForHasBeenSet =
false;
464 bool m_originHasBeenSet =
false;
467 bool m_originOptionsHasBeenSet =
false;
470 bool m_spanAdditionalFeaturesHasBeenSet =
false;
473 bool m_tollsHasBeenSet =
false;
476 bool m_trafficHasBeenSet =
false;
479 bool m_travelModeHasBeenSet =
false;
482 bool m_travelModeOptionsHasBeenSet =
false;
485 bool m_travelStepTypeHasBeenSet =
false;
488 bool m_waypointsHasBeenSet =
false;
const Aws::String & GetDepartureTime() const
int GetMaxAlternatives() const
void SetTravelStepType(RouteTravelStepType &&value)
bool TravelStepTypeHasBeenSet() const
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)
void SetOriginOptions(RouteOriginOptions &&value)
CalculateRoutesRequest & AddLegAdditionalFeatures(RouteLegAdditionalFeature &&value)
void SetDestinationOptions(const RouteDestinationOptions &value)
const RouteTravelStepType & GetTravelStepType() const
bool TrafficHasBeenSet() const
void SetDriver(RouteDriverOptions &&value)
CalculateRoutesRequest & WithExclude(const RouteExclusionOptions &value)
void SetSpanAdditionalFeatures(const Aws::Vector< RouteSpanAdditionalFeature > &value)
void SetDepartureTime(const Aws::String &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)
void SetKey(const char *value)
CalculateRoutesRequest & WithInstructionsMeasurementSystem(const MeasurementSystem &value)
void SetArrivalTime(const char *value)
CalculateRoutesRequest & WithWaypoints(Aws::Vector< RouteWaypoint > &&value)
const Aws::Vector< RouteLegAdditionalFeature > & GetLegAdditionalFeatures() const
CalculateRoutesRequest & WithOriginOptions(RouteOriginOptions &&value)
bool TravelModeOptionsHasBeenSet() const
const RouteAvoidanceOptions & GetAvoid() const
void SetTolls(RouteTollOptions &&value)
bool InstructionsMeasurementSystemHasBeenSet() const
CalculateRoutesRequest & WithTravelMode(const RouteTravelMode &value)
void SetOptimizeRoutingFor(const RoutingObjective &value)
bool ExcludeHasBeenSet() const
void SetTravelMode(RouteTravelMode &&value)
const RouteAllowOptions & GetAllow() const
void SetArrivalTime(const Aws::String &value)
CalculateRoutesRequest & WithLegGeometryFormat(GeometryFormat &&value)
void SetDestination(const Aws::Vector< double > &value)
CalculateRoutesRequest & WithTravelStepType(RouteTravelStepType &&value)
void SetMaxAlternatives(int 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)
bool AvoidHasBeenSet() const
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)
const Aws::String & GetArrivalTime() const
void SetKey(const Aws::String &value)
CalculateRoutesRequest & WithTravelStepType(const RouteTravelStepType &value)
const RouteDestinationOptions & GetDestinationOptions() const
CalculateRoutesRequest & WithDepartureTime(const char *value)
void SetLanguages(Aws::Vector< Aws::String > &&value)
const RouteDriverOptions & GetDriver() const
bool KeyHasBeenSet() const
void SetLegGeometryFormat(GeometryFormat &&value)
CalculateRoutesRequest & WithArrivalTime(Aws::String &&value)
const RouteTollOptions & GetTolls() const
void SetTolls(const RouteTollOptions &value)
CalculateRoutesRequest & WithLanguages(Aws::Vector< Aws::String > &&value)
AWS_GEOROUTES_API CalculateRoutesRequest()
CalculateRoutesRequest & WithExclude(RouteExclusionOptions &&value)
void SetDepartNow(bool value)
CalculateRoutesRequest & WithAllow(RouteAllowOptions &&value)
AWS_GEOROUTES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool OriginOptionsHasBeenSet() const
CalculateRoutesRequest & WithDepartNow(bool value)
const GeometryFormat & GetLegGeometryFormat() const
CalculateRoutesRequest & WithSpanAdditionalFeatures(const Aws::Vector< RouteSpanAdditionalFeature > &value)
CalculateRoutesRequest & WithTolls(RouteTollOptions &&value)
bool ArrivalTimeHasBeenSet() const
CalculateRoutesRequest & AddDestination(double value)
bool OriginHasBeenSet() const
const Aws::Vector< RouteWaypoint > & GetWaypoints() const
void SetDestinationOptions(RouteDestinationOptions &&value)
CalculateRoutesRequest & WithDestination(const Aws::Vector< double > &value)
CalculateRoutesRequest & WithDriver(RouteDriverOptions &&value)
bool GetDepartNow() const
CalculateRoutesRequest & WithDestinationOptions(const RouteDestinationOptions &value)
CalculateRoutesRequest & WithOrigin(Aws::Vector< double > &&value)
CalculateRoutesRequest & AddSpanAdditionalFeatures(RouteSpanAdditionalFeature &&value)
const Aws::String & GetKey() const
const RouteTravelMode & GetTravelMode() const
bool TollsHasBeenSet() const
CalculateRoutesRequest & WithTraffic(RouteTrafficOptions &&value)
CalculateRoutesRequest & WithTravelMode(RouteTravelMode &&value)
bool DepartureTimeHasBeenSet() const
CalculateRoutesRequest & WithAvoid(RouteAvoidanceOptions &&value)
CalculateRoutesRequest & AddLanguages(const char *value)
bool DestinationOptionsHasBeenSet() const
CalculateRoutesRequest & WithLanguages(const Aws::Vector< Aws::String > &value)
bool TravelModeHasBeenSet() const
CalculateRoutesRequest & WithLegAdditionalFeatures(const Aws::Vector< RouteLegAdditionalFeature > &value)
void SetWaypoints(Aws::Vector< RouteWaypoint > &&value)
CalculateRoutesRequest & WithTravelModeOptions(RouteTravelModeOptions &&value)
void SetWaypoints(const Aws::Vector< RouteWaypoint > &value)
bool DestinationHasBeenSet() const
bool DepartNowHasBeenSet() const
CalculateRoutesRequest & WithKey(Aws::String &&value)
const MeasurementSystem & GetInstructionsMeasurementSystem() const
bool LanguagesHasBeenSet() 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)
bool DriverHasBeenSet() const
void SetDriver(const RouteDriverOptions &value)
void SetDepartureTime(Aws::String &&value)
void SetAllow(RouteAllowOptions &&value)
CalculateRoutesRequest & WithWaypoints(const Aws::Vector< RouteWaypoint > &value)
void SetArrivalTime(Aws::String &&value)
void SetAvoid(const RouteAvoidanceOptions &value)
CalculateRoutesRequest & WithOptimizeRoutingFor(const RoutingObjective &value)
bool MaxAlternativesHasBeenSet() const
void SetLanguages(const Aws::Vector< Aws::String > &value)
const RouteTrafficOptions & GetTraffic() const
bool AllowHasBeenSet() 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)
void SetOptimizeRoutingFor(RoutingObjective &&value)
bool LegGeometryFormatHasBeenSet() const
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)
bool OptimizeRoutingForHasBeenSet() const
CalculateRoutesRequest & WithKey(const Aws::String &value)
CalculateRoutesRequest & WithSpanAdditionalFeatures(Aws::Vector< RouteSpanAdditionalFeature > &&value)
bool WaypointsHasBeenSet() const
CalculateRoutesRequest & WithLegAdditionalFeatures(Aws::Vector< RouteLegAdditionalFeature > &&value)
const RoutingObjective & GetOptimizeRoutingFor() const
const RouteTravelModeOptions & GetTravelModeOptions() const
AWS_GEOROUTES_API Aws::String SerializePayload() const override
void SetKey(Aws::String &&value)
bool SpanAdditionalFeaturesHasBeenSet() const
void SetAvoid(RouteAvoidanceOptions &&value)
void SetTraffic(RouteTrafficOptions &&value)
void SetDepartureTime(const char *value)
CalculateRoutesRequest & WithKey(const char *value)
bool LegAdditionalFeaturesHasBeenSet() const
const RouteOriginOptions & GetOriginOptions() const
CalculateRoutesRequest & AddSpanAdditionalFeatures(const RouteSpanAdditionalFeature &value)
RouteSpanAdditionalFeature
RouteLegAdditionalFeature
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector