7#include <aws/freetier/FreeTier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetActualUsageAmount(
double value) { m_actualUsageAmountHasBeenSet =
true; m_actualUsageAmount = value; }
60 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
72 inline void SetForecastedUsageAmount(
double value) { m_forecastedUsageAmountHasBeenSet =
true; m_forecastedUsageAmount = value; }
86 inline void SetFreeTierType(
const char* value) { m_freeTierTypeHasBeenSet =
true; m_freeTierType.assign(value); }
96 inline double GetLimit()
const{
return m_limit; }
98 inline void SetLimit(
double value) { m_limitHasBeenSet =
true; m_limit = value; }
112 inline void SetOperation(
const char* value) { m_operationHasBeenSet =
true; m_operation.assign(value); }
127 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
142 inline void SetService(
const char* value) { m_serviceHasBeenSet =
true; m_service.assign(value); }
157 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
172 inline void SetUsageType(
const char* value) { m_usageTypeHasBeenSet =
true; m_usageType.assign(value); }
179 double m_actualUsageAmount;
180 bool m_actualUsageAmountHasBeenSet =
false;
183 bool m_descriptionHasBeenSet =
false;
185 double m_forecastedUsageAmount;
186 bool m_forecastedUsageAmountHasBeenSet =
false;
189 bool m_freeTierTypeHasBeenSet =
false;
192 bool m_limitHasBeenSet =
false;
195 bool m_operationHasBeenSet =
false;
198 bool m_regionHasBeenSet =
false;
201 bool m_serviceHasBeenSet =
false;
204 bool m_unitHasBeenSet =
false;
207 bool m_usageTypeHasBeenSet =
false;
void SetLimit(double value)
bool UnitHasBeenSet() const
FreeTierUsage & WithRegion(Aws::String &&value)
AWS_FREETIER_API FreeTierUsage(Aws::Utils::Json::JsonView jsonValue)
void SetOperation(const char *value)
void SetForecastedUsageAmount(double value)
FreeTierUsage & WithUsageType(Aws::String &&value)
FreeTierUsage & WithService(Aws::String &&value)
double GetActualUsageAmount() const
void SetFreeTierType(const char *value)
FreeTierUsage & WithFreeTierType(const char *value)
FreeTierUsage & WithFreeTierType(const Aws::String &value)
FreeTierUsage & WithUnit(Aws::String &&value)
void SetDescription(const Aws::String &value)
FreeTierUsage & WithUsageType(const Aws::String &value)
const Aws::String & GetService() const
void SetRegion(Aws::String &&value)
AWS_FREETIER_API FreeTierUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ActualUsageAmountHasBeenSet() const
void SetRegion(const Aws::String &value)
void SetUsageType(const char *value)
void SetUnit(Aws::String &&value)
void SetUnit(const Aws::String &value)
const Aws::String & GetRegion() const
double GetForecastedUsageAmount() const
FreeTierUsage & WithDescription(const Aws::String &value)
FreeTierUsage & WithFreeTierType(Aws::String &&value)
bool FreeTierTypeHasBeenSet() const
FreeTierUsage & WithForecastedUsageAmount(double value)
const Aws::String & GetUnit() const
FreeTierUsage & WithOperation(Aws::String &&value)
bool ForecastedUsageAmountHasBeenSet() const
FreeTierUsage & WithRegion(const char *value)
void SetFreeTierType(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetService(Aws::String &&value)
FreeTierUsage & WithUnit(const Aws::String &value)
AWS_FREETIER_API FreeTierUsage()
bool RegionHasBeenSet() const
FreeTierUsage & WithUsageType(const char *value)
bool LimitHasBeenSet() const
FreeTierUsage & WithActualUsageAmount(double value)
void SetService(const Aws::String &value)
const Aws::String & GetFreeTierType() const
FreeTierUsage & WithService(const Aws::String &value)
void SetService(const char *value)
FreeTierUsage & WithLimit(double value)
const Aws::String & GetUsageType() const
void SetDescription(const char *value)
void SetOperation(const Aws::String &value)
FreeTierUsage & WithDescription(Aws::String &&value)
FreeTierUsage & WithOperation(const Aws::String &value)
void SetUsageType(const Aws::String &value)
FreeTierUsage & WithDescription(const char *value)
const Aws::String & GetOperation() const
void SetUsageType(Aws::String &&value)
AWS_FREETIER_API Aws::Utils::Json::JsonValue Jsonize() const
FreeTierUsage & WithRegion(const Aws::String &value)
void SetUnit(const char *value)
bool ServiceHasBeenSet() const
void SetFreeTierType(Aws::String &&value)
void SetRegion(const char *value)
FreeTierUsage & WithUnit(const char *value)
const Aws::String & GetDescription() const
FreeTierUsage & WithService(const char *value)
FreeTierUsage & WithOperation(const char *value)
void SetActualUsageAmount(double value)
bool OperationHasBeenSet() const
bool UsageTypeHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetOperation(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue