7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/GeoRoutesRequest.h>
9#include <aws/geo-routes/model/RouteMatrixAllowOptions.h>
10#include <aws/geo-routes/model/RouteMatrixAvoidanceOptions.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/geo-routes/model/RouteMatrixExclusionOptions.h>
14#include <aws/geo-routes/model/RoutingObjective.h>
15#include <aws/geo-routes/model/RouteMatrixBoundary.h>
16#include <aws/geo-routes/model/RouteMatrixTrafficOptions.h>
17#include <aws/geo-routes/model/RouteMatrixTravelMode.h>
18#include <aws/geo-routes/model/RouteMatrixTravelModeOptions.h>
19#include <aws/geo-routes/model/RouteMatrixDestination.h>
20#include <aws/geo-routes/model/RouteMatrixOrigin.h>
85 inline void SetDepartNow(
bool value) { m_departNowHasBeenSet =
true; m_departNow = value; }
100 inline void SetDepartureTime(
const char* value) { m_departureTimeHasBeenSet =
true; m_departureTime.assign(value); }
141 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
229 bool m_allowHasBeenSet =
false;
232 bool m_avoidHasBeenSet =
false;
235 bool m_departNowHasBeenSet =
false;
238 bool m_departureTimeHasBeenSet =
false;
241 bool m_destinationsHasBeenSet =
false;
244 bool m_excludeHasBeenSet =
false;
247 bool m_keyHasBeenSet =
false;
250 bool m_optimizeRoutingForHasBeenSet =
false;
253 bool m_originsHasBeenSet =
false;
256 bool m_routingBoundaryHasBeenSet =
false;
259 bool m_trafficHasBeenSet =
false;
262 bool m_travelModeHasBeenSet =
false;
265 bool m_travelModeOptionsHasBeenSet =
false;
bool DepartureTimeHasBeenSet() const
CalculateRouteMatrixRequest & WithDepartNow(bool value)
const RoutingObjective & GetOptimizeRoutingFor() const
CalculateRouteMatrixRequest & WithDestinations(Aws::Vector< RouteMatrixDestination > &&value)
bool ExcludeHasBeenSet() const
CalculateRouteMatrixRequest & WithDepartureTime(const Aws::String &value)
const RouteMatrixExclusionOptions & GetExclude() const
void SetTravelMode(const RouteMatrixTravelMode &value)
CalculateRouteMatrixRequest & WithOptimizeRoutingFor(const RoutingObjective &value)
CalculateRouteMatrixRequest & AddDestinations(const RouteMatrixDestination &value)
CalculateRouteMatrixRequest & WithExclude(const RouteMatrixExclusionOptions &value)
const RouteMatrixTravelMode & GetTravelMode() const
CalculateRouteMatrixRequest & WithKey(const char *value)
const Aws::Vector< RouteMatrixDestination > & GetDestinations() const
const Aws::String & GetKey() const
void SetRoutingBoundary(RouteMatrixBoundary &&value)
CalculateRouteMatrixRequest & WithTravelMode(const RouteMatrixTravelMode &value)
void SetOrigins(const Aws::Vector< RouteMatrixOrigin > &value)
bool KeyHasBeenSet() const
void SetRoutingBoundary(const RouteMatrixBoundary &value)
const RouteMatrixBoundary & GetRoutingBoundary() const
void SetDestinations(Aws::Vector< RouteMatrixDestination > &&value)
void SetKey(Aws::String &&value)
CalculateRouteMatrixRequest & WithOptimizeRoutingFor(RoutingObjective &&value)
CalculateRouteMatrixRequest & WithKey(Aws::String &&value)
AWS_GEOROUTES_API CalculateRouteMatrixRequest()
CalculateRouteMatrixRequest & AddOrigins(const RouteMatrixOrigin &value)
void SetOrigins(Aws::Vector< RouteMatrixOrigin > &&value)
void SetDepartNow(bool value)
CalculateRouteMatrixRequest & WithAvoid(const RouteMatrixAvoidanceOptions &value)
bool DepartNowHasBeenSet() const
CalculateRouteMatrixRequest & WithTravelModeOptions(RouteMatrixTravelModeOptions &&value)
CalculateRouteMatrixRequest & WithAllow(const RouteMatrixAllowOptions &value)
bool OptimizeRoutingForHasBeenSet() const
const RouteMatrixAllowOptions & GetAllow() const
CalculateRouteMatrixRequest & WithDepartureTime(const char *value)
bool GetDepartNow() const
void SetAllow(RouteMatrixAllowOptions &&value)
CalculateRouteMatrixRequest & WithAllow(RouteMatrixAllowOptions &&value)
void SetTravelMode(RouteMatrixTravelMode &&value)
CalculateRouteMatrixRequest & WithTravelModeOptions(const RouteMatrixTravelModeOptions &value)
CalculateRouteMatrixRequest & WithDepartureTime(Aws::String &&value)
void SetTravelModeOptions(const RouteMatrixTravelModeOptions &value)
bool DestinationsHasBeenSet() const
void SetExclude(RouteMatrixExclusionOptions &&value)
void SetAvoid(RouteMatrixAvoidanceOptions &&value)
CalculateRouteMatrixRequest & WithKey(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CalculateRouteMatrixRequest & AddDestinations(RouteMatrixDestination &&value)
const Aws::String & GetDepartureTime() const
CalculateRouteMatrixRequest & WithOrigins(Aws::Vector< RouteMatrixOrigin > &&value)
void SetAvoid(const RouteMatrixAvoidanceOptions &value)
void SetKey(const Aws::String &value)
const RouteMatrixAvoidanceOptions & GetAvoid() const
AWS_GEOROUTES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const RouteMatrixTravelModeOptions & GetTravelModeOptions() const
void SetDepartureTime(Aws::String &&value)
CalculateRouteMatrixRequest & WithTraffic(RouteMatrixTrafficOptions &&value)
const Aws::Vector< RouteMatrixOrigin > & GetOrigins() const
bool TravelModeOptionsHasBeenSet() const
CalculateRouteMatrixRequest & WithExclude(RouteMatrixExclusionOptions &&value)
void SetOptimizeRoutingFor(const RoutingObjective &value)
bool AvoidHasBeenSet() const
CalculateRouteMatrixRequest & WithOrigins(const Aws::Vector< RouteMatrixOrigin > &value)
bool TravelModeHasBeenSet() const
CalculateRouteMatrixRequest & WithTravelMode(RouteMatrixTravelMode &&value)
void SetTravelModeOptions(RouteMatrixTravelModeOptions &&value)
void SetDestinations(const Aws::Vector< RouteMatrixDestination > &value)
CalculateRouteMatrixRequest & WithTraffic(const RouteMatrixTrafficOptions &value)
bool TrafficHasBeenSet() const
void SetKey(const char *value)
void SetDepartureTime(const Aws::String &value)
void SetTraffic(const RouteMatrixTrafficOptions &value)
const RouteMatrixTrafficOptions & GetTraffic() const
void SetDepartureTime(const char *value)
void SetTraffic(RouteMatrixTrafficOptions &&value)
CalculateRouteMatrixRequest & WithAvoid(RouteMatrixAvoidanceOptions &&value)
void SetExclude(const RouteMatrixExclusionOptions &value)
CalculateRouteMatrixRequest & WithDestinations(const Aws::Vector< RouteMatrixDestination > &value)
CalculateRouteMatrixRequest & WithRoutingBoundary(const RouteMatrixBoundary &value)
void SetOptimizeRoutingFor(RoutingObjective &&value)
AWS_GEOROUTES_API Aws::String SerializePayload() const override
CalculateRouteMatrixRequest & WithRoutingBoundary(RouteMatrixBoundary &&value)
bool RoutingBoundaryHasBeenSet() const
bool AllowHasBeenSet() const
CalculateRouteMatrixRequest & AddOrigins(RouteMatrixOrigin &&value)
bool OriginsHasBeenSet() const
void SetAllow(const RouteMatrixAllowOptions &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector