7#include <aws/sustainability/Sustainability_EXPORTS.h>
8#include <aws/sustainability/model/WaterAllocationUnit.h>
19namespace Sustainability {
39 inline double GetValue()
const {
return m_value; }
42 m_valueHasBeenSet =
true;
58 m_unitHasBeenSet =
true;
70 bool m_valueHasBeenSet =
false;
71 bool m_unitHasBeenSet =
false;
void SetValue(double value)
WaterAllocation & WithValue(double value)
WaterAllocationUnit GetUnit() const
AWS_SUSTAINABILITY_API WaterAllocation()=default
AWS_SUSTAINABILITY_API WaterAllocation(Aws::Utils::Json::JsonView jsonValue)
void SetUnit(WaterAllocationUnit value)
bool UnitHasBeenSet() const
WaterAllocation & WithUnit(WaterAllocationUnit value)
AWS_SUSTAINABILITY_API WaterAllocation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
AWS_SUSTAINABILITY_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue