7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/CurrencyCodeValues.h>
12#include <aws/ec2/model/TagSpecification.h>
47 template <
typename ClientTokenT = Aws::String>
49 m_clientTokenHasBeenSet =
true;
50 m_clientToken = std::forward<ClientTokenT>(value);
52 template <
typename ClientTokenT = Aws::String>
68 m_currencyCodeHasBeenSet =
true;
69 m_currencyCode = value;
84 template <
typename HostIdSetT = Aws::Vector<Aws::String>>
86 m_hostIdSetHasBeenSet =
true;
87 m_hostIdSet = std::forward<HostIdSetT>(value);
89 template <
typename HostIdSetT = Aws::Vector<Aws::String>>
94 template <
typename HostIdSetT = Aws::String>
96 m_hostIdSetHasBeenSet =
true;
97 m_hostIdSet.emplace_back(std::forward<HostIdSetT>(value));
114 template <
typename LimitPriceT = Aws::String>
116 m_limitPriceHasBeenSet =
true;
117 m_limitPrice = std::forward<LimitPriceT>(value);
119 template <
typename LimitPriceT = Aws::String>
132 template <
typename OfferingIdT = Aws::String>
134 m_offeringIdHasBeenSet =
true;
135 m_offeringId = std::forward<OfferingIdT>(value);
137 template <
typename OfferingIdT = Aws::String>
150 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
152 m_tagSpecificationsHasBeenSet =
true;
153 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
155 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
160 template <
typename TagSpecificationsT = TagSpecification>
162 m_tagSpecificationsHasBeenSet =
true;
163 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
179 bool m_clientTokenHasBeenSet =
false;
180 bool m_currencyCodeHasBeenSet =
false;
181 bool m_hostIdSetHasBeenSet =
false;
182 bool m_limitPriceHasBeenSet =
false;
183 bool m_offeringIdHasBeenSet =
false;
184 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