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/InstanceRequirements.h>
69 inline void SetSpotPrice(
const char* value) { m_spotPriceHasBeenSet =
true; m_spotPrice.assign(value); }
83 inline void SetSubnetId(
const char* value) { m_subnetIdHasBeenSet =
true; m_subnetId.assign(value); }
97 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
119 inline void SetWeightedCapacity(
double value) { m_weightedCapacityHasBeenSet =
true; m_weightedCapacity = value; }
140 inline void SetPriority(
double value) { m_priorityHasBeenSet =
true; m_priority = value; }
163 bool m_instanceTypeHasBeenSet =
false;
166 bool m_spotPriceHasBeenSet =
false;
169 bool m_subnetIdHasBeenSet =
false;
172 bool m_availabilityZoneHasBeenSet =
false;
174 double m_weightedCapacity;
175 bool m_weightedCapacityHasBeenSet =
false;
178 bool m_priorityHasBeenSet =
false;
181 bool m_instanceRequirementsHasBeenSet =
false;
AWS_EC2_API LaunchTemplateOverrides()
LaunchTemplateOverrides & WithInstanceRequirements(InstanceRequirements &&value)
void SetInstanceRequirements(const InstanceRequirements &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LaunchTemplateOverrides & WithSpotPrice(Aws::String &&value)
void SetWeightedCapacity(double value)
const Aws::String & GetAvailabilityZone() const
void SetInstanceRequirements(InstanceRequirements &&value)
void SetSpotPrice(const char *value)
const InstanceRequirements & GetInstanceRequirements() const
LaunchTemplateOverrides & WithInstanceType(const InstanceType &value)
LaunchTemplateOverrides & WithPriority(double value)
void SetAvailabilityZone(const char *value)
LaunchTemplateOverrides & WithInstanceRequirements(const InstanceRequirements &value)
LaunchTemplateOverrides & WithSubnetId(const Aws::String &value)
LaunchTemplateOverrides & WithAvailabilityZone(const char *value)
void SetInstanceType(const InstanceType &value)
AWS_EC2_API LaunchTemplateOverrides(const Aws::Utils::Xml::XmlNode &xmlNode)
bool InstanceRequirementsHasBeenSet() const
bool SubnetIdHasBeenSet() const
AWS_EC2_API LaunchTemplateOverrides & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetInstanceType(InstanceType &&value)
void SetSubnetId(const char *value)
LaunchTemplateOverrides & WithAvailabilityZone(const Aws::String &value)
void SetAvailabilityZone(const Aws::String &value)
void SetSpotPrice(Aws::String &&value)
LaunchTemplateOverrides & WithSpotPrice(const char *value)
void SetAvailabilityZone(Aws::String &&value)
LaunchTemplateOverrides & WithInstanceType(InstanceType &&value)
LaunchTemplateOverrides & WithWeightedCapacity(double value)
bool InstanceTypeHasBeenSet() const
LaunchTemplateOverrides & WithAvailabilityZone(Aws::String &&value)
LaunchTemplateOverrides & WithSubnetId(const char *value)
void SetSpotPrice(const Aws::String &value)
bool SpotPriceHasBeenSet() const
bool PriorityHasBeenSet() const
void SetSubnetId(const Aws::String &value)
void SetPriority(double value)
bool AvailabilityZoneHasBeenSet() const
bool WeightedCapacityHasBeenSet() const
const Aws::String & GetSubnetId() const
LaunchTemplateOverrides & WithSpotPrice(const Aws::String &value)
double GetPriority() const
const InstanceType & GetInstanceType() const
double GetWeightedCapacity() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetSubnetId(Aws::String &&value)
const Aws::String & GetSpotPrice() const
LaunchTemplateOverrides & WithSubnetId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream