AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RouteMatrixTruckOptions.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/RouteMatrixVehicleLicensePlate.h>
10#include <aws/geo-routes/model/RouteMatrixTrailerOptions.h>
11#include <aws/geo-routes/model/RouteMatrixTruckType.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/geo-routes/model/WeightPerAxleGroup.h>
14#include <aws/geo-routes/model/RouteMatrixHazardousCargoType.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace GeoRoutes
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_GEOROUTES_API RouteMatrixTruckOptions();
44 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline int GetAxleCount() const{ return m_axleCount; }
52 inline bool AxleCountHasBeenSet() const { return m_axleCountHasBeenSet; }
53 inline void SetAxleCount(int value) { m_axleCountHasBeenSet = true; m_axleCount = value; }
54 inline RouteMatrixTruckOptions& WithAxleCount(int value) { SetAxleCount(value); return *this;}
56
58
62 inline long long GetGrossWeight() const{ return m_grossWeight; }
63 inline bool GrossWeightHasBeenSet() const { return m_grossWeightHasBeenSet; }
64 inline void SetGrossWeight(long long value) { m_grossWeightHasBeenSet = true; m_grossWeight = value; }
65 inline RouteMatrixTruckOptions& WithGrossWeight(long long value) { SetGrossWeight(value); return *this;}
67
69
72 inline const Aws::Vector<RouteMatrixHazardousCargoType>& GetHazardousCargos() const{ return m_hazardousCargos; }
73 inline bool HazardousCargosHasBeenSet() const { return m_hazardousCargosHasBeenSet; }
74 inline void SetHazardousCargos(const Aws::Vector<RouteMatrixHazardousCargoType>& value) { m_hazardousCargosHasBeenSet = true; m_hazardousCargos = value; }
75 inline void SetHazardousCargos(Aws::Vector<RouteMatrixHazardousCargoType>&& value) { m_hazardousCargosHasBeenSet = true; m_hazardousCargos = std::move(value); }
78 inline RouteMatrixTruckOptions& AddHazardousCargos(const RouteMatrixHazardousCargoType& value) { m_hazardousCargosHasBeenSet = true; m_hazardousCargos.push_back(value); return *this; }
79 inline RouteMatrixTruckOptions& AddHazardousCargos(RouteMatrixHazardousCargoType&& value) { m_hazardousCargosHasBeenSet = true; m_hazardousCargos.push_back(std::move(value)); return *this; }
81
83
86 inline long long GetHeight() const{ return m_height; }
87 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
88 inline void SetHeight(long long value) { m_heightHasBeenSet = true; m_height = value; }
89 inline RouteMatrixTruckOptions& WithHeight(long long value) { SetHeight(value); return *this;}
91
93
97 inline long long GetKpraLength() const{ return m_kpraLength; }
98 inline bool KpraLengthHasBeenSet() const { return m_kpraLengthHasBeenSet; }
99 inline void SetKpraLength(long long value) { m_kpraLengthHasBeenSet = true; m_kpraLength = value; }
100 inline RouteMatrixTruckOptions& WithKpraLength(long long value) { SetKpraLength(value); return *this;}
102
104
107 inline long long GetLength() const{ return m_length; }
108 inline bool LengthHasBeenSet() const { return m_lengthHasBeenSet; }
109 inline void SetLength(long long value) { m_lengthHasBeenSet = true; m_length = value; }
110 inline RouteMatrixTruckOptions& WithLength(long long value) { SetLength(value); return *this;}
112
114
117 inline const RouteMatrixVehicleLicensePlate& GetLicensePlate() const{ return m_licensePlate; }
118 inline bool LicensePlateHasBeenSet() const { return m_licensePlateHasBeenSet; }
119 inline void SetLicensePlate(const RouteMatrixVehicleLicensePlate& value) { m_licensePlateHasBeenSet = true; m_licensePlate = value; }
120 inline void SetLicensePlate(RouteMatrixVehicleLicensePlate&& value) { m_licensePlateHasBeenSet = true; m_licensePlate = std::move(value); }
124
126
129 inline double GetMaxSpeed() const{ return m_maxSpeed; }
130 inline bool MaxSpeedHasBeenSet() const { return m_maxSpeedHasBeenSet; }
131 inline void SetMaxSpeed(double value) { m_maxSpeedHasBeenSet = true; m_maxSpeed = value; }
132 inline RouteMatrixTruckOptions& WithMaxSpeed(double value) { SetMaxSpeed(value); return *this;}
134
136
140 inline int GetOccupancy() const{ return m_occupancy; }
141 inline bool OccupancyHasBeenSet() const { return m_occupancyHasBeenSet; }
142 inline void SetOccupancy(int value) { m_occupancyHasBeenSet = true; m_occupancy = value; }
143 inline RouteMatrixTruckOptions& WithOccupancy(int value) { SetOccupancy(value); return *this;}
145
147
151 inline long long GetPayloadCapacity() const{ return m_payloadCapacity; }
152 inline bool PayloadCapacityHasBeenSet() const { return m_payloadCapacityHasBeenSet; }
153 inline void SetPayloadCapacity(long long value) { m_payloadCapacityHasBeenSet = true; m_payloadCapacity = value; }
154 inline RouteMatrixTruckOptions& WithPayloadCapacity(long long value) { SetPayloadCapacity(value); return *this;}
156
158
161 inline const RouteMatrixTrailerOptions& GetTrailer() const{ return m_trailer; }
162 inline bool TrailerHasBeenSet() const { return m_trailerHasBeenSet; }
163 inline void SetTrailer(const RouteMatrixTrailerOptions& value) { m_trailerHasBeenSet = true; m_trailer = value; }
164 inline void SetTrailer(RouteMatrixTrailerOptions&& value) { m_trailerHasBeenSet = true; m_trailer = std::move(value); }
165 inline RouteMatrixTruckOptions& WithTrailer(const RouteMatrixTrailerOptions& value) { SetTrailer(value); return *this;}
166 inline RouteMatrixTruckOptions& WithTrailer(RouteMatrixTrailerOptions&& value) { SetTrailer(std::move(value)); return *this;}
168
170
173 inline const RouteMatrixTruckType& GetTruckType() const{ return m_truckType; }
174 inline bool TruckTypeHasBeenSet() const { return m_truckTypeHasBeenSet; }
175 inline void SetTruckType(const RouteMatrixTruckType& value) { m_truckTypeHasBeenSet = true; m_truckType = value; }
176 inline void SetTruckType(RouteMatrixTruckType&& value) { m_truckTypeHasBeenSet = true; m_truckType = std::move(value); }
177 inline RouteMatrixTruckOptions& WithTruckType(const RouteMatrixTruckType& value) { SetTruckType(value); return *this;}
178 inline RouteMatrixTruckOptions& WithTruckType(RouteMatrixTruckType&& value) { SetTruckType(std::move(value)); return *this;}
180
182
196 inline const Aws::String& GetTunnelRestrictionCode() const{ return m_tunnelRestrictionCode; }
197 inline bool TunnelRestrictionCodeHasBeenSet() const { return m_tunnelRestrictionCodeHasBeenSet; }
198 inline void SetTunnelRestrictionCode(const Aws::String& value) { m_tunnelRestrictionCodeHasBeenSet = true; m_tunnelRestrictionCode = value; }
199 inline void SetTunnelRestrictionCode(Aws::String&& value) { m_tunnelRestrictionCodeHasBeenSet = true; m_tunnelRestrictionCode = std::move(value); }
200 inline void SetTunnelRestrictionCode(const char* value) { m_tunnelRestrictionCodeHasBeenSet = true; m_tunnelRestrictionCode.assign(value); }
203 inline RouteMatrixTruckOptions& WithTunnelRestrictionCode(const char* value) { SetTunnelRestrictionCode(value); return *this;}
205
207
212 inline long long GetWeightPerAxle() const{ return m_weightPerAxle; }
213 inline bool WeightPerAxleHasBeenSet() const { return m_weightPerAxleHasBeenSet; }
214 inline void SetWeightPerAxle(long long value) { m_weightPerAxleHasBeenSet = true; m_weightPerAxle = value; }
215 inline RouteMatrixTruckOptions& WithWeightPerAxle(long long value) { SetWeightPerAxle(value); return *this;}
217
219
223 inline const WeightPerAxleGroup& GetWeightPerAxleGroup() const{ return m_weightPerAxleGroup; }
224 inline bool WeightPerAxleGroupHasBeenSet() const { return m_weightPerAxleGroupHasBeenSet; }
225 inline void SetWeightPerAxleGroup(const WeightPerAxleGroup& value) { m_weightPerAxleGroupHasBeenSet = true; m_weightPerAxleGroup = value; }
226 inline void SetWeightPerAxleGroup(WeightPerAxleGroup&& value) { m_weightPerAxleGroupHasBeenSet = true; m_weightPerAxleGroup = std::move(value); }
230
232
235 inline long long GetWidth() const{ return m_width; }
236 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
237 inline void SetWidth(long long value) { m_widthHasBeenSet = true; m_width = value; }
238 inline RouteMatrixTruckOptions& WithWidth(long long value) { SetWidth(value); return *this;}
240 private:
241
242 int m_axleCount;
243 bool m_axleCountHasBeenSet = false;
244
245 long long m_grossWeight;
246 bool m_grossWeightHasBeenSet = false;
247
249 bool m_hazardousCargosHasBeenSet = false;
250
251 long long m_height;
252 bool m_heightHasBeenSet = false;
253
254 long long m_kpraLength;
255 bool m_kpraLengthHasBeenSet = false;
256
257 long long m_length;
258 bool m_lengthHasBeenSet = false;
259
260 RouteMatrixVehicleLicensePlate m_licensePlate;
261 bool m_licensePlateHasBeenSet = false;
262
263 double m_maxSpeed;
264 bool m_maxSpeedHasBeenSet = false;
265
266 int m_occupancy;
267 bool m_occupancyHasBeenSet = false;
268
269 long long m_payloadCapacity;
270 bool m_payloadCapacityHasBeenSet = false;
271
273 bool m_trailerHasBeenSet = false;
274
275 RouteMatrixTruckType m_truckType;
276 bool m_truckTypeHasBeenSet = false;
277
278 Aws::String m_tunnelRestrictionCode;
279 bool m_tunnelRestrictionCodeHasBeenSet = false;
280
281 long long m_weightPerAxle;
282 bool m_weightPerAxleHasBeenSet = false;
283
284 WeightPerAxleGroup m_weightPerAxleGroup;
285 bool m_weightPerAxleGroupHasBeenSet = false;
286
287 long long m_width;
288 bool m_widthHasBeenSet = false;
289 };
290
291} // namespace Model
292} // namespace GeoRoutes
293} // namespace Aws
RouteMatrixTruckOptions & WithLength(long long value)
RouteMatrixTruckOptions & WithWeightPerAxle(long long value)
const RouteMatrixTruckType & GetTruckType() const
RouteMatrixTruckOptions & WithWeightPerAxleGroup(WeightPerAxleGroup &&value)
RouteMatrixTruckOptions & WithTunnelRestrictionCode(const Aws::String &value)
RouteMatrixTruckOptions & AddHazardousCargos(RouteMatrixHazardousCargoType &&value)
void SetTrailer(RouteMatrixTrailerOptions &&value)
const Aws::Vector< RouteMatrixHazardousCargoType > & GetHazardousCargos() const
void SetLicensePlate(const RouteMatrixVehicleLicensePlate &value)
RouteMatrixTruckOptions & WithTrailer(const RouteMatrixTrailerOptions &value)
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
RouteMatrixTruckOptions & WithOccupancy(int value)
void SetLicensePlate(RouteMatrixVehicleLicensePlate &&value)
const WeightPerAxleGroup & GetWeightPerAxleGroup() const
RouteMatrixTruckOptions & WithHazardousCargos(const Aws::Vector< RouteMatrixHazardousCargoType > &value)
void SetTruckType(const RouteMatrixTruckType &value)
void SetWeightPerAxleGroup(const WeightPerAxleGroup &value)
RouteMatrixTruckOptions & WithTunnelRestrictionCode(const char *value)
RouteMatrixTruckOptions & WithLicensePlate(const RouteMatrixVehicleLicensePlate &value)
RouteMatrixTruckOptions & WithTrailer(RouteMatrixTrailerOptions &&value)
RouteMatrixTruckOptions & WithKpraLength(long long value)
AWS_GEOROUTES_API RouteMatrixTruckOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteMatrixTruckOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const RouteMatrixVehicleLicensePlate & GetLicensePlate() const
RouteMatrixTruckOptions & WithTunnelRestrictionCode(Aws::String &&value)
RouteMatrixTruckOptions & WithTruckType(RouteMatrixTruckType &&value)
const RouteMatrixTrailerOptions & GetTrailer() const
void SetHazardousCargos(Aws::Vector< RouteMatrixHazardousCargoType > &&value)
RouteMatrixTruckOptions & WithWeightPerAxleGroup(const WeightPerAxleGroup &value)
RouteMatrixTruckOptions & WithAxleCount(int value)
RouteMatrixTruckOptions & WithGrossWeight(long long value)
RouteMatrixTruckOptions & WithPayloadCapacity(long long value)
void SetHazardousCargos(const Aws::Vector< RouteMatrixHazardousCargoType > &value)
RouteMatrixTruckOptions & WithMaxSpeed(double value)
void SetTrailer(const RouteMatrixTrailerOptions &value)
RouteMatrixTruckOptions & WithTruckType(const RouteMatrixTruckType &value)
RouteMatrixTruckOptions & WithHazardousCargos(Aws::Vector< RouteMatrixHazardousCargoType > &&value)
RouteMatrixTruckOptions & AddHazardousCargos(const RouteMatrixHazardousCargoType &value)
RouteMatrixTruckOptions & WithWidth(long long value)
RouteMatrixTruckOptions & WithHeight(long long value)
RouteMatrixTruckOptions & WithLicensePlate(RouteMatrixVehicleLicensePlate &&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