7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/CurrencyCodeValues.h>
47 inline long long GetTerm()
const{
return m_term; }
49 inline void SetTerm(
long long value) { m_termHasBeenSet =
true; m_term = value; }
57 inline double GetPrice()
const{
return m_price; }
59 inline void SetPrice(
double value) { m_priceHasBeenSet =
true; m_price = value; }
78 bool m_termHasBeenSet =
false;
81 bool m_priceHasBeenSet =
false;
84 bool m_currencyCodeHasBeenSet =
false;
const CurrencyCodeValues & GetCurrencyCode() const
PriceScheduleSpecification & WithCurrencyCode(const CurrencyCodeValues &value)
AWS_EC2_API PriceScheduleSpecification()
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
PriceScheduleSpecification & WithTerm(long long value)
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)
void SetCurrencyCode(CurrencyCodeValues &&value)
AWS_EC2_API PriceScheduleSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCurrencyCode(const CurrencyCodeValues &value)
PriceScheduleSpecification & WithCurrencyCode(CurrencyCodeValues &&value)
bool CurrencyCodeHasBeenSet() const
void SetPrice(double value)
bool TermHasBeenSet() const
std::basic_ostream< char, std::char_traits< char > > OStream