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/PlacementResponse.h>
12#include <aws/ec2/model/InstanceRequirements.h>
73 inline void SetMaxPrice(
const char* value) { m_maxPriceHasBeenSet =
true; m_maxPrice.assign(value); }
87 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
101 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
123 inline void SetWeightedCapacity(
double value) { m_weightedCapacityHasBeenSet =
true; m_weightedCapacity = value; }
143 inline void SetPriority(
double value) { m_priorityHasBeenSet =
true; m_priority = value; }
201 inline void SetImageId(
const char* value) { m_imageIdHasBeenSet =
true; m_imageId.assign(value); }
209 bool m_instanceTypeHasBeenSet =
false;
212 bool m_maxPriceHasBeenSet =
false;
215 bool m_subnetIdHasBeenSet =
false;
218 bool m_availabilityZoneHasBeenSet =
false;
220 double m_weightedCapacity;
221 bool m_weightedCapacityHasBeenSet =
false;
224 bool m_priorityHasBeenSet =
false;
227 bool m_placementHasBeenSet =
false;
230 bool m_instanceRequirementsHasBeenSet =
false;
233 bool m_imageIdHasBeenSet =
false;
void SetInstanceType(const InstanceType &value)
bool SubnetIdHasBeenSet() const
const Aws::String & GetImageId() const
const PlacementResponse & GetPlacement() const
FleetLaunchTemplateOverrides & WithImageId(const char *value)
void SetSubnetId(Aws::String &&value)
void SetSubnetId(const char *value)
void SetWeightedCapacity(double value)
void SetMaxPrice(const char *value)
FleetLaunchTemplateOverrides & WithImageId(const Aws::String &value)
bool PriorityHasBeenSet() const
const Aws::String & GetAvailabilityZone() const
AWS_EC2_API FleetLaunchTemplateOverrides & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetSubnetId() const
void SetInstanceRequirements(InstanceRequirements &&value)
const Aws::String & GetMaxPrice() const
void SetImageId(const char *value)
void SetInstanceRequirements(const InstanceRequirements &value)
bool WeightedCapacityHasBeenSet() const
FleetLaunchTemplateOverrides & WithSubnetId(Aws::String &&value)
FleetLaunchTemplateOverrides & WithInstanceType(const InstanceType &value)
bool MaxPriceHasBeenSet() const
void SetPriority(double value)
bool AvailabilityZoneHasBeenSet() const
void SetAvailabilityZone(Aws::String &&value)
FleetLaunchTemplateOverrides & WithPriority(double value)
void SetAvailabilityZone(const char *value)
void SetSubnetId(const Aws::String &value)
bool PlacementHasBeenSet() const
void SetImageId(const Aws::String &value)
FleetLaunchTemplateOverrides & WithAvailabilityZone(Aws::String &&value)
AWS_EC2_API FleetLaunchTemplateOverrides()
FleetLaunchTemplateOverrides & WithPlacement(PlacementResponse &&value)
void SetPlacement(PlacementResponse &&value)
void SetImageId(Aws::String &&value)
void SetMaxPrice(const Aws::String &value)
double GetWeightedCapacity() const
FleetLaunchTemplateOverrides & WithSubnetId(const Aws::String &value)
void SetPlacement(const PlacementResponse &value)
bool ImageIdHasBeenSet() const
double GetPriority() const
bool InstanceRequirementsHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool InstanceTypeHasBeenSet() const
FleetLaunchTemplateOverrides & WithPlacement(const PlacementResponse &value)
const InstanceRequirements & GetInstanceRequirements() const
AWS_EC2_API FleetLaunchTemplateOverrides(const Aws::Utils::Xml::XmlNode &xmlNode)
FleetLaunchTemplateOverrides & WithMaxPrice(const Aws::String &value)
FleetLaunchTemplateOverrides & WithInstanceType(InstanceType &&value)
void SetInstanceType(InstanceType &&value)
FleetLaunchTemplateOverrides & WithSubnetId(const char *value)
FleetLaunchTemplateOverrides & WithAvailabilityZone(const char *value)
FleetLaunchTemplateOverrides & WithAvailabilityZone(const Aws::String &value)
FleetLaunchTemplateOverrides & WithMaxPrice(const char *value)
void SetAvailabilityZone(const Aws::String &value)
void SetMaxPrice(Aws::String &&value)
const InstanceType & GetInstanceType() const
FleetLaunchTemplateOverrides & WithInstanceRequirements(InstanceRequirements &&value)
FleetLaunchTemplateOverrides & WithImageId(Aws::String &&value)
FleetLaunchTemplateOverrides & WithMaxPrice(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
FleetLaunchTemplateOverrides & WithInstanceRequirements(const InstanceRequirements &value)
FleetLaunchTemplateOverrides & WithWeightedCapacity(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream