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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ecr/model/FindingSeverity.h>
12#include <aws/ecr/model/ImageScanFinding.h>
13#include <aws/ecr/model/EnhancedImageScanFinding.h>
113 bool m_imageScanCompletedAtHasBeenSet =
false;
116 bool m_vulnerabilitySourceUpdatedAtHasBeenSet =
false;
119 bool m_findingSeverityCountsHasBeenSet =
false;
122 bool m_findingsHasBeenSet =
false;
125 bool m_enhancedFindingsHasBeenSet =
false;
const Aws::Utils::DateTime & GetImageScanCompletedAt() const
ImageScanFindings & AddFindingSeverityCounts(FindingSeverity &&key, int value)
ImageScanFindings & AddFindings(ImageScanFinding &&value)
void SetImageScanCompletedAt(const Aws::Utils::DateTime &value)
ImageScanFindings & WithImageScanCompletedAt(const Aws::Utils::DateTime &value)
bool FindingSeverityCountsHasBeenSet() const
bool VulnerabilitySourceUpdatedAtHasBeenSet() const
void SetVulnerabilitySourceUpdatedAt(Aws::Utils::DateTime &&value)
ImageScanFindings & WithEnhancedFindings(Aws::Vector< EnhancedImageScanFinding > &&value)
AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const
ImageScanFindings & AddFindings(const ImageScanFinding &value)
AWS_ECR_API ImageScanFindings()
AWS_ECR_API ImageScanFindings & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageScanFindings & WithVulnerabilitySourceUpdatedAt(Aws::Utils::DateTime &&value)
ImageScanFindings & WithFindings(const Aws::Vector< ImageScanFinding > &value)
const Aws::Utils::DateTime & GetVulnerabilitySourceUpdatedAt() const
ImageScanFindings & WithFindingSeverityCounts(Aws::Map< FindingSeverity, int > &&value)
void SetImageScanCompletedAt(Aws::Utils::DateTime &&value)
void SetFindings(Aws::Vector< ImageScanFinding > &&value)
const Aws::Vector< EnhancedImageScanFinding > & GetEnhancedFindings() const
ImageScanFindings & WithImageScanCompletedAt(Aws::Utils::DateTime &&value)
void SetEnhancedFindings(const Aws::Vector< EnhancedImageScanFinding > &value)
const Aws::Map< FindingSeverity, int > & GetFindingSeverityCounts() const
ImageScanFindings & AddEnhancedFindings(EnhancedImageScanFinding &&value)
void SetEnhancedFindings(Aws::Vector< EnhancedImageScanFinding > &&value)
ImageScanFindings & AddEnhancedFindings(const EnhancedImageScanFinding &value)
ImageScanFindings & WithEnhancedFindings(const Aws::Vector< EnhancedImageScanFinding > &value)
ImageScanFindings & WithFindingSeverityCounts(const Aws::Map< FindingSeverity, int > &value)
bool FindingsHasBeenSet() const
bool EnhancedFindingsHasBeenSet() const
void SetFindingSeverityCounts(const Aws::Map< FindingSeverity, int > &value)
const Aws::Vector< ImageScanFinding > & GetFindings() const
bool ImageScanCompletedAtHasBeenSet() const
ImageScanFindings & WithFindings(Aws::Vector< ImageScanFinding > &&value)
ImageScanFindings & AddFindingSeverityCounts(const FindingSeverity &key, int value)
void SetFindings(const Aws::Vector< ImageScanFinding > &value)
ImageScanFindings & WithVulnerabilitySourceUpdatedAt(const Aws::Utils::DateTime &value)
void SetVulnerabilitySourceUpdatedAt(const Aws::Utils::DateTime &value)
void SetFindingSeverityCounts(Aws::Map< FindingSeverity, int > &&value)
AWS_ECR_API ImageScanFindings(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue