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

Details on termination recommendation.

See Also:

AWS * API Reference

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

The estimated savings that result from modification, on a monthly basis.

*/ inline const Aws::String& GetEstimatedMonthlySavings() const{ return m_estimatedMonthlySavings; } /** *

The estimated savings that result from modification, on a monthly basis.

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

The estimated savings that result from modification, on a monthly basis.

*/ inline void SetEstimatedMonthlySavings(const Aws::String& value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings = value; } /** *

The estimated savings that result from modification, on a monthly basis.

*/ inline void SetEstimatedMonthlySavings(Aws::String&& value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings = std::move(value); } /** *

The estimated savings that result from modification, on a monthly basis.

*/ inline void SetEstimatedMonthlySavings(const char* value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings.assign(value); } /** *

The estimated savings that result from modification, on a monthly basis.

*/ inline TerminateRecommendationDetail& WithEstimatedMonthlySavings(const Aws::String& value) { SetEstimatedMonthlySavings(value); return *this;} /** *

The estimated savings that result from modification, on a monthly basis.

*/ inline TerminateRecommendationDetail& WithEstimatedMonthlySavings(Aws::String&& value) { SetEstimatedMonthlySavings(std::move(value)); return *this;} /** *

The estimated savings that result from modification, on a monthly basis.

*/ inline TerminateRecommendationDetail& WithEstimatedMonthlySavings(const char* value) { SetEstimatedMonthlySavings(value); return *this;} /** *

The currency code that Amazon Web Services used to calculate the costs for * this instance.

*/ inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; } /** *

The currency code that Amazon Web Services used to calculate the costs for * this instance.

*/ inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; } /** *

The currency code that Amazon Web Services used to calculate the costs for * this instance.

*/ inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; } /** *

The currency code that Amazon Web Services used to calculate the costs for * this instance.

*/ inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); } /** *

The currency code that Amazon Web Services used to calculate the costs for * this instance.

*/ inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); } /** *

The currency code that Amazon Web Services used to calculate the costs for * this instance.

*/ inline TerminateRecommendationDetail& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;} /** *

The currency code that Amazon Web Services used to calculate the costs for * this instance.

*/ inline TerminateRecommendationDetail& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;} /** *

The currency code that Amazon Web Services used to calculate the costs for * this instance.

*/ inline TerminateRecommendationDetail& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;} private: Aws::String m_estimatedMonthlySavings; bool m_estimatedMonthlySavingsHasBeenSet = false; Aws::String m_currencyCode; bool m_currencyCodeHasBeenSet = false; }; } // namespace Model } // namespace CostExplorer } // namespace Aws