7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/LocationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/location/model/TravelMode.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/location/model/DistanceUnit.h>
14#include <aws/location/model/CalculateRouteCarModeOptions.h>
15#include <aws/location/model/CalculateRouteTruckModeOptions.h>
16#include <aws/location/model/OptimizationMode.h>
25namespace LocationService
57 inline void SetCalculatorName(
const char* value) { m_calculatorNameHasBeenSet =
true; m_calculatorName.assign(value); }
186 inline void SetDepartNow(
bool value) { m_departNowHasBeenSet =
true; m_departNow = value; }
211 inline void SetIncludeLegGeometry(
bool value) { m_includeLegGeometryHasBeenSet =
true; m_includeLegGeometry = value; }
281 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
289 bool m_calculatorNameHasBeenSet =
false;
292 bool m_departurePositionHasBeenSet =
false;
295 bool m_destinationPositionHasBeenSet =
false;
298 bool m_waypointPositionsHasBeenSet =
false;
301 bool m_travelModeHasBeenSet =
false;
304 bool m_departureTimeHasBeenSet =
false;
307 bool m_departNowHasBeenSet =
false;
310 bool m_distanceUnitHasBeenSet =
false;
312 bool m_includeLegGeometry;
313 bool m_includeLegGeometryHasBeenSet =
false;
316 bool m_carModeOptionsHasBeenSet =
false;
319 bool m_truckModeOptionsHasBeenSet =
false;
322 bool m_arrivalTimeHasBeenSet =
false;
325 bool m_optimizeForHasBeenSet =
false;
328 bool m_keyHasBeenSet =
false;
void SetOptimizeFor(const OptimizationMode &value)
CalculateRouteRequest & WithOptimizeFor(OptimizationMode &&value)
const CalculateRouteCarModeOptions & GetCarModeOptions() const
void SetDestinationPosition(Aws::Vector< double > &&value)
const Aws::String & GetKey() const
const DistanceUnit & GetDistanceUnit() const
void SetCalculatorName(const Aws::String &value)
CalculateRouteRequest & WithDeparturePosition(const Aws::Vector< double > &value)
const OptimizationMode & GetOptimizeFor() const
CalculateRouteRequest & WithKey(const Aws::String &value)
void SetArrivalTime(Aws::Utils::DateTime &&value)
CalculateRouteRequest & WithDepartNow(bool value)
void SetKey(const Aws::String &value)
void SetDeparturePosition(const Aws::Vector< double > &value)
bool GetIncludeLegGeometry() const
CalculateRouteRequest & WithDistanceUnit(const DistanceUnit &value)
bool TruckModeOptionsHasBeenSet() const
bool GetDepartNow() const
void SetCarModeOptions(const CalculateRouteCarModeOptions &value)
const Aws::Vector< double > & GetDeparturePosition() const
CalculateRouteRequest & WithCarModeOptions(const CalculateRouteCarModeOptions &value)
CalculateRouteRequest & WithDepartureTime(Aws::Utils::DateTime &&value)
CalculateRouteRequest & WithWaypointPositions(Aws::Vector< Aws::Vector< double > > &&value)
CalculateRouteRequest & WithTravelMode(TravelMode &&value)
void SetTravelMode(const TravelMode &value)
void SetDistanceUnit(DistanceUnit &&value)
void SetCalculatorName(Aws::String &&value)
const Aws::Vector< Aws::Vector< double > > & GetWaypointPositions() const
void SetDestinationPosition(const Aws::Vector< double > &value)
CalculateRouteRequest & WithKey(const char *value)
CalculateRouteRequest & WithIncludeLegGeometry(bool value)
bool DeparturePositionHasBeenSet() const
CalculateRouteRequest & AddWaypointPositions(Aws::Vector< double > &&value)
bool DepartNowHasBeenSet() const
bool KeyHasBeenSet() const
bool CarModeOptionsHasBeenSet() const
CalculateRouteRequest & WithDestinationPosition(const Aws::Vector< double > &value)
const CalculateRouteTruckModeOptions & GetTruckModeOptions() const
AWS_LOCATIONSERVICE_API CalculateRouteRequest()
bool DistanceUnitHasBeenSet() const
CalculateRouteRequest & AddDestinationPosition(double value)
bool ArrivalTimeHasBeenSet() const
CalculateRouteRequest & WithTruckModeOptions(const CalculateRouteTruckModeOptions &value)
CalculateRouteRequest & WithCarModeOptions(CalculateRouteCarModeOptions &&value)
CalculateRouteRequest & WithKey(Aws::String &&value)
void SetDepartNow(bool value)
const Aws::Vector< double > & GetDestinationPosition() const
CalculateRouteRequest & WithCalculatorName(const char *value)
virtual const char * GetServiceRequestName() const override
CalculateRouteRequest & AddDeparturePosition(double value)
bool DestinationPositionHasBeenSet() const
void SetDepartureTime(Aws::Utils::DateTime &&value)
void SetWaypointPositions(const Aws::Vector< Aws::Vector< double > > &value)
void SetDeparturePosition(Aws::Vector< double > &&value)
void SetKey(const char *value)
void SetCarModeOptions(CalculateRouteCarModeOptions &&value)
CalculateRouteRequest & WithCalculatorName(Aws::String &&value)
bool OptimizeForHasBeenSet() const
void SetArrivalTime(const Aws::Utils::DateTime &value)
void SetKey(Aws::String &&value)
CalculateRouteRequest & WithCalculatorName(const Aws::String &value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
CalculateRouteRequest & AddWaypointPositions(const Aws::Vector< double > &value)
CalculateRouteRequest & WithTravelMode(const TravelMode &value)
const TravelMode & GetTravelMode() const
void SetTravelMode(TravelMode &&value)
void SetDistanceUnit(const DistanceUnit &value)
bool IncludeLegGeometryHasBeenSet() const
CalculateRouteRequest & WithOptimizeFor(const OptimizationMode &value)
void SetTruckModeOptions(CalculateRouteTruckModeOptions &&value)
const Aws::String & GetCalculatorName() const
bool WaypointPositionsHasBeenSet() const
CalculateRouteRequest & WithDestinationPosition(Aws::Vector< double > &&value)
CalculateRouteRequest & WithWaypointPositions(const Aws::Vector< Aws::Vector< double > > &value)
void SetDepartureTime(const Aws::Utils::DateTime &value)
void SetTruckModeOptions(const CalculateRouteTruckModeOptions &value)
const Aws::Utils::DateTime & GetDepartureTime() const
bool CalculatorNameHasBeenSet() const
CalculateRouteRequest & WithArrivalTime(Aws::Utils::DateTime &&value)
bool TravelModeHasBeenSet() const
CalculateRouteRequest & WithDepartureTime(const Aws::Utils::DateTime &value)
CalculateRouteRequest & WithArrivalTime(const Aws::Utils::DateTime &value)
CalculateRouteRequest & WithTruckModeOptions(CalculateRouteTruckModeOptions &&value)
void SetWaypointPositions(Aws::Vector< Aws::Vector< double > > &&value)
void SetIncludeLegGeometry(bool value)
bool DepartureTimeHasBeenSet() const
CalculateRouteRequest & WithDistanceUnit(DistanceUnit &&value)
const Aws::Utils::DateTime & GetArrivalTime() const
CalculateRouteRequest & WithDeparturePosition(Aws::Vector< double > &&value)
void SetOptimizeFor(OptimizationMode &&value)
AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetCalculatorName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector