7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
30 inline virtual const char*
GetServiceRequestName()
const override {
return "RejectCapacityReservationBillingOwnership"; }
48 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
60 inline void SetCapacityReservationId(
const char* value) { m_capacityReservationIdHasBeenSet =
true; m_capacityReservationId.assign(value); }
68 bool m_dryRunHasBeenSet =
false;
71 bool m_capacityReservationIdHasBeenSet =
false;
const Aws::String & GetCapacityReservationId() const
bool DryRunHasBeenSet() const
void SetCapacityReservationId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
RejectCapacityReservationBillingOwnershipRequest & WithCapacityReservationId(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
RejectCapacityReservationBillingOwnershipRequest & WithDryRun(bool value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetCapacityReservationId(const char *value)
bool CapacityReservationIdHasBeenSet() const
RejectCapacityReservationBillingOwnershipRequest & WithCapacityReservationId(Aws::String &&value)
void SetCapacityReservationId(Aws::String &&value)
RejectCapacityReservationBillingOwnershipRequest & WithCapacityReservationId(const char *value)
void SetDryRun(bool value)
AWS_EC2_API RejectCapacityReservationBillingOwnershipRequest()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String