7#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
8#include <aws/sagemaker-geospatial/model/Unit.h>
21namespace SageMakerGeospatial
47 inline void SetUnit(
const Unit& value) { m_unitHasBeenSet =
true; m_unit = value; }
48 inline void SetUnit(
Unit&& value) { m_unitHasBeenSet =
true; m_unit = std::move(value); }
57 inline double GetValue()
const{
return m_value; }
59 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
65 bool m_unitHasBeenSet =
false;
68 bool m_valueHasBeenSet =
false;
const Unit & GetUnit() const
void SetUnit(const Unit &value)
UserDefined & WithUnit(Unit &&value)
UserDefined & WithUnit(const Unit &value)
UserDefined & WithValue(double value)
AWS_SAGEMAKERGEOSPATIAL_API UserDefined()
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKERGEOSPATIAL_API UserDefined(Aws::Utils::Json::JsonView jsonValue)
bool UnitHasBeenSet() const
bool ValueHasBeenSet() const
AWS_SAGEMAKERGEOSPATIAL_API UserDefined & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUnit(Unit &&value)
void SetValue(double value)
Aws::Utils::Json::JsonValue JsonValue