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>
66 inline void SetTotalTargetCapacity(
int value) { m_totalTargetCapacityHasBeenSet =
true; m_totalTargetCapacity = value; }
86 inline void SetSpotTargetCapacity(
int value) { m_spotTargetCapacityHasBeenSet =
true; m_spotTargetCapacity = value; }
117 int m_totalTargetCapacity;
118 bool m_totalTargetCapacityHasBeenSet =
false;
120 int m_onDemandTargetCapacity;
121 bool m_onDemandTargetCapacityHasBeenSet =
false;
123 int m_spotTargetCapacity;
124 bool m_spotTargetCapacityHasBeenSet =
false;
127 bool m_defaultTargetCapacityTypeHasBeenSet =
false;
130 bool m_targetCapacityUnitTypeHasBeenSet =
false;
const TargetCapacityUnitType & GetTargetCapacityUnitType() const
bool SpotTargetCapacityHasBeenSet() const
bool TargetCapacityUnitTypeHasBeenSet() const
TargetCapacitySpecificationRequest & WithDefaultTargetCapacityType(DefaultTargetCapacityType &&value)
void SetOnDemandTargetCapacity(int value)
const DefaultTargetCapacityType & GetDefaultTargetCapacityType() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
int GetTotalTargetCapacity() const
TargetCapacitySpecificationRequest & WithSpotTargetCapacity(int value)
void SetTargetCapacityUnitType(const TargetCapacityUnitType &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetSpotTargetCapacity(int value)
void SetTargetCapacityUnitType(TargetCapacityUnitType &&value)
bool OnDemandTargetCapacityHasBeenSet() const
TargetCapacitySpecificationRequest & WithTargetCapacityUnitType(TargetCapacityUnitType &&value)
void SetDefaultTargetCapacityType(const DefaultTargetCapacityType &value)
int GetSpotTargetCapacity() const
AWS_EC2_API TargetCapacitySpecificationRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
TargetCapacitySpecificationRequest & WithOnDemandTargetCapacity(int value)
bool DefaultTargetCapacityTypeHasBeenSet() const
AWS_EC2_API TargetCapacitySpecificationRequest()
TargetCapacitySpecificationRequest & WithTotalTargetCapacity(int value)
TargetCapacitySpecificationRequest & WithTargetCapacityUnitType(const TargetCapacityUnitType &value)
TargetCapacitySpecificationRequest & WithDefaultTargetCapacityType(const DefaultTargetCapacityType &value)
void SetTotalTargetCapacity(int value)
void SetDefaultTargetCapacityType(DefaultTargetCapacityType &&value)
bool TotalTargetCapacityHasBeenSet() const
AWS_EC2_API TargetCapacitySpecificationRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
int GetOnDemandTargetCapacity() const
DefaultTargetCapacityType
std::basic_ostream< char, std::char_traits< char > > OStream