7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/GeoRoutesRequest.h>
9#include <aws/geo-routes/model/WaypointOptimizationAvoidanceOptions.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/geo-routes/model/WaypointOptimizationDestinationOptions.h>
13#include <aws/geo-routes/model/WaypointOptimizationDriverOptions.h>
14#include <aws/geo-routes/model/WaypointOptimizationExclusionOptions.h>
15#include <aws/geo-routes/model/WaypointOptimizationSequencingObjective.h>
16#include <aws/geo-routes/model/WaypointOptimizationOriginOptions.h>
17#include <aws/geo-routes/model/WaypointOptimizationTrafficOptions.h>
18#include <aws/geo-routes/model/WaypointOptimizationTravelMode.h>
19#include <aws/geo-routes/model/WaypointOptimizationTravelModeOptions.h>
20#include <aws/geo-routes/model/WaypointOptimizationWaypoint.h>
77 inline void SetDepartureTime(
const char* value) { m_departureTimeHasBeenSet =
true; m_departureTime.assign(value); }
142 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
241 bool m_avoidHasBeenSet =
false;
244 bool m_departureTimeHasBeenSet =
false;
247 bool m_destinationHasBeenSet =
false;
250 bool m_destinationOptionsHasBeenSet =
false;
253 bool m_driverHasBeenSet =
false;
256 bool m_excludeHasBeenSet =
false;
259 bool m_keyHasBeenSet =
false;
262 bool m_optimizeSequencingForHasBeenSet =
false;
265 bool m_originHasBeenSet =
false;
268 bool m_originOptionsHasBeenSet =
false;
271 bool m_trafficHasBeenSet =
false;
274 bool m_travelModeHasBeenSet =
false;
277 bool m_travelModeOptionsHasBeenSet =
false;
280 bool m_waypointsHasBeenSet =
false;
OptimizeWaypointsRequest & WithKey(const Aws::String &value)
const WaypointOptimizationSequencingObjective & GetOptimizeSequencingFor() const
void SetDepartureTime(Aws::String &&value)
bool DestinationOptionsHasBeenSet() const
const WaypointOptimizationDriverOptions & GetDriver() const
AWS_GEOROUTES_API OptimizeWaypointsRequest()
void SetAvoid(const WaypointOptimizationAvoidanceOptions &value)
OptimizeWaypointsRequest & WithWaypoints(Aws::Vector< WaypointOptimizationWaypoint > &&value)
OptimizeWaypointsRequest & WithAvoid(WaypointOptimizationAvoidanceOptions &&value)
void SetOrigin(Aws::Vector< double > &&value)
const WaypointOptimizationExclusionOptions & GetExclude() const
OptimizeWaypointsRequest & WithExclude(const WaypointOptimizationExclusionOptions &value)
const Aws::String & GetKey() const
bool AvoidHasBeenSet() const
bool KeyHasBeenSet() const
const WaypointOptimizationAvoidanceOptions & GetAvoid() const
const WaypointOptimizationTravelMode & GetTravelMode() const
OptimizeWaypointsRequest & WithOriginOptions(WaypointOptimizationOriginOptions &&value)
OptimizeWaypointsRequest & WithOrigin(const Aws::Vector< double > &value)
void SetKey(const char *value)
OptimizeWaypointsRequest & WithOrigin(Aws::Vector< double > &&value)
const WaypointOptimizationTravelModeOptions & GetTravelModeOptions() const
OptimizeWaypointsRequest & WithOriginOptions(const WaypointOptimizationOriginOptions &value)
const Aws::Vector< WaypointOptimizationWaypoint > & GetWaypoints() const
bool ExcludeHasBeenSet() const
void SetExclude(WaypointOptimizationExclusionOptions &&value)
OptimizeWaypointsRequest & WithOptimizeSequencingFor(const WaypointOptimizationSequencingObjective &value)
void SetTravelMode(WaypointOptimizationTravelMode &&value)
const WaypointOptimizationOriginOptions & GetOriginOptions() const
bool OriginHasBeenSet() const
bool DriverHasBeenSet() const
void SetOrigin(const Aws::Vector< double > &value)
void SetDepartureTime(const Aws::String &value)
void SetTravelMode(const WaypointOptimizationTravelMode &value)
void SetDepartureTime(const char *value)
OptimizeWaypointsRequest & WithDepartureTime(Aws::String &&value)
bool DepartureTimeHasBeenSet() const
bool TrafficHasBeenSet() const
void SetTraffic(WaypointOptimizationTrafficOptions &&value)
OptimizeWaypointsRequest & WithDestination(const Aws::Vector< double > &value)
OptimizeWaypointsRequest & WithDriver(WaypointOptimizationDriverOptions &&value)
void SetWaypoints(Aws::Vector< WaypointOptimizationWaypoint > &&value)
bool OptimizeSequencingForHasBeenSet() const
void SetExclude(const WaypointOptimizationExclusionOptions &value)
void SetDestinationOptions(WaypointOptimizationDestinationOptions &&value)
void SetOptimizeSequencingFor(WaypointOptimizationSequencingObjective &&value)
bool TravelModeHasBeenSet() const
OptimizeWaypointsRequest & WithDepartureTime(const char *value)
void SetKey(const Aws::String &value)
void SetTraffic(const WaypointOptimizationTrafficOptions &value)
void SetOriginOptions(const WaypointOptimizationOriginOptions &value)
void SetKey(Aws::String &&value)
OptimizeWaypointsRequest & WithTravelMode(const WaypointOptimizationTravelMode &value)
OptimizeWaypointsRequest & WithDestinationOptions(WaypointOptimizationDestinationOptions &&value)
bool TravelModeOptionsHasBeenSet() const
OptimizeWaypointsRequest & WithDriver(const WaypointOptimizationDriverOptions &value)
OptimizeWaypointsRequest & AddDestination(double value)
OptimizeWaypointsRequest & WithDepartureTime(const Aws::String &value)
AWS_GEOROUTES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetOptimizeSequencingFor(const WaypointOptimizationSequencingObjective &value)
void SetDestination(Aws::Vector< double > &&value)
OptimizeWaypointsRequest & WithWaypoints(const Aws::Vector< WaypointOptimizationWaypoint > &value)
OptimizeWaypointsRequest & WithOptimizeSequencingFor(WaypointOptimizationSequencingObjective &&value)
AWS_GEOROUTES_API Aws::String SerializePayload() const override
OptimizeWaypointsRequest & WithKey(Aws::String &&value)
void SetDestinationOptions(const WaypointOptimizationDestinationOptions &value)
OptimizeWaypointsRequest & WithAvoid(const WaypointOptimizationAvoidanceOptions &value)
OptimizeWaypointsRequest & AddWaypoints(const WaypointOptimizationWaypoint &value)
OptimizeWaypointsRequest & WithTravelModeOptions(WaypointOptimizationTravelModeOptions &&value)
bool WaypointsHasBeenSet() const
bool DestinationHasBeenSet() const
OptimizeWaypointsRequest & WithTravelModeOptions(const WaypointOptimizationTravelModeOptions &value)
OptimizeWaypointsRequest & WithKey(const char *value)
const WaypointOptimizationTrafficOptions & GetTraffic() const
OptimizeWaypointsRequest & WithTravelMode(WaypointOptimizationTravelMode &&value)
OptimizeWaypointsRequest & WithTraffic(WaypointOptimizationTrafficOptions &&value)
void SetDriver(WaypointOptimizationDriverOptions &&value)
void SetTravelModeOptions(const WaypointOptimizationTravelModeOptions &value)
void SetWaypoints(const Aws::Vector< WaypointOptimizationWaypoint > &value)
virtual const char * GetServiceRequestName() const override
void SetDestination(const Aws::Vector< double > &value)
bool OriginOptionsHasBeenSet() const
OptimizeWaypointsRequest & WithTraffic(const WaypointOptimizationTrafficOptions &value)
const Aws::Vector< double > & GetDestination() const
void SetDriver(const WaypointOptimizationDriverOptions &value)
OptimizeWaypointsRequest & WithDestinationOptions(const WaypointOptimizationDestinationOptions &value)
const Aws::String & GetDepartureTime() const
const Aws::Vector< double > & GetOrigin() const
OptimizeWaypointsRequest & AddWaypoints(WaypointOptimizationWaypoint &&value)
OptimizeWaypointsRequest & AddOrigin(double value)
void SetAvoid(WaypointOptimizationAvoidanceOptions &&value)
OptimizeWaypointsRequest & WithDestination(Aws::Vector< double > &&value)
OptimizeWaypointsRequest & WithExclude(WaypointOptimizationExclusionOptions &&value)
const WaypointOptimizationDestinationOptions & GetDestinationOptions() const
void SetOriginOptions(WaypointOptimizationOriginOptions &&value)
void SetTravelModeOptions(WaypointOptimizationTravelModeOptions &&value)
WaypointOptimizationSequencingObjective
WaypointOptimizationTravelMode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector