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>
11#include <aws/ec2/model/ExcessCapacityTerminationPolicy.h>
12#include <aws/ec2/model/LaunchTemplateConfig.h>
81 inline void SetContext(
const char* value) { m_contextHasBeenSet =
true; m_context.assign(value); }
95 inline void SetSpotFleetRequestId(
const char* value) { m_spotFleetRequestIdHasBeenSet =
true; m_spotFleetRequestId.assign(value); }
107 inline void SetTargetCapacity(
int value) { m_targetCapacityHasBeenSet =
true; m_targetCapacity = value; }
127 bool m_launchTemplateConfigsHasBeenSet =
false;
129 int m_onDemandTargetCapacity;
130 bool m_onDemandTargetCapacityHasBeenSet =
false;
133 bool m_contextHasBeenSet =
false;
136 bool m_spotFleetRequestIdHasBeenSet =
false;
138 int m_targetCapacity;
139 bool m_targetCapacityHasBeenSet =
false;
142 bool m_excessCapacityTerminationPolicyHasBeenSet =
false;
ModifySpotFleetRequestRequest & WithContext(Aws::String &&value)
ModifySpotFleetRequestRequest & WithContext(const char *value)
ModifySpotFleetRequestRequest & WithSpotFleetRequestId(Aws::String &&value)
ModifySpotFleetRequestRequest & WithExcessCapacityTerminationPolicy(const ExcessCapacityTerminationPolicy &value)
bool LaunchTemplateConfigsHasBeenSet() const
const ExcessCapacityTerminationPolicy & GetExcessCapacityTerminationPolicy() const
ModifySpotFleetRequestRequest & WithLaunchTemplateConfigs(Aws::Vector< LaunchTemplateConfig > &&value)
const Aws::String & GetSpotFleetRequestId() const
AWS_EC2_API ModifySpotFleetRequestRequest()
ModifySpotFleetRequestRequest & WithOnDemandTargetCapacity(int value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetContext(Aws::String &&value)
bool SpotFleetRequestIdHasBeenSet() const
bool TargetCapacityHasBeenSet() const
void SetExcessCapacityTerminationPolicy(ExcessCapacityTerminationPolicy &&value)
ModifySpotFleetRequestRequest & WithExcessCapacityTerminationPolicy(ExcessCapacityTerminationPolicy &&value)
void SetContext(const Aws::String &value)
bool OnDemandTargetCapacityHasBeenSet() const
bool ContextHasBeenSet() const
virtual const char * GetServiceRequestName() const override
int GetTargetCapacity() const
void SetExcessCapacityTerminationPolicy(const ExcessCapacityTerminationPolicy &value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifySpotFleetRequestRequest & WithLaunchTemplateConfigs(const Aws::Vector< LaunchTemplateConfig > &value)
const Aws::String & GetContext() const
bool ExcessCapacityTerminationPolicyHasBeenSet() const
void SetContext(const char *value)
void SetSpotFleetRequestId(const char *value)
void SetSpotFleetRequestId(Aws::String &&value)
void SetOnDemandTargetCapacity(int value)
void SetLaunchTemplateConfigs(const Aws::Vector< LaunchTemplateConfig > &value)
void SetLaunchTemplateConfigs(Aws::Vector< LaunchTemplateConfig > &&value)
ModifySpotFleetRequestRequest & WithContext(const Aws::String &value)
int GetOnDemandTargetCapacity() const
ModifySpotFleetRequestRequest & WithTargetCapacity(int value)
const Aws::Vector< LaunchTemplateConfig > & GetLaunchTemplateConfigs() const
ModifySpotFleetRequestRequest & AddLaunchTemplateConfigs(const LaunchTemplateConfig &value)
ModifySpotFleetRequestRequest & WithSpotFleetRequestId(const Aws::String &value)
ModifySpotFleetRequestRequest & WithSpotFleetRequestId(const char *value)
ModifySpotFleetRequestRequest & AddLaunchTemplateConfigs(LaunchTemplateConfig &&value)
void SetSpotFleetRequestId(const Aws::String &value)
void SetTargetCapacity(int value)
ExcessCapacityTerminationPolicy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector