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

The summary of a recommendation.

See Also:

AWS * API Reference

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

The finding classification of the recommendation.

*/ inline const Finding& GetName() const{ return m_name; } /** *

The finding classification of the recommendation.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The finding classification of the recommendation.

*/ inline void SetName(const Finding& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The finding classification of the recommendation.

*/ inline void SetName(Finding&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The finding classification of the recommendation.

*/ inline Summary& WithName(const Finding& value) { SetName(value); return *this;} /** *

The finding classification of the recommendation.

*/ inline Summary& WithName(Finding&& value) { SetName(std::move(value)); return *this;} /** *

The value of the recommendation summary.

*/ inline double GetValue() const{ return m_value; } /** *

The value of the recommendation summary.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The value of the recommendation summary.

*/ inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; } /** *

The value of the recommendation summary.

*/ inline Summary& WithValue(double value) { SetValue(value); return *this;} private: Finding m_name; bool m_nameHasBeenSet; double m_value; bool m_valueHasBeenSet; }; } // namespace Model } // namespace ComputeOptimizer } // namespace Aws