7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
31 inline virtual const char*
GetServiceRequestName()
const override {
return "GetHostReservationPurchasePreview"; }
63 inline void SetOfferingId(
const char* value) { m_offeringIdHasBeenSet =
true; m_offeringId.assign(value); }
71 bool m_hostIdSetHasBeenSet =
false;
74 bool m_offeringIdHasBeenSet =
false;
bool HostIdSetHasBeenSet() const
GetHostReservationPurchasePreviewRequest & AddHostIdSet(Aws::String &&value)
GetHostReservationPurchasePreviewRequest & AddHostIdSet(const Aws::String &value)
GetHostReservationPurchasePreviewRequest & WithOfferingId(Aws::String &&value)
bool OfferingIdHasBeenSet() const
GetHostReservationPurchasePreviewRequest & WithOfferingId(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetHostIdSet(Aws::Vector< Aws::String > &&value)
AWS_EC2_API GetHostReservationPurchasePreviewRequest()
void SetOfferingId(const Aws::String &value)
void SetHostIdSet(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
void SetOfferingId(const char *value)
void SetOfferingId(Aws::String &&value)
GetHostReservationPurchasePreviewRequest & AddHostIdSet(const char *value)
GetHostReservationPurchasePreviewRequest & WithHostIdSet(const Aws::Vector< Aws::String > &value)
GetHostReservationPurchasePreviewRequest & WithOfferingId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetHostIdSet() const
GetHostReservationPurchasePreviewRequest & WithHostIdSet(Aws::Vector< Aws::String > &&value)
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::String & GetOfferingId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector