7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/freetier/FreeTier_EXPORTS.h>
42 template <
typename ServiceT = Aws::String>
44 m_serviceHasBeenSet =
true;
45 m_service = std::forward<ServiceT>(value);
47 template <
typename ServiceT = Aws::String>
62 template <
typename OperationT = Aws::String>
64 m_operationHasBeenSet =
true;
65 m_operation = std::forward<OperationT>(value);
67 template <
typename OperationT = Aws::String>
81 template <
typename UsageTypeT = Aws::String>
83 m_usageTypeHasBeenSet =
true;
84 m_usageType = std::forward<UsageTypeT>(value);
86 template <
typename UsageTypeT = Aws::String>
100 template <
typename RegionT = Aws::String>
102 m_regionHasBeenSet =
true;
103 m_region = std::forward<RegionT>(value);
105 template <
typename RegionT = Aws::String>
120 m_actualUsageAmountHasBeenSet =
true;
121 m_actualUsageAmount = value;
136 m_forecastedUsageAmountHasBeenSet =
true;
137 m_forecastedUsageAmount = value;
152 m_limitHasBeenSet =
true;
168 template <
typename UnitT = Aws::String>
170 m_unitHasBeenSet =
true;
171 m_unit = std::forward<UnitT>(value);
173 template <
typename UnitT = Aws::String>
175 SetUnit(std::forward<UnitT>(value));
186 template <
typename DescriptionT = Aws::String>
188 m_descriptionHasBeenSet =
true;
189 m_description = std::forward<DescriptionT>(value);
191 template <
typename DescriptionT = Aws::String>
206 template <
typename FreeTierTypeT = Aws::String>
208 m_freeTierTypeHasBeenSet =
true;
209 m_freeTierType = std::forward<FreeTierTypeT>(value);
211 template <
typename FreeTierTypeT = Aws::String>
226 double m_actualUsageAmount{0.0};
228 double m_forecastedUsageAmount{0.0};
237 bool m_serviceHasBeenSet =
false;
238 bool m_operationHasBeenSet =
false;
239 bool m_usageTypeHasBeenSet =
false;
240 bool m_regionHasBeenSet =
false;
241 bool m_actualUsageAmountHasBeenSet =
false;
242 bool m_forecastedUsageAmountHasBeenSet =
false;
243 bool m_limitHasBeenSet =
false;
244 bool m_unitHasBeenSet =
false;
245 bool m_descriptionHasBeenSet =
false;
246 bool m_freeTierTypeHasBeenSet =
false;
void SetLimit(double value)
bool UnitHasBeenSet() const
AWS_FREETIER_API FreeTierUsage(Aws::Utils::Json::JsonView jsonValue)
FreeTierUsage & WithDescription(DescriptionT &&value)
void SetForecastedUsageAmount(double value)
FreeTierUsage & WithFreeTierType(FreeTierTypeT &&value)
double GetActualUsageAmount() const
const Aws::String & GetService() const
FreeTierUsage & WithRegion(RegionT &&value)
AWS_FREETIER_API FreeTierUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ActualUsageAmountHasBeenSet() const
FreeTierUsage & WithService(ServiceT &&value)
const Aws::String & GetRegion() const
double GetForecastedUsageAmount() const
FreeTierUsage & WithUnit(UnitT &&value)
bool FreeTierTypeHasBeenSet() const
FreeTierUsage & WithForecastedUsageAmount(double value)
FreeTierUsage & WithUsageType(UsageTypeT &&value)
const Aws::String & GetUnit() const
void SetService(ServiceT &&value)
bool ForecastedUsageAmountHasBeenSet() const
void SetUnit(UnitT &&value)
bool RegionHasBeenSet() const
bool LimitHasBeenSet() const
void SetUsageType(UsageTypeT &&value)
FreeTierUsage & WithActualUsageAmount(double value)
void SetOperation(OperationT &&value)
const Aws::String & GetFreeTierType() const
FreeTierUsage & WithLimit(double value)
const Aws::String & GetUsageType() const
const Aws::String & GetOperation() const
void SetFreeTierType(FreeTierTypeT &&value)
AWS_FREETIER_API Aws::Utils::Json::JsonValue Jsonize() const
FreeTierUsage & WithOperation(OperationT &&value)
void SetDescription(DescriptionT &&value)
bool ServiceHasBeenSet() const
const Aws::String & GetDescription() const
void SetRegion(RegionT &&value)
void SetActualUsageAmount(double value)
bool OperationHasBeenSet() const
bool UsageTypeHasBeenSet() const
bool DescriptionHasBeenSet() const
AWS_FREETIER_API FreeTierUsage()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue