7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/FindingTypeCount.h>
10#include <aws/guardduty/model/SeverityBreakdown.h>
11#include <aws/guardduty/model/TimeWindowGroup.h>
44 m_totalFindingsHasBeenSet =
true;
45 m_totalFindings = value;
59 template <
typename SeverityBreakdownT = SeverityBreakdown>
61 m_severityBreakdownHasBeenSet =
true;
62 m_severityBreakdown = std::forward<SeverityBreakdownT>(value);
64 template <
typename SeverityBreakdownT = SeverityBreakdown>
77 template <
typename TopFindingTypesT = Aws::Vector<FindingTypeCount>>
79 m_topFindingTypesHasBeenSet =
true;
80 m_topFindingTypes = std::forward<TopFindingTypesT>(value);
82 template <
typename TopFindingTypesT = Aws::Vector<FindingTypeCount>>
87 template <
typename TopFindingTypesT = FindingTypeCount>
89 m_topFindingTypesHasBeenSet =
true;
90 m_topFindingTypes.emplace_back(std::forward<TopFindingTypesT>(value));
101 template <
typename ByTimeWindowT = Aws::Vector<TimeWindowGroup>>
103 m_byTimeWindowHasBeenSet =
true;
104 m_byTimeWindow = std::forward<ByTimeWindowT>(value);
106 template <
typename ByTimeWindowT = Aws::Vector<TimeWindowGroup>>
111 template <
typename ByTimeWindowT = TimeWindowGroup>
113 m_byTimeWindowHasBeenSet =
true;
114 m_byTimeWindow.emplace_back(std::forward<ByTimeWindowT>(value));
119 int m_totalFindings{0};
121 SeverityBreakdown m_severityBreakdown;
126 bool m_totalFindingsHasBeenSet =
false;
127 bool m_severityBreakdownHasBeenSet =
false;
128 bool m_topFindingTypesHasBeenSet =
false;
129 bool m_byTimeWindowHasBeenSet =
false;
AWS_GUARDDUTY_API FindingsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ByTimeWindowHasBeenSet() const
AWS_GUARDDUTY_API FindingsSummary()=default
FindingsSummary & WithByTimeWindow(ByTimeWindowT &&value)
const Aws::Vector< TimeWindowGroup > & GetByTimeWindow() const
FindingsSummary & WithTopFindingTypes(TopFindingTypesT &&value)
const Aws::Vector< FindingTypeCount > & GetTopFindingTypes() const
void SetSeverityBreakdown(SeverityBreakdownT &&value)
void SetTopFindingTypes(TopFindingTypesT &&value)
FindingsSummary & AddByTimeWindow(ByTimeWindowT &&value)
int GetTotalFindings() const
bool SeverityBreakdownHasBeenSet() const
const SeverityBreakdown & GetSeverityBreakdown() const
FindingsSummary & WithSeverityBreakdown(SeverityBreakdownT &&value)
bool TopFindingTypesHasBeenSet() const
AWS_GUARDDUTY_API FindingsSummary(Aws::Utils::Json::JsonView jsonValue)
void SetByTimeWindow(ByTimeWindowT &&value)
void SetTotalFindings(int value)
FindingsSummary & AddTopFindingTypes(TopFindingTypesT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool TotalFindingsHasBeenSet() const
FindingsSummary & WithTotalFindings(int value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue