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

The estimated cost savings that might be realized if the recommended * operations are taken.

See Also:

AWS * API Reference

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

The estimated monthly savings that might be realized if the recommended * operations are taken.

*/ inline double GetEstimatedMonthlySavings() const{ return m_estimatedMonthlySavings; } /** *

The estimated monthly savings that might be realized if the recommended * operations are taken.

*/ inline bool EstimatedMonthlySavingsHasBeenSet() const { return m_estimatedMonthlySavingsHasBeenSet; } /** *

The estimated monthly savings that might be realized if the recommended * operations are taken.

*/ inline void SetEstimatedMonthlySavings(double value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings = value; } /** *

The estimated monthly savings that might be realized if the recommended * operations are taken.

*/ inline TrustedAdvisorCostOptimizingSummary& WithEstimatedMonthlySavings(double value) { SetEstimatedMonthlySavings(value); return *this;} /** *

The estimated percentage of savings that might be realized if the recommended * operations are taken.

*/ inline double GetEstimatedPercentMonthlySavings() const{ return m_estimatedPercentMonthlySavings; } /** *

The estimated percentage of savings that might be realized if the recommended * operations are taken.

*/ inline bool EstimatedPercentMonthlySavingsHasBeenSet() const { return m_estimatedPercentMonthlySavingsHasBeenSet; } /** *

The estimated percentage of savings that might be realized if the recommended * operations are taken.

*/ inline void SetEstimatedPercentMonthlySavings(double value) { m_estimatedPercentMonthlySavingsHasBeenSet = true; m_estimatedPercentMonthlySavings = value; } /** *

The estimated percentage of savings that might be realized if the recommended * operations are taken.

*/ inline TrustedAdvisorCostOptimizingSummary& WithEstimatedPercentMonthlySavings(double value) { SetEstimatedPercentMonthlySavings(value); return *this;} private: double m_estimatedMonthlySavings; bool m_estimatedMonthlySavingsHasBeenSet = false; double m_estimatedPercentMonthlySavings; bool m_estimatedPercentMonthlySavingsHasBeenSet = false; }; } // namespace Model } // namespace Support } // namespace Aws