7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/model/DimensionUnit.h>
19namespace LocationService {
43 inline double GetLength()
const {
return m_length; }
46 m_lengthHasBeenSet =
true;
61 inline double GetHeight()
const {
return m_height; }
64 m_heightHasBeenSet =
true;
79 inline double GetWidth()
const {
return m_width; }
82 m_widthHasBeenSet =
true;
99 m_unitHasBeenSet =
true;
108 double m_length{0.0};
110 double m_height{0.0};
115 bool m_lengthHasBeenSet =
false;
116 bool m_heightHasBeenSet =
false;
117 bool m_widthHasBeenSet =
false;
118 bool m_unitHasBeenSet =
false;
TruckDimensions & WithLength(double value)
AWS_LOCATIONSERVICE_API TruckDimensions & operator=(Aws::Utils::Json::JsonView jsonValue)
bool HeightHasBeenSet() const
TruckDimensions & WithUnit(DimensionUnit value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DimensionUnit GetUnit() const
bool UnitHasBeenSet() const
TruckDimensions & WithHeight(double value)
bool LengthHasBeenSet() const
AWS_LOCATIONSERVICE_API TruckDimensions(Aws::Utils::Json::JsonView jsonValue)
bool WidthHasBeenSet() const
void SetWidth(double value)
AWS_LOCATIONSERVICE_API TruckDimensions()=default
TruckDimensions & WithWidth(double value)
void SetUnit(DimensionUnit value)
void SetLength(double value)
void SetHeight(double value)
Aws::Utils::Json::JsonValue JsonValue