7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/ArchiveDistribution.h>
10#include <aws/guardduty/model/DistributionDimension.h>
11#include <aws/guardduty/model/FindingTypeCount.h>
12#include <aws/guardduty/model/ResourceDistribution.h>
13#include <aws/guardduty/model/SeverityBreakdown.h>
14#include <aws/guardduty/model/TacticCoverage.h>
15#include <aws/guardduty/model/TypeDistribution.h>
54 m_dimensionHasBeenSet =
true;
70 m_totalFindingsHasBeenSet =
true;
71 m_totalFindings = value;
85 template <
typename SeverityBreakdownT = SeverityBreakdown>
87 m_severityBreakdownHasBeenSet =
true;
88 m_severityBreakdown = std::forward<SeverityBreakdownT>(value);
90 template <
typename SeverityBreakdownT = SeverityBreakdown>
103 template <
typename FindingTypesT = Aws::Vector<TypeDistribution>>
105 m_findingTypesHasBeenSet =
true;
106 m_findingTypes = std::forward<FindingTypesT>(value);
108 template <
typename FindingTypesT = Aws::Vector<TypeDistribution>>
113 template <
typename FindingTypesT = TypeDistribution>
115 m_findingTypesHasBeenSet =
true;
116 m_findingTypes.emplace_back(std::forward<FindingTypesT>(value));
127 template <
typename TopFindingTypesT = Aws::Vector<FindingTypeCount>>
129 m_topFindingTypesHasBeenSet =
true;
130 m_topFindingTypes = std::forward<TopFindingTypesT>(value);
132 template <
typename TopFindingTypesT = Aws::Vector<FindingTypeCount>>
137 template <
typename TopFindingTypesT = FindingTypeCount>
139 m_topFindingTypesHasBeenSet =
true;
140 m_topFindingTypes.emplace_back(std::forward<TopFindingTypesT>(value));
151 template <
typename ResourcesT = Aws::Vector<ResourceDistribution>>
153 m_resourcesHasBeenSet =
true;
154 m_resources = std::forward<ResourcesT>(value);
156 template <
typename ResourcesT = Aws::Vector<ResourceDistribution>>
161 template <
typename ResourcesT = ResourceDistribution>
163 m_resourcesHasBeenSet =
true;
164 m_resources.emplace_back(std::forward<ResourcesT>(value));
175 template <
typename AttackVectorsT = Aws::Vector<TacticCoverage>>
177 m_attackVectorsHasBeenSet =
true;
178 m_attackVectors = std::forward<AttackVectorsT>(value);
180 template <
typename AttackVectorsT = Aws::Vector<TacticCoverage>>
185 template <
typename AttackVectorsT = TacticCoverage>
187 m_attackVectorsHasBeenSet =
true;
188 m_attackVectors.emplace_back(std::forward<AttackVectorsT>(value));
199 template <
typename ArchiveT = ArchiveDistribution>
201 m_archiveHasBeenSet =
true;
202 m_archive = std::forward<ArchiveT>(value);
204 template <
typename ArchiveT = ArchiveDistribution>
213 long long m_totalFindings{0};
215 SeverityBreakdown m_severityBreakdown;
225 ArchiveDistribution m_archive;
226 bool m_dimensionHasBeenSet =
false;
227 bool m_totalFindingsHasBeenSet =
false;
228 bool m_severityBreakdownHasBeenSet =
false;
229 bool m_findingTypesHasBeenSet =
false;
230 bool m_topFindingTypesHasBeenSet =
false;
231 bool m_resourcesHasBeenSet =
false;
232 bool m_attackVectorsHasBeenSet =
false;
233 bool m_archiveHasBeenSet =
false;
Distribution & WithResources(ResourcesT &&value)
bool TopFindingTypesHasBeenSet() const
AWS_GUARDDUTY_API Distribution()=default
Distribution & AddFindingTypes(FindingTypesT &&value)
bool DimensionHasBeenSet() const
DistributionDimension GetDimension() const
bool ResourcesHasBeenSet() const
Distribution & WithSeverityBreakdown(SeverityBreakdownT &&value)
bool TotalFindingsHasBeenSet() const
AWS_GUARDDUTY_API Distribution & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArchive(ArchiveT &&value)
Distribution & WithFindingTypes(FindingTypesT &&value)
const Aws::Vector< TypeDistribution > & GetFindingTypes() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
Distribution & WithTopFindingTypes(TopFindingTypesT &&value)
void SetSeverityBreakdown(SeverityBreakdownT &&value)
long long GetTotalFindings() const
void SetAttackVectors(AttackVectorsT &&value)
Distribution & AddTopFindingTypes(TopFindingTypesT &&value)
void SetTopFindingTypes(TopFindingTypesT &&value)
bool FindingTypesHasBeenSet() const
bool SeverityBreakdownHasBeenSet() const
bool AttackVectorsHasBeenSet() const
const Aws::Vector< FindingTypeCount > & GetTopFindingTypes() const
void SetFindingTypes(FindingTypesT &&value)
Distribution & WithTotalFindings(long long value)
const ArchiveDistribution & GetArchive() const
AWS_GUARDDUTY_API Distribution(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TacticCoverage > & GetAttackVectors() const
Distribution & WithAttackVectors(AttackVectorsT &&value)
void SetTotalFindings(long long value)
void SetDimension(DistributionDimension value)
bool ArchiveHasBeenSet() const
const Aws::Vector< ResourceDistribution > & GetResources() const
Distribution & WithArchive(ArchiveT &&value)
void SetResources(ResourcesT &&value)
Distribution & AddAttackVectors(AttackVectorsT &&value)
Distribution & WithDimension(DistributionDimension value)
Distribution & AddResources(ResourcesT &&value)
const SeverityBreakdown & GetSeverityBreakdown() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue