7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
48 template<
typename LastGeneratedAtT = Aws::Utils::DateTime>
49 void SetLastGeneratedAt(LastGeneratedAtT&& value) { m_lastGeneratedAtHasBeenSet =
true; m_lastGeneratedAt = std::forward<LastGeneratedAtT>(value); }
50 template<
typename LastGeneratedAtT = Aws::Utils::DateTime>
60 inline void SetSeverity(
double value) { m_severityHasBeenSet =
true; m_severity = value; }
70 inline void SetTotalFindings(
int value) { m_totalFindingsHasBeenSet =
true; m_totalFindings = value; }
76 bool m_lastGeneratedAtHasBeenSet =
false;
78 double m_severity{0.0};
79 bool m_severityHasBeenSet =
false;
81 int m_totalFindings{0};
82 bool m_totalFindingsHasBeenSet =
false;
SeverityStatistics & WithLastGeneratedAt(LastGeneratedAtT &&value)
bool LastGeneratedAtHasBeenSet() const
void SetSeverity(double value)
AWS_GUARDDUTY_API SeverityStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SeverityHasBeenSet() const
void SetLastGeneratedAt(LastGeneratedAtT &&value)
AWS_GUARDDUTY_API SeverityStatistics()=default
SeverityStatistics & WithSeverity(double value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTotalFindings(int value)
double GetSeverity() const
AWS_GUARDDUTY_API SeverityStatistics(Aws::Utils::Json::JsonView jsonValue)
SeverityStatistics & WithTotalFindings(int value)
int GetTotalFindings() const
bool TotalFindingsHasBeenSet() const
const Aws::Utils::DateTime & GetLastGeneratedAt() const
Aws::Utils::Json::JsonValue JsonValue