7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/UUID.h>
31 inline virtual const char*
GetServiceRequestName()
const override {
return "MoveCapacityReservationInstances"; }
49 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
64 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
79 inline void SetSourceCapacityReservationId(
const char* value) { m_sourceCapacityReservationIdHasBeenSet =
true; m_sourceCapacityReservationId.assign(value); }
106 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
112 bool m_dryRunHasBeenSet =
false;
115 bool m_clientTokenHasBeenSet =
false;
118 bool m_sourceCapacityReservationIdHasBeenSet =
false;
121 bool m_destinationCapacityReservationIdHasBeenSet =
false;
124 bool m_instanceCountHasBeenSet =
false;
MoveCapacityReservationInstancesRequest & WithDestinationCapacityReservationId(const char *value)
MoveCapacityReservationInstancesRequest & WithDryRun(bool value)
void SetDestinationCapacityReservationId(Aws::String &&value)
void SetClientToken(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetDryRun(bool value)
bool SourceCapacityReservationIdHasBeenSet() const
MoveCapacityReservationInstancesRequest & WithInstanceCount(int value)
MoveCapacityReservationInstancesRequest & WithSourceCapacityReservationId(const Aws::String &value)
void SetSourceCapacityReservationId(Aws::String &&value)
void SetClientToken(const char *value)
bool InstanceCountHasBeenSet() const
MoveCapacityReservationInstancesRequest & WithSourceCapacityReservationId(Aws::String &&value)
void SetDestinationCapacityReservationId(const char *value)
bool DestinationCapacityReservationIdHasBeenSet() const
const Aws::String & GetSourceCapacityReservationId() const
bool ClientTokenHasBeenSet() const
MoveCapacityReservationInstancesRequest & WithClientToken(const Aws::String &value)
MoveCapacityReservationInstancesRequest & WithDestinationCapacityReservationId(const Aws::String &value)
MoveCapacityReservationInstancesRequest & WithClientToken(Aws::String &&value)
void SetSourceCapacityReservationId(const char *value)
void SetInstanceCount(int value)
void SetSourceCapacityReservationId(const Aws::String &value)
AWS_EC2_API MoveCapacityReservationInstancesRequest()
virtual const char * GetServiceRequestName() const override
bool DryRunHasBeenSet() const
MoveCapacityReservationInstancesRequest & WithSourceCapacityReservationId(const char *value)
const Aws::String & GetDestinationCapacityReservationId() const
void SetDestinationCapacityReservationId(const Aws::String &value)
MoveCapacityReservationInstancesRequest & WithDestinationCapacityReservationId(Aws::String &&value)
int GetInstanceCount() const
const Aws::String & GetClientToken() const
void SetClientToken(Aws::String &&value)
MoveCapacityReservationInstancesRequest & WithClientToken(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String