AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IsolineAvoidanceOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/model/IsolineAvoidanceArea.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/geo-routes/model/IsolineAvoidanceZoneCategory.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace GeoRoutes
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_GEOROUTES_API IsolineAvoidanceOptions();
43 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::Vector<IsolineAvoidanceArea>& GetAreas() const{ return m_areas; }
51 inline bool AreasHasBeenSet() const { return m_areasHasBeenSet; }
52 inline void SetAreas(const Aws::Vector<IsolineAvoidanceArea>& value) { m_areasHasBeenSet = true; m_areas = value; }
53 inline void SetAreas(Aws::Vector<IsolineAvoidanceArea>&& value) { m_areasHasBeenSet = true; m_areas = std::move(value); }
54 inline IsolineAvoidanceOptions& WithAreas(const Aws::Vector<IsolineAvoidanceArea>& value) { SetAreas(value); return *this;}
55 inline IsolineAvoidanceOptions& WithAreas(Aws::Vector<IsolineAvoidanceArea>&& value) { SetAreas(std::move(value)); return *this;}
56 inline IsolineAvoidanceOptions& AddAreas(const IsolineAvoidanceArea& value) { m_areasHasBeenSet = true; m_areas.push_back(value); return *this; }
57 inline IsolineAvoidanceOptions& AddAreas(IsolineAvoidanceArea&& value) { m_areasHasBeenSet = true; m_areas.push_back(std::move(value)); return *this; }
59
61
64 inline bool GetCarShuttleTrains() const{ return m_carShuttleTrains; }
65 inline bool CarShuttleTrainsHasBeenSet() const { return m_carShuttleTrainsHasBeenSet; }
66 inline void SetCarShuttleTrains(bool value) { m_carShuttleTrainsHasBeenSet = true; m_carShuttleTrains = value; }
67 inline IsolineAvoidanceOptions& WithCarShuttleTrains(bool value) { SetCarShuttleTrains(value); return *this;}
69
71
74 inline bool GetControlledAccessHighways() const{ return m_controlledAccessHighways; }
75 inline bool ControlledAccessHighwaysHasBeenSet() const { return m_controlledAccessHighwaysHasBeenSet; }
76 inline void SetControlledAccessHighways(bool value) { m_controlledAccessHighwaysHasBeenSet = true; m_controlledAccessHighways = value; }
79
81
84 inline bool GetDirtRoads() const{ return m_dirtRoads; }
85 inline bool DirtRoadsHasBeenSet() const { return m_dirtRoadsHasBeenSet; }
86 inline void SetDirtRoads(bool value) { m_dirtRoadsHasBeenSet = true; m_dirtRoads = value; }
87 inline IsolineAvoidanceOptions& WithDirtRoads(bool value) { SetDirtRoads(value); return *this;}
89
91
94 inline bool GetFerries() const{ return m_ferries; }
95 inline bool FerriesHasBeenSet() const { return m_ferriesHasBeenSet; }
96 inline void SetFerries(bool value) { m_ferriesHasBeenSet = true; m_ferries = value; }
97 inline IsolineAvoidanceOptions& WithFerries(bool value) { SetFerries(value); return *this;}
99
101
104 inline bool GetSeasonalClosure() const{ return m_seasonalClosure; }
105 inline bool SeasonalClosureHasBeenSet() const { return m_seasonalClosureHasBeenSet; }
106 inline void SetSeasonalClosure(bool value) { m_seasonalClosureHasBeenSet = true; m_seasonalClosure = value; }
107 inline IsolineAvoidanceOptions& WithSeasonalClosure(bool value) { SetSeasonalClosure(value); return *this;}
109
111
115 inline bool GetTollRoads() const{ return m_tollRoads; }
116 inline bool TollRoadsHasBeenSet() const { return m_tollRoadsHasBeenSet; }
117 inline void SetTollRoads(bool value) { m_tollRoadsHasBeenSet = true; m_tollRoads = value; }
118 inline IsolineAvoidanceOptions& WithTollRoads(bool value) { SetTollRoads(value); return *this;}
120
122
126 inline bool GetTollTransponders() const{ return m_tollTransponders; }
127 inline bool TollTranspondersHasBeenSet() const { return m_tollTranspondersHasBeenSet; }
128 inline void SetTollTransponders(bool value) { m_tollTranspondersHasBeenSet = true; m_tollTransponders = value; }
129 inline IsolineAvoidanceOptions& WithTollTransponders(bool value) { SetTollTransponders(value); return *this;}
131
133
139 inline const Aws::Vector<Aws::String>& GetTruckRoadTypes() const{ return m_truckRoadTypes; }
140 inline bool TruckRoadTypesHasBeenSet() const { return m_truckRoadTypesHasBeenSet; }
141 inline void SetTruckRoadTypes(const Aws::Vector<Aws::String>& value) { m_truckRoadTypesHasBeenSet = true; m_truckRoadTypes = value; }
142 inline void SetTruckRoadTypes(Aws::Vector<Aws::String>&& value) { m_truckRoadTypesHasBeenSet = true; m_truckRoadTypes = std::move(value); }
145 inline IsolineAvoidanceOptions& AddTruckRoadTypes(const Aws::String& value) { m_truckRoadTypesHasBeenSet = true; m_truckRoadTypes.push_back(value); return *this; }
146 inline IsolineAvoidanceOptions& AddTruckRoadTypes(Aws::String&& value) { m_truckRoadTypesHasBeenSet = true; m_truckRoadTypes.push_back(std::move(value)); return *this; }
147 inline IsolineAvoidanceOptions& AddTruckRoadTypes(const char* value) { m_truckRoadTypesHasBeenSet = true; m_truckRoadTypes.push_back(value); return *this; }
149
151
154 inline bool GetTunnels() const{ return m_tunnels; }
155 inline bool TunnelsHasBeenSet() const { return m_tunnelsHasBeenSet; }
156 inline void SetTunnels(bool value) { m_tunnelsHasBeenSet = true; m_tunnels = value; }
157 inline IsolineAvoidanceOptions& WithTunnels(bool value) { SetTunnels(value); return *this;}
159
161
164 inline bool GetUTurns() const{ return m_uTurns; }
165 inline bool UTurnsHasBeenSet() const { return m_uTurnsHasBeenSet; }
166 inline void SetUTurns(bool value) { m_uTurnsHasBeenSet = true; m_uTurns = value; }
167 inline IsolineAvoidanceOptions& WithUTurns(bool value) { SetUTurns(value); return *this;}
169
171
174 inline const Aws::Vector<IsolineAvoidanceZoneCategory>& GetZoneCategories() const{ return m_zoneCategories; }
175 inline bool ZoneCategoriesHasBeenSet() const { return m_zoneCategoriesHasBeenSet; }
176 inline void SetZoneCategories(const Aws::Vector<IsolineAvoidanceZoneCategory>& value) { m_zoneCategoriesHasBeenSet = true; m_zoneCategories = value; }
177 inline void SetZoneCategories(Aws::Vector<IsolineAvoidanceZoneCategory>&& value) { m_zoneCategoriesHasBeenSet = true; m_zoneCategories = std::move(value); }
180 inline IsolineAvoidanceOptions& AddZoneCategories(const IsolineAvoidanceZoneCategory& value) { m_zoneCategoriesHasBeenSet = true; m_zoneCategories.push_back(value); return *this; }
181 inline IsolineAvoidanceOptions& AddZoneCategories(IsolineAvoidanceZoneCategory&& value) { m_zoneCategoriesHasBeenSet = true; m_zoneCategories.push_back(std::move(value)); return *this; }
183 private:
184
186 bool m_areasHasBeenSet = false;
187
188 bool m_carShuttleTrains;
189 bool m_carShuttleTrainsHasBeenSet = false;
190
191 bool m_controlledAccessHighways;
192 bool m_controlledAccessHighwaysHasBeenSet = false;
193
194 bool m_dirtRoads;
195 bool m_dirtRoadsHasBeenSet = false;
196
197 bool m_ferries;
198 bool m_ferriesHasBeenSet = false;
199
200 bool m_seasonalClosure;
201 bool m_seasonalClosureHasBeenSet = false;
202
203 bool m_tollRoads;
204 bool m_tollRoadsHasBeenSet = false;
205
206 bool m_tollTransponders;
207 bool m_tollTranspondersHasBeenSet = false;
208
209 Aws::Vector<Aws::String> m_truckRoadTypes;
210 bool m_truckRoadTypesHasBeenSet = false;
211
212 bool m_tunnels;
213 bool m_tunnelsHasBeenSet = false;
214
215 bool m_uTurns;
216 bool m_uTurnsHasBeenSet = false;
217
219 bool m_zoneCategoriesHasBeenSet = false;
220 };
221
222} // namespace Model
223} // namespace GeoRoutes
224} // namespace Aws
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
IsolineAvoidanceOptions & WithZoneCategories(Aws::Vector< IsolineAvoidanceZoneCategory > &&value)
IsolineAvoidanceOptions & WithTollRoads(bool value)
IsolineAvoidanceOptions & WithSeasonalClosure(bool value)
void SetAreas(Aws::Vector< IsolineAvoidanceArea > &&value)
IsolineAvoidanceOptions & WithTruckRoadTypes(const Aws::Vector< Aws::String > &value)
void SetZoneCategories(Aws::Vector< IsolineAvoidanceZoneCategory > &&value)
IsolineAvoidanceOptions & WithUTurns(bool value)
IsolineAvoidanceOptions & WithTruckRoadTypes(Aws::Vector< Aws::String > &&value)
IsolineAvoidanceOptions & AddAreas(IsolineAvoidanceArea &&value)
IsolineAvoidanceOptions & WithTollTransponders(bool value)
IsolineAvoidanceOptions & WithFerries(bool value)
const Aws::Vector< Aws::String > & GetTruckRoadTypes() const
IsolineAvoidanceOptions & WithZoneCategories(const Aws::Vector< IsolineAvoidanceZoneCategory > &value)
IsolineAvoidanceOptions & WithTunnels(bool value)
IsolineAvoidanceOptions & AddAreas(const IsolineAvoidanceArea &value)
IsolineAvoidanceOptions & AddZoneCategories(const IsolineAvoidanceZoneCategory &value)
const Aws::Vector< IsolineAvoidanceArea > & GetAreas() const
IsolineAvoidanceOptions & AddTruckRoadTypes(const char *value)
IsolineAvoidanceOptions & WithControlledAccessHighways(bool value)
const Aws::Vector< IsolineAvoidanceZoneCategory > & GetZoneCategories() const
void SetTruckRoadTypes(Aws::Vector< Aws::String > &&value)
IsolineAvoidanceOptions & AddZoneCategories(IsolineAvoidanceZoneCategory &&value)
AWS_GEOROUTES_API IsolineAvoidanceOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
IsolineAvoidanceOptions & WithDirtRoads(bool value)
AWS_GEOROUTES_API IsolineAvoidanceOptions(Aws::Utils::Json::JsonView jsonValue)
void SetAreas(const Aws::Vector< IsolineAvoidanceArea > &value)
IsolineAvoidanceOptions & WithCarShuttleTrains(bool value)
void SetZoneCategories(const Aws::Vector< IsolineAvoidanceZoneCategory > &value)
IsolineAvoidanceOptions & AddTruckRoadTypes(Aws::String &&value)
IsolineAvoidanceOptions & AddTruckRoadTypes(const Aws::String &value)
IsolineAvoidanceOptions & WithAreas(Aws::Vector< IsolineAvoidanceArea > &&value)
void SetTruckRoadTypes(const Aws::Vector< Aws::String > &value)
IsolineAvoidanceOptions & WithAreas(const Aws::Vector< IsolineAvoidanceArea > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue