7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/model/Unit.h>
51 inline void SetUnit(
const Unit& value) { m_unitHasBeenSet =
true; m_unit = value; }
52 inline void SetUnit(
Unit&& value) { m_unitHasBeenSet =
true; m_unit = std::move(value); }
69 inline long long GetValue()
const{
return m_value; }
71 inline void SetValue(
long long value) { m_valueHasBeenSet =
true; m_value = value; }
77 bool m_unitHasBeenSet =
false;
80 bool m_valueHasBeenSet =
false;
void SetUnit(const Unit &value)
DurationSinceLastAccess & WithUnit(const Unit &value)
bool ValueHasBeenSet() const
DurationSinceLastAccess & WithValue(long long value)
AWS_FSX_API DurationSinceLastAccess()
const Unit & GetUnit() const
long long GetValue() const
AWS_FSX_API DurationSinceLastAccess & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(long long value)
AWS_FSX_API DurationSinceLastAccess(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
DurationSinceLastAccess & WithUnit(Unit &&value)
void SetUnit(Unit &&value)
bool UnitHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue