7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
9#include <aws/geo-routes/model/WaypointOptimizationAvoidanceArea.h>
45 template <
typename AreasT = Aws::Vector<Waypo
intOptimizationA
voidanceArea>>
47 m_areasHasBeenSet =
true;
48 m_areas = std::forward<AreasT>(value);
50 template <
typename AreasT = Aws::Vector<Waypo
intOptimizationA
voidanceArea>>
52 SetAreas(std::forward<AreasT>(value));
55 template <
typename AreasT = Waypo
intOptimizationA
voidanceArea>
57 m_areasHasBeenSet =
true;
58 m_areas.emplace_back(std::forward<AreasT>(value));
70 m_carShuttleTrainsHasBeenSet =
true;
71 m_carShuttleTrains = value;
86 m_controlledAccessHighwaysHasBeenSet =
true;
87 m_controlledAccessHighways = value;
102 m_dirtRoadsHasBeenSet =
true;
118 m_ferriesHasBeenSet =
true;
135 m_tollRoadsHasBeenSet =
true;
151 m_tunnelsHasBeenSet =
true;
167 m_uTurnsHasBeenSet =
true;
178 bool m_carShuttleTrains{
false};
180 bool m_controlledAccessHighways{
false};
182 bool m_dirtRoads{
false};
184 bool m_ferries{
false};
186 bool m_tollRoads{
false};
188 bool m_tunnels{
false};
190 bool m_uTurns{
false};
191 bool m_areasHasBeenSet =
false;
192 bool m_carShuttleTrainsHasBeenSet =
false;
193 bool m_controlledAccessHighwaysHasBeenSet =
false;
194 bool m_dirtRoadsHasBeenSet =
false;
195 bool m_ferriesHasBeenSet =
false;
196 bool m_tollRoadsHasBeenSet =
false;
197 bool m_tunnelsHasBeenSet =
false;
198 bool m_uTurnsHasBeenSet =
false;
WaypointOptimizationAvoidanceOptions & AddAreas(AreasT &&value)
WaypointOptimizationAvoidanceOptions & WithFerries(bool value)
bool UTurnsHasBeenSet() const
bool TollRoadsHasBeenSet() const
AWS_GEOROUTES_API WaypointOptimizationAvoidanceOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DirtRoadsHasBeenSet() const
WaypointOptimizationAvoidanceOptions & WithUTurns(bool value)
AWS_GEOROUTES_API WaypointOptimizationAvoidanceOptions(Aws::Utils::Json::JsonView jsonValue)
bool GetTollRoads() const
void SetControlledAccessHighways(bool value)
bool FerriesHasBeenSet() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDirtRoads(bool value)
bool AreasHasBeenSet() const
void SetCarShuttleTrains(bool value)
void SetTunnels(bool value)
bool GetDirtRoads() const
void SetTollRoads(bool value)
WaypointOptimizationAvoidanceOptions & WithTollRoads(bool value)
WaypointOptimizationAvoidanceOptions & WithAreas(AreasT &&value)
bool ControlledAccessHighwaysHasBeenSet() const
AWS_GEOROUTES_API WaypointOptimizationAvoidanceOptions()=default
WaypointOptimizationAvoidanceOptions & WithTunnels(bool value)
WaypointOptimizationAvoidanceOptions & WithCarShuttleTrains(bool value)
bool GetControlledAccessHighways() const
void SetAreas(AreasT &&value)
bool GetCarShuttleTrains() const
bool CarShuttleTrainsHasBeenSet() const
void SetUTurns(bool value)
WaypointOptimizationAvoidanceOptions & WithControlledAccessHighways(bool value)
bool TunnelsHasBeenSet() const
const Aws::Vector< WaypointOptimizationAvoidanceArea > & GetAreas() const
WaypointOptimizationAvoidanceOptions & WithDirtRoads(bool value)
void SetFerries(bool value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue