7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename SeverityT = Aws::String>
48 void SetSeverity(SeverityT&& value) { m_severityHasBeenSet =
true; m_severity = std::forward<SeverityT>(value); }
49 template<
typename SeverityT = Aws::String>
60 template<
typename ThreatNameT = Aws::String>
61 void SetThreatName(ThreatNameT&& value) { m_threatNameHasBeenSet =
true; m_threatName = std::forward<ThreatNameT>(value); }
62 template<
typename ThreatNameT = Aws::String>
70 inline int GetCount()
const {
return m_count; }
72 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
78 bool m_severityHasBeenSet =
false;
81 bool m_threatNameHasBeenSet =
false;
84 bool m_countHasBeenSet =
false;
AWS_GUARDDUTY_API HighestSeverityThreatDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetThreatName() const
bool CountHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetThreatName(ThreatNameT &&value)
HighestSeverityThreatDetails & WithCount(int value)
HighestSeverityThreatDetails & WithThreatName(ThreatNameT &&value)
bool SeverityHasBeenSet() const
void SetSeverity(SeverityT &&value)
const Aws::String & GetSeverity() const
bool ThreatNameHasBeenSet() const
AWS_GUARDDUTY_API HighestSeverityThreatDetails(Aws::Utils::Json::JsonView jsonValue)
HighestSeverityThreatDetails & WithSeverity(SeverityT &&value)
AWS_GUARDDUTY_API HighestSeverityThreatDetails()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue