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

Information on how to remediate a finding.

See Also:

AWS API * Reference

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

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

*/ inline const Recommendation& 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 Recommendation& 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(Recommendation&& 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 Recommendation& value) { SetRecommendation(value); return *this;} /** *

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

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