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(
Unit value) { m_unitHasBeenSet =
true; m_unit = value; }
67 inline long long GetValue()
const {
return m_value; }
69 inline void SetValue(
long long value) { m_valueHasBeenSet =
true; m_value = value; }
74 bool m_isServiceLimited{
false};
75 bool m_isServiceLimitedHasBeenSet =
false;
78 bool m_unitHasBeenSet =
false;
81 bool m_valueHasBeenSet =
false;
bool GetIsServiceLimited() const
long long GetValue() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
bool UnitHasBeenSet() const
AWS_MACIE2_API ServiceLimit & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API ServiceLimit(Aws::Utils::Json::JsonView jsonValue)
ServiceLimit & WithUnit(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()=default
Aws::Utils::Json::JsonValue JsonValue