7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/GeoRoutesRequest.h>
10#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
11#include <aws/geo-routes/model/RouteMatrixAllowOptions.h>
12#include <aws/geo-routes/model/RouteMatrixAvoidanceOptions.h>
13#include <aws/geo-routes/model/RouteMatrixBoundary.h>
14#include <aws/geo-routes/model/RouteMatrixDestination.h>
15#include <aws/geo-routes/model/RouteMatrixExclusionOptions.h>
16#include <aws/geo-routes/model/RouteMatrixOrigin.h>
17#include <aws/geo-routes/model/RouteMatrixTrafficOptions.h>
18#include <aws/geo-routes/model/RouteMatrixTravelMode.h>
19#include <aws/geo-routes/model/RouteMatrixTravelModeOptions.h>
20#include <aws/geo-routes/model/RoutingObjective.h>
53 template <
typename AllowT = RouteMatrixAllowOptions>
55 m_allowHasBeenSet =
true;
56 m_allow = std::forward<AllowT>(value);
58 template <
typename AllowT = RouteMatrixAllowOptions>
60 SetAllow(std::forward<AllowT>(value));
74 template <
typename A
voidT = RouteMatrixA
voidanceOptions>
76 m_avoidHasBeenSet =
true;
77 m_avoid = std::forward<AvoidT>(value);
79 template <
typename A
voidT = RouteMatrixA
voidanceOptions>
81 SetAvoid(std::forward<AvoidT>(value));
93 m_departNowHasBeenSet =
true;
111 template <
typename DepartureTimeT = Aws::String>
113 m_departureTimeHasBeenSet =
true;
114 m_departureTime = std::forward<DepartureTimeT>(value);
116 template <
typename DepartureTimeT = Aws::String>
133 template <
typename DestinationsT = Aws::Vector<RouteMatrixDestination>>
135 m_destinationsHasBeenSet =
true;
136 m_destinations = std::forward<DestinationsT>(value);
138 template <
typename DestinationsT = Aws::Vector<RouteMatrixDestination>>
143 template <
typename DestinationsT = RouteMatrixDestination>
145 m_destinationsHasBeenSet =
true;
146 m_destinations.emplace_back(std::forward<DestinationsT>(value));
157 template <
typename ExcludeT = RouteMatrixExclusionOptions>
159 m_excludeHasBeenSet =
true;
160 m_exclude = std::forward<ExcludeT>(value);
162 template <
typename ExcludeT = RouteMatrixExclusionOptions>
176 template <
typename KeyT = Aws::String>
178 m_keyHasBeenSet =
true;
179 m_key = std::forward<KeyT>(value);
181 template <
typename KeyT = Aws::String>
183 SetKey(std::forward<KeyT>(value));
196 m_optimizeRoutingForHasBeenSet =
true;
197 m_optimizeRoutingFor = value;
215 template <
typename OriginsT = Aws::Vector<RouteMatrixOrigin>>
217 m_originsHasBeenSet =
true;
218 m_origins = std::forward<OriginsT>(value);
220 template <
typename OriginsT = Aws::Vector<RouteMatrixOrigin>>
225 template <
typename OriginsT = RouteMatrixOrigin>
227 m_originsHasBeenSet =
true;
228 m_origins.emplace_back(std::forward<OriginsT>(value));
242 template <
typename RoutingBoundaryT = RouteMatrixBoundary>
244 m_routingBoundaryHasBeenSet =
true;
245 m_routingBoundary = std::forward<RoutingBoundaryT>(value);
247 template <
typename RoutingBoundaryT = RouteMatrixBoundary>
260 template <
typename TrafficT = RouteMatrixTrafficOptions>
262 m_trafficHasBeenSet =
true;
263 m_traffic = std::forward<TrafficT>(value);
265 template <
typename TrafficT = RouteMatrixTrafficOptions>
281 m_travelModeHasBeenSet =
true;
282 m_travelMode = value;
296 template <
typename TravelModeOptionsT = RouteMatrixTravelModeOptions>
298 m_travelModeOptionsHasBeenSet =
true;
299 m_travelModeOptions = std::forward<TravelModeOptionsT>(value);
301 template <
typename TravelModeOptionsT = RouteMatrixTravelModeOptions>
312 bool m_departNow{
false};
318 RouteMatrixExclusionOptions m_exclude;
326 RouteMatrixBoundary m_routingBoundary;
328 RouteMatrixTrafficOptions m_traffic;
332 RouteMatrixTravelModeOptions m_travelModeOptions;
333 bool m_allowHasBeenSet =
false;
334 bool m_avoidHasBeenSet =
false;
335 bool m_departNowHasBeenSet =
false;
336 bool m_departureTimeHasBeenSet =
false;
337 bool m_destinationsHasBeenSet =
false;
338 bool m_excludeHasBeenSet =
false;
339 bool m_keyHasBeenSet =
false;
340 bool m_optimizeRoutingForHasBeenSet =
false;
341 bool m_originsHasBeenSet =
false;
342 bool m_routingBoundaryHasBeenSet =
false;
343 bool m_trafficHasBeenSet =
false;
344 bool m_travelModeHasBeenSet =
false;
345 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