7#include <aws/securityhub/SecurityHub_EXPORTS.h>
43 inline int GetOther()
const {
return m_other; }
45 inline void SetOther(
int value) { m_otherHasBeenSet =
true; m_other = value; }
53 inline int GetFatal()
const {
return m_fatal; }
55 inline void SetFatal(
int value) { m_fatalHasBeenSet =
true; m_fatal = value; }
65 inline void SetCritical(
int value) { m_criticalHasBeenSet =
true; m_critical = value; }
73 inline int GetHigh()
const {
return m_high; }
75 inline void SetHigh(
int value) { m_highHasBeenSet =
true; m_high = value; }
85 inline void SetMedium(
int value) { m_mediumHasBeenSet =
true; m_medium = value; }
93 inline int GetLow()
const {
return m_low; }
95 inline void SetLow(
int value) { m_lowHasBeenSet =
true; m_low = value; }
105 inline void SetInformational(
int value) { m_informationalHasBeenSet =
true; m_informational = value; }
115 inline void SetUnknown(
int value) { m_unknownHasBeenSet =
true; m_unknown = value; }
121 bool m_otherHasBeenSet =
false;
124 bool m_fatalHasBeenSet =
false;
127 bool m_criticalHasBeenSet =
false;
130 bool m_highHasBeenSet =
false;
133 bool m_mediumHasBeenSet =
false;
136 bool m_lowHasBeenSet =
false;
138 int m_informational{0};
139 bool m_informationalHasBeenSet =
false;
142 bool m_unknownHasBeenSet =
false;
bool FatalHasBeenSet() const
int GetInformational() const
void SetUnknown(int value)
bool LowHasBeenSet() const
ResourceSeverityBreakdown & WithMedium(int value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API ResourceSeverityBreakdown(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API ResourceSeverityBreakdown()=default
void SetInformational(int value)
bool HighHasBeenSet() const
void SetCritical(int value)
bool CriticalHasBeenSet() const
ResourceSeverityBreakdown & WithUnknown(int value)
ResourceSeverityBreakdown & WithCritical(int value)
ResourceSeverityBreakdown & WithFatal(int value)
AWS_SECURITYHUB_API ResourceSeverityBreakdown & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceSeverityBreakdown & WithInformational(int value)
bool OtherHasBeenSet() const
bool InformationalHasBeenSet() const
ResourceSeverityBreakdown & WithHigh(int value)
bool MediumHasBeenSet() const
void SetMedium(int value)
ResourceSeverityBreakdown & WithLow(int value)
ResourceSeverityBreakdown & WithOther(int value)
bool UnknownHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue