7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/ResourceSeverityBreakdown.h>
42 template <
typename FindingTypeT = Aws::String>
44 m_findingTypeHasBeenSet =
true;
45 m_findingType = std::forward<FindingTypeT>(value);
47 template <
typename FindingTypeT = Aws::String>
60 template <
typename ProductNameT = Aws::String>
62 m_productNameHasBeenSet =
true;
63 m_productName = std::forward<ProductNameT>(value);
65 template <
typename ProductNameT = Aws::String>
79 m_totalFindingsHasBeenSet =
true;
80 m_totalFindings = value;
94 template <
typename SeveritiesT = ResourceSeverityBreakdown>
96 m_severitiesHasBeenSet =
true;
97 m_severities = std::forward<SeveritiesT>(value);
99 template <
typename SeveritiesT = ResourceSeverityBreakdown>
110 int m_totalFindings{0};
112 ResourceSeverityBreakdown m_severities;
113 bool m_findingTypeHasBeenSet =
false;
114 bool m_productNameHasBeenSet =
false;
115 bool m_totalFindingsHasBeenSet =
false;
116 bool m_severitiesHasBeenSet =
false;
bool SeveritiesHasBeenSet() const
void SetFindingType(FindingTypeT &&value)
int GetTotalFindings() const
ResourceFindingsSummary & WithTotalFindings(int value)
void SetProductName(ProductNameT &&value)
ResourceFindingsSummary & WithSeverities(SeveritiesT &&value)
ResourceFindingsSummary & WithFindingType(FindingTypeT &&value)
bool ProductNameHasBeenSet() const
const ResourceSeverityBreakdown & GetSeverities() const
AWS_SECURITYHUB_API ResourceFindingsSummary(Aws::Utils::Json::JsonView jsonValue)
void SetSeverities(SeveritiesT &&value)
bool TotalFindingsHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API ResourceFindingsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API ResourceFindingsSummary()=default
void SetTotalFindings(int value)
ResourceFindingsSummary & WithProductName(ProductNameT &&value)
bool FindingTypeHasBeenSet() const
const Aws::String & GetProductName() const
const Aws::String & GetFindingType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue