7#include <aws/compute-optimizer-automation/ComputeOptimizerAutomation_EXPORTS.h>
8#include <aws/compute-optimizer-automation/model/SavingsEstimationMode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace ComputeOptimizerAutomation {
42 template <
typename CurrencyT = Aws::String>
44 m_currencyHasBeenSet =
true;
45 m_currency = std::forward<CurrencyT>(value);
47 template <
typename CurrencyT = Aws::String>
61 m_beforeDiscountSavingsHasBeenSet =
true;
62 m_beforeDiscountSavings = value;
77 m_afterDiscountSavingsHasBeenSet =
true;
78 m_afterDiscountSavings = value;
94 m_savingsEstimationModeHasBeenSet =
true;
95 m_savingsEstimationMode = value;
105 double m_beforeDiscountSavings{0.0};
107 double m_afterDiscountSavings{0.0};
110 bool m_currencyHasBeenSet =
false;
111 bool m_beforeDiscountSavingsHasBeenSet =
false;
112 bool m_afterDiscountSavingsHasBeenSet =
false;
113 bool m_savingsEstimationModeHasBeenSet =
false;
AWS_COMPUTEOPTIMIZERAUTOMATION_API EstimatedMonthlySavings(Aws::Utils::Json::JsonView jsonValue)
EstimatedMonthlySavings & WithBeforeDiscountSavings(double value)
const Aws::String & GetCurrency() const
void SetAfterDiscountSavings(double value)
SavingsEstimationMode GetSavingsEstimationMode() const
double GetAfterDiscountSavings() const
bool AfterDiscountSavingsHasBeenSet() const
bool CurrencyHasBeenSet() const
EstimatedMonthlySavings & WithAfterDiscountSavings(double value)
void SetCurrency(CurrencyT &&value)
void SetSavingsEstimationMode(SavingsEstimationMode value)
EstimatedMonthlySavings & WithCurrency(CurrencyT &&value)
double GetBeforeDiscountSavings() const
EstimatedMonthlySavings & WithSavingsEstimationMode(SavingsEstimationMode value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API EstimatedMonthlySavings()=default
bool BeforeDiscountSavingsHasBeenSet() const
AWS_COMPUTEOPTIMIZERAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPUTEOPTIMIZERAUTOMATION_API EstimatedMonthlySavings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBeforeDiscountSavings(double value)
bool SavingsEstimationModeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue