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;
49 inline void SetClientToken(
const char* value) { m_clientToken.assign(value); }
void SetCurrencyCode(const CurrencyCodeValues &value)
PurchaseHostReservationResponse & WithResponseMetadata(ResponseMetadata &&value)
PurchaseHostReservationResponse & WithTotalHourlyPrice(const char *value)
void SetTotalUpfrontPrice(const char *value)
void SetTotalUpfrontPrice(const Aws::String &value)
void SetTotalHourlyPrice(Aws::String &&value)
PurchaseHostReservationResponse & AddPurchase(Purchase &&value)
const Aws::String & GetTotalHourlyPrice() const
const Aws::String & GetTotalUpfrontPrice() const
PurchaseHostReservationResponse & WithClientToken(const char *value)
PurchaseHostReservationResponse & AddPurchase(const Purchase &value)
AWS_EC2_API PurchaseHostReservationResponse()
const ResponseMetadata & GetResponseMetadata() const
PurchaseHostReservationResponse & WithClientToken(Aws::String &&value)
void SetClientToken(const Aws::String &value)
AWS_EC2_API PurchaseHostReservationResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetTotalHourlyPrice(const Aws::String &value)
PurchaseHostReservationResponse & WithTotalHourlyPrice(Aws::String &&value)
const CurrencyCodeValues & GetCurrencyCode() const
void SetTotalUpfrontPrice(Aws::String &&value)
PurchaseHostReservationResponse & WithCurrencyCode(CurrencyCodeValues &&value)
void SetPurchase(Aws::Vector< Purchase > &&value)
void SetClientToken(Aws::String &&value)
const Aws::Vector< Purchase > & GetPurchase() const
PurchaseHostReservationResponse & WithClientToken(const Aws::String &value)
PurchaseHostReservationResponse & WithPurchase(Aws::Vector< Purchase > &&value)
void SetPurchase(const Aws::Vector< Purchase > &value)
PurchaseHostReservationResponse & WithTotalHourlyPrice(const Aws::String &value)
PurchaseHostReservationResponse & WithTotalUpfrontPrice(const char *value)
void SetResponseMetadata(const ResponseMetadata &value)
PurchaseHostReservationResponse & WithPurchase(const Aws::Vector< Purchase > &value)
void SetResponseMetadata(ResponseMetadata &&value)
PurchaseHostReservationResponse & WithCurrencyCode(const CurrencyCodeValues &value)
PurchaseHostReservationResponse & WithResponseMetadata(const ResponseMetadata &value)
void SetCurrencyCode(CurrencyCodeValues &&value)
PurchaseHostReservationResponse & WithTotalUpfrontPrice(const Aws::String &value)
const Aws::String & GetClientToken() const
void SetTotalHourlyPrice(const char *value)
PurchaseHostReservationResponse & WithTotalUpfrontPrice(Aws::String &&value)
AWS_EC2_API PurchaseHostReservationResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetClientToken(const char *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