/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about an image scan finding.See Also:
* AWS
* API Reference
The name associated with the finding, usually a CVE number.
*/ inline const Aws::String& GetName() const{ return m_name; } inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } inline ImageScanFinding& WithName(const Aws::String& value) { SetName(value); return *this;} inline ImageScanFinding& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} inline ImageScanFinding& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ /** *The description of the finding.
*/ inline const Aws::String& GetDescription() const{ return m_description; } inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } inline ImageScanFinding& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} inline ImageScanFinding& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} inline ImageScanFinding& WithDescription(const char* value) { SetDescription(value); return *this;} ///@} ///@{ /** *A link containing additional details about the security vulnerability.
*/ inline const Aws::String& GetUri() const{ return m_uri; } inline bool UriHasBeenSet() const { return m_uriHasBeenSet; } inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; } inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); } inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); } inline ImageScanFinding& WithUri(const Aws::String& value) { SetUri(value); return *this;} inline ImageScanFinding& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;} inline ImageScanFinding& WithUri(const char* value) { SetUri(value); return *this;} ///@} ///@{ /** *The finding severity.
*/ inline const FindingSeverity& GetSeverity() const{ return m_severity; } inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; } inline void SetSeverity(const FindingSeverity& value) { m_severityHasBeenSet = true; m_severity = value; } inline void SetSeverity(FindingSeverity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); } inline ImageScanFinding& WithSeverity(const FindingSeverity& value) { SetSeverity(value); return *this;} inline ImageScanFinding& WithSeverity(FindingSeverity&& value) { SetSeverity(std::move(value)); return *this;} ///@} ///@{ /** *A collection of attributes of the host from which the finding is * generated.
*/ inline const Aws::Vector