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

Information about how to remediate a finding.

See Also:

AWS * API Reference

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

An object that contains information about the recommended course of action to * remediate the finding.

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

An object that contains information about the recommended course of action to * remediate the finding.

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

An object that contains information about the recommended course of action to * remediate the finding.

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

An object that contains information about the recommended course of action to * remediate the finding.

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

An object that contains information about the recommended course of action to * remediate the finding.

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

An object that contains information about the recommended course of action to * remediate the finding.

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