/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary of the last completed image scan.See Also:
AWS
* API Reference
The time of the last completed image scan.
*/ inline const Aws::Utils::DateTime& GetImageScanCompletedAt() const{ return m_imageScanCompletedAt; } /** *The time of the last completed image scan.
*/ inline bool ImageScanCompletedAtHasBeenSet() const { return m_imageScanCompletedAtHasBeenSet; } /** *The time of the last completed image scan.
*/ inline void SetImageScanCompletedAt(const Aws::Utils::DateTime& value) { m_imageScanCompletedAtHasBeenSet = true; m_imageScanCompletedAt = value; } /** *The time of the last completed image scan.
*/ inline void SetImageScanCompletedAt(Aws::Utils::DateTime&& value) { m_imageScanCompletedAtHasBeenSet = true; m_imageScanCompletedAt = std::move(value); } /** *The time of the last completed image scan.
*/ inline ImageScanFindingsSummary& WithImageScanCompletedAt(const Aws::Utils::DateTime& value) { SetImageScanCompletedAt(value); return *this;} /** *The time of the last completed image scan.
*/ inline ImageScanFindingsSummary& WithImageScanCompletedAt(Aws::Utils::DateTime&& value) { SetImageScanCompletedAt(std::move(value)); return *this;} /** *The time when the vulnerability data was last scanned.
*/ inline const Aws::Utils::DateTime& GetVulnerabilitySourceUpdatedAt() const{ return m_vulnerabilitySourceUpdatedAt; } /** *The time when the vulnerability data was last scanned.
*/ inline bool VulnerabilitySourceUpdatedAtHasBeenSet() const { return m_vulnerabilitySourceUpdatedAtHasBeenSet; } /** *The time when the vulnerability data was last scanned.
*/ inline void SetVulnerabilitySourceUpdatedAt(const Aws::Utils::DateTime& value) { m_vulnerabilitySourceUpdatedAtHasBeenSet = true; m_vulnerabilitySourceUpdatedAt = value; } /** *The time when the vulnerability data was last scanned.
*/ inline void SetVulnerabilitySourceUpdatedAt(Aws::Utils::DateTime&& value) { m_vulnerabilitySourceUpdatedAtHasBeenSet = true; m_vulnerabilitySourceUpdatedAt = std::move(value); } /** *The time when the vulnerability data was last scanned.
*/ inline ImageScanFindingsSummary& WithVulnerabilitySourceUpdatedAt(const Aws::Utils::DateTime& value) { SetVulnerabilitySourceUpdatedAt(value); return *this;} /** *The time when the vulnerability data was last scanned.
*/ inline ImageScanFindingsSummary& WithVulnerabilitySourceUpdatedAt(Aws::Utils::DateTime&& value) { SetVulnerabilitySourceUpdatedAt(std::move(value)); return *this;} /** *The image vulnerability counts, sorted by severity.
*/ inline const Aws::MapThe image vulnerability counts, sorted by severity.
*/ inline bool FindingSeverityCountsHasBeenSet() const { return m_findingSeverityCountsHasBeenSet; } /** *The image vulnerability counts, sorted by severity.
*/ inline void SetFindingSeverityCounts(const Aws::MapThe image vulnerability counts, sorted by severity.
*/ inline void SetFindingSeverityCounts(Aws::MapThe image vulnerability counts, sorted by severity.
*/ inline ImageScanFindingsSummary& WithFindingSeverityCounts(const Aws::MapThe image vulnerability counts, sorted by severity.
*/ inline ImageScanFindingsSummary& WithFindingSeverityCounts(Aws::MapThe image vulnerability counts, sorted by severity.
*/ inline ImageScanFindingsSummary& AddFindingSeverityCounts(const FindingSeverity& key, int value) { m_findingSeverityCountsHasBeenSet = true; m_findingSeverityCounts.emplace(key, value); return *this; } /** *The image vulnerability counts, sorted by severity.
*/ inline ImageScanFindingsSummary& AddFindingSeverityCounts(FindingSeverity&& key, int value) { m_findingSeverityCountsHasBeenSet = true; m_findingSeverityCounts.emplace(std::move(key), value); return *this; } private: Aws::Utils::DateTime m_imageScanCompletedAt; bool m_imageScanCompletedAtHasBeenSet = false; Aws::Utils::DateTime m_vulnerabilitySourceUpdatedAt; bool m_vulnerabilitySourceUpdatedAtHasBeenSet = false; Aws::Map