/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the estimated monthly savings amount possible, based on On-Demand
* instance pricing, by adopting Compute Optimizer recommendations for a given
* resource. For more information, see Estimated
* monthly savings and savings opportunities in the Compute Optimizer User
* Guide.See Also:
AWS
* API Reference
The currency of the estimated monthly savings.
*/ inline const Currency& GetCurrency() const{ return m_currency; } /** *The currency of the estimated monthly savings.
*/ inline bool CurrencyHasBeenSet() const { return m_currencyHasBeenSet; } /** *The currency of the estimated monthly savings.
*/ inline void SetCurrency(const Currency& value) { m_currencyHasBeenSet = true; m_currency = value; } /** *The currency of the estimated monthly savings.
*/ inline void SetCurrency(Currency&& value) { m_currencyHasBeenSet = true; m_currency = std::move(value); } /** *The currency of the estimated monthly savings.
*/ inline EstimatedMonthlySavings& WithCurrency(const Currency& value) { SetCurrency(value); return *this;} /** *The currency of the estimated monthly savings.
*/ inline EstimatedMonthlySavings& WithCurrency(Currency&& value) { SetCurrency(std::move(value)); return *this;} /** *The value of the estimated monthly savings.
*/ inline double GetValue() const{ return m_value; } /** *The value of the estimated monthly savings.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value of the estimated monthly savings.
*/ inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; } /** *The value of the estimated monthly savings.
*/ inline EstimatedMonthlySavings& WithValue(double value) { SetValue(value); return *this;} private: Currency m_currency; bool m_currencyHasBeenSet = false; double m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace ComputeOptimizer } // namespace Aws