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/RouteMatrixAvoidanceArea.h>
11#include <aws/geo-routes/model/RouteMatrixAvoidanceZoneCategory.h>
48 template <
typename AreasT = Aws::Vector<RouteMatrixA
voidanceArea>>
50 m_areasHasBeenSet =
true;
51 m_areas = std::forward<AreasT>(value);
53 template <
typename AreasT = Aws::Vector<RouteMatrixA
voidanceArea>>
55 SetAreas(std::forward<AreasT>(value));
58 template <
typename AreasT = RouteMatrixA
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;
138 m_tollRoadsHasBeenSet =
true;
155 m_tollTranspondersHasBeenSet =
true;
156 m_tollTransponders = value;
173 template <
typename TruckRoadTypesT = Aws::Vector<Aws::String>>
175 m_truckRoadTypesHasBeenSet =
true;
176 m_truckRoadTypes = std::forward<TruckRoadTypesT>(value);
178 template <
typename TruckRoadTypesT = Aws::Vector<Aws::String>>
183 template <
typename TruckRoadTypesT = Aws::String>
185 m_truckRoadTypesHasBeenSet =
true;
186 m_truckRoadTypes.emplace_back(std::forward<TruckRoadTypesT>(value));
198 m_tunnelsHasBeenSet =
true;
214 m_uTurnsHasBeenSet =
true;
229 template <
typename ZoneCategoriesT = Aws::Vector<RouteMatrixA
voidanceZoneCategory>>
231 m_zoneCategoriesHasBeenSet =
true;
232 m_zoneCategories = std::forward<ZoneCategoriesT>(value);
234 template <
typename ZoneCategoriesT = Aws::Vector<RouteMatrixA
voidanceZoneCategory>>
239 template <
typename ZoneCategoriesT = RouteMatrixA
voidanceZoneCategory>
241 m_zoneCategoriesHasBeenSet =
true;
242 m_zoneCategories.emplace_back(std::forward<ZoneCategoriesT>(value));
249 bool m_carShuttleTrains{
false};
251 bool m_controlledAccessHighways{
false};
253 bool m_dirtRoads{
false};
255 bool m_ferries{
false};
257 bool m_tollRoads{
false};
259 bool m_tollTransponders{
false};
263 bool m_tunnels{
false};
265 bool m_uTurns{
false};
268 bool m_areasHasBeenSet =
false;
269 bool m_carShuttleTrainsHasBeenSet =
false;
270 bool m_controlledAccessHighwaysHasBeenSet =
false;
271 bool m_dirtRoadsHasBeenSet =
false;
272 bool m_ferriesHasBeenSet =
false;
273 bool m_tollRoadsHasBeenSet =
false;
274 bool m_tollTranspondersHasBeenSet =
false;
275 bool m_truckRoadTypesHasBeenSet =
false;
276 bool m_tunnelsHasBeenSet =
false;
277 bool m_uTurnsHasBeenSet =
false;
278 bool m_zoneCategoriesHasBeenSet =
false;
RouteMatrixAvoidanceOptions & WithDirtRoads(bool value)
void SetTollTransponders(bool value)
void SetControlledAccessHighways(bool value)
bool AreasHasBeenSet() const
bool ZoneCategoriesHasBeenSet() const
bool GetTollRoads() const
void SetAreas(AreasT &&value)
const Aws::Vector< RouteMatrixAvoidanceZoneCategory > & GetZoneCategories() const
AWS_GEOROUTES_API RouteMatrixAvoidanceOptions(Aws::Utils::Json::JsonView jsonValue)
bool TollRoadsHasBeenSet() const
bool GetDirtRoads() const
RouteMatrixAvoidanceOptions & WithTollRoads(bool value)
RouteMatrixAvoidanceOptions & WithUTurns(bool value)
RouteMatrixAvoidanceOptions & WithCarShuttleTrains(bool value)
bool ControlledAccessHighwaysHasBeenSet() const
AWS_GEOROUTES_API RouteMatrixAvoidanceOptions()=default
bool UTurnsHasBeenSet() const
const Aws::Vector< RouteMatrixAvoidanceArea > & GetAreas() const
bool GetCarShuttleTrains() const
RouteMatrixAvoidanceOptions & WithZoneCategories(ZoneCategoriesT &&value)
AWS_GEOROUTES_API RouteMatrixAvoidanceOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetTruckRoadTypes() const
RouteMatrixAvoidanceOptions & AddZoneCategories(ZoneCategoriesT &&value)
bool TollTranspondersHasBeenSet() const
void SetTruckRoadTypes(TruckRoadTypesT &&value)
RouteMatrixAvoidanceOptions & AddAreas(AreasT &&value)
bool GetControlledAccessHighways() const
RouteMatrixAvoidanceOptions & WithAreas(AreasT &&value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTunnels(bool value)
RouteMatrixAvoidanceOptions & WithControlledAccessHighways(bool value)
void SetFerries(bool value)
bool TunnelsHasBeenSet() const
void SetZoneCategories(ZoneCategoriesT &&value)
void SetUTurns(bool value)
void SetTollRoads(bool value)
void SetCarShuttleTrains(bool value)
bool TruckRoadTypesHasBeenSet() const
bool FerriesHasBeenSet() const
RouteMatrixAvoidanceOptions & WithTollTransponders(bool value)
RouteMatrixAvoidanceOptions & WithFerries(bool value)
bool DirtRoadsHasBeenSet() const
RouteMatrixAvoidanceOptions & AddTruckRoadTypes(TruckRoadTypesT &&value)
RouteMatrixAvoidanceOptions & WithTunnels(bool value)
RouteMatrixAvoidanceOptions & WithTruckRoadTypes(TruckRoadTypesT &&value)
bool CarShuttleTrainsHasBeenSet() const
void SetDirtRoads(bool value)
bool GetTollTransponders() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue