7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/CurrencyCodeValues.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/TagSpecification.h>
53 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
103 inline void SetLimitPrice(
const char* value) { m_limitPriceHasBeenSet =
true; m_limitPrice.assign(value); }
117 inline void SetOfferingId(
const char* value) { m_offeringIdHasBeenSet =
true; m_offeringId.assign(value); }
139 bool m_clientTokenHasBeenSet =
false;
142 bool m_currencyCodeHasBeenSet =
false;
145 bool m_hostIdSetHasBeenSet =
false;
148 bool m_limitPriceHasBeenSet =
false;
151 bool m_offeringIdHasBeenSet =
false;
154 bool m_tagSpecificationsHasBeenSet =
false;
void SetOfferingId(const char *value)
PurchaseHostReservationRequest & AddHostIdSet(const Aws::String &value)
PurchaseHostReservationRequest & AddHostIdSet(Aws::String &&value)
bool OfferingIdHasBeenSet() const
AWS_EC2_API PurchaseHostReservationRequest()
const Aws::String & GetLimitPrice() const
void SetLimitPrice(const char *value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
PurchaseHostReservationRequest & WithOfferingId(const Aws::String &value)
PurchaseHostReservationRequest & AddTagSpecifications(const TagSpecification &value)
void SetOfferingId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetHostIdSet() const
void SetOfferingId(Aws::String &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
PurchaseHostReservationRequest & WithClientToken(Aws::String &&value)
PurchaseHostReservationRequest & AddTagSpecifications(TagSpecification &&value)
void SetLimitPrice(Aws::String &&value)
const Aws::String & GetOfferingId() const
virtual const char * GetServiceRequestName() const override
PurchaseHostReservationRequest & WithLimitPrice(Aws::String &&value)
bool CurrencyCodeHasBeenSet() const
void SetClientToken(const char *value)
PurchaseHostReservationRequest & WithCurrencyCode(CurrencyCodeValues &&value)
void SetHostIdSet(const Aws::Vector< Aws::String > &value)
bool LimitPriceHasBeenSet() const
PurchaseHostReservationRequest & WithCurrencyCode(const CurrencyCodeValues &value)
void SetLimitPrice(const Aws::String &value)
void SetHostIdSet(Aws::Vector< Aws::String > &&value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
PurchaseHostReservationRequest & WithClientToken(const Aws::String &value)
bool ClientTokenHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
PurchaseHostReservationRequest & WithHostIdSet(const Aws::Vector< Aws::String > &value)
PurchaseHostReservationRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
AWS_EC2_API Aws::String SerializePayload() const override
PurchaseHostReservationRequest & WithHostIdSet(Aws::Vector< Aws::String > &&value)
PurchaseHostReservationRequest & WithLimitPrice(const Aws::String &value)
PurchaseHostReservationRequest & WithOfferingId(const char *value)
PurchaseHostReservationRequest & AddHostIdSet(const char *value)
void SetCurrencyCode(const CurrencyCodeValues &value)
void SetCurrencyCode(CurrencyCodeValues &&value)
PurchaseHostReservationRequest & WithClientToken(const char *value)
bool TagSpecificationsHasBeenSet() const
PurchaseHostReservationRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
PurchaseHostReservationRequest & WithLimitPrice(const char *value)
void SetClientToken(Aws::String &&value)
const CurrencyCodeValues & GetCurrencyCode() const
const Aws::String & GetClientToken() const
void SetClientToken(const Aws::String &value)
bool HostIdSetHasBeenSet() const
PurchaseHostReservationRequest & WithOfferingId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector