7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/CloudProvider.h>
9#include <aws/inspector2/model/Currency.h>
10#include <aws/inspector2/model/UsageType.h>
32 AWS_INSPECTOR2_API
Usage() =
default;
44 m_typeHasBeenSet =
true;
57 inline double GetTotal()
const {
return m_total; }
60 m_totalHasBeenSet =
true;
76 m_estimatedMonthlyCostHasBeenSet =
true;
77 m_estimatedMonthlyCost = value;
92 m_currencyHasBeenSet =
true;
108 m_cloudProviderHasBeenSet =
true;
109 m_cloudProvider = value;
121 double m_estimatedMonthlyCost{0.0};
126 bool m_typeHasBeenSet =
false;
127 bool m_totalHasBeenSet =
false;
128 bool m_estimatedMonthlyCostHasBeenSet =
false;
129 bool m_currencyHasBeenSet =
false;
130 bool m_cloudProviderHasBeenSet =
false;
void SetType(UsageType value)
double GetEstimatedMonthlyCost() const
AWS_INSPECTOR2_API Usage & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CloudProviderHasBeenSet() const
UsageType GetType() const
void SetCloudProvider(CloudProvider value)
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)
CloudProvider GetCloudProvider() const
Usage & WithType(UsageType value)
Usage & WithEstimatedMonthlyCost(double value)
Usage & WithCloudProvider(CloudProvider value)
Aws::Utils::Json::JsonValue JsonValue