7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/CurrencyCodeValues.h>
11#include <aws/ec2/model/PaymentOption.h>
46 m_currencyCodeHasBeenSet =
true;
47 m_currencyCode = value;
62 m_durationHasBeenSet =
true;
77 template <
typename HourlyPriceT = Aws::String>
79 m_hourlyPriceHasBeenSet =
true;
80 m_hourlyPrice = std::forward<HourlyPriceT>(value);
82 template <
typename HourlyPriceT = Aws::String>
95 template <
typename InstanceFamilyT = Aws::String>
97 m_instanceFamilyHasBeenSet =
true;
98 m_instanceFamily = std::forward<InstanceFamilyT>(value);
100 template <
typename InstanceFamilyT = Aws::String>
113 template <
typename OfferingIdT = Aws::String>
115 m_offeringIdHasBeenSet =
true;
116 m_offeringId = std::forward<OfferingIdT>(value);
118 template <
typename OfferingIdT = Aws::String>
132 m_paymentOptionHasBeenSet =
true;
133 m_paymentOption = value;
148 template <
typename UpfrontPriceT = Aws::String>
150 m_upfrontPriceHasBeenSet =
true;
151 m_upfrontPrice = std::forward<UpfrontPriceT>(value);
153 template <
typename UpfrontPriceT = Aws::String>
173 bool m_currencyCodeHasBeenSet =
false;
174 bool m_durationHasBeenSet =
false;
175 bool m_hourlyPriceHasBeenSet =
false;
176 bool m_instanceFamilyHasBeenSet =
false;
177 bool m_offeringIdHasBeenSet =
false;
178 bool m_paymentOptionHasBeenSet =
false;
179 bool m_upfrontPriceHasBeenSet =
false;
PaymentOption GetPaymentOption() const
AWS_EC2_API HostOffering & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PaymentOptionHasBeenSet() const
HostOffering & WithOfferingId(OfferingIdT &&value)
HostOffering & WithUpfrontPrice(UpfrontPriceT &&value)
AWS_EC2_API HostOffering()=default
const Aws::String & GetUpfrontPrice() const
const Aws::String & GetOfferingId() const
HostOffering & WithHourlyPrice(HourlyPriceT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
HostOffering & WithDuration(int value)
bool CurrencyCodeHasBeenSet() const
void SetUpfrontPrice(UpfrontPriceT &&value)
const Aws::String & GetInstanceFamily() const
void SetOfferingId(OfferingIdT &&value)
CurrencyCodeValues GetCurrencyCode() const
void SetPaymentOption(PaymentOption value)
bool InstanceFamilyHasBeenSet() const
void SetHourlyPrice(HourlyPriceT &&value)
AWS_EC2_API HostOffering(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetInstanceFamily(InstanceFamilyT &&value)
HostOffering & WithPaymentOption(PaymentOption value)
void SetDuration(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool OfferingIdHasBeenSet() const
void SetCurrencyCode(CurrencyCodeValues value)
bool DurationHasBeenSet() const
bool UpfrontPriceHasBeenSet() const
HostOffering & WithCurrencyCode(CurrencyCodeValues value)
bool HourlyPriceHasBeenSet() const
HostOffering & WithInstanceFamily(InstanceFamilyT &&value)
const Aws::String & GetHourlyPrice() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream