7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/PricingUnit.h>
9#include <aws/lightsail/model/Currency.h>
10#include <aws/lightsail/model/TimePeriod.h>
49 inline void SetUsageCost(
double value) { m_usageCostHasBeenSet =
true; m_usageCost = value; }
70 inline double GetUnit()
const{
return m_unit; }
72 inline void SetUnit(
double value) { m_unitHasBeenSet =
true; m_unit = value; }
83 inline void SetCurrency(
Currency&& value) { m_currencyHasBeenSet =
true; m_currency = std::move(value); }
103 bool m_usageCostHasBeenSet =
false;
106 bool m_pricingUnitHasBeenSet =
false;
109 bool m_unitHasBeenSet =
false;
112 bool m_currencyHasBeenSet =
false;
115 bool m_timePeriodHasBeenSet =
false;
AWS_LIGHTSAIL_API EstimateByTime()
const PricingUnit & GetPricingUnit() const
EstimateByTime & WithUnit(double value)
AWS_LIGHTSAIL_API EstimateByTime(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API EstimateByTime & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUsageCost(double value)
void SetPricingUnit(const PricingUnit &value)
EstimateByTime & WithCurrency(Currency &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
bool CurrencyHasBeenSet() const
void SetPricingUnit(PricingUnit &&value)
void SetCurrency(Currency &&value)
EstimateByTime & WithCurrency(const Currency &value)
bool UsageCostHasBeenSet() const
void SetUnit(double value)
bool UnitHasBeenSet() const
EstimateByTime & WithPricingUnit(const PricingUnit &value)
const Currency & GetCurrency() const
bool TimePeriodHasBeenSet() const
EstimateByTime & WithUsageCost(double value)
void SetTimePeriod(TimePeriod &&value)
EstimateByTime & WithPricingUnit(PricingUnit &&value)
EstimateByTime & WithTimePeriod(const TimePeriod &value)
const TimePeriod & GetTimePeriod() const
bool PricingUnitHasBeenSet() const
EstimateByTime & WithTimePeriod(TimePeriod &&value)
double GetUsageCost() const
void SetTimePeriod(const TimePeriod &value)
void SetCurrency(const Currency &value)
Aws::Utils::Json::JsonValue JsonValue