/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GuardDuty { namespace Model { /** *

Represents the result of the scan.

See Also:

AWS * API Reference

*/ class ScanResultDetails { public: AWS_GUARDDUTY_API ScanResultDetails(); AWS_GUARDDUTY_API ScanResultDetails(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API ScanResultDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

An enum value representing possible scan results.

*/ inline const ScanResult& GetScanResult() const{ return m_scanResult; } /** *

An enum value representing possible scan results.

*/ inline bool ScanResultHasBeenSet() const { return m_scanResultHasBeenSet; } /** *

An enum value representing possible scan results.

*/ inline void SetScanResult(const ScanResult& value) { m_scanResultHasBeenSet = true; m_scanResult = value; } /** *

An enum value representing possible scan results.

*/ inline void SetScanResult(ScanResult&& value) { m_scanResultHasBeenSet = true; m_scanResult = std::move(value); } /** *

An enum value representing possible scan results.

*/ inline ScanResultDetails& WithScanResult(const ScanResult& value) { SetScanResult(value); return *this;} /** *

An enum value representing possible scan results.

*/ inline ScanResultDetails& WithScanResult(ScanResult&& value) { SetScanResult(std::move(value)); return *this;} private: ScanResult m_scanResult; bool m_scanResultHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws