7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/InstanceType.h>
11#include <aws/ec2/model/CapacityReservationInstancePlatform.h>
12#include <aws/core/utils/DateTime.h>
54 inline void SetCapacityReservationId(
const char* value) { m_capacityReservationIdHasBeenSet =
true; m_capacityReservationId.assign(value); }
69 inline void SetAvailabilityZoneId(
const char* value) { m_availabilityZoneIdHasBeenSet =
true; m_availabilityZoneId.assign(value); }
109 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
122 inline void SetTotalInstanceCount(
int value) { m_totalInstanceCountHasBeenSet =
true; m_totalInstanceCount = value; }
135 inline void SetFulfilledCapacity(
double value) { m_fulfilledCapacityHasBeenSet =
true; m_fulfilledCapacity = value; }
146 inline void SetEbsOptimized(
bool value) { m_ebsOptimizedHasBeenSet =
true; m_ebsOptimized = value; }
171 inline void SetWeight(
double value) { m_weightHasBeenSet =
true; m_weight = value; }
184 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
190 bool m_capacityReservationIdHasBeenSet =
false;
193 bool m_availabilityZoneIdHasBeenSet =
false;
196 bool m_instanceTypeHasBeenSet =
false;
199 bool m_instancePlatformHasBeenSet =
false;
202 bool m_availabilityZoneHasBeenSet =
false;
204 int m_totalInstanceCount;
205 bool m_totalInstanceCountHasBeenSet =
false;
207 double m_fulfilledCapacity;
208 bool m_fulfilledCapacityHasBeenSet =
false;
211 bool m_ebsOptimizedHasBeenSet =
false;
214 bool m_createDateHasBeenSet =
false;
217 bool m_weightHasBeenSet =
false;
220 bool m_priorityHasBeenSet =
false;
FleetCapacityReservation & WithTotalInstanceCount(int value)
const InstanceType & GetInstanceType() const
FleetCapacityReservation & WithEbsOptimized(bool value)
FleetCapacityReservation & WithInstanceType(const InstanceType &value)
AWS_EC2_API FleetCapacityReservation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FleetCapacityReservation & WithAvailabilityZoneId(Aws::String &&value)
FleetCapacityReservation & WithWeight(double value)
bool CreateDateHasBeenSet() const
bool PriorityHasBeenSet() const
const Aws::String & GetAvailabilityZoneId() const
bool GetEbsOptimized() const
void SetInstancePlatform(CapacityReservationInstancePlatform &&value)
void SetAvailabilityZoneId(const char *value)
void SetEbsOptimized(bool value)
bool AvailabilityZoneHasBeenSet() const
void SetCapacityReservationId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
FleetCapacityReservation & WithFulfilledCapacity(double value)
bool AvailabilityZoneIdHasBeenSet() const
void SetAvailabilityZoneId(Aws::String &&value)
bool InstanceTypeHasBeenSet() const
void SetInstancePlatform(const CapacityReservationInstancePlatform &value)
bool CapacityReservationIdHasBeenSet() const
bool WeightHasBeenSet() const
FleetCapacityReservation & WithInstancePlatform(const CapacityReservationInstancePlatform &value)
FleetCapacityReservation & WithAvailabilityZone(Aws::String &&value)
FleetCapacityReservation & WithAvailabilityZoneId(const char *value)
FleetCapacityReservation & WithAvailabilityZone(const char *value)
bool EbsOptimizedHasBeenSet() const
void SetInstanceType(InstanceType &&value)
FleetCapacityReservation & WithCreateDate(const Aws::Utils::DateTime &value)
const CapacityReservationInstancePlatform & GetInstancePlatform() const
AWS_EC2_API FleetCapacityReservation(const Aws::Utils::Xml::XmlNode &xmlNode)
FleetCapacityReservation & WithCapacityReservationId(Aws::String &&value)
void SetCapacityReservationId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreateDate() const
void SetWeight(double value)
void SetInstanceType(const InstanceType &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
FleetCapacityReservation & WithAvailabilityZoneId(const Aws::String &value)
bool TotalInstanceCountHasBeenSet() const
AWS_EC2_API FleetCapacityReservation()
void SetAvailabilityZoneId(const Aws::String &value)
void SetPriority(int value)
FleetCapacityReservation & WithPriority(int value)
double GetFulfilledCapacity() const
void SetAvailabilityZone(Aws::String &&value)
const Aws::String & GetAvailabilityZone() const
bool InstancePlatformHasBeenSet() const
void SetCreateDate(const Aws::Utils::DateTime &value)
void SetFulfilledCapacity(double value)
void SetAvailabilityZone(const char *value)
void SetCreateDate(Aws::Utils::DateTime &&value)
FleetCapacityReservation & WithCapacityReservationId(const char *value)
FleetCapacityReservation & WithCreateDate(Aws::Utils::DateTime &&value)
void SetAvailabilityZone(const Aws::String &value)
const Aws::String & GetCapacityReservationId() const
FleetCapacityReservation & WithInstancePlatform(CapacityReservationInstancePlatform &&value)
int GetTotalInstanceCount() const
bool FulfilledCapacityHasBeenSet() const
FleetCapacityReservation & WithCapacityReservationId(const Aws::String &value)
void SetTotalInstanceCount(int value)
FleetCapacityReservation & WithAvailabilityZone(const Aws::String &value)
FleetCapacityReservation & WithInstanceType(InstanceType &&value)
void SetCapacityReservationId(const char *value)
CapacityReservationInstancePlatform
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream