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));
78 template <
typename A
voidT = RouteMatrixA
voidanceOptions>
80 m_avoidHasBeenSet =
true;
81 m_avoid = std::forward<AvoidT>(value);
83 template <
typename A
voidT = RouteMatrixA
voidanceOptions>
85 SetAvoid(std::forward<AvoidT>(value));
97 m_departNowHasBeenSet =
true;
115 template <
typename DepartureTimeT = Aws::String>
117 m_departureTimeHasBeenSet =
true;
118 m_departureTime = std::forward<DepartureTimeT>(value);
120 template <
typename DepartureTimeT = Aws::String>
138 template <
typename DestinationsT = Aws::Vector<RouteMatrixDestination>>
140 m_destinationsHasBeenSet =
true;
141 m_destinations = std::forward<DestinationsT>(value);
143 template <
typename DestinationsT = Aws::Vector<RouteMatrixDestination>>
148 template <
typename DestinationsT = RouteMatrixDestination>
150 m_destinationsHasBeenSet =
true;
151 m_destinations.emplace_back(std::forward<DestinationsT>(value));
165 template <
typename ExcludeT = RouteMatrixExclusionOptions>
167 m_excludeHasBeenSet =
true;
168 m_exclude = std::forward<ExcludeT>(value);
170 template <
typename ExcludeT = RouteMatrixExclusionOptions>
184 template <
typename KeyT = Aws::String>
186 m_keyHasBeenSet =
true;
187 m_key = std::forward<KeyT>(value);
189 template <
typename KeyT = Aws::String>
191 SetKey(std::forward<KeyT>(value));
206 m_optimizeRoutingForHasBeenSet =
true;
207 m_optimizeRoutingFor = value;
226 template <
typename OriginsT = Aws::Vector<RouteMatrixOrigin>>
228 m_originsHasBeenSet =
true;
229 m_origins = std::forward<OriginsT>(value);
231 template <
typename OriginsT = Aws::Vector<RouteMatrixOrigin>>
236 template <
typename OriginsT = RouteMatrixOrigin>
238 m_originsHasBeenSet =
true;
239 m_origins.emplace_back(std::forward<OriginsT>(value));
257 template <
typename RoutingBoundaryT = RouteMatrixBoundary>
259 m_routingBoundaryHasBeenSet =
true;
260 m_routingBoundary = std::forward<RoutingBoundaryT>(value);
262 template <
typename RoutingBoundaryT = RouteMatrixBoundary>
278 template <
typename TrafficT = RouteMatrixTrafficOptions>
280 m_trafficHasBeenSet =
true;
281 m_traffic = std::forward<TrafficT>(value);
283 template <
typename TrafficT = RouteMatrixTrafficOptions>
302 m_travelModeHasBeenSet =
true;
303 m_travelMode = value;
320 template <
typename TravelModeOptionsT = RouteMatrixTravelModeOptions>
322 m_travelModeOptionsHasBeenSet =
true;
323 m_travelModeOptions = std::forward<TravelModeOptionsT>(value);
325 template <
typename TravelModeOptionsT = RouteMatrixTravelModeOptions>
336 bool m_departNow{
false};
342 RouteMatrixExclusionOptions m_exclude;
350 RouteMatrixBoundary m_routingBoundary;
352 RouteMatrixTrafficOptions m_traffic;
356 RouteMatrixTravelModeOptions m_travelModeOptions;
357 bool m_allowHasBeenSet =
false;
358 bool m_avoidHasBeenSet =
false;
359 bool m_departNowHasBeenSet =
false;
360 bool m_departureTimeHasBeenSet =
false;
361 bool m_destinationsHasBeenSet =
false;
362 bool m_excludeHasBeenSet =
false;
363 bool m_keyHasBeenSet =
false;
364 bool m_optimizeRoutingForHasBeenSet =
false;
365 bool m_originsHasBeenSet =
false;
366 bool m_routingBoundaryHasBeenSet =
false;
367 bool m_trafficHasBeenSet =
false;
368 bool m_travelModeHasBeenSet =
false;
369 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