7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/model/VehicleWeightUnit.h>
19namespace LocationService {
41 inline double GetTotal()
const {
return m_total; }
44 m_totalHasBeenSet =
true;
61 m_unitHasBeenSet =
true;
73 bool m_totalHasBeenSet =
false;
74 bool m_unitHasBeenSet =
false;
TruckWeight & WithTotal(double value)
void SetTotal(double value)
VehicleWeightUnit GetUnit() const
TruckWeight & WithUnit(VehicleWeightUnit value)
bool TotalHasBeenSet() const
AWS_LOCATIONSERVICE_API TruckWeight(Aws::Utils::Json::JsonView jsonValue)
void SetUnit(VehicleWeightUnit value)
AWS_LOCATIONSERVICE_API TruckWeight & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool UnitHasBeenSet() const
AWS_LOCATIONSERVICE_API TruckWeight()=default
Aws::Utils::Json::JsonValue JsonValue