7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/CurrencyCodeValues.h>
41 inline long long GetTerm()
const {
return m_term; }
44 m_termHasBeenSet =
true;
57 inline double GetPrice()
const {
return m_price; }
60 m_priceHasBeenSet =
true;
77 m_currencyCodeHasBeenSet =
true;
78 m_currencyCode = value;
91 bool m_termHasBeenSet =
false;
92 bool m_priceHasBeenSet =
false;
93 bool m_currencyCodeHasBeenSet =
false;
PriceScheduleSpecification & WithCurrencyCode(CurrencyCodeValues value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PriceScheduleSpecification & WithPrice(double value)
void SetTerm(long long value)
bool PriceHasBeenSet() const
long long GetTerm() const
void SetCurrencyCode(CurrencyCodeValues value)
AWS_EC2_API PriceScheduleSpecification()=default
PriceScheduleSpecification & WithTerm(long long value)
CurrencyCodeValues GetCurrencyCode() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API PriceScheduleSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API PriceScheduleSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool CurrencyCodeHasBeenSet() const
void SetPrice(double value)
bool TermHasBeenSet() const
std::basic_ostream< char, std::char_traits< char > > OStream