7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
50 template<
typename DateT = Aws::Utils::DateTime>
51 void SetDate(DateT&& value) { m_dateHasBeenSet =
true; m_date = std::forward<DateT>(value); }
52 template<
typename DateT = Aws::Utils::DateTime>
63 template<
typename LastGeneratedAtT = Aws::Utils::DateTime>
64 void SetLastGeneratedAt(LastGeneratedAtT&& value) { m_lastGeneratedAtHasBeenSet =
true; m_lastGeneratedAt = std::forward<LastGeneratedAtT>(value); }
65 template<
typename LastGeneratedAtT = Aws::Utils::DateTime>
75 inline void SetSeverity(
double value) { m_severityHasBeenSet =
true; m_severity = value; }
86 inline void SetTotalFindings(
int value) { m_totalFindingsHasBeenSet =
true; m_totalFindings = value; }
92 bool m_dateHasBeenSet =
false;
95 bool m_lastGeneratedAtHasBeenSet =
false;
97 double m_severity{0.0};
98 bool m_severityHasBeenSet =
false;
100 int m_totalFindings{0};
101 bool m_totalFindingsHasBeenSet =
false;
bool DateHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDate(DateT &&value)
int GetTotalFindings() const
DateStatistics & WithDate(DateT &&value)
double GetSeverity() const
bool TotalFindingsHasBeenSet() const
DateStatistics & WithLastGeneratedAt(LastGeneratedAtT &&value)
bool SeverityHasBeenSet() const
DateStatistics & WithTotalFindings(int value)
AWS_GUARDDUTY_API DateStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastGeneratedAt() const
AWS_GUARDDUTY_API DateStatistics()=default
bool LastGeneratedAtHasBeenSet() const
void SetSeverity(double value)
DateStatistics & WithSeverity(double value)
const Aws::Utils::DateTime & GetDate() const
AWS_GUARDDUTY_API DateStatistics(Aws::Utils::Json::JsonView jsonValue)
void SetLastGeneratedAt(LastGeneratedAtT &&value)
void SetTotalFindings(int value)
Aws::Utils::Json::JsonValue JsonValue