7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/CurrencyCodeValues.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/ResponseMetadata.h>
12#include <aws/ec2/model/Purchase.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
47 template<
typename ClientTokenT = Aws::String>
48 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
49 template<
typename ClientTokenT = Aws::String>
69 template<
typename PurchaseT = Aws::Vector<Purchase>>
70 void SetPurchase(PurchaseT&& value) { m_purchaseHasBeenSet =
true; m_purchase = std::forward<PurchaseT>(value); }
71 template<
typename PurchaseT = Aws::Vector<Purchase>>
73 template<
typename PurchaseT = Purchase>
82 template<
typename TotalHourlyPriceT = Aws::String>
83 void SetTotalHourlyPrice(TotalHourlyPriceT&& value) { m_totalHourlyPriceHasBeenSet =
true; m_totalHourlyPrice = std::forward<TotalHourlyPriceT>(value); }
84 template<
typename TotalHourlyPriceT = Aws::String>
94 template<
typename TotalUpfrontPriceT = Aws::String>
95 void SetTotalUpfrontPrice(TotalUpfrontPriceT&& value) { m_totalUpfrontPriceHasBeenSet =
true; m_totalUpfrontPrice = std::forward<TotalUpfrontPriceT>(value); }
96 template<
typename TotalUpfrontPriceT = Aws::String>
103 template<
typename ResponseMetadataT = ResponseMetadata>
104 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
105 template<
typename ResponseMetadataT = ResponseMetadata>
111 bool m_clientTokenHasBeenSet =
false;
114 bool m_currencyCodeHasBeenSet =
false;
117 bool m_purchaseHasBeenSet =
false;
120 bool m_totalHourlyPriceHasBeenSet =
false;
123 bool m_totalUpfrontPriceHasBeenSet =
false;
125 ResponseMetadata m_responseMetadata;
126 bool m_responseMetadataHasBeenSet =
false;
void SetPurchase(PurchaseT &&value)
const Aws::String & GetTotalHourlyPrice() const
const Aws::String & GetTotalUpfrontPrice() const
void SetTotalHourlyPrice(TotalHourlyPriceT &&value)
PurchaseHostReservationResponse & WithTotalUpfrontPrice(TotalUpfrontPriceT &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetCurrencyCode(CurrencyCodeValues value)
PurchaseHostReservationResponse & WithTotalHourlyPrice(TotalHourlyPriceT &&value)
void SetTotalUpfrontPrice(TotalUpfrontPriceT &&value)
AWS_EC2_API PurchaseHostReservationResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CurrencyCodeValues GetCurrencyCode() const
PurchaseHostReservationResponse & WithCurrencyCode(CurrencyCodeValues value)
PurchaseHostReservationResponse & WithResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API PurchaseHostReservationResponse()=default
PurchaseHostReservationResponse & AddPurchase(PurchaseT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::Vector< Purchase > & GetPurchase() const
void SetResponseMetadata(ResponseMetadataT &&value)
const Aws::String & GetClientToken() const
PurchaseHostReservationResponse & WithClientToken(ClientTokenT &&value)
AWS_EC2_API PurchaseHostReservationResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
PurchaseHostReservationResponse & WithPurchase(PurchaseT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument