7#include <aws/freetier/FreeTier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename ServiceT = Aws::String>
49 void SetService(ServiceT&& value) { m_serviceHasBeenSet =
true; m_service = std::forward<ServiceT>(value); }
50 template<
typename ServiceT = Aws::String>
62 template<
typename OperationT = Aws::String>
63 void SetOperation(OperationT&& value) { m_operationHasBeenSet =
true; m_operation = std::forward<OperationT>(value); }
64 template<
typename OperationT = Aws::String>
75 template<
typename UsageTypeT = Aws::String>
76 void SetUsageType(UsageTypeT&& value) { m_usageTypeHasBeenSet =
true; m_usageType = std::forward<UsageTypeT>(value); }
77 template<
typename UsageTypeT = Aws::String>
88 template<
typename RegionT = Aws::String>
89 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
90 template<
typename RegionT = Aws::String>
101 inline void SetActualUsageAmount(
double value) { m_actualUsageAmountHasBeenSet =
true; m_actualUsageAmount = value; }
121 inline void SetLimit(
double value) { m_limitHasBeenSet =
true; m_limit = value; }
132 template<
typename UnitT = Aws::String>
133 void SetUnit(UnitT&& value) { m_unitHasBeenSet =
true; m_unit = std::forward<UnitT>(value); }
134 template<
typename UnitT = Aws::String>
144 template<
typename DescriptionT = Aws::String>
145 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
146 template<
typename DescriptionT = Aws::String>
158 template<
typename FreeTierTypeT = Aws::String>
159 void SetFreeTierType(FreeTierTypeT&& value) { m_freeTierTypeHasBeenSet =
true; m_freeTierType = std::forward<FreeTierTypeT>(value); }
160 template<
typename FreeTierTypeT = Aws::String>
166 bool m_serviceHasBeenSet =
false;
169 bool m_operationHasBeenSet =
false;
172 bool m_usageTypeHasBeenSet =
false;
175 bool m_regionHasBeenSet =
false;
177 double m_actualUsageAmount{0.0};
178 bool m_actualUsageAmountHasBeenSet =
false;
180 double m_forecastedUsageAmount{0.0};
181 bool m_forecastedUsageAmountHasBeenSet =
false;
184 bool m_limitHasBeenSet =
false;
187 bool m_unitHasBeenSet =
false;
190 bool m_descriptionHasBeenSet =
false;
193 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