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/CapacityReservationFleetState.h>
11#include <aws/ec2/model/FleetCapacityReservationTenancy.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/ec2/model/FleetInstanceMatchCriteria.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/ec2/model/FleetCapacityReservation.h>
16#include <aws/ec2/model/Tag.h>
57 inline void SetCapacityReservationFleetId(
const char* value) { m_capacityReservationFleetIdHasBeenSet =
true; m_capacityReservationFleetId.assign(value); }
71 inline void SetCapacityReservationFleetArn(
const char* value) { m_capacityReservationFleetArnHasBeenSet =
true; m_capacityReservationFleetArn.assign(value); }
207 inline void SetAllocationStrategy(
const char* value) { m_allocationStrategyHasBeenSet =
true; m_allocationStrategy.assign(value); }
243 bool m_capacityReservationFleetIdHasBeenSet =
false;
246 bool m_capacityReservationFleetArnHasBeenSet =
false;
249 bool m_stateHasBeenSet =
false;
251 int m_totalTargetCapacity;
252 bool m_totalTargetCapacityHasBeenSet =
false;
254 double m_totalFulfilledCapacity;
255 bool m_totalFulfilledCapacityHasBeenSet =
false;
258 bool m_tenancyHasBeenSet =
false;
261 bool m_endDateHasBeenSet =
false;
264 bool m_createTimeHasBeenSet =
false;
267 bool m_instanceMatchCriteriaHasBeenSet =
false;
270 bool m_allocationStrategyHasBeenSet =
false;
273 bool m_instanceTypeSpecificationsHasBeenSet =
false;
276 bool m_tagsHasBeenSet =
false;
int GetTotalTargetCapacity() const
bool TotalTargetCapacityHasBeenSet() const
CapacityReservationFleet & WithState(const CapacityReservationFleetState &value)
void SetInstanceMatchCriteria(const FleetInstanceMatchCriteria &value)
bool CapacityReservationFleetIdHasBeenSet() const
CapacityReservationFleet & WithAllocationStrategy(const Aws::String &value)
CapacityReservationFleet & WithCapacityReservationFleetArn(Aws::String &&value)
void SetCapacityReservationFleetId(Aws::String &&value)
const Aws::Vector< FleetCapacityReservation > & GetInstanceTypeSpecifications() const
CapacityReservationFleet & WithTags(Aws::Vector< Tag > &&value)
CapacityReservationFleet & AddInstanceTypeSpecifications(const FleetCapacityReservation &value)
void SetCapacityReservationFleetArn(const char *value)
CapacityReservationFleet & WithCreateTime(const Aws::Utils::DateTime &value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetAllocationStrategy() const
void SetCapacityReservationFleetId(const Aws::String &value)
void SetAllocationStrategy(const Aws::String &value)
void SetState(CapacityReservationFleetState &&value)
CapacityReservationFleet & WithTotalFulfilledCapacity(double value)
bool TenancyHasBeenSet() const
bool AllocationStrategyHasBeenSet() const
void SetCreateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreateTime() const
void SetAllocationStrategy(const char *value)
CapacityReservationFleet & WithCapacityReservationFleetArn(const Aws::String &value)
void SetTenancy(const FleetCapacityReservationTenancy &value)
CapacityReservationFleet & WithCapacityReservationFleetArn(const char *value)
CapacityReservationFleet & WithEndDate(Aws::Utils::DateTime &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CapacityReservationFleet & WithInstanceMatchCriteria(const FleetInstanceMatchCriteria &value)
void SetTotalTargetCapacity(int value)
const CapacityReservationFleetState & GetState() const
void SetEndDate(Aws::Utils::DateTime &&value)
const Aws::String & GetCapacityReservationFleetId() const
bool TotalFulfilledCapacityHasBeenSet() const
double GetTotalFulfilledCapacity() const
CapacityReservationFleet & WithTenancy(FleetCapacityReservationTenancy &&value)
void SetTags(Aws::Vector< Tag > &&value)
void SetAllocationStrategy(Aws::String &&value)
CapacityReservationFleet & AddTags(const Tag &value)
bool InstanceTypeSpecificationsHasBeenSet() const
void SetCapacityReservationFleetArn(Aws::String &&value)
CapacityReservationFleet & WithAllocationStrategy(Aws::String &&value)
CapacityReservationFleet & WithState(CapacityReservationFleetState &&value)
CapacityReservationFleet & WithInstanceMatchCriteria(FleetInstanceMatchCriteria &&value)
bool InstanceMatchCriteriaHasBeenSet() const
void SetCapacityReservationFleetArn(const Aws::String &value)
void SetCapacityReservationFleetId(const char *value)
CapacityReservationFleet & WithCreateTime(Aws::Utils::DateTime &&value)
CapacityReservationFleet & WithTenancy(const FleetCapacityReservationTenancy &value)
CapacityReservationFleet & AddTags(Tag &&value)
CapacityReservationFleet & WithCapacityReservationFleetId(const char *value)
CapacityReservationFleet & AddInstanceTypeSpecifications(FleetCapacityReservation &&value)
const FleetInstanceMatchCriteria & GetInstanceMatchCriteria() const
void SetInstanceMatchCriteria(FleetInstanceMatchCriteria &&value)
const FleetCapacityReservationTenancy & GetTenancy() const
void SetTags(const Aws::Vector< Tag > &value)
AWS_EC2_API CapacityReservationFleet()
CapacityReservationFleet & WithInstanceTypeSpecifications(const Aws::Vector< FleetCapacityReservation > &value)
bool TagsHasBeenSet() const
CapacityReservationFleet & WithCapacityReservationFleetId(const Aws::String &value)
AWS_EC2_API CapacityReservationFleet(const Aws::Utils::Xml::XmlNode &xmlNode)
CapacityReservationFleet & WithInstanceTypeSpecifications(Aws::Vector< FleetCapacityReservation > &&value)
CapacityReservationFleet & WithTotalTargetCapacity(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTotalFulfilledCapacity(double value)
void SetTenancy(FleetCapacityReservationTenancy &&value)
void SetInstanceTypeSpecifications(const Aws::Vector< FleetCapacityReservation > &value)
void SetState(const CapacityReservationFleetState &value)
bool StateHasBeenSet() const
const Aws::Utils::DateTime & GetEndDate() const
void SetEndDate(const Aws::Utils::DateTime &value)
bool CapacityReservationFleetArnHasBeenSet() const
CapacityReservationFleet & WithEndDate(const Aws::Utils::DateTime &value)
const Aws::String & GetCapacityReservationFleetArn() const
CapacityReservationFleet & WithTags(const Aws::Vector< Tag > &value)
AWS_EC2_API CapacityReservationFleet & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetInstanceTypeSpecifications(Aws::Vector< FleetCapacityReservation > &&value)
CapacityReservationFleet & WithAllocationStrategy(const char *value)
bool EndDateHasBeenSet() const
void SetCreateTime(Aws::Utils::DateTime &&value)
bool CreateTimeHasBeenSet() const
CapacityReservationFleet & WithCapacityReservationFleetId(Aws::String &&value)
FleetCapacityReservationTenancy
FleetInstanceMatchCriteria
CapacityReservationFleetState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream