AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IsolineTruckOptions.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/geo-routes/model/IsolineEngineType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/geo-routes/model/IsolineVehicleLicensePlate.h>
11#include <aws/geo-routes/model/IsolineTrailerOptions.h>
12#include <aws/geo-routes/model/IsolineTruckType.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/geo-routes/model/WeightPerAxleGroup.h>
15#include <aws/geo-routes/model/IsolineHazardousCargoType.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace GeoRoutes
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_GEOROUTES_API IsolineTruckOptions();
43 AWS_GEOROUTES_API IsolineTruckOptions(Aws::Utils::Json::JsonView jsonValue);
45 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline int GetAxleCount() const{ return m_axleCount; }
53 inline bool AxleCountHasBeenSet() const { return m_axleCountHasBeenSet; }
54 inline void SetAxleCount(int value) { m_axleCountHasBeenSet = true; m_axleCount = value; }
55 inline IsolineTruckOptions& WithAxleCount(int value) { SetAxleCount(value); return *this;}
57
59
62 inline const IsolineEngineType& GetEngineType() const{ return m_engineType; }
63 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
64 inline void SetEngineType(const IsolineEngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
65 inline void SetEngineType(IsolineEngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); }
66 inline IsolineTruckOptions& WithEngineType(const IsolineEngineType& value) { SetEngineType(value); return *this;}
67 inline IsolineTruckOptions& WithEngineType(IsolineEngineType&& value) { SetEngineType(std::move(value)); return *this;}
69
71
75 inline long long GetGrossWeight() const{ return m_grossWeight; }
76 inline bool GrossWeightHasBeenSet() const { return m_grossWeightHasBeenSet; }
77 inline void SetGrossWeight(long long value) { m_grossWeightHasBeenSet = true; m_grossWeight = value; }
78 inline IsolineTruckOptions& WithGrossWeight(long long value) { SetGrossWeight(value); return *this;}
80
82
85 inline const Aws::Vector<IsolineHazardousCargoType>& GetHazardousCargos() const{ return m_hazardousCargos; }
86 inline bool HazardousCargosHasBeenSet() const { return m_hazardousCargosHasBeenSet; }
87 inline void SetHazardousCargos(const Aws::Vector<IsolineHazardousCargoType>& value) { m_hazardousCargosHasBeenSet = true; m_hazardousCargos = value; }
88 inline void SetHazardousCargos(Aws::Vector<IsolineHazardousCargoType>&& value) { m_hazardousCargosHasBeenSet = true; m_hazardousCargos = std::move(value); }
91 inline IsolineTruckOptions& AddHazardousCargos(const IsolineHazardousCargoType& value) { m_hazardousCargosHasBeenSet = true; m_hazardousCargos.push_back(value); return *this; }
92 inline IsolineTruckOptions& AddHazardousCargos(IsolineHazardousCargoType&& value) { m_hazardousCargosHasBeenSet = true; m_hazardousCargos.push_back(std::move(value)); return *this; }
94
96
99 inline long long GetHeight() const{ return m_height; }
100 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
101 inline void SetHeight(long long value) { m_heightHasBeenSet = true; m_height = value; }
102 inline IsolineTruckOptions& WithHeight(long long value) { SetHeight(value); return *this;}
104
106
110 inline long long GetHeightAboveFirstAxle() const{ return m_heightAboveFirstAxle; }
111 inline bool HeightAboveFirstAxleHasBeenSet() const { return m_heightAboveFirstAxleHasBeenSet; }
112 inline void SetHeightAboveFirstAxle(long long value) { m_heightAboveFirstAxleHasBeenSet = true; m_heightAboveFirstAxle = value; }
113 inline IsolineTruckOptions& WithHeightAboveFirstAxle(long long value) { SetHeightAboveFirstAxle(value); return *this;}
115
117
121 inline long long GetKpraLength() const{ return m_kpraLength; }
122 inline bool KpraLengthHasBeenSet() const { return m_kpraLengthHasBeenSet; }
123 inline void SetKpraLength(long long value) { m_kpraLengthHasBeenSet = true; m_kpraLength = value; }
124 inline IsolineTruckOptions& WithKpraLength(long long value) { SetKpraLength(value); return *this;}
126
128
131 inline long long GetLength() const{ return m_length; }
132 inline bool LengthHasBeenSet() const { return m_lengthHasBeenSet; }
133 inline void SetLength(long long value) { m_lengthHasBeenSet = true; m_length = value; }
134 inline IsolineTruckOptions& WithLength(long long value) { SetLength(value); return *this;}
136
138
141 inline const IsolineVehicleLicensePlate& GetLicensePlate() const{ return m_licensePlate; }
142 inline bool LicensePlateHasBeenSet() const { return m_licensePlateHasBeenSet; }
143 inline void SetLicensePlate(const IsolineVehicleLicensePlate& value) { m_licensePlateHasBeenSet = true; m_licensePlate = value; }
144 inline void SetLicensePlate(IsolineVehicleLicensePlate&& value) { m_licensePlateHasBeenSet = true; m_licensePlate = std::move(value); }
146 inline IsolineTruckOptions& WithLicensePlate(IsolineVehicleLicensePlate&& value) { SetLicensePlate(std::move(value)); return *this;}
148
150
154 inline double GetMaxSpeed() const{ return m_maxSpeed; }
155 inline bool MaxSpeedHasBeenSet() const { return m_maxSpeedHasBeenSet; }
156 inline void SetMaxSpeed(double value) { m_maxSpeedHasBeenSet = true; m_maxSpeed = value; }
157 inline IsolineTruckOptions& WithMaxSpeed(double value) { SetMaxSpeed(value); return *this;}
159
161
165 inline int GetOccupancy() const{ return m_occupancy; }
166 inline bool OccupancyHasBeenSet() const { return m_occupancyHasBeenSet; }
167 inline void SetOccupancy(int value) { m_occupancyHasBeenSet = true; m_occupancy = value; }
168 inline IsolineTruckOptions& WithOccupancy(int value) { SetOccupancy(value); return *this;}
170
172
176 inline long long GetPayloadCapacity() const{ return m_payloadCapacity; }
177 inline bool PayloadCapacityHasBeenSet() const { return m_payloadCapacityHasBeenSet; }
178 inline void SetPayloadCapacity(long long value) { m_payloadCapacityHasBeenSet = true; m_payloadCapacity = value; }
179 inline IsolineTruckOptions& WithPayloadCapacity(long long value) { SetPayloadCapacity(value); return *this;}
181
183
186 inline int GetTireCount() const{ return m_tireCount; }
187 inline bool TireCountHasBeenSet() const { return m_tireCountHasBeenSet; }
188 inline void SetTireCount(int value) { m_tireCountHasBeenSet = true; m_tireCount = value; }
189 inline IsolineTruckOptions& WithTireCount(int value) { SetTireCount(value); return *this;}
191
193
196 inline const IsolineTrailerOptions& GetTrailer() const{ return m_trailer; }
197 inline bool TrailerHasBeenSet() const { return m_trailerHasBeenSet; }
198 inline void SetTrailer(const IsolineTrailerOptions& value) { m_trailerHasBeenSet = true; m_trailer = value; }
199 inline void SetTrailer(IsolineTrailerOptions&& value) { m_trailerHasBeenSet = true; m_trailer = std::move(value); }
200 inline IsolineTruckOptions& WithTrailer(const IsolineTrailerOptions& value) { SetTrailer(value); return *this;}
201 inline IsolineTruckOptions& WithTrailer(IsolineTrailerOptions&& value) { SetTrailer(std::move(value)); return *this;}
203
205
208 inline const IsolineTruckType& GetTruckType() const{ return m_truckType; }
209 inline bool TruckTypeHasBeenSet() const { return m_truckTypeHasBeenSet; }
210 inline void SetTruckType(const IsolineTruckType& value) { m_truckTypeHasBeenSet = true; m_truckType = value; }
211 inline void SetTruckType(IsolineTruckType&& value) { m_truckTypeHasBeenSet = true; m_truckType = std::move(value); }
212 inline IsolineTruckOptions& WithTruckType(const IsolineTruckType& value) { SetTruckType(value); return *this;}
213 inline IsolineTruckOptions& WithTruckType(IsolineTruckType&& value) { SetTruckType(std::move(value)); return *this;}
215
217
231 inline const Aws::String& GetTunnelRestrictionCode() const{ return m_tunnelRestrictionCode; }
232 inline bool TunnelRestrictionCodeHasBeenSet() const { return m_tunnelRestrictionCodeHasBeenSet; }
233 inline void SetTunnelRestrictionCode(const Aws::String& value) { m_tunnelRestrictionCodeHasBeenSet = true; m_tunnelRestrictionCode = value; }
234 inline void SetTunnelRestrictionCode(Aws::String&& value) { m_tunnelRestrictionCodeHasBeenSet = true; m_tunnelRestrictionCode = std::move(value); }
235 inline void SetTunnelRestrictionCode(const char* value) { m_tunnelRestrictionCodeHasBeenSet = true; m_tunnelRestrictionCode.assign(value); }
237 inline IsolineTruckOptions& WithTunnelRestrictionCode(Aws::String&& value) { SetTunnelRestrictionCode(std::move(value)); return *this;}
238 inline IsolineTruckOptions& WithTunnelRestrictionCode(const char* value) { SetTunnelRestrictionCode(value); return *this;}
240
242
247 inline long long GetWeightPerAxle() const{ return m_weightPerAxle; }
248 inline bool WeightPerAxleHasBeenSet() const { return m_weightPerAxleHasBeenSet; }
249 inline void SetWeightPerAxle(long long value) { m_weightPerAxleHasBeenSet = true; m_weightPerAxle = value; }
250 inline IsolineTruckOptions& WithWeightPerAxle(long long value) { SetWeightPerAxle(value); return *this;}
252
254
259 inline const WeightPerAxleGroup& GetWeightPerAxleGroup() const{ return m_weightPerAxleGroup; }
260 inline bool WeightPerAxleGroupHasBeenSet() const { return m_weightPerAxleGroupHasBeenSet; }
261 inline void SetWeightPerAxleGroup(const WeightPerAxleGroup& value) { m_weightPerAxleGroupHasBeenSet = true; m_weightPerAxleGroup = value; }
262 inline void SetWeightPerAxleGroup(WeightPerAxleGroup&& value) { m_weightPerAxleGroupHasBeenSet = true; m_weightPerAxleGroup = std::move(value); }
264 inline IsolineTruckOptions& WithWeightPerAxleGroup(WeightPerAxleGroup&& value) { SetWeightPerAxleGroup(std::move(value)); return *this;}
266
268
271 inline long long GetWidth() const{ return m_width; }
272 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
273 inline void SetWidth(long long value) { m_widthHasBeenSet = true; m_width = value; }
274 inline IsolineTruckOptions& WithWidth(long long value) { SetWidth(value); return *this;}
276 private:
277
278 int m_axleCount;
279 bool m_axleCountHasBeenSet = false;
280
281 IsolineEngineType m_engineType;
282 bool m_engineTypeHasBeenSet = false;
283
284 long long m_grossWeight;
285 bool m_grossWeightHasBeenSet = false;
286
288 bool m_hazardousCargosHasBeenSet = false;
289
290 long long m_height;
291 bool m_heightHasBeenSet = false;
292
293 long long m_heightAboveFirstAxle;
294 bool m_heightAboveFirstAxleHasBeenSet = false;
295
296 long long m_kpraLength;
297 bool m_kpraLengthHasBeenSet = false;
298
299 long long m_length;
300 bool m_lengthHasBeenSet = false;
301
302 IsolineVehicleLicensePlate m_licensePlate;
303 bool m_licensePlateHasBeenSet = false;
304
305 double m_maxSpeed;
306 bool m_maxSpeedHasBeenSet = false;
307
308 int m_occupancy;
309 bool m_occupancyHasBeenSet = false;
310
311 long long m_payloadCapacity;
312 bool m_payloadCapacityHasBeenSet = false;
313
314 int m_tireCount;
315 bool m_tireCountHasBeenSet = false;
316
317 IsolineTrailerOptions m_trailer;
318 bool m_trailerHasBeenSet = false;
319
320 IsolineTruckType m_truckType;
321 bool m_truckTypeHasBeenSet = false;
322
323 Aws::String m_tunnelRestrictionCode;
324 bool m_tunnelRestrictionCodeHasBeenSet = false;
325
326 long long m_weightPerAxle;
327 bool m_weightPerAxleHasBeenSet = false;
328
329 WeightPerAxleGroup m_weightPerAxleGroup;
330 bool m_weightPerAxleGroupHasBeenSet = false;
331
332 long long m_width;
333 bool m_widthHasBeenSet = false;
334 };
335
336} // namespace Model
337} // namespace GeoRoutes
338} // namespace Aws
const WeightPerAxleGroup & GetWeightPerAxleGroup() const
void SetTrailer(IsolineTrailerOptions &&value)
IsolineTruckOptions & WithLicensePlate(IsolineVehicleLicensePlate &&value)
const IsolineTrailerOptions & GetTrailer() const
IsolineTruckOptions & WithPayloadCapacity(long long value)
IsolineTruckOptions & WithHazardousCargos(const Aws::Vector< IsolineHazardousCargoType > &value)
void SetTrailer(const IsolineTrailerOptions &value)
const IsolineTruckType & GetTruckType() const
IsolineTruckOptions & WithTruckType(IsolineTruckType &&value)
IsolineTruckOptions & WithTireCount(int value)
void SetLicensePlate(IsolineVehicleLicensePlate &&value)
void SetWeightPerAxleGroup(const WeightPerAxleGroup &value)
IsolineTruckOptions & WithHazardousCargos(Aws::Vector< IsolineHazardousCargoType > &&value)
void SetTunnelRestrictionCode(const Aws::String &value)
void SetTruckType(const IsolineTruckType &value)
void SetEngineType(IsolineEngineType &&value)
IsolineTruckOptions & WithWeightPerAxleGroup(WeightPerAxleGroup &&value)
void SetLicensePlate(const IsolineVehicleLicensePlate &value)
IsolineTruckOptions & WithEngineType(const IsolineEngineType &value)
void SetHazardousCargos(Aws::Vector< IsolineHazardousCargoType > &&value)
IsolineTruckOptions & WithTunnelRestrictionCode(Aws::String &&value)
IsolineTruckOptions & WithMaxSpeed(double value)
IsolineTruckOptions & WithGrossWeight(long long value)
AWS_GEOROUTES_API IsolineTruckOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
IsolineTruckOptions & WithEngineType(IsolineEngineType &&value)
const Aws::String & GetTunnelRestrictionCode() const
IsolineTruckOptions & WithTunnelRestrictionCode(const Aws::String &value)
IsolineTruckOptions & AddHazardousCargos(const IsolineHazardousCargoType &value)
AWS_GEOROUTES_API IsolineTruckOptions(Aws::Utils::Json::JsonView jsonValue)
void SetWeightPerAxleGroup(WeightPerAxleGroup &&value)
IsolineTruckOptions & WithHeight(long long value)
IsolineTruckOptions & WithWeightPerAxle(long long value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
IsolineTruckOptions & WithTunnelRestrictionCode(const char *value)
IsolineTruckOptions & WithTrailer(IsolineTrailerOptions &&value)
IsolineTruckOptions & WithTruckType(const IsolineTruckType &value)
IsolineTruckOptions & WithAxleCount(int value)
IsolineTruckOptions & WithKpraLength(long long value)
IsolineTruckOptions & WithLength(long long value)
const IsolineVehicleLicensePlate & GetLicensePlate() const
IsolineTruckOptions & WithWeightPerAxleGroup(const WeightPerAxleGroup &value)
IsolineTruckOptions & WithLicensePlate(const IsolineVehicleLicensePlate &value)
const IsolineEngineType & GetEngineType() const
IsolineTruckOptions & WithTrailer(const IsolineTrailerOptions &value)
void SetHazardousCargos(const Aws::Vector< IsolineHazardousCargoType > &value)
const Aws::Vector< IsolineHazardousCargoType > & GetHazardousCargos() const
void SetTruckType(IsolineTruckType &&value)
IsolineTruckOptions & WithHeightAboveFirstAxle(long long value)
IsolineTruckOptions & AddHazardousCargos(IsolineHazardousCargoType &&value)
void SetEngineType(const IsolineEngineType &value)
IsolineTruckOptions & WithOccupancy(int value)
IsolineTruckOptions & WithWidth(long long 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