7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/CurrencyCodeValues.h>
55 inline void SetActive(
bool value) { m_activeHasBeenSet =
true; m_active = value; }
76 inline double GetPrice()
const{
return m_price; }
78 inline void SetPrice(
double value) { m_priceHasBeenSet =
true; m_price = value; }
87 inline long long GetTerm()
const{
return m_term; }
89 inline void SetTerm(
long long value) { m_termHasBeenSet =
true; m_term = value; }
95 bool m_activeHasBeenSet =
false;
98 bool m_currencyCodeHasBeenSet =
false;
101 bool m_priceHasBeenSet =
false;
104 bool m_termHasBeenSet =
false;
void SetCurrencyCode(CurrencyCodeValues &&value)
PriceSchedule & WithCurrencyCode(CurrencyCodeValues &&value)
AWS_EC2_API PriceSchedule()
PriceSchedule & WithPrice(double value)
bool CurrencyCodeHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetCurrencyCode(const CurrencyCodeValues &value)
long long GetTerm() const
const CurrencyCodeValues & GetCurrencyCode() const
AWS_EC2_API PriceSchedule(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TermHasBeenSet() const
bool ActiveHasBeenSet() const
void SetActive(bool value)
PriceSchedule & WithCurrencyCode(const CurrencyCodeValues &value)
void SetTerm(long long value)
bool PriceHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PriceSchedule & WithActive(bool value)
PriceSchedule & WithTerm(long long value)
AWS_EC2_API PriceSchedule & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPrice(double value)
std::basic_ostream< char, std::char_traits< char > > OStream