7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/DefaultTargetCapacityType.h>
10#include <aws/ec2/model/TargetCapacityUnitType.h>
64 inline void SetTotalTargetCapacity(
int value) { m_totalTargetCapacityHasBeenSet =
true; m_totalTargetCapacity = value; }
86 inline void SetSpotTargetCapacity(
int value) { m_spotTargetCapacityHasBeenSet =
true; m_spotTargetCapacity = value; }
115 int m_totalTargetCapacity;
116 bool m_totalTargetCapacityHasBeenSet =
false;
118 int m_onDemandTargetCapacity;
119 bool m_onDemandTargetCapacityHasBeenSet =
false;
121 int m_spotTargetCapacity;
122 bool m_spotTargetCapacityHasBeenSet =
false;
125 bool m_defaultTargetCapacityTypeHasBeenSet =
false;
128 bool m_targetCapacityUnitTypeHasBeenSet =
false;
int GetTotalTargetCapacity() const
AWS_EC2_API TargetCapacitySpecification()
TargetCapacitySpecification & WithDefaultTargetCapacityType(DefaultTargetCapacityType &&value)
AWS_EC2_API TargetCapacitySpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
bool DefaultTargetCapacityTypeHasBeenSet() const
void SetOnDemandTargetCapacity(int value)
const DefaultTargetCapacityType & GetDefaultTargetCapacityType() const
TargetCapacitySpecification & WithOnDemandTargetCapacity(int value)
TargetCapacitySpecification & WithSpotTargetCapacity(int value)
TargetCapacitySpecification & WithDefaultTargetCapacityType(const DefaultTargetCapacityType &value)
void SetDefaultTargetCapacityType(const DefaultTargetCapacityType &value)
bool OnDemandTargetCapacityHasBeenSet() const
bool SpotTargetCapacityHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTargetCapacityUnitType(TargetCapacityUnitType &&value)
void SetTargetCapacityUnitType(const TargetCapacityUnitType &value)
int GetSpotTargetCapacity() const
const TargetCapacityUnitType & GetTargetCapacityUnitType() const
bool TotalTargetCapacityHasBeenSet() const
AWS_EC2_API TargetCapacitySpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TargetCapacityUnitTypeHasBeenSet() const
void SetDefaultTargetCapacityType(DefaultTargetCapacityType &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TargetCapacitySpecification & WithTotalTargetCapacity(int value)
TargetCapacitySpecification & WithTargetCapacityUnitType(const TargetCapacityUnitType &value)
TargetCapacitySpecification & WithTargetCapacityUnitType(TargetCapacityUnitType &&value)
void SetTotalTargetCapacity(int value)
void SetSpotTargetCapacity(int value)
int GetOnDemandTargetCapacity() const
DefaultTargetCapacityType
std::basic_ostream< char, std::char_traits< char > > OStream