7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ScheduledInstancesLaunchSpecification.h>
12#include <aws/core/utils/UUID.h>
56 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
71 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
81 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
106 inline void SetScheduledInstanceId(
const char* value) { m_scheduledInstanceIdHasBeenSet =
true; m_scheduledInstanceId.assign(value); }
114 bool m_clientTokenHasBeenSet =
false;
117 bool m_dryRunHasBeenSet =
false;
120 bool m_instanceCountHasBeenSet =
false;
123 bool m_launchSpecificationHasBeenSet =
false;
126 bool m_scheduledInstanceIdHasBeenSet =
false;
RunScheduledInstancesRequest & WithLaunchSpecification(ScheduledInstancesLaunchSpecification &&value)
void SetLaunchSpecification(ScheduledInstancesLaunchSpecification &&value)
AWS_EC2_API RunScheduledInstancesRequest()
int GetInstanceCount() const
bool ScheduledInstanceIdHasBeenSet() const
bool ClientTokenHasBeenSet() const
RunScheduledInstancesRequest & WithScheduledInstanceId(const Aws::String &value)
RunScheduledInstancesRequest & WithClientToken(Aws::String &&value)
RunScheduledInstancesRequest & WithScheduledInstanceId(const char *value)
void SetDryRun(bool value)
void SetClientToken(const char *value)
RunScheduledInstancesRequest & WithDryRun(bool value)
bool DryRunHasBeenSet() const
const Aws::String & GetScheduledInstanceId() const
RunScheduledInstancesRequest & WithClientToken(const char *value)
RunScheduledInstancesRequest & WithScheduledInstanceId(Aws::String &&value)
const ScheduledInstancesLaunchSpecification & GetLaunchSpecification() const
bool InstanceCountHasBeenSet() const
void SetLaunchSpecification(const ScheduledInstancesLaunchSpecification &value)
void SetClientToken(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetScheduledInstanceId(const Aws::String &value)
void SetClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
bool LaunchSpecificationHasBeenSet() const
void SetScheduledInstanceId(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
RunScheduledInstancesRequest & WithLaunchSpecification(const ScheduledInstancesLaunchSpecification &value)
void SetInstanceCount(int value)
RunScheduledInstancesRequest & WithClientToken(const Aws::String &value)
void SetScheduledInstanceId(const char *value)
RunScheduledInstancesRequest & WithInstanceCount(int value)
const Aws::String & GetClientToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String