7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/Currency.h>
9#include <aws/inspector2/model/UsageType.h>
49 inline void SetCurrency(
Currency&& value) { m_currencyHasBeenSet =
true; m_currency = std::move(value); }
60 inline void SetEstimatedMonthlyCost(
double value) { m_estimatedMonthlyCostHasBeenSet =
true; m_estimatedMonthlyCost = value; }
68 inline double GetTotal()
const{
return m_total; }
70 inline void SetTotal(
double value) { m_totalHasBeenSet =
true; m_total = value; }
80 inline void SetType(
const UsageType& value) { m_typeHasBeenSet =
true; m_type = value; }
81 inline void SetType(
UsageType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
88 bool m_currencyHasBeenSet =
false;
90 double m_estimatedMonthlyCost;
91 bool m_estimatedMonthlyCostHasBeenSet =
false;
94 bool m_totalHasBeenSet =
false;
97 bool m_typeHasBeenSet =
false;
double GetEstimatedMonthlyCost() const
AWS_INSPECTOR2_API Usage & operator=(Aws::Utils::Json::JsonView jsonValue)
const UsageType & GetType() const
Usage & WithCurrency(const Currency &value)
void SetType(const UsageType &value)
AWS_INSPECTOR2_API Usage()
Usage & WithCurrency(Currency &&value)
void SetCurrency(Currency &&value)
bool EstimatedMonthlyCostHasBeenSet() const
bool CurrencyHasBeenSet() const
void SetCurrency(const Currency &value)
Usage & WithTotal(double value)
Usage & WithType(const UsageType &value)
void SetEstimatedMonthlyCost(double value)
AWS_INSPECTOR2_API Usage(Aws::Utils::Json::JsonView jsonValue)
const Currency & GetCurrency() const
bool TotalHasBeenSet() const
void SetTotal(double value)
void SetType(UsageType &&value)
bool TypeHasBeenSet() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
Usage & WithType(UsageType &&value)
Usage & WithEstimatedMonthlyCost(double value)
Aws::Utils::Json::JsonValue JsonValue