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>
48 template <
typename AreasT = Aws::Vector<RouteA
voidanceArea>>
50 m_areasHasBeenSet =
true;
51 m_areas = std::forward<AreasT>(value);
53 template <
typename AreasT = Aws::Vector<RouteA
voidanceArea>>
55 SetAreas(std::forward<AreasT>(value));
58 template <
typename AreasT = RouteA
voidanceArea>
60 m_areasHasBeenSet =
true;
61 m_areas.emplace_back(std::forward<AreasT>(value));
73 m_carShuttleTrainsHasBeenSet =
true;
74 m_carShuttleTrains = value;
89 m_controlledAccessHighwaysHasBeenSet =
true;
90 m_controlledAccessHighways = value;
105 m_dirtRoadsHasBeenSet =
true;
121 m_ferriesHasBeenSet =
true;
137 m_seasonalClosureHasBeenSet =
true;
138 m_seasonalClosure = value;
154 m_tollRoadsHasBeenSet =
true;
171 m_tollTranspondersHasBeenSet =
true;
172 m_tollTransponders = value;
189 template <
typename TruckRoadTypesT = Aws::Vector<Aws::String>>
191 m_truckRoadTypesHasBeenSet =
true;
192 m_truckRoadTypes = std::forward<TruckRoadTypesT>(value);
194 template <
typename TruckRoadTypesT = Aws::Vector<Aws::String>>
199 template <
typename TruckRoadTypesT = Aws::String>
201 m_truckRoadTypesHasBeenSet =
true;
202 m_truckRoadTypes.emplace_back(std::forward<TruckRoadTypesT>(value));
214 m_tunnelsHasBeenSet =
true;
230 m_uTurnsHasBeenSet =
true;
245 template <
typename ZoneCategoriesT = Aws::Vector<RouteA
voidanceZoneCategory>>
247 m_zoneCategoriesHasBeenSet =
true;
248 m_zoneCategories = std::forward<ZoneCategoriesT>(value);
250 template <
typename ZoneCategoriesT = Aws::Vector<RouteA
voidanceZoneCategory>>
255 template <
typename ZoneCategoriesT = RouteA
voidanceZoneCategory>
257 m_zoneCategoriesHasBeenSet =
true;
258 m_zoneCategories.emplace_back(std::forward<ZoneCategoriesT>(value));
265 bool m_carShuttleTrains{
false};
267 bool m_controlledAccessHighways{
false};
269 bool m_dirtRoads{
false};
271 bool m_ferries{
false};
273 bool m_seasonalClosure{
false};
275 bool m_tollRoads{
false};
277 bool m_tollTransponders{
false};
281 bool m_tunnels{
false};
283 bool m_uTurns{
false};
286 bool m_areasHasBeenSet =
false;
287 bool m_carShuttleTrainsHasBeenSet =
false;
288 bool m_controlledAccessHighwaysHasBeenSet =
false;
289 bool m_dirtRoadsHasBeenSet =
false;
290 bool m_ferriesHasBeenSet =
false;
291 bool m_seasonalClosureHasBeenSet =
false;
292 bool m_tollRoadsHasBeenSet =
false;
293 bool m_tollTranspondersHasBeenSet =
false;
294 bool m_truckRoadTypesHasBeenSet =
false;
295 bool m_tunnelsHasBeenSet =
false;
296 bool m_uTurnsHasBeenSet =
false;
297 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