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>
24namespace LocationService
56 inline void SetCalculatorName(
const char* value) { m_calculatorNameHasBeenSet =
true; m_calculatorName.assign(value); }
175 inline void SetDepartNow(
bool value) { m_departNowHasBeenSet =
true; m_departNow = value; }
231 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
239 bool m_calculatorNameHasBeenSet =
false;
242 bool m_departurePositionsHasBeenSet =
false;
245 bool m_destinationPositionsHasBeenSet =
false;
248 bool m_travelModeHasBeenSet =
false;
251 bool m_departureTimeHasBeenSet =
false;
254 bool m_departNowHasBeenSet =
false;
257 bool m_distanceUnitHasBeenSet =
false;
260 bool m_carModeOptionsHasBeenSet =
false;
263 bool m_truckModeOptionsHasBeenSet =
false;
266 bool m_keyHasBeenSet =
false;
void SetDeparturePositions(Aws::Vector< Aws::Vector< double > > &&value)
CalculateRouteMatrixRequest & WithCarModeOptions(const CalculateRouteCarModeOptions &value)
bool DestinationPositionsHasBeenSet() const
CalculateRouteMatrixRequest & WithCarModeOptions(CalculateRouteCarModeOptions &&value)
CalculateRouteMatrixRequest & WithDepartureTime(Aws::Utils::DateTime &&value)
bool TruckModeOptionsHasBeenSet() const
const Aws::Vector< Aws::Vector< double > > & GetDeparturePositions() const
CalculateRouteMatrixRequest & WithDistanceUnit(const DistanceUnit &value)
const TravelMode & GetTravelMode() const
virtual const char * GetServiceRequestName() const override
bool CarModeOptionsHasBeenSet() const
CalculateRouteMatrixRequest & WithDeparturePositions(Aws::Vector< Aws::Vector< double > > &&value)
CalculateRouteMatrixRequest & WithDestinationPositions(Aws::Vector< Aws::Vector< double > > &&value)
CalculateRouteMatrixRequest & AddDeparturePositions(Aws::Vector< double > &&value)
bool TravelModeHasBeenSet() const
CalculateRouteMatrixRequest & AddDeparturePositions(const Aws::Vector< double > &value)
void SetTruckModeOptions(CalculateRouteTruckModeOptions &&value)
CalculateRouteMatrixRequest & WithTravelMode(const TravelMode &value)
void SetDepartureTime(Aws::Utils::DateTime &&value)
CalculateRouteMatrixRequest & WithDestinationPositions(const Aws::Vector< Aws::Vector< double > > &value)
CalculateRouteMatrixRequest & WithDeparturePositions(const Aws::Vector< Aws::Vector< double > > &value)
const Aws::Vector< Aws::Vector< double > > & GetDestinationPositions() const
CalculateRouteMatrixRequest & WithCalculatorName(const Aws::String &value)
const Aws::String & GetKey() const
void SetCarModeOptions(CalculateRouteCarModeOptions &&value)
void SetDistanceUnit(const DistanceUnit &value)
bool CalculatorNameHasBeenSet() const
void SetCalculatorName(const char *value)
CalculateRouteMatrixRequest & WithTruckModeOptions(const CalculateRouteTruckModeOptions &value)
void SetDestinationPositions(const Aws::Vector< Aws::Vector< double > > &value)
AWS_LOCATIONSERVICE_API CalculateRouteMatrixRequest()
CalculateRouteMatrixRequest & WithDepartNow(bool value)
void SetDistanceUnit(DistanceUnit &&value)
CalculateRouteMatrixRequest & WithCalculatorName(const char *value)
void SetTravelMode(const TravelMode &value)
CalculateRouteMatrixRequest & WithTruckModeOptions(CalculateRouteTruckModeOptions &&value)
void SetDepartNow(bool value)
void SetDepartureTime(const Aws::Utils::DateTime &value)
AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const CalculateRouteCarModeOptions & GetCarModeOptions() const
void SetTruckModeOptions(const CalculateRouteTruckModeOptions &value)
CalculateRouteMatrixRequest & WithTravelMode(TravelMode &&value)
const Aws::String & GetCalculatorName() const
void SetKey(Aws::String &&value)
CalculateRouteMatrixRequest & WithDepartureTime(const Aws::Utils::DateTime &value)
CalculateRouteMatrixRequest & WithCalculatorName(Aws::String &&value)
void SetDestinationPositions(Aws::Vector< Aws::Vector< double > > &&value)
const Aws::Utils::DateTime & GetDepartureTime() const
bool KeyHasBeenSet() const
void SetKey(const Aws::String &value)
bool DepartureTimeHasBeenSet() const
CalculateRouteMatrixRequest & AddDestinationPositions(const Aws::Vector< double > &value)
bool GetDepartNow() const
bool DepartNowHasBeenSet() const
CalculateRouteMatrixRequest & AddDestinationPositions(Aws::Vector< double > &&value)
void SetTravelMode(TravelMode &&value)
void SetCalculatorName(Aws::String &&value)
const CalculateRouteTruckModeOptions & GetTruckModeOptions() const
CalculateRouteMatrixRequest & WithKey(Aws::String &&value)
void SetCalculatorName(const Aws::String &value)
void SetCarModeOptions(const CalculateRouteCarModeOptions &value)
void SetDeparturePositions(const Aws::Vector< Aws::Vector< double > > &value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
const DistanceUnit & GetDistanceUnit() const
bool DeparturePositionsHasBeenSet() const
CalculateRouteMatrixRequest & WithDistanceUnit(DistanceUnit &&value)
CalculateRouteMatrixRequest & WithKey(const char *value)
CalculateRouteMatrixRequest & WithKey(const Aws::String &value)
void SetKey(const char *value)
bool DistanceUnitHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector