7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/Unit.h>
48 inline void SetIsServiceLimited(
bool value) { m_isServiceLimitedHasBeenSet =
true; m_isServiceLimited = value; }
58 inline void SetUnit(
const Unit& value) { m_unitHasBeenSet =
true; m_unit = value; }
59 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; }
76 bool m_isServiceLimited;
77 bool m_isServiceLimitedHasBeenSet =
false;
80 bool m_unitHasBeenSet =
false;
83 bool m_valueHasBeenSet =
false;
bool GetIsServiceLimited() const
long long GetValue() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUnit(const Unit &value)
const Unit & GetUnit() const
bool UnitHasBeenSet() const
void SetUnit(Unit &&value)
ServiceLimit & WithUnit(Unit &&value)
AWS_MACIE2_API ServiceLimit & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API ServiceLimit(Aws::Utils::Json::JsonView jsonValue)
ServiceLimit & WithUnit(const Unit &value)
ServiceLimit & WithValue(long long value)
void SetIsServiceLimited(bool value)
ServiceLimit & WithIsServiceLimited(bool value)
bool ValueHasBeenSet() const
void SetValue(long long value)
bool IsServiceLimitedHasBeenSet() const
AWS_MACIE2_API ServiceLimit()
Aws::Utils::Json::JsonValue JsonValue