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; }
74 inline double GetPrice()
const {
return m_price; }
76 inline void SetPrice(
double value) { m_priceHasBeenSet =
true; m_price = value; }
85 inline long long GetTerm()
const {
return m_term; }
87 inline void SetTerm(
long long value) { m_termHasBeenSet =
true; m_term = value; }
93 bool m_activeHasBeenSet =
false;
96 bool m_currencyCodeHasBeenSet =
false;
99 bool m_priceHasBeenSet =
false;
102 bool m_termHasBeenSet =
false;
PriceSchedule & WithPrice(double value)
bool CurrencyCodeHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PriceSchedule & WithCurrencyCode(CurrencyCodeValues value)
void SetCurrencyCode(CurrencyCodeValues value)
long long GetTerm() const
CurrencyCodeValues GetCurrencyCode() const
AWS_EC2_API PriceSchedule(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TermHasBeenSet() const
bool ActiveHasBeenSet() const
AWS_EC2_API PriceSchedule()=default
void SetActive(bool 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