7#include <aws/core/utils/DateTime.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
42 template <
typename LastGeneratedAtT = Aws::Utils::DateTime>
44 m_lastGeneratedAtHasBeenSet =
true;
45 m_lastGeneratedAt = std::forward<LastGeneratedAtT>(value);
47 template <
typename LastGeneratedAtT = Aws::Utils::DateTime>
61 m_severityHasBeenSet =
true;
77 m_totalFindingsHasBeenSet =
true;
78 m_totalFindings = value;
88 double m_severity{0.0};
90 int m_totalFindings{0};
91 bool m_lastGeneratedAtHasBeenSet =
false;
92 bool m_severityHasBeenSet =
false;
93 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