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>
58 template<
typename AllowT = RouteMatrixAllowOptions>
59 void SetAllow(AllowT&& value) { m_allowHasBeenSet =
true; m_allow = std::forward<AllowT>(value); }
60 template<
typename AllowT = RouteMatrixAllowOptions>
73 template<
typename A
voidT = RouteMatrixA
voidanceOptions>
74 void SetAvoid(AvoidT&& value) { m_avoidHasBeenSet =
true; m_avoid = std::forward<AvoidT>(value); }
75 template<
typename A
voidT = RouteMatrixA
voidanceOptions>
85 inline void SetDepartNow(
bool value) { m_departNowHasBeenSet =
true; m_departNow = value; }
98 template<
typename DepartureTimeT = Aws::String>
99 void SetDepartureTime(DepartureTimeT&& value) { m_departureTimeHasBeenSet =
true; m_departureTime = std::forward<DepartureTimeT>(value); }
100 template<
typename DepartureTimeT = Aws::String>
114 template<
typename DestinationsT = Aws::Vector<RouteMatrixDestination>>
115 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations = std::forward<DestinationsT>(value); }
116 template<
typename DestinationsT = Aws::Vector<RouteMatrixDestination>>
118 template<
typename DestinationsT = RouteMatrixDestination>
128 template<
typename ExcludeT = RouteMatrixExclusionOptions>
129 void SetExclude(ExcludeT&& value) { m_excludeHasBeenSet =
true; m_exclude = std::forward<ExcludeT>(value); }
130 template<
typename ExcludeT = RouteMatrixExclusionOptions>
141 template<
typename KeyT = Aws::String>
142 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
143 template<
typename KeyT = Aws::String>
168 template<
typename OriginsT = Aws::Vector<RouteMatrixOrigin>>
169 void SetOrigins(OriginsT&& value) { m_originsHasBeenSet =
true; m_origins = std::forward<OriginsT>(value); }
170 template<
typename OriginsT = Aws::Vector<RouteMatrixOrigin>>
172 template<
typename OriginsT = RouteMatrixOrigin>
185 template<
typename RoutingBoundaryT = RouteMatrixBoundary>
186 void SetRoutingBoundary(RoutingBoundaryT&& value) { m_routingBoundaryHasBeenSet =
true; m_routingBoundary = std::forward<RoutingBoundaryT>(value); }
187 template<
typename RoutingBoundaryT = RouteMatrixBoundary>
197 template<
typename TrafficT = RouteMatrixTrafficOptions>
198 void SetTraffic(TrafficT&& value) { m_trafficHasBeenSet =
true; m_traffic = std::forward<TrafficT>(value); }
199 template<
typename TrafficT = RouteMatrixTrafficOptions>
221 template<
typename TravelModeOptionsT = RouteMatrixTravelModeOptions>
222 void SetTravelModeOptions(TravelModeOptionsT&& value) { m_travelModeOptionsHasBeenSet =
true; m_travelModeOptions = std::forward<TravelModeOptionsT>(value); }
223 template<
typename TravelModeOptionsT = RouteMatrixTravelModeOptions>
229 bool m_allowHasBeenSet =
false;
232 bool m_avoidHasBeenSet =
false;
234 bool m_departNow{
false};
235 bool m_departNowHasBeenSet =
false;
238 bool m_departureTimeHasBeenSet =
false;
241 bool m_destinationsHasBeenSet =
false;
243 RouteMatrixExclusionOptions m_exclude;
244 bool m_excludeHasBeenSet =
false;
247 bool m_keyHasBeenSet =
false;
250 bool m_optimizeRoutingForHasBeenSet =
false;
253 bool m_originsHasBeenSet =
false;
255 RouteMatrixBoundary m_routingBoundary;
256 bool m_routingBoundaryHasBeenSet =
false;
258 RouteMatrixTrafficOptions m_traffic;
259 bool m_trafficHasBeenSet =
false;
262 bool m_travelModeHasBeenSet =
false;
264 RouteMatrixTravelModeOptions m_travelModeOptions;
265 bool m_travelModeOptionsHasBeenSet =
false;
bool DepartureTimeHasBeenSet() const
CalculateRouteMatrixRequest & WithDepartNow(bool value)
CalculateRouteMatrixRequest & WithExclude(ExcludeT &&value)
void SetTravelMode(RouteMatrixTravelMode value)
bool ExcludeHasBeenSet() const
const RouteMatrixExclusionOptions & GetExclude() const
CalculateRouteMatrixRequest & WithTravelModeOptions(TravelModeOptionsT &&value)
CalculateRouteMatrixRequest & AddOrigins(OriginsT &&value)
CalculateRouteMatrixRequest & WithDestinations(DestinationsT &&value)
void SetAvoid(AvoidT &&value)
const Aws::Vector< RouteMatrixDestination > & GetDestinations() const
void SetAllow(AllowT &&value)
const Aws::String & GetKey() const
bool KeyHasBeenSet() const
const RouteMatrixBoundary & GetRoutingBoundary() const
void SetDepartureTime(DepartureTimeT &&value)
CalculateRouteMatrixRequest & WithKey(KeyT &&value)
void SetDepartNow(bool value)
bool DepartNowHasBeenSet() const
bool OptimizeRoutingForHasBeenSet() const
const RouteMatrixAllowOptions & GetAllow() const
RoutingObjective GetOptimizeRoutingFor() const
CalculateRouteMatrixRequest & AddDestinations(DestinationsT &&value)
bool GetDepartNow() const
void SetOptimizeRoutingFor(RoutingObjective value)
void SetOrigins(OriginsT &&value)
bool DestinationsHasBeenSet() const
void SetDestinations(DestinationsT &&value)
CalculateRouteMatrixRequest & WithTraffic(TrafficT &&value)
virtual const char * GetServiceRequestName() const override
void SetExclude(ExcludeT &&value)
CalculateRouteMatrixRequest & WithAllow(AllowT &&value)
const Aws::String & GetDepartureTime() const
CalculateRouteMatrixRequest & WithDepartureTime(DepartureTimeT &&value)
CalculateRouteMatrixRequest & WithOrigins(OriginsT &&value)
const RouteMatrixAvoidanceOptions & GetAvoid() const
AWS_GEOROUTES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetTraffic(TrafficT &&value)
const RouteMatrixTravelModeOptions & GetTravelModeOptions() const
void SetTravelModeOptions(TravelModeOptionsT &&value)
const Aws::Vector< RouteMatrixOrigin > & GetOrigins() const
bool TravelModeOptionsHasBeenSet() const
bool AvoidHasBeenSet() const
void SetRoutingBoundary(RoutingBoundaryT &&value)
CalculateRouteMatrixRequest & WithTravelMode(RouteMatrixTravelMode value)
CalculateRouteMatrixRequest & WithOptimizeRoutingFor(RoutingObjective value)
bool TravelModeHasBeenSet() const
CalculateRouteMatrixRequest & WithAvoid(AvoidT &&value)
CalculateRouteMatrixRequest & WithRoutingBoundary(RoutingBoundaryT &&value)
AWS_GEOROUTES_API CalculateRouteMatrixRequest()=default
bool TrafficHasBeenSet() const
RouteMatrixTravelMode GetTravelMode() const
const RouteMatrixTrafficOptions & GetTraffic() const
void SetKey(KeyT &&value)
AWS_GEOROUTES_API Aws::String SerializePayload() const override
bool RoutingBoundaryHasBeenSet() const
bool AllowHasBeenSet() const
bool OriginsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector