7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/model/VehicleWeightUnit.h>
21namespace LocationService
47 inline double GetTotal()
const {
return m_total; }
49 inline void SetTotal(
double value) { m_totalHasBeenSet =
true; m_total = value; }
66 bool m_totalHasBeenSet =
false;
69 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