7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.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/ec2/model/ReservationFleetInstanceSpecification.h>
15#include <aws/ec2/model/TagSpecification.h>
17#include <aws/core/utils/UUID.h>
59 inline void SetAllocationStrategy(
const char* value) { m_allocationStrategyHasBeenSet =
true; m_allocationStrategy.assign(value); }
76 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
191 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
197 bool m_allocationStrategyHasBeenSet =
false;
200 bool m_clientTokenHasBeenSet =
false;
203 bool m_instanceTypeSpecificationsHasBeenSet =
false;
206 bool m_tenancyHasBeenSet =
false;
208 int m_totalTargetCapacity;
209 bool m_totalTargetCapacityHasBeenSet =
false;
212 bool m_endDateHasBeenSet =
false;
215 bool m_instanceMatchCriteriaHasBeenSet =
false;
218 bool m_tagSpecificationsHasBeenSet =
false;
221 bool m_dryRunHasBeenSet =
false;
bool AllocationStrategyHasBeenSet() const
void SetClientToken(const Aws::String &value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateCapacityReservationFleetRequest & WithTotalTargetCapacity(int value)
CreateCapacityReservationFleetRequest & WithInstanceTypeSpecifications(Aws::Vector< ReservationFleetInstanceSpecification > &&value)
const FleetCapacityReservationTenancy & GetTenancy() const
CreateCapacityReservationFleetRequest & WithDryRun(bool value)
void SetTotalTargetCapacity(int value)
const Aws::Vector< ReservationFleetInstanceSpecification > & GetInstanceTypeSpecifications() const
bool ClientTokenHasBeenSet() const
CreateCapacityReservationFleetRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateCapacityReservationFleetRequest & WithClientToken(Aws::String &&value)
const Aws::String & GetAllocationStrategy() const
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateCapacityReservationFleetRequest & WithInstanceMatchCriteria(const FleetInstanceMatchCriteria &value)
CreateCapacityReservationFleetRequest & AddInstanceTypeSpecifications(ReservationFleetInstanceSpecification &&value)
void SetInstanceMatchCriteria(const FleetInstanceMatchCriteria &value)
CreateCapacityReservationFleetRequest & WithAllocationStrategy(const char *value)
bool TenancyHasBeenSet() const
const FleetInstanceMatchCriteria & GetInstanceMatchCriteria() const
void SetTenancy(const FleetCapacityReservationTenancy &value)
CreateCapacityReservationFleetRequest & WithClientToken(const char *value)
bool TotalTargetCapacityHasBeenSet() const
CreateCapacityReservationFleetRequest & WithTenancy(const FleetCapacityReservationTenancy &value)
AWS_EC2_API CreateCapacityReservationFleetRequest()
CreateCapacityReservationFleetRequest & WithAllocationStrategy(Aws::String &&value)
CreateCapacityReservationFleetRequest & AddTagSpecifications(const TagSpecification &value)
const Aws::String & GetClientToken() const
CreateCapacityReservationFleetRequest & AddInstanceTypeSpecifications(const ReservationFleetInstanceSpecification &value)
void SetDryRun(bool value)
CreateCapacityReservationFleetRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetClientToken(Aws::String &&value)
CreateCapacityReservationFleetRequest & WithInstanceTypeSpecifications(const Aws::Vector< ReservationFleetInstanceSpecification > &value)
int GetTotalTargetCapacity() const
void SetEndDate(Aws::Utils::DateTime &&value)
bool TagSpecificationsHasBeenSet() const
void SetClientToken(const char *value)
void SetAllocationStrategy(const char *value)
void SetInstanceTypeSpecifications(Aws::Vector< ReservationFleetInstanceSpecification > &&value)
void SetTenancy(FleetCapacityReservationTenancy &&value)
virtual const char * GetServiceRequestName() const override
void SetInstanceMatchCriteria(FleetInstanceMatchCriteria &&value)
void SetEndDate(const Aws::Utils::DateTime &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateCapacityReservationFleetRequest & WithEndDate(Aws::Utils::DateTime &&value)
CreateCapacityReservationFleetRequest & WithEndDate(const Aws::Utils::DateTime &value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetAllocationStrategy(const Aws::String &value)
void SetAllocationStrategy(Aws::String &&value)
CreateCapacityReservationFleetRequest & WithClientToken(const Aws::String &value)
bool DryRunHasBeenSet() const
bool InstanceMatchCriteriaHasBeenSet() const
CreateCapacityReservationFleetRequest & WithTenancy(FleetCapacityReservationTenancy &&value)
bool EndDateHasBeenSet() const
bool InstanceTypeSpecificationsHasBeenSet() const
CreateCapacityReservationFleetRequest & WithInstanceMatchCriteria(FleetInstanceMatchCriteria &&value)
const Aws::Utils::DateTime & GetEndDate() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateCapacityReservationFleetRequest & WithAllocationStrategy(const Aws::String &value)
CreateCapacityReservationFleetRequest & AddTagSpecifications(TagSpecification &&value)
void SetInstanceTypeSpecifications(const Aws::Vector< ReservationFleetInstanceSpecification > &value)
FleetCapacityReservationTenancy
FleetInstanceMatchCriteria
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector