7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/Currency.h>
9#include <aws/inspector2/model/UsageType.h>
36 AWS_INSPECTOR2_API
Usage() =
default;
58 inline void SetEstimatedMonthlyCost(
double value) { m_estimatedMonthlyCostHasBeenSet =
true; m_estimatedMonthlyCost = value; }
66 inline double GetTotal()
const {
return m_total; }
68 inline void SetTotal(
double value) { m_totalHasBeenSet =
true; m_total = value; }
84 bool m_currencyHasBeenSet =
false;
86 double m_estimatedMonthlyCost{0.0};
87 bool m_estimatedMonthlyCostHasBeenSet =
false;
90 bool m_totalHasBeenSet =
false;
93 bool m_typeHasBeenSet =
false;
void SetType(UsageType value)
double GetEstimatedMonthlyCost() const
AWS_INSPECTOR2_API Usage & operator=(Aws::Utils::Json::JsonView jsonValue)
UsageType GetType() const
bool EstimatedMonthlyCostHasBeenSet() const
bool CurrencyHasBeenSet() const
Usage & WithTotal(double value)
void SetEstimatedMonthlyCost(double value)
Usage & WithCurrency(Currency value)
AWS_INSPECTOR2_API Usage(Aws::Utils::Json::JsonView jsonValue)
Currency GetCurrency() const
bool TotalHasBeenSet() const
void SetTotal(double value)
bool TypeHasBeenSet() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API Usage()=default
void SetCurrency(Currency value)
Usage & WithType(UsageType value)
Usage & WithEstimatedMonthlyCost(double value)
Aws::Utils::Json::JsonValue JsonValue