7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/InstanceType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/Placement.h>
12#include <aws/ec2/model/InstanceRequirementsRequest.h>
73 inline void SetMaxPrice(
const char* value) { m_maxPriceHasBeenSet =
true; m_maxPrice.assign(value); }
90 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
104 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
126 inline void SetWeightedCapacity(
double value) { m_weightedCapacityHasBeenSet =
true; m_weightedCapacity = value; }
147 inline void SetPriority(
double value) { m_priorityHasBeenSet =
true; m_priority = value; }
205 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
213 bool m_instanceTypeHasBeenSet =
false;
216 bool m_maxPriceHasBeenSet =
false;
219 bool m_subnetIdHasBeenSet =
false;
222 bool m_availabilityZoneHasBeenSet =
false;
224 double m_weightedCapacity;
225 bool m_weightedCapacityHasBeenSet =
false;
228 bool m_priorityHasBeenSet =
false;
231 bool m_placementHasBeenSet =
false;
234 bool m_instanceRequirementsHasBeenSet =
false;
237 bool m_imageIdHasBeenSet =
false;
FleetLaunchTemplateOverridesRequest & WithPlacement(Placement &&value)
bool SubnetIdHasBeenSet() const
bool InstanceTypeHasBeenSet() const
FleetLaunchTemplateOverridesRequest & WithMaxPrice(const Aws::String &value)
bool PriorityHasBeenSet() const
bool PlacementHasBeenSet() const
void SetSubnetId(Aws::String &&value)
void SetAvailabilityZone(const Aws::String &value)
const InstanceRequirementsRequest & GetInstanceRequirements() const
FleetLaunchTemplateOverridesRequest & WithImageId(Aws::String &&value)
void SetImageId(const char *value)
void SetInstanceType(const InstanceType &value)
bool MaxPriceHasBeenSet() const
FleetLaunchTemplateOverridesRequest & WithSubnetId(const char *value)
void SetSubnetId(const Aws::String &value)
void SetPlacement(Placement &&value)
void SetInstanceType(InstanceType &&value)
bool WeightedCapacityHasBeenSet() const
FleetLaunchTemplateOverridesRequest & WithImageId(const Aws::String &value)
FleetLaunchTemplateOverridesRequest & WithImageId(const char *value)
void SetMaxPrice(const Aws::String &value)
FleetLaunchTemplateOverridesRequest & WithPlacement(const Placement &value)
void SetMaxPrice(const char *value)
FleetLaunchTemplateOverridesRequest & WithInstanceRequirements(InstanceRequirementsRequest &&value)
const Aws::String & GetImageId() const
FleetLaunchTemplateOverridesRequest & WithAvailabilityZone(const char *value)
FleetLaunchTemplateOverridesRequest & WithSubnetId(Aws::String &&value)
bool AvailabilityZoneHasBeenSet() const
void SetMaxPrice(Aws::String &&value)
FleetLaunchTemplateOverridesRequest & WithInstanceRequirements(const InstanceRequirementsRequest &value)
double GetPriority() const
FleetLaunchTemplateOverridesRequest & WithMaxPrice(const char *value)
const Aws::String & GetSubnetId() const
FleetLaunchTemplateOverridesRequest & WithWeightedCapacity(double value)
FleetLaunchTemplateOverridesRequest & WithInstanceType(InstanceType &&value)
const Placement & GetPlacement() const
void SetAvailabilityZone(const char *value)
FleetLaunchTemplateOverridesRequest & WithAvailabilityZone(Aws::String &&value)
FleetLaunchTemplateOverridesRequest & WithPriority(double value)
bool InstanceRequirementsHasBeenSet() const
void SetPlacement(const Placement &value)
void SetInstanceRequirements(InstanceRequirementsRequest &&value)
void SetImageId(Aws::String &&value)
void SetSubnetId(const char *value)
FleetLaunchTemplateOverridesRequest & WithMaxPrice(Aws::String &&value)
AWS_EC2_API FleetLaunchTemplateOverridesRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAvailabilityZone(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetInstanceRequirements(const InstanceRequirementsRequest &value)
FleetLaunchTemplateOverridesRequest & WithInstanceType(const InstanceType &value)
void SetImageId(const Aws::String &value)
FleetLaunchTemplateOverridesRequest & WithSubnetId(const Aws::String &value)
AWS_EC2_API FleetLaunchTemplateOverridesRequest()
const InstanceType & GetInstanceType() const
const Aws::String & GetAvailabilityZone() const
void SetWeightedCapacity(double value)
void SetPriority(double value)
const Aws::String & GetMaxPrice() const
FleetLaunchTemplateOverridesRequest & WithAvailabilityZone(const Aws::String &value)
double GetWeightedCapacity() const
bool ImageIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API FleetLaunchTemplateOverridesRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream