/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that contains information about a finding and the scan that
* generated it. See Also:
AWS
* API Reference
The identifier for a finding.
*/ inline const Aws::String& GetFindingId() const{ return m_findingId; } /** *The identifier for a finding.
*/ inline bool FindingIdHasBeenSet() const { return m_findingIdHasBeenSet; } /** *The identifier for a finding.
*/ inline void SetFindingId(const Aws::String& value) { m_findingIdHasBeenSet = true; m_findingId = value; } /** *The identifier for a finding.
*/ inline void SetFindingId(Aws::String&& value) { m_findingIdHasBeenSet = true; m_findingId = std::move(value); } /** *The identifier for a finding.
*/ inline void SetFindingId(const char* value) { m_findingIdHasBeenSet = true; m_findingId.assign(value); } /** *The identifier for a finding.
*/ inline FindingIdentifier& WithFindingId(const Aws::String& value) { SetFindingId(value); return *this;} /** *The identifier for a finding.
*/ inline FindingIdentifier& WithFindingId(Aws::String&& value) { SetFindingId(std::move(value)); return *this;} /** *The identifier for a finding.
*/ inline FindingIdentifier& WithFindingId(const char* value) { SetFindingId(value); return *this;} /** *The name of the scan that generated the finding.
*/ inline const Aws::String& GetScanName() const{ return m_scanName; } /** *The name of the scan that generated the finding.
*/ inline bool ScanNameHasBeenSet() const { return m_scanNameHasBeenSet; } /** *The name of the scan that generated the finding.
*/ inline void SetScanName(const Aws::String& value) { m_scanNameHasBeenSet = true; m_scanName = value; } /** *The name of the scan that generated the finding.
*/ inline void SetScanName(Aws::String&& value) { m_scanNameHasBeenSet = true; m_scanName = std::move(value); } /** *The name of the scan that generated the finding.
*/ inline void SetScanName(const char* value) { m_scanNameHasBeenSet = true; m_scanName.assign(value); } /** *The name of the scan that generated the finding.
*/ inline FindingIdentifier& WithScanName(const Aws::String& value) { SetScanName(value); return *this;} /** *The name of the scan that generated the finding.
*/ inline FindingIdentifier& WithScanName(Aws::String&& value) { SetScanName(std::move(value)); return *this;} /** *The name of the scan that generated the finding.
*/ inline FindingIdentifier& WithScanName(const char* value) { SetScanName(value); return *this;} private: Aws::String m_findingId; bool m_findingIdHasBeenSet = false; Aws::String m_scanName; bool m_scanNameHasBeenSet = false; }; } // namespace Model } // namespace CodeGuruSecurity } // namespace Aws