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>
51 template<
typename ClientTokenT = Aws::String>
52 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
53 template<
typename ClientTokenT = Aws::String>
76 template<
typename HostIdSetT = Aws::Vector<Aws::String>>
77 void SetHostIdSet(HostIdSetT&& value) { m_hostIdSetHasBeenSet =
true; m_hostIdSet = std::forward<HostIdSetT>(value); }
78 template<
typename HostIdSetT = Aws::Vector<Aws::String>>
80 template<
typename HostIdSetT = Aws::String>
96 template<
typename LimitPriceT = Aws::String>
97 void SetLimitPrice(LimitPriceT&& value) { m_limitPriceHasBeenSet =
true; m_limitPrice = std::forward<LimitPriceT>(value); }
98 template<
typename LimitPriceT = Aws::String>
108 template<
typename OfferingIdT = Aws::String>
109 void SetOfferingId(OfferingIdT&& value) { m_offeringIdHasBeenSet =
true; m_offeringId = std::forward<OfferingIdT>(value); }
110 template<
typename OfferingIdT = Aws::String>
120 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
121 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
122 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
124 template<
typename TagSpecificationsT = TagSpecification>
130 bool m_clientTokenHasBeenSet =
false;
133 bool m_currencyCodeHasBeenSet =
false;
136 bool m_hostIdSetHasBeenSet =
false;
139 bool m_limitPriceHasBeenSet =
false;
142 bool m_offeringIdHasBeenSet =
false;
145 bool m_tagSpecificationsHasBeenSet =
false;
PurchaseHostReservationRequest & WithCurrencyCode(CurrencyCodeValues value)
bool OfferingIdHasBeenSet() const
PurchaseHostReservationRequest & WithLimitPrice(LimitPriceT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetLimitPrice() const
void SetCurrencyCode(CurrencyCodeValues value)
const Aws::Vector< Aws::String > & GetHostIdSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetHostIdSet(HostIdSetT &&value)
const Aws::String & GetOfferingId() const
virtual const char * GetServiceRequestName() const override
bool CurrencyCodeHasBeenSet() const
void SetTagSpecifications(TagSpecificationsT &&value)
bool LimitPriceHasBeenSet() const
AWS_EC2_API PurchaseHostReservationRequest()=default
PurchaseHostReservationRequest & AddHostIdSet(HostIdSetT &&value)
bool ClientTokenHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
PurchaseHostReservationRequest & WithTagSpecifications(TagSpecificationsT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
PurchaseHostReservationRequest & WithHostIdSet(HostIdSetT &&value)
void SetOfferingId(OfferingIdT &&value)
PurchaseHostReservationRequest & WithClientToken(ClientTokenT &&value)
CurrencyCodeValues GetCurrencyCode() const
void SetLimitPrice(LimitPriceT &&value)
bool TagSpecificationsHasBeenSet() const
PurchaseHostReservationRequest & AddTagSpecifications(TagSpecificationsT &&value)
PurchaseHostReservationRequest & WithOfferingId(OfferingIdT &&value)
const Aws::String & GetClientToken() const
bool HostIdSetHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector