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/ec2/model/CapacityReservationInstancePlatform.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
83 inline void SetWeight(
double value) { m_weightHasBeenSet =
true; m_weight = value; }
98 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
115 inline void SetAvailabilityZoneId(
const char* value) { m_availabilityZoneIdHasBeenSet =
true; m_availabilityZoneId.assign(value); }
131 inline void SetEbsOptimized(
bool value) { m_ebsOptimizedHasBeenSet =
true; m_ebsOptimized = value; }
145 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
151 bool m_instanceTypeHasBeenSet =
false;
154 bool m_instancePlatformHasBeenSet =
false;
157 bool m_weightHasBeenSet =
false;
160 bool m_availabilityZoneHasBeenSet =
false;
163 bool m_availabilityZoneIdHasBeenSet =
false;
166 bool m_ebsOptimizedHasBeenSet =
false;
169 bool m_priorityHasBeenSet =
false;
AWS_EC2_API ReservationFleetInstanceSpecification()
void SetInstanceType(InstanceType &&value)
ReservationFleetInstanceSpecification & WithInstancePlatform(CapacityReservationInstancePlatform &&value)
const CapacityReservationInstancePlatform & GetInstancePlatform() const
bool GetEbsOptimized() const
bool EbsOptimizedHasBeenSet() const
void SetAvailabilityZoneId(Aws::String &&value)
bool InstancePlatformHasBeenSet() const
void SetWeight(double value)
ReservationFleetInstanceSpecification & WithAvailabilityZone(const Aws::String &value)
ReservationFleetInstanceSpecification & WithPriority(int value)
ReservationFleetInstanceSpecification & WithInstanceType(const InstanceType &value)
ReservationFleetInstanceSpecification & WithWeight(double value)
void SetInstancePlatform(CapacityReservationInstancePlatform &&value)
void SetAvailabilityZone(Aws::String &&value)
ReservationFleetInstanceSpecification & WithEbsOptimized(bool value)
AWS_EC2_API ReservationFleetInstanceSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ReservationFleetInstanceSpecification & WithAvailabilityZoneId(Aws::String &&value)
ReservationFleetInstanceSpecification & WithAvailabilityZone(const char *value)
ReservationFleetInstanceSpecification & WithAvailabilityZone(Aws::String &&value)
ReservationFleetInstanceSpecification & WithAvailabilityZoneId(const char *value)
void SetAvailabilityZone(const Aws::String &value)
bool InstanceTypeHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
bool WeightHasBeenSet() const
void SetEbsOptimized(bool value)
const Aws::String & GetAvailabilityZoneId() const
const Aws::String & GetAvailabilityZone() const
ReservationFleetInstanceSpecification & WithInstanceType(InstanceType &&value)
void SetPriority(int value)
void SetAvailabilityZoneId(const char *value)
AWS_EC2_API ReservationFleetInstanceSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
const InstanceType & GetInstanceType() const
bool PriorityHasBeenSet() const
void SetAvailabilityZone(const char *value)
void SetAvailabilityZoneId(const Aws::String &value)
void SetInstanceType(const InstanceType &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ReservationFleetInstanceSpecification & WithAvailabilityZoneId(const Aws::String &value)
ReservationFleetInstanceSpecification & WithInstancePlatform(const CapacityReservationInstancePlatform &value)
void SetInstancePlatform(const CapacityReservationInstancePlatform &value)
bool AvailabilityZoneIdHasBeenSet() const
CapacityReservationInstancePlatform
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream