7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/ecr/model/FindingSeverity.h>
48 template<
typename ImageScanCompletedAtT = Aws::Utils::DateTime>
49 void SetImageScanCompletedAt(ImageScanCompletedAtT&& value) { m_imageScanCompletedAtHasBeenSet =
true; m_imageScanCompletedAt = std::forward<ImageScanCompletedAtT>(value); }
50 template<
typename ImageScanCompletedAtT = Aws::Utils::DateTime>
60 template<
typename VulnerabilitySourceUpdatedAtT = Aws::Utils::DateTime>
61 void SetVulnerabilitySourceUpdatedAt(VulnerabilitySourceUpdatedAtT&& value) { m_vulnerabilitySourceUpdatedAtHasBeenSet =
true; m_vulnerabilitySourceUpdatedAt = std::forward<VulnerabilitySourceUpdatedAtT>(value); }
62 template<
typename VulnerabilitySourceUpdatedAtT = Aws::Utils::DateTime>
72 template<
typename FindingSeverityCountsT = Aws::Map<FindingSeverity,
int>>
73 void SetFindingSeverityCounts(FindingSeverityCountsT&& value) { m_findingSeverityCountsHasBeenSet =
true; m_findingSeverityCounts = std::forward<FindingSeverityCountsT>(value); }
74 template<
typename FindingSeverityCountsT = Aws::Map<FindingSeverity,
int>>
77 m_findingSeverityCountsHasBeenSet =
true; m_findingSeverityCounts.emplace(key, value);
return *
this;
83 bool m_imageScanCompletedAtHasBeenSet =
false;
86 bool m_vulnerabilitySourceUpdatedAtHasBeenSet =
false;
89 bool m_findingSeverityCountsHasBeenSet =
false;
bool FindingSeverityCountsHasBeenSet() const
bool ImageScanCompletedAtHasBeenSet() const
const Aws::Map< FindingSeverity, int > & GetFindingSeverityCounts() const
const Aws::Utils::DateTime & GetImageScanCompletedAt() const
AWS_ECR_API ImageScanFindingsSummary()=default
ImageScanFindingsSummary & AddFindingSeverityCounts(FindingSeverity key, int value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECR_API ImageScanFindingsSummary(Aws::Utils::Json::JsonView jsonValue)
ImageScanFindingsSummary & WithFindingSeverityCounts(FindingSeverityCountsT &&value)
bool VulnerabilitySourceUpdatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetVulnerabilitySourceUpdatedAt() const
ImageScanFindingsSummary & WithVulnerabilitySourceUpdatedAt(VulnerabilitySourceUpdatedAtT &&value)
void SetImageScanCompletedAt(ImageScanCompletedAtT &&value)
void SetVulnerabilitySourceUpdatedAt(VulnerabilitySourceUpdatedAtT &&value)
AWS_ECR_API ImageScanFindingsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFindingSeverityCounts(FindingSeverityCountsT &&value)
ImageScanFindingsSummary & WithImageScanCompletedAt(ImageScanCompletedAtT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue