7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/model/FleetExcessCapacityTerminationPolicy.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ec2/model/TargetCapacitySpecificationRequest.h>
13#include <aws/ec2/model/FleetLaunchTemplateConfigRequest.h>
52 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
92 inline void SetFleetId(
const char* value) { m_fleetIdHasBeenSet =
true; m_fleetId.assign(value); }
118 inline void SetContext(
const char* value) { m_contextHasBeenSet =
true; m_context.assign(value); }
126 bool m_dryRunHasBeenSet =
false;
129 bool m_excessCapacityTerminationPolicyHasBeenSet =
false;
132 bool m_launchTemplateConfigsHasBeenSet =
false;
135 bool m_fleetIdHasBeenSet =
false;
138 bool m_targetCapacitySpecificationHasBeenSet =
false;
141 bool m_contextHasBeenSet =
false;
ModifyFleetRequest & AddLaunchTemplateConfigs(FleetLaunchTemplateConfigRequest &&value)
AWS_EC2_API ModifyFleetRequest()
void SetLaunchTemplateConfigs(Aws::Vector< FleetLaunchTemplateConfigRequest > &&value)
void SetContext(const char *value)
ModifyFleetRequest & WithDryRun(bool value)
bool LaunchTemplateConfigsHasBeenSet() const
ModifyFleetRequest & WithContext(const char *value)
ModifyFleetRequest & WithExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy &&value)
bool TargetCapacitySpecificationHasBeenSet() const
void SetFleetId(const char *value)
bool ExcessCapacityTerminationPolicyHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyFleetRequest & WithLaunchTemplateConfigs(const Aws::Vector< FleetLaunchTemplateConfigRequest > &value)
void SetExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy &&value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyFleetRequest & WithTargetCapacitySpecification(const TargetCapacitySpecificationRequest &value)
void SetTargetCapacitySpecification(const TargetCapacitySpecificationRequest &value)
ModifyFleetRequest & AddLaunchTemplateConfigs(const FleetLaunchTemplateConfigRequest &value)
void SetFleetId(const Aws::String &value)
ModifyFleetRequest & WithFleetId(Aws::String &&value)
ModifyFleetRequest & WithLaunchTemplateConfigs(Aws::Vector< FleetLaunchTemplateConfigRequest > &&value)
void SetExcessCapacityTerminationPolicy(const FleetExcessCapacityTerminationPolicy &value)
ModifyFleetRequest & WithContext(Aws::String &&value)
const Aws::Vector< FleetLaunchTemplateConfigRequest > & GetLaunchTemplateConfigs() const
ModifyFleetRequest & WithExcessCapacityTerminationPolicy(const FleetExcessCapacityTerminationPolicy &value)
ModifyFleetRequest & WithTargetCapacitySpecification(TargetCapacitySpecificationRequest &&value)
ModifyFleetRequest & WithContext(const Aws::String &value)
bool DryRunHasBeenSet() const
void SetTargetCapacitySpecification(TargetCapacitySpecificationRequest &&value)
const FleetExcessCapacityTerminationPolicy & GetExcessCapacityTerminationPolicy() const
void SetFleetId(Aws::String &&value)
ModifyFleetRequest & WithFleetId(const char *value)
const Aws::String & GetFleetId() const
bool FleetIdHasBeenSet() const
bool ContextHasBeenSet() const
void SetLaunchTemplateConfigs(const Aws::Vector< FleetLaunchTemplateConfigRequest > &value)
ModifyFleetRequest & WithFleetId(const Aws::String &value)
void SetContext(const Aws::String &value)
void SetDryRun(bool value)
const TargetCapacitySpecificationRequest & GetTargetCapacitySpecification() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetContext() const
void SetContext(Aws::String &&value)
FleetExcessCapacityTerminationPolicy
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector