7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/model/RouteAvoidanceArea.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/geo-routes/model/RouteAvoidanceZoneCategory.h>
54 template<
typename AreasT = Aws::Vector<RouteA
voidanceArea>>
55 void SetAreas(AreasT&& value) { m_areasHasBeenSet =
true; m_areas = std::forward<AreasT>(value); }
56 template<
typename AreasT = Aws::Vector<RouteA
voidanceArea>>
58 template<
typename AreasT = RouteA
voidanceArea>
68 inline void SetCarShuttleTrains(
bool value) { m_carShuttleTrainsHasBeenSet =
true; m_carShuttleTrains = value; }
88 inline void SetDirtRoads(
bool value) { m_dirtRoadsHasBeenSet =
true; m_dirtRoads = value; }
98 inline void SetFerries(
bool value) { m_ferriesHasBeenSet =
true; m_ferries = value; }
108 inline void SetSeasonalClosure(
bool value) { m_seasonalClosureHasBeenSet =
true; m_seasonalClosure = value; }
119 inline void SetTollRoads(
bool value) { m_tollRoadsHasBeenSet =
true; m_tollRoads = value; }
130 inline void SetTollTransponders(
bool value) { m_tollTranspondersHasBeenSet =
true; m_tollTransponders = value; }
143 template<
typename TruckRoadTypesT = Aws::Vector<Aws::String>>
144 void SetTruckRoadTypes(TruckRoadTypesT&& value) { m_truckRoadTypesHasBeenSet =
true; m_truckRoadTypes = std::forward<TruckRoadTypesT>(value); }
145 template<
typename TruckRoadTypesT = Aws::Vector<Aws::String>>
147 template<
typename TruckRoadTypesT = Aws::String>
157 inline void SetTunnels(
bool value) { m_tunnelsHasBeenSet =
true; m_tunnels = value; }
167 inline void SetUTurns(
bool value) { m_uTurnsHasBeenSet =
true; m_uTurns = value; }
177 template<
typename ZoneCategoriesT = Aws::Vector<RouteA
voidanceZoneCategory>>
178 void SetZoneCategories(ZoneCategoriesT&& value) { m_zoneCategoriesHasBeenSet =
true; m_zoneCategories = std::forward<ZoneCategoriesT>(value); }
179 template<
typename ZoneCategoriesT = Aws::Vector<RouteA
voidanceZoneCategory>>
181 template<
typename ZoneCategoriesT = RouteA
voidanceZoneCategory>
187 bool m_areasHasBeenSet =
false;
189 bool m_carShuttleTrains{
false};
190 bool m_carShuttleTrainsHasBeenSet =
false;
192 bool m_controlledAccessHighways{
false};
193 bool m_controlledAccessHighwaysHasBeenSet =
false;
195 bool m_dirtRoads{
false};
196 bool m_dirtRoadsHasBeenSet =
false;
198 bool m_ferries{
false};
199 bool m_ferriesHasBeenSet =
false;
201 bool m_seasonalClosure{
false};
202 bool m_seasonalClosureHasBeenSet =
false;
204 bool m_tollRoads{
false};
205 bool m_tollRoadsHasBeenSet =
false;
207 bool m_tollTransponders{
false};
208 bool m_tollTranspondersHasBeenSet =
false;
211 bool m_truckRoadTypesHasBeenSet =
false;
213 bool m_tunnels{
false};
214 bool m_tunnelsHasBeenSet =
false;
216 bool m_uTurns{
false};
217 bool m_uTurnsHasBeenSet =
false;
220 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