/** * 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 SecurityHub { namespace Model { /** *

Details about the remediation steps for a finding.

See Also:

* AWS * API Reference

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

A recommendation on the steps to take to remediate the issue identified by a * finding.

*/ inline const Recommendation& GetRecommendation() const{ return m_recommendation; } /** *

A recommendation on the steps to take to remediate the issue identified by a * finding.

*/ inline bool RecommendationHasBeenSet() const { return m_recommendationHasBeenSet; } /** *

A recommendation on the steps to take to remediate the issue identified by a * finding.

*/ inline void SetRecommendation(const Recommendation& value) { m_recommendationHasBeenSet = true; m_recommendation = value; } /** *

A recommendation on the steps to take to remediate the issue identified by a * finding.

*/ inline void SetRecommendation(Recommendation&& value) { m_recommendationHasBeenSet = true; m_recommendation = std::move(value); } /** *

A recommendation on the steps to take to remediate the issue identified by a * finding.

*/ inline Remediation& WithRecommendation(const Recommendation& value) { SetRecommendation(value); return *this;} /** *

A recommendation on the steps to take to remediate the issue identified by a * finding.

*/ inline Remediation& WithRecommendation(Recommendation&& value) { SetRecommendation(std::move(value)); return *this;} private: Recommendation m_recommendation; bool m_recommendationHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws