/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a security vulnerability that Amazon CodeGuru Security
* detected.See Also:
AWS
* API Reference
An object that describes the location of the detected security vulnerability * in your code.
*/ inline const FilePath& GetFilePath() const{ return m_filePath; } /** *An object that describes the location of the detected security vulnerability * in your code.
*/ inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; } /** *An object that describes the location of the detected security vulnerability * in your code.
*/ inline void SetFilePath(const FilePath& value) { m_filePathHasBeenSet = true; m_filePath = value; } /** *An object that describes the location of the detected security vulnerability * in your code.
*/ inline void SetFilePath(FilePath&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); } /** *An object that describes the location of the detected security vulnerability * in your code.
*/ inline Vulnerability& WithFilePath(const FilePath& value) { SetFilePath(value); return *this;} /** *An object that describes the location of the detected security vulnerability * in your code.
*/ inline Vulnerability& WithFilePath(FilePath&& value) { SetFilePath(std::move(value)); return *this;} /** *The identifier for the vulnerability.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The identifier for the vulnerability.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The identifier for the vulnerability.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The identifier for the vulnerability.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The identifier for the vulnerability.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The identifier for the vulnerability.
*/ inline Vulnerability& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The identifier for the vulnerability.
*/ inline Vulnerability& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The identifier for the vulnerability.
*/ inline Vulnerability& WithId(const char* value) { SetId(value); return *this;} /** *The number of times the vulnerability appears in your code.
*/ inline int GetItemCount() const{ return m_itemCount; } /** *The number of times the vulnerability appears in your code.
*/ inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; } /** *The number of times the vulnerability appears in your code.
*/ inline void SetItemCount(int value) { m_itemCountHasBeenSet = true; m_itemCount = value; } /** *The number of times the vulnerability appears in your code.
*/ inline Vulnerability& WithItemCount(int value) { SetItemCount(value); return *this;} /** *One or more URL addresses that contain details about a vulnerability.
*/ inline const Aws::VectorOne or more URL addresses that contain details about a vulnerability.
*/ inline bool ReferenceUrlsHasBeenSet() const { return m_referenceUrlsHasBeenSet; } /** *One or more URL addresses that contain details about a vulnerability.
*/ inline void SetReferenceUrls(const Aws::VectorOne or more URL addresses that contain details about a vulnerability.
*/ inline void SetReferenceUrls(Aws::VectorOne or more URL addresses that contain details about a vulnerability.
*/ inline Vulnerability& WithReferenceUrls(const Aws::VectorOne or more URL addresses that contain details about a vulnerability.
*/ inline Vulnerability& WithReferenceUrls(Aws::VectorOne or more URL addresses that contain details about a vulnerability.
*/ inline Vulnerability& AddReferenceUrls(const Aws::String& value) { m_referenceUrlsHasBeenSet = true; m_referenceUrls.push_back(value); return *this; } /** *One or more URL addresses that contain details about a vulnerability.
*/ inline Vulnerability& AddReferenceUrls(Aws::String&& value) { m_referenceUrlsHasBeenSet = true; m_referenceUrls.push_back(std::move(value)); return *this; } /** *One or more URL addresses that contain details about a vulnerability.
*/ inline Vulnerability& AddReferenceUrls(const char* value) { m_referenceUrlsHasBeenSet = true; m_referenceUrls.push_back(value); return *this; } /** *One or more vulnerabilities that are related to the vulnerability being * described.
*/ inline const Aws::VectorOne or more vulnerabilities that are related to the vulnerability being * described.
*/ inline bool RelatedVulnerabilitiesHasBeenSet() const { return m_relatedVulnerabilitiesHasBeenSet; } /** *One or more vulnerabilities that are related to the vulnerability being * described.
*/ inline void SetRelatedVulnerabilities(const Aws::VectorOne or more vulnerabilities that are related to the vulnerability being * described.
*/ inline void SetRelatedVulnerabilities(Aws::VectorOne or more vulnerabilities that are related to the vulnerability being * described.
*/ inline Vulnerability& WithRelatedVulnerabilities(const Aws::VectorOne or more vulnerabilities that are related to the vulnerability being * described.
*/ inline Vulnerability& WithRelatedVulnerabilities(Aws::VectorOne or more vulnerabilities that are related to the vulnerability being * described.
*/ inline Vulnerability& AddRelatedVulnerabilities(const Aws::String& value) { m_relatedVulnerabilitiesHasBeenSet = true; m_relatedVulnerabilities.push_back(value); return *this; } /** *One or more vulnerabilities that are related to the vulnerability being * described.
*/ inline Vulnerability& AddRelatedVulnerabilities(Aws::String&& value) { m_relatedVulnerabilitiesHasBeenSet = true; m_relatedVulnerabilities.push_back(std::move(value)); return *this; } /** *One or more vulnerabilities that are related to the vulnerability being * described.
*/ inline Vulnerability& AddRelatedVulnerabilities(const char* value) { m_relatedVulnerabilitiesHasBeenSet = true; m_relatedVulnerabilities.push_back(value); return *this; } private: FilePath m_filePath; bool m_filePathHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; int m_itemCount; bool m_itemCountHasBeenSet = false; Aws::Vector