7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
10#include <aws/geo-routes/model/RouteAvoidanceArea.h>
11#include <aws/geo-routes/model/RouteAvoidanceZoneCategory.h>
51 template <
typename AreasT = Aws::Vector<RouteA
voidanceArea>>
53 m_areasHasBeenSet =
true;
54 m_areas = std::forward<AreasT>(value);
56 template <
typename AreasT = Aws::Vector<RouteA
voidanceArea>>
58 SetAreas(std::forward<AreasT>(value));
61 template <
typename AreasT = RouteA
voidanceArea>
63 m_areasHasBeenSet =
true;
64 m_areas.emplace_back(std::forward<AreasT>(value));
79 m_carShuttleTrainsHasBeenSet =
true;
80 m_carShuttleTrains = value;
95 m_controlledAccessHighwaysHasBeenSet =
true;
96 m_controlledAccessHighways = value;
114 m_dirtRoadsHasBeenSet =
true;
130 m_ferriesHasBeenSet =
true;
150 m_seasonalClosureHasBeenSet =
true;
151 m_seasonalClosure = value;
167 m_tollRoadsHasBeenSet =
true;
187 m_tollTranspondersHasBeenSet =
true;
188 m_tollTransponders = value;
208 template <
typename TruckRoadTypesT = Aws::Vector<Aws::String>>
210 m_truckRoadTypesHasBeenSet =
true;
211 m_truckRoadTypes = std::forward<TruckRoadTypesT>(value);
213 template <
typename TruckRoadTypesT = Aws::Vector<Aws::String>>
218 template <
typename TruckRoadTypesT = Aws::String>
220 m_truckRoadTypesHasBeenSet =
true;
221 m_truckRoadTypes.emplace_back(std::forward<TruckRoadTypesT>(value));
236 m_tunnelsHasBeenSet =
true;
255 m_uTurnsHasBeenSet =
true;
273 template <
typename ZoneCategoriesT = Aws::Vector<RouteA
voidanceZoneCategory>>
275 m_zoneCategoriesHasBeenSet =
true;
276 m_zoneCategories = std::forward<ZoneCategoriesT>(value);
278 template <
typename ZoneCategoriesT = Aws::Vector<RouteA
voidanceZoneCategory>>
283 template <
typename ZoneCategoriesT = RouteA
voidanceZoneCategory>
285 m_zoneCategoriesHasBeenSet =
true;
286 m_zoneCategories.emplace_back(std::forward<ZoneCategoriesT>(value));
293 bool m_carShuttleTrains{
false};
295 bool m_controlledAccessHighways{
false};
297 bool m_dirtRoads{
false};
299 bool m_ferries{
false};
301 bool m_seasonalClosure{
false};
303 bool m_tollRoads{
false};
305 bool m_tollTransponders{
false};
309 bool m_tunnels{
false};
311 bool m_uTurns{
false};
314 bool m_areasHasBeenSet =
false;
315 bool m_carShuttleTrainsHasBeenSet =
false;
316 bool m_controlledAccessHighwaysHasBeenSet =
false;
317 bool m_dirtRoadsHasBeenSet =
false;
318 bool m_ferriesHasBeenSet =
false;
319 bool m_seasonalClosureHasBeenSet =
false;
320 bool m_tollRoadsHasBeenSet =
false;
321 bool m_tollTranspondersHasBeenSet =
false;
322 bool m_truckRoadTypesHasBeenSet =
false;
323 bool m_tunnelsHasBeenSet =
false;
324 bool m_uTurnsHasBeenSet =
false;
325 bool m_zoneCategoriesHasBeenSet =
false;
bool TollTranspondersHasBeenSet() const
void SetTruckRoadTypes(TruckRoadTypesT &&value)
RouteAvoidanceOptions & AddZoneCategories(ZoneCategoriesT &&value)
void SetTollRoads(bool value)
bool GetCarShuttleTrains() const
void SetCarShuttleTrains(bool value)
bool TollRoadsHasBeenSet() const
bool ZoneCategoriesHasBeenSet() const
RouteAvoidanceOptions & WithZoneCategories(ZoneCategoriesT &&value)
RouteAvoidanceOptions & WithControlledAccessHighways(bool value)
RouteAvoidanceOptions & WithTollRoads(bool value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
bool ControlledAccessHighwaysHasBeenSet() const
AWS_GEOROUTES_API RouteAvoidanceOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSeasonalClosure(bool value)
RouteAvoidanceOptions & WithTunnels(bool value)
RouteAvoidanceOptions & WithAreas(AreasT &&value)
void SetTollTransponders(bool value)
void SetTunnels(bool value)
AWS_GEOROUTES_API RouteAvoidanceOptions(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RouteAvoidanceArea > & GetAreas() const
RouteAvoidanceOptions & WithTollTransponders(bool value)
bool FerriesHasBeenSet() const
RouteAvoidanceOptions & AddTruckRoadTypes(TruckRoadTypesT &&value)
AWS_GEOROUTES_API RouteAvoidanceOptions()=default
RouteAvoidanceOptions & WithDirtRoads(bool value)
bool TunnelsHasBeenSet() const
bool CarShuttleTrainsHasBeenSet() const
bool DirtRoadsHasBeenSet() const
bool GetTollTransponders() const
RouteAvoidanceOptions & AddAreas(AreasT &&value)
void SetControlledAccessHighways(bool value)
RouteAvoidanceOptions & WithTruckRoadTypes(TruckRoadTypesT &&value)
bool AreasHasBeenSet() const
bool UTurnsHasBeenSet() const
RouteAvoidanceOptions & WithFerries(bool value)
RouteAvoidanceOptions & WithSeasonalClosure(bool value)
void SetFerries(bool value)
RouteAvoidanceOptions & WithCarShuttleTrains(bool value)
bool SeasonalClosureHasBeenSet() const
bool GetControlledAccessHighways() const
void SetAreas(AreasT &&value)
void SetUTurns(bool value)
const Aws::Vector< RouteAvoidanceZoneCategory > & GetZoneCategories() const
bool GetDirtRoads() const
bool TruckRoadTypesHasBeenSet() const
void SetZoneCategories(ZoneCategoriesT &&value)
void SetDirtRoads(bool value)
bool GetSeasonalClosure() const
bool GetTollRoads() const
RouteAvoidanceOptions & WithUTurns(bool value)
const Aws::Vector< Aws::String > & GetTruckRoadTypes() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue