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; }
68 bool m_totalHasBeenSet =
false;
71 bool m_unitHasBeenSet =
false;
TruckWeight & WithTotal(double value)
void SetUnit(VehicleWeightUnit &&value)
void SetTotal(double value)
AWS_LOCATIONSERVICE_API TruckWeight()
bool TotalHasBeenSet() const
const VehicleWeightUnit & GetUnit() const
AWS_LOCATIONSERVICE_API TruckWeight(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API TruckWeight & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
TruckWeight & WithUnit(VehicleWeightUnit &&value)
bool UnitHasBeenSet() const
void SetUnit(const VehicleWeightUnit &value)
TruckWeight & WithUnit(const VehicleWeightUnit &value)
Aws::Utils::Json::JsonValue JsonValue