7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/Currency.h>
9#include <aws/inspector2/model/UsageType.h>
31 AWS_INSPECTOR2_API
Usage() =
default;
43 m_typeHasBeenSet =
true;
56 inline double GetTotal()
const {
return m_total; }
59 m_totalHasBeenSet =
true;
75 m_estimatedMonthlyCostHasBeenSet =
true;
76 m_estimatedMonthlyCost = value;
91 m_currencyHasBeenSet =
true;
104 double m_estimatedMonthlyCost{0.0};
107 bool m_typeHasBeenSet =
false;
108 bool m_totalHasBeenSet =
false;
109 bool m_estimatedMonthlyCostHasBeenSet =
false;
110 bool m_currencyHasBeenSet =
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