AWS SDK for C++  1.9.106
AWS SDK for C++
SpotFleetRequestConfigData.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
22 #include <utility>
23 
24 namespace Aws
25 {
26 namespace Utils
27 {
28 namespace Xml
29 {
30  class XmlNode;
31 } // namespace Xml
32 } // namespace Utils
33 namespace EC2
34 {
35 namespace Model
36 {
37 
45  {
46  public:
50 
51  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
52  void OutputToStream(Aws::OStream& oStream, const char* location) const;
53 
54 
75  inline const AllocationStrategy& GetAllocationStrategy() const{ return m_allocationStrategy; }
76 
97  inline bool AllocationStrategyHasBeenSet() const { return m_allocationStrategyHasBeenSet; }
98 
119  inline void SetAllocationStrategy(const AllocationStrategy& value) { m_allocationStrategyHasBeenSet = true; m_allocationStrategy = value; }
120 
141  inline void SetAllocationStrategy(AllocationStrategy&& value) { m_allocationStrategyHasBeenSet = true; m_allocationStrategy = std::move(value); }
142 
163  inline SpotFleetRequestConfigData& WithAllocationStrategy(const AllocationStrategy& value) { SetAllocationStrategy(value); return *this;}
164 
185  inline SpotFleetRequestConfigData& WithAllocationStrategy(AllocationStrategy&& value) { SetAllocationStrategy(std::move(value)); return *this;}
186 
187 
196  inline const OnDemandAllocationStrategy& GetOnDemandAllocationStrategy() const{ return m_onDemandAllocationStrategy; }
197 
206  inline bool OnDemandAllocationStrategyHasBeenSet() const { return m_onDemandAllocationStrategyHasBeenSet; }
207 
216  inline void SetOnDemandAllocationStrategy(const OnDemandAllocationStrategy& value) { m_onDemandAllocationStrategyHasBeenSet = true; m_onDemandAllocationStrategy = value; }
217 
226  inline void SetOnDemandAllocationStrategy(OnDemandAllocationStrategy&& value) { m_onDemandAllocationStrategyHasBeenSet = true; m_onDemandAllocationStrategy = std::move(value); }
227 
236  inline SpotFleetRequestConfigData& WithOnDemandAllocationStrategy(const OnDemandAllocationStrategy& value) { SetOnDemandAllocationStrategy(value); return *this;}
237 
246  inline SpotFleetRequestConfigData& WithOnDemandAllocationStrategy(OnDemandAllocationStrategy&& value) { SetOnDemandAllocationStrategy(std::move(value)); return *this;}
247 
248 
253  inline const SpotMaintenanceStrategies& GetSpotMaintenanceStrategies() const{ return m_spotMaintenanceStrategies; }
254 
259  inline bool SpotMaintenanceStrategiesHasBeenSet() const { return m_spotMaintenanceStrategiesHasBeenSet; }
260 
265  inline void SetSpotMaintenanceStrategies(const SpotMaintenanceStrategies& value) { m_spotMaintenanceStrategiesHasBeenSet = true; m_spotMaintenanceStrategies = value; }
266 
271  inline void SetSpotMaintenanceStrategies(SpotMaintenanceStrategies&& value) { m_spotMaintenanceStrategiesHasBeenSet = true; m_spotMaintenanceStrategies = std::move(value); }
272 
277  inline SpotFleetRequestConfigData& WithSpotMaintenanceStrategies(const SpotMaintenanceStrategies& value) { SetSpotMaintenanceStrategies(value); return *this;}
278 
283  inline SpotFleetRequestConfigData& WithSpotMaintenanceStrategies(SpotMaintenanceStrategies&& value) { SetSpotMaintenanceStrategies(std::move(value)); return *this;}
284 
285 
293  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
294 
302  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
303 
311  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
312 
320  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
321 
329  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
330 
338  inline SpotFleetRequestConfigData& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
339 
347  inline SpotFleetRequestConfigData& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
348 
356  inline SpotFleetRequestConfigData& WithClientToken(const char* value) { SetClientToken(value); return *this;}
357 
358 
364  inline const ExcessCapacityTerminationPolicy& GetExcessCapacityTerminationPolicy() const{ return m_excessCapacityTerminationPolicy; }
365 
371  inline bool ExcessCapacityTerminationPolicyHasBeenSet() const { return m_excessCapacityTerminationPolicyHasBeenSet; }
372 
378  inline void SetExcessCapacityTerminationPolicy(const ExcessCapacityTerminationPolicy& value) { m_excessCapacityTerminationPolicyHasBeenSet = true; m_excessCapacityTerminationPolicy = value; }
379 
385  inline void SetExcessCapacityTerminationPolicy(ExcessCapacityTerminationPolicy&& value) { m_excessCapacityTerminationPolicyHasBeenSet = true; m_excessCapacityTerminationPolicy = std::move(value); }
386 
392  inline SpotFleetRequestConfigData& WithExcessCapacityTerminationPolicy(const ExcessCapacityTerminationPolicy& value) { SetExcessCapacityTerminationPolicy(value); return *this;}
393 
399  inline SpotFleetRequestConfigData& WithExcessCapacityTerminationPolicy(ExcessCapacityTerminationPolicy&& value) { SetExcessCapacityTerminationPolicy(std::move(value)); return *this;}
400 
401 
406  inline double GetFulfilledCapacity() const{ return m_fulfilledCapacity; }
407 
412  inline bool FulfilledCapacityHasBeenSet() const { return m_fulfilledCapacityHasBeenSet; }
413 
418  inline void SetFulfilledCapacity(double value) { m_fulfilledCapacityHasBeenSet = true; m_fulfilledCapacity = value; }
419 
424  inline SpotFleetRequestConfigData& WithFulfilledCapacity(double value) { SetFulfilledCapacity(value); return *this;}
425 
426 
431  inline double GetOnDemandFulfilledCapacity() const{ return m_onDemandFulfilledCapacity; }
432 
437  inline bool OnDemandFulfilledCapacityHasBeenSet() const { return m_onDemandFulfilledCapacityHasBeenSet; }
438 
443  inline void SetOnDemandFulfilledCapacity(double value) { m_onDemandFulfilledCapacityHasBeenSet = true; m_onDemandFulfilledCapacity = value; }
444 
449  inline SpotFleetRequestConfigData& WithOnDemandFulfilledCapacity(double value) { SetOnDemandFulfilledCapacity(value); return *this;}
450 
451 
464  inline const Aws::String& GetIamFleetRole() const{ return m_iamFleetRole; }
465 
478  inline bool IamFleetRoleHasBeenSet() const { return m_iamFleetRoleHasBeenSet; }
479 
492  inline void SetIamFleetRole(const Aws::String& value) { m_iamFleetRoleHasBeenSet = true; m_iamFleetRole = value; }
493 
506  inline void SetIamFleetRole(Aws::String&& value) { m_iamFleetRoleHasBeenSet = true; m_iamFleetRole = std::move(value); }
507 
520  inline void SetIamFleetRole(const char* value) { m_iamFleetRoleHasBeenSet = true; m_iamFleetRole.assign(value); }
521 
534  inline SpotFleetRequestConfigData& WithIamFleetRole(const Aws::String& value) { SetIamFleetRole(value); return *this;}
535 
548  inline SpotFleetRequestConfigData& WithIamFleetRole(Aws::String&& value) { SetIamFleetRole(std::move(value)); return *this;}
549 
562  inline SpotFleetRequestConfigData& WithIamFleetRole(const char* value) { SetIamFleetRole(value); return *this;}
563 
564 
571  inline const Aws::Vector<SpotFleetLaunchSpecification>& GetLaunchSpecifications() const{ return m_launchSpecifications; }
572 
579  inline bool LaunchSpecificationsHasBeenSet() const { return m_launchSpecificationsHasBeenSet; }
580 
587  inline void SetLaunchSpecifications(const Aws::Vector<SpotFleetLaunchSpecification>& value) { m_launchSpecificationsHasBeenSet = true; m_launchSpecifications = value; }
588 
595  inline void SetLaunchSpecifications(Aws::Vector<SpotFleetLaunchSpecification>&& value) { m_launchSpecificationsHasBeenSet = true; m_launchSpecifications = std::move(value); }
596 
603  inline SpotFleetRequestConfigData& WithLaunchSpecifications(const Aws::Vector<SpotFleetLaunchSpecification>& value) { SetLaunchSpecifications(value); return *this;}
604 
611  inline SpotFleetRequestConfigData& WithLaunchSpecifications(Aws::Vector<SpotFleetLaunchSpecification>&& value) { SetLaunchSpecifications(std::move(value)); return *this;}
612 
619  inline SpotFleetRequestConfigData& AddLaunchSpecifications(const SpotFleetLaunchSpecification& value) { m_launchSpecificationsHasBeenSet = true; m_launchSpecifications.push_back(value); return *this; }
620 
627  inline SpotFleetRequestConfigData& AddLaunchSpecifications(SpotFleetLaunchSpecification&& value) { m_launchSpecificationsHasBeenSet = true; m_launchSpecifications.push_back(std::move(value)); return *this; }
628 
629 
636  inline const Aws::Vector<LaunchTemplateConfig>& GetLaunchTemplateConfigs() const{ return m_launchTemplateConfigs; }
637 
644  inline bool LaunchTemplateConfigsHasBeenSet() const { return m_launchTemplateConfigsHasBeenSet; }
645 
652  inline void SetLaunchTemplateConfigs(const Aws::Vector<LaunchTemplateConfig>& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs = value; }
653 
660  inline void SetLaunchTemplateConfigs(Aws::Vector<LaunchTemplateConfig>&& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs = std::move(value); }
661 
668  inline SpotFleetRequestConfigData& WithLaunchTemplateConfigs(const Aws::Vector<LaunchTemplateConfig>& value) { SetLaunchTemplateConfigs(value); return *this;}
669 
676  inline SpotFleetRequestConfigData& WithLaunchTemplateConfigs(Aws::Vector<LaunchTemplateConfig>&& value) { SetLaunchTemplateConfigs(std::move(value)); return *this;}
677 
684  inline SpotFleetRequestConfigData& AddLaunchTemplateConfigs(const LaunchTemplateConfig& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs.push_back(value); return *this; }
685 
692  inline SpotFleetRequestConfigData& AddLaunchTemplateConfigs(LaunchTemplateConfig&& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs.push_back(std::move(value)); return *this; }
693 
694 
699  inline const Aws::String& GetSpotPrice() const{ return m_spotPrice; }
700 
705  inline bool SpotPriceHasBeenSet() const { return m_spotPriceHasBeenSet; }
706 
711  inline void SetSpotPrice(const Aws::String& value) { m_spotPriceHasBeenSet = true; m_spotPrice = value; }
712 
717  inline void SetSpotPrice(Aws::String&& value) { m_spotPriceHasBeenSet = true; m_spotPrice = std::move(value); }
718 
723  inline void SetSpotPrice(const char* value) { m_spotPriceHasBeenSet = true; m_spotPrice.assign(value); }
724 
729  inline SpotFleetRequestConfigData& WithSpotPrice(const Aws::String& value) { SetSpotPrice(value); return *this;}
730 
735  inline SpotFleetRequestConfigData& WithSpotPrice(Aws::String&& value) { SetSpotPrice(std::move(value)); return *this;}
736 
741  inline SpotFleetRequestConfigData& WithSpotPrice(const char* value) { SetSpotPrice(value); return *this;}
742 
743 
751  inline int GetTargetCapacity() const{ return m_targetCapacity; }
752 
760  inline bool TargetCapacityHasBeenSet() const { return m_targetCapacityHasBeenSet; }
761 
769  inline void SetTargetCapacity(int value) { m_targetCapacityHasBeenSet = true; m_targetCapacity = value; }
770 
778  inline SpotFleetRequestConfigData& WithTargetCapacity(int value) { SetTargetCapacity(value); return *this;}
779 
780 
788  inline int GetOnDemandTargetCapacity() const{ return m_onDemandTargetCapacity; }
789 
797  inline bool OnDemandTargetCapacityHasBeenSet() const { return m_onDemandTargetCapacityHasBeenSet; }
798 
806  inline void SetOnDemandTargetCapacity(int value) { m_onDemandTargetCapacityHasBeenSet = true; m_onDemandTargetCapacity = value; }
807 
815  inline SpotFleetRequestConfigData& WithOnDemandTargetCapacity(int value) { SetOnDemandTargetCapacity(value); return *this;}
816 
817 
828  inline const Aws::String& GetOnDemandMaxTotalPrice() const{ return m_onDemandMaxTotalPrice; }
829 
840  inline bool OnDemandMaxTotalPriceHasBeenSet() const { return m_onDemandMaxTotalPriceHasBeenSet; }
841 
852  inline void SetOnDemandMaxTotalPrice(const Aws::String& value) { m_onDemandMaxTotalPriceHasBeenSet = true; m_onDemandMaxTotalPrice = value; }
853 
864  inline void SetOnDemandMaxTotalPrice(Aws::String&& value) { m_onDemandMaxTotalPriceHasBeenSet = true; m_onDemandMaxTotalPrice = std::move(value); }
865 
876  inline void SetOnDemandMaxTotalPrice(const char* value) { m_onDemandMaxTotalPriceHasBeenSet = true; m_onDemandMaxTotalPrice.assign(value); }
877 
888  inline SpotFleetRequestConfigData& WithOnDemandMaxTotalPrice(const Aws::String& value) { SetOnDemandMaxTotalPrice(value); return *this;}
889 
900  inline SpotFleetRequestConfigData& WithOnDemandMaxTotalPrice(Aws::String&& value) { SetOnDemandMaxTotalPrice(std::move(value)); return *this;}
901 
912  inline SpotFleetRequestConfigData& WithOnDemandMaxTotalPrice(const char* value) { SetOnDemandMaxTotalPrice(value); return *this;}
913 
914 
925  inline const Aws::String& GetSpotMaxTotalPrice() const{ return m_spotMaxTotalPrice; }
926 
937  inline bool SpotMaxTotalPriceHasBeenSet() const { return m_spotMaxTotalPriceHasBeenSet; }
938 
949  inline void SetSpotMaxTotalPrice(const Aws::String& value) { m_spotMaxTotalPriceHasBeenSet = true; m_spotMaxTotalPrice = value; }
950 
961  inline void SetSpotMaxTotalPrice(Aws::String&& value) { m_spotMaxTotalPriceHasBeenSet = true; m_spotMaxTotalPrice = std::move(value); }
962 
973  inline void SetSpotMaxTotalPrice(const char* value) { m_spotMaxTotalPriceHasBeenSet = true; m_spotMaxTotalPrice.assign(value); }
974 
985  inline SpotFleetRequestConfigData& WithSpotMaxTotalPrice(const Aws::String& value) { SetSpotMaxTotalPrice(value); return *this;}
986 
997  inline SpotFleetRequestConfigData& WithSpotMaxTotalPrice(Aws::String&& value) { SetSpotMaxTotalPrice(std::move(value)); return *this;}
998 
1009  inline SpotFleetRequestConfigData& WithSpotMaxTotalPrice(const char* value) { SetSpotMaxTotalPrice(value); return *this;}
1010 
1011 
1016  inline bool GetTerminateInstancesWithExpiration() const{ return m_terminateInstancesWithExpiration; }
1017 
1022  inline bool TerminateInstancesWithExpirationHasBeenSet() const { return m_terminateInstancesWithExpirationHasBeenSet; }
1023 
1028  inline void SetTerminateInstancesWithExpiration(bool value) { m_terminateInstancesWithExpirationHasBeenSet = true; m_terminateInstancesWithExpiration = value; }
1029 
1034  inline SpotFleetRequestConfigData& WithTerminateInstancesWithExpiration(bool value) { SetTerminateInstancesWithExpiration(value); return *this;}
1035 
1036 
1049  inline const FleetType& GetType() const{ return m_type; }
1050 
1063  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
1064 
1077  inline void SetType(const FleetType& value) { m_typeHasBeenSet = true; m_type = value; }
1078 
1091  inline void SetType(FleetType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
1092 
1105  inline SpotFleetRequestConfigData& WithType(const FleetType& value) { SetType(value); return *this;}
1106 
1119  inline SpotFleetRequestConfigData& WithType(FleetType&& value) { SetType(std::move(value)); return *this;}
1120 
1121 
1127  inline const Aws::Utils::DateTime& GetValidFrom() const{ return m_validFrom; }
1128 
1134  inline bool ValidFromHasBeenSet() const { return m_validFromHasBeenSet; }
1135 
1141  inline void SetValidFrom(const Aws::Utils::DateTime& value) { m_validFromHasBeenSet = true; m_validFrom = value; }
1142 
1148  inline void SetValidFrom(Aws::Utils::DateTime&& value) { m_validFromHasBeenSet = true; m_validFrom = std::move(value); }
1149 
1155  inline SpotFleetRequestConfigData& WithValidFrom(const Aws::Utils::DateTime& value) { SetValidFrom(value); return *this;}
1156 
1162  inline SpotFleetRequestConfigData& WithValidFrom(Aws::Utils::DateTime&& value) { SetValidFrom(std::move(value)); return *this;}
1163 
1164 
1172  inline const Aws::Utils::DateTime& GetValidUntil() const{ return m_validUntil; }
1173 
1181  inline bool ValidUntilHasBeenSet() const { return m_validUntilHasBeenSet; }
1182 
1190  inline void SetValidUntil(const Aws::Utils::DateTime& value) { m_validUntilHasBeenSet = true; m_validUntil = value; }
1191 
1199  inline void SetValidUntil(Aws::Utils::DateTime&& value) { m_validUntilHasBeenSet = true; m_validUntil = std::move(value); }
1200 
1208  inline SpotFleetRequestConfigData& WithValidUntil(const Aws::Utils::DateTime& value) { SetValidUntil(value); return *this;}
1209 
1217  inline SpotFleetRequestConfigData& WithValidUntil(Aws::Utils::DateTime&& value) { SetValidUntil(std::move(value)); return *this;}
1218 
1219 
1223  inline bool GetReplaceUnhealthyInstances() const{ return m_replaceUnhealthyInstances; }
1224 
1228  inline bool ReplaceUnhealthyInstancesHasBeenSet() const { return m_replaceUnhealthyInstancesHasBeenSet; }
1229 
1233  inline void SetReplaceUnhealthyInstances(bool value) { m_replaceUnhealthyInstancesHasBeenSet = true; m_replaceUnhealthyInstances = value; }
1234 
1238  inline SpotFleetRequestConfigData& WithReplaceUnhealthyInstances(bool value) { SetReplaceUnhealthyInstances(value); return *this;}
1239 
1240 
1245  inline const InstanceInterruptionBehavior& GetInstanceInterruptionBehavior() const{ return m_instanceInterruptionBehavior; }
1246 
1251  inline bool InstanceInterruptionBehaviorHasBeenSet() const { return m_instanceInterruptionBehaviorHasBeenSet; }
1252 
1257  inline void SetInstanceInterruptionBehavior(const InstanceInterruptionBehavior& value) { m_instanceInterruptionBehaviorHasBeenSet = true; m_instanceInterruptionBehavior = value; }
1258 
1263  inline void SetInstanceInterruptionBehavior(InstanceInterruptionBehavior&& value) { m_instanceInterruptionBehaviorHasBeenSet = true; m_instanceInterruptionBehavior = std::move(value); }
1264 
1269  inline SpotFleetRequestConfigData& WithInstanceInterruptionBehavior(const InstanceInterruptionBehavior& value) { SetInstanceInterruptionBehavior(value); return *this;}
1270 
1275  inline SpotFleetRequestConfigData& WithInstanceInterruptionBehavior(InstanceInterruptionBehavior&& value) { SetInstanceInterruptionBehavior(std::move(value)); return *this;}
1276 
1277 
1286  inline const LoadBalancersConfig& GetLoadBalancersConfig() const{ return m_loadBalancersConfig; }
1287 
1296  inline bool LoadBalancersConfigHasBeenSet() const { return m_loadBalancersConfigHasBeenSet; }
1297 
1306  inline void SetLoadBalancersConfig(const LoadBalancersConfig& value) { m_loadBalancersConfigHasBeenSet = true; m_loadBalancersConfig = value; }
1307 
1316  inline void SetLoadBalancersConfig(LoadBalancersConfig&& value) { m_loadBalancersConfigHasBeenSet = true; m_loadBalancersConfig = std::move(value); }
1317 
1326  inline SpotFleetRequestConfigData& WithLoadBalancersConfig(const LoadBalancersConfig& value) { SetLoadBalancersConfig(value); return *this;}
1327 
1336  inline SpotFleetRequestConfigData& WithLoadBalancersConfig(LoadBalancersConfig&& value) { SetLoadBalancersConfig(std::move(value)); return *this;}
1337 
1338 
1353  inline int GetInstancePoolsToUseCount() const{ return m_instancePoolsToUseCount; }
1354 
1369  inline bool InstancePoolsToUseCountHasBeenSet() const { return m_instancePoolsToUseCountHasBeenSet; }
1370 
1385  inline void SetInstancePoolsToUseCount(int value) { m_instancePoolsToUseCountHasBeenSet = true; m_instancePoolsToUseCount = value; }
1386 
1401  inline SpotFleetRequestConfigData& WithInstancePoolsToUseCount(int value) { SetInstancePoolsToUseCount(value); return *this;}
1402 
1403 
1407  inline const Aws::String& GetContext() const{ return m_context; }
1408 
1412  inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; }
1413 
1417  inline void SetContext(const Aws::String& value) { m_contextHasBeenSet = true; m_context = value; }
1418 
1422  inline void SetContext(Aws::String&& value) { m_contextHasBeenSet = true; m_context = std::move(value); }
1423 
1427  inline void SetContext(const char* value) { m_contextHasBeenSet = true; m_context.assign(value); }
1428 
1432  inline SpotFleetRequestConfigData& WithContext(const Aws::String& value) { SetContext(value); return *this;}
1433 
1437  inline SpotFleetRequestConfigData& WithContext(Aws::String&& value) { SetContext(std::move(value)); return *this;}
1438 
1442  inline SpotFleetRequestConfigData& WithContext(const char* value) { SetContext(value); return *this;}
1443 
1444 
1460  inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
1461 
1477  inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
1478 
1494  inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
1495 
1511  inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
1512 
1528  inline SpotFleetRequestConfigData& WithTagSpecifications(const Aws::Vector<TagSpecification>& value) { SetTagSpecifications(value); return *this;}
1529 
1545  inline SpotFleetRequestConfigData& WithTagSpecifications(Aws::Vector<TagSpecification>&& value) { SetTagSpecifications(std::move(value)); return *this;}
1546 
1562  inline SpotFleetRequestConfigData& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
1563 
1579  inline SpotFleetRequestConfigData& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
1580 
1581  private:
1582 
1583  AllocationStrategy m_allocationStrategy;
1584  bool m_allocationStrategyHasBeenSet;
1585 
1586  OnDemandAllocationStrategy m_onDemandAllocationStrategy;
1587  bool m_onDemandAllocationStrategyHasBeenSet;
1588 
1589  SpotMaintenanceStrategies m_spotMaintenanceStrategies;
1590  bool m_spotMaintenanceStrategiesHasBeenSet;
1591 
1592  Aws::String m_clientToken;
1593  bool m_clientTokenHasBeenSet;
1594 
1595  ExcessCapacityTerminationPolicy m_excessCapacityTerminationPolicy;
1596  bool m_excessCapacityTerminationPolicyHasBeenSet;
1597 
1598  double m_fulfilledCapacity;
1599  bool m_fulfilledCapacityHasBeenSet;
1600 
1601  double m_onDemandFulfilledCapacity;
1602  bool m_onDemandFulfilledCapacityHasBeenSet;
1603 
1604  Aws::String m_iamFleetRole;
1605  bool m_iamFleetRoleHasBeenSet;
1606 
1607  Aws::Vector<SpotFleetLaunchSpecification> m_launchSpecifications;
1608  bool m_launchSpecificationsHasBeenSet;
1609 
1610  Aws::Vector<LaunchTemplateConfig> m_launchTemplateConfigs;
1611  bool m_launchTemplateConfigsHasBeenSet;
1612 
1613  Aws::String m_spotPrice;
1614  bool m_spotPriceHasBeenSet;
1615 
1616  int m_targetCapacity;
1617  bool m_targetCapacityHasBeenSet;
1618 
1619  int m_onDemandTargetCapacity;
1620  bool m_onDemandTargetCapacityHasBeenSet;
1621 
1622  Aws::String m_onDemandMaxTotalPrice;
1623  bool m_onDemandMaxTotalPriceHasBeenSet;
1624 
1625  Aws::String m_spotMaxTotalPrice;
1626  bool m_spotMaxTotalPriceHasBeenSet;
1627 
1628  bool m_terminateInstancesWithExpiration;
1629  bool m_terminateInstancesWithExpirationHasBeenSet;
1630 
1631  FleetType m_type;
1632  bool m_typeHasBeenSet;
1633 
1634  Aws::Utils::DateTime m_validFrom;
1635  bool m_validFromHasBeenSet;
1636 
1637  Aws::Utils::DateTime m_validUntil;
1638  bool m_validUntilHasBeenSet;
1639 
1640  bool m_replaceUnhealthyInstances;
1641  bool m_replaceUnhealthyInstancesHasBeenSet;
1642 
1643  InstanceInterruptionBehavior m_instanceInterruptionBehavior;
1644  bool m_instanceInterruptionBehaviorHasBeenSet;
1645 
1646  LoadBalancersConfig m_loadBalancersConfig;
1647  bool m_loadBalancersConfigHasBeenSet;
1648 
1649  int m_instancePoolsToUseCount;
1650  bool m_instancePoolsToUseCountHasBeenSet;
1651 
1652  Aws::String m_context;
1653  bool m_contextHasBeenSet;
1654 
1655  Aws::Vector<TagSpecification> m_tagSpecifications;
1656  bool m_tagSpecificationsHasBeenSet;
1657  };
1658 
1659 } // namespace Model
1660 } // namespace EC2
1661 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EC2::Model::SpotFleetRequestConfigData::SetValidUntil
void SetValidUntil(Aws::Utils::DateTime &&value)
Definition: SpotFleetRequestConfigData.h:1199
ExcessCapacityTerminationPolicy.h
TagSpecification.h
Aws::EC2::Model::SpotFleetRequestConfigData::SetSpotMaxTotalPrice
void SetSpotMaxTotalPrice(const char *value)
Definition: SpotFleetRequestConfigData.h:973
Aws::EC2::Model::InstanceInterruptionBehavior
InstanceInterruptionBehavior
Definition: InstanceInterruptionBehavior.h:17
Aws::EC2::Model::SpotFleetRequestConfigData::TargetCapacityHasBeenSet
bool TargetCapacityHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:760
Aws::EC2::Model::SpotFleetRequestConfigData::SetOnDemandAllocationStrategy
void SetOnDemandAllocationStrategy(OnDemandAllocationStrategy &&value)
Definition: SpotFleetRequestConfigData.h:226
Aws::EC2::Model::SpotFleetRequestConfigData::GetInstancePoolsToUseCount
int GetInstancePoolsToUseCount() const
Definition: SpotFleetRequestConfigData.h:1353
Aws::EC2::Model::SpotFleetRequestConfigData::SetType
void SetType(const FleetType &value)
Definition: SpotFleetRequestConfigData.h:1077
SpotMaintenanceStrategies.h
Aws::EC2::Model::SpotFleetRequestConfigData::SetOnDemandMaxTotalPrice
void SetOnDemandMaxTotalPrice(const char *value)
Definition: SpotFleetRequestConfigData.h:876
Aws::EC2::Model::SpotFleetRequestConfigData::WithOnDemandMaxTotalPrice
SpotFleetRequestConfigData & WithOnDemandMaxTotalPrice(const char *value)
Definition: SpotFleetRequestConfigData.h:912
Aws::EC2::Model::LaunchTemplateConfig
Definition: LaunchTemplateConfig.h:34
Aws::EC2::Model::SpotFleetRequestConfigData::InstancePoolsToUseCountHasBeenSet
bool InstancePoolsToUseCountHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:1369
Aws::EC2::Model::SpotFleetRequestConfigData::SetSpotMaintenanceStrategies
void SetSpotMaintenanceStrategies(SpotMaintenanceStrategies &&value)
Definition: SpotFleetRequestConfigData.h:271
Aws::EC2::Model::SpotFleetRequestConfigData::GetAllocationStrategy
const AllocationStrategy & GetAllocationStrategy() const
Definition: SpotFleetRequestConfigData.h:75
Aws::EC2::Model::SpotFleetRequestConfigData::GetOnDemandMaxTotalPrice
const Aws::String & GetOnDemandMaxTotalPrice() const
Definition: SpotFleetRequestConfigData.h:828
Aws::EC2::Model::SpotFleetRequestConfigData::GetTerminateInstancesWithExpiration
bool GetTerminateInstancesWithExpiration() const
Definition: SpotFleetRequestConfigData.h:1016
Aws::EC2::Model::SpotFleetRequestConfigData::SetLoadBalancersConfig
void SetLoadBalancersConfig(const LoadBalancersConfig &value)
Definition: SpotFleetRequestConfigData.h:1306
Aws::EC2::Model::SpotFleetRequestConfigData::ContextHasBeenSet
bool ContextHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:1412
Aws::EC2::Model::SpotFleetRequestConfigData::SetTagSpecifications
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: SpotFleetRequestConfigData.h:1494
Aws::EC2::Model::SpotFleetRequestConfigData::AddLaunchTemplateConfigs
SpotFleetRequestConfigData & AddLaunchTemplateConfigs(const LaunchTemplateConfig &value)
Definition: SpotFleetRequestConfigData.h:684
Aws::EC2::Model::SpotFleetRequestConfigData::AddTagSpecifications
SpotFleetRequestConfigData & AddTagSpecifications(const TagSpecification &value)
Definition: SpotFleetRequestConfigData.h:1562
Aws::EC2::Model::SpotFleetRequestConfigData::SetFulfilledCapacity
void SetFulfilledCapacity(double value)
Definition: SpotFleetRequestConfigData.h:418
Aws::EC2::Model::SpotFleetRequestConfigData::SetContext
void SetContext(Aws::String &&value)
Definition: SpotFleetRequestConfigData.h:1422
Aws::EC2::Model::SpotFleetRequestConfigData::WithIamFleetRole
SpotFleetRequestConfigData & WithIamFleetRole(const Aws::String &value)
Definition: SpotFleetRequestConfigData.h:534
Aws::EC2::Model::SpotFleetRequestConfigData::WithSpotPrice
SpotFleetRequestConfigData & WithSpotPrice(const char *value)
Definition: SpotFleetRequestConfigData.h:741
LoadBalancersConfig.h
Aws::EC2::Model::SpotFleetRequestConfigData::AddTagSpecifications
SpotFleetRequestConfigData & AddTagSpecifications(TagSpecification &&value)
Definition: SpotFleetRequestConfigData.h:1579
Aws::EC2::Model::SpotFleetRequestConfigData::WithOnDemandAllocationStrategy
SpotFleetRequestConfigData & WithOnDemandAllocationStrategy(OnDemandAllocationStrategy &&value)
Definition: SpotFleetRequestConfigData.h:246
Aws::EC2::Model::SpotFleetRequestConfigData::WithInstancePoolsToUseCount
SpotFleetRequestConfigData & WithInstancePoolsToUseCount(int value)
Definition: SpotFleetRequestConfigData.h:1401
Aws::EC2::Model::SpotFleetRequestConfigData::WithSpotMaxTotalPrice
SpotFleetRequestConfigData & WithSpotMaxTotalPrice(const Aws::String &value)
Definition: SpotFleetRequestConfigData.h:985
DateTime.h
Aws::EC2::Model::SpotFleetRequestConfigData::GetExcessCapacityTerminationPolicy
const ExcessCapacityTerminationPolicy & GetExcessCapacityTerminationPolicy() const
Definition: SpotFleetRequestConfigData.h:364
Aws::EC2::Model::SpotFleetRequestConfigData::SpotPriceHasBeenSet
bool SpotPriceHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:705
Aws::EC2::Model::SpotFleetRequestConfigData::SetSpotMaintenanceStrategies
void SetSpotMaintenanceStrategies(const SpotMaintenanceStrategies &value)
Definition: SpotFleetRequestConfigData.h:265
Aws::EC2::Model::SpotFleetRequestConfigData::SetTargetCapacity
void SetTargetCapacity(int value)
Definition: SpotFleetRequestConfigData.h:769
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::SpotFleetRequestConfigData::SetSpotPrice
void SetSpotPrice(const char *value)
Definition: SpotFleetRequestConfigData.h:723
Aws::EC2::Model::SpotFleetRequestConfigData::SetTerminateInstancesWithExpiration
void SetTerminateInstancesWithExpiration(bool value)
Definition: SpotFleetRequestConfigData.h:1028
Aws::EC2::Model::SpotFleetRequestConfigData::GetType
const FleetType & GetType() const
Definition: SpotFleetRequestConfigData.h:1049
Aws::EC2::Model::SpotFleetRequestConfigData::GetClientToken
const Aws::String & GetClientToken() const
Definition: SpotFleetRequestConfigData.h:293
Aws::EC2::Model::SpotFleetRequestConfigData::GetOnDemandFulfilledCapacity
double GetOnDemandFulfilledCapacity() const
Definition: SpotFleetRequestConfigData.h:431
Aws::EC2::Model::SpotFleetRequestConfigData::OnDemandAllocationStrategyHasBeenSet
bool OnDemandAllocationStrategyHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:206
Aws::EC2::Model::SpotFleetRequestConfigData::WithExcessCapacityTerminationPolicy
SpotFleetRequestConfigData & WithExcessCapacityTerminationPolicy(ExcessCapacityTerminationPolicy &&value)
Definition: SpotFleetRequestConfigData.h:399
Aws::EC2::Model::SpotFleetRequestConfigData::WithTerminateInstancesWithExpiration
SpotFleetRequestConfigData & WithTerminateInstancesWithExpiration(bool value)
Definition: SpotFleetRequestConfigData.h:1034
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::SpotFleetRequestConfigData::SpotFleetRequestConfigData
SpotFleetRequestConfigData(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::SpotFleetRequestConfigData::SetOnDemandAllocationStrategy
void SetOnDemandAllocationStrategy(const OnDemandAllocationStrategy &value)
Definition: SpotFleetRequestConfigData.h:216
Aws::EC2::Model::SpotFleetRequestConfigData::WithLoadBalancersConfig
SpotFleetRequestConfigData & WithLoadBalancersConfig(const LoadBalancersConfig &value)
Definition: SpotFleetRequestConfigData.h:1326
Aws::EC2::Model::SpotFleetRequestConfigData::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:302
Aws::EC2::Model::SpotFleetRequestConfigData::GetIamFleetRole
const Aws::String & GetIamFleetRole() const
Definition: SpotFleetRequestConfigData.h:464
AWSStreamFwd.h
Aws::EC2::Model::SpotFleetRequestConfigData::SetOnDemandMaxTotalPrice
void SetOnDemandMaxTotalPrice(const Aws::String &value)
Definition: SpotFleetRequestConfigData.h:852
Aws::EC2::Model::SpotFleetRequestConfigData::WithIamFleetRole
SpotFleetRequestConfigData & WithIamFleetRole(const char *value)
Definition: SpotFleetRequestConfigData.h:562
Aws::EC2::Model::SpotFleetRequestConfigData::GetOnDemandAllocationStrategy
const OnDemandAllocationStrategy & GetOnDemandAllocationStrategy() const
Definition: SpotFleetRequestConfigData.h:196
Aws::EC2::Model::SpotFleetRequestConfigData::ReplaceUnhealthyInstancesHasBeenSet
bool ReplaceUnhealthyInstancesHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:1228
AWSVector.h
Aws::EC2::Model::AllocationStrategy
AllocationStrategy
Definition: AllocationStrategy.h:17
Aws::EC2::Model::SpotFleetRequestConfigData::WithType
SpotFleetRequestConfigData & WithType(const FleetType &value)
Definition: SpotFleetRequestConfigData.h:1105
Aws::EC2::Model::SpotFleetRequestConfigData::InstanceInterruptionBehaviorHasBeenSet
bool InstanceInterruptionBehaviorHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:1251
Aws::EC2::Model::SpotFleetRequestConfigData::SetOnDemandMaxTotalPrice
void SetOnDemandMaxTotalPrice(Aws::String &&value)
Definition: SpotFleetRequestConfigData.h:864
Aws::EC2::Model::SpotFleetRequestConfigData::SpotFleetRequestConfigData
SpotFleetRequestConfigData()
Aws::EC2::Model::SpotFleetRequestConfigData::SetType
void SetType(FleetType &&value)
Definition: SpotFleetRequestConfigData.h:1091
Aws::EC2::Model::SpotFleetRequestConfigData::WithTagSpecifications
SpotFleetRequestConfigData & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: SpotFleetRequestConfigData.h:1528
Aws::EC2::Model::SpotFleetRequestConfigData::AddLaunchSpecifications
SpotFleetRequestConfigData & AddLaunchSpecifications(const SpotFleetLaunchSpecification &value)
Definition: SpotFleetRequestConfigData.h:619
Aws::EC2::Model::SpotFleetRequestConfigData::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::SpotFleetRequestConfigData::WithValidFrom
SpotFleetRequestConfigData & WithValidFrom(const Aws::Utils::DateTime &value)
Definition: SpotFleetRequestConfigData.h:1155
Aws::EC2::Model::SpotFleetRequestConfigData::WithAllocationStrategy
SpotFleetRequestConfigData & WithAllocationStrategy(AllocationStrategy &&value)
Definition: SpotFleetRequestConfigData.h:185
Aws::EC2::Model::SpotFleetRequestConfigData::SetExcessCapacityTerminationPolicy
void SetExcessCapacityTerminationPolicy(const ExcessCapacityTerminationPolicy &value)
Definition: SpotFleetRequestConfigData.h:378
Aws::EC2::Model::SpotFleetRequestConfigData::WithSpotMaintenanceStrategies
SpotFleetRequestConfigData & WithSpotMaintenanceStrategies(SpotMaintenanceStrategies &&value)
Definition: SpotFleetRequestConfigData.h:283
Aws::EC2::Model::SpotFleetRequestConfigData::WithSpotPrice
SpotFleetRequestConfigData & WithSpotPrice(Aws::String &&value)
Definition: SpotFleetRequestConfigData.h:735
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::SpotFleetRequestConfigData::WithFulfilledCapacity
SpotFleetRequestConfigData & WithFulfilledCapacity(double value)
Definition: SpotFleetRequestConfigData.h:424
Aws::EC2::Model::SpotFleetRequestConfigData::WithLaunchTemplateConfigs
SpotFleetRequestConfigData & WithLaunchTemplateConfigs(Aws::Vector< LaunchTemplateConfig > &&value)
Definition: SpotFleetRequestConfigData.h:676
Aws::EC2::Model::SpotFleetRequestConfigData::SetIamFleetRole
void SetIamFleetRole(const char *value)
Definition: SpotFleetRequestConfigData.h:520
Aws::EC2::Model::SpotFleetRequestConfigData::WithContext
SpotFleetRequestConfigData & WithContext(const Aws::String &value)
Definition: SpotFleetRequestConfigData.h:1432
Aws::EC2::Model::SpotFleetRequestConfigData::SetSpotPrice
void SetSpotPrice(Aws::String &&value)
Definition: SpotFleetRequestConfigData.h:717
Aws::EC2::Model::SpotFleetRequestConfigData::ValidUntilHasBeenSet
bool ValidUntilHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:1181
Aws::EC2::Model::SpotFleetRequestConfigData::LoadBalancersConfigHasBeenSet
bool LoadBalancersConfigHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:1296
LaunchTemplateConfig.h
Aws::EC2::Model::SpotFleetRequestConfigData::WithOnDemandMaxTotalPrice
SpotFleetRequestConfigData & WithOnDemandMaxTotalPrice(const Aws::String &value)
Definition: SpotFleetRequestConfigData.h:888
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::SpotFleetRequestConfigData::SetLaunchTemplateConfigs
void SetLaunchTemplateConfigs(const Aws::Vector< LaunchTemplateConfig > &value)
Definition: SpotFleetRequestConfigData.h:652
Aws::EC2::Model::SpotFleetRequestConfigData::GetContext
const Aws::String & GetContext() const
Definition: SpotFleetRequestConfigData.h:1407
Aws::EC2::Model::SpotFleetRequestConfigData::SetAllocationStrategy
void SetAllocationStrategy(const AllocationStrategy &value)
Definition: SpotFleetRequestConfigData.h:119
Aws::EC2::Model::SpotFleetRequestConfigData::SetOnDemandTargetCapacity
void SetOnDemandTargetCapacity(int value)
Definition: SpotFleetRequestConfigData.h:806
Aws::EC2::Model::SpotFleetRequestConfigData::WithSpotPrice
SpotFleetRequestConfigData & WithSpotPrice(const Aws::String &value)
Definition: SpotFleetRequestConfigData.h:729
Aws::EC2::Model::SpotFleetRequestConfigData::SetInstanceInterruptionBehavior
void SetInstanceInterruptionBehavior(const InstanceInterruptionBehavior &value)
Definition: SpotFleetRequestConfigData.h:1257
Aws::EC2::Model::SpotFleetRequestConfigData::IamFleetRoleHasBeenSet
bool IamFleetRoleHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:478
Aws::EC2::Model::SpotFleetRequestConfigData::SetIamFleetRole
void SetIamFleetRole(const Aws::String &value)
Definition: SpotFleetRequestConfigData.h:492
Aws::EC2::Model::SpotFleetRequestConfigData::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: SpotFleetRequestConfigData.h:311
Aws::EC2::Model::SpotFleetRequestConfigData::SetIamFleetRole
void SetIamFleetRole(Aws::String &&value)
Definition: SpotFleetRequestConfigData.h:506
Aws::EC2::Model::SpotFleetRequestConfigData::WithContext
SpotFleetRequestConfigData & WithContext(Aws::String &&value)
Definition: SpotFleetRequestConfigData.h:1437
Aws::EC2::Model::SpotFleetRequestConfigData::SetClientToken
void SetClientToken(const char *value)
Definition: SpotFleetRequestConfigData.h:329
Aws::EC2::Model::SpotFleetRequestConfigData::SetLaunchSpecifications
void SetLaunchSpecifications(const Aws::Vector< SpotFleetLaunchSpecification > &value)
Definition: SpotFleetRequestConfigData.h:587
Aws::EC2::Model::SpotFleetRequestConfigData::WithOnDemandAllocationStrategy
SpotFleetRequestConfigData & WithOnDemandAllocationStrategy(const OnDemandAllocationStrategy &value)
Definition: SpotFleetRequestConfigData.h:236
Aws::EC2::Model::SpotFleetRequestConfigData::SpotMaxTotalPriceHasBeenSet
bool SpotMaxTotalPriceHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:937
OnDemandAllocationStrategy.h
Aws::EC2::Model::SpotFleetRequestConfigData::LaunchTemplateConfigsHasBeenSet
bool LaunchTemplateConfigsHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:644
Aws::EC2::Model::SpotFleetRequestConfigData::WithValidFrom
SpotFleetRequestConfigData & WithValidFrom(Aws::Utils::DateTime &&value)
Definition: SpotFleetRequestConfigData.h:1162
Aws::EC2::Model::SpotFleetRequestConfigData::WithContext
SpotFleetRequestConfigData & WithContext(const char *value)
Definition: SpotFleetRequestConfigData.h:1442
Aws::EC2::Model::SpotFleetRequestConfigData::WithSpotMaintenanceStrategies
SpotFleetRequestConfigData & WithSpotMaintenanceStrategies(const SpotMaintenanceStrategies &value)
Definition: SpotFleetRequestConfigData.h:277
Aws::EC2::Model::SpotFleetRequestConfigData::SetValidFrom
void SetValidFrom(Aws::Utils::DateTime &&value)
Definition: SpotFleetRequestConfigData.h:1148
FleetType.h
Aws::EC2::Model::SpotFleetRequestConfigData::SpotMaintenanceStrategiesHasBeenSet
bool SpotMaintenanceStrategiesHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:259
Aws::EC2::Model::SpotFleetRequestConfigData::AddLaunchSpecifications
SpotFleetRequestConfigData & AddLaunchSpecifications(SpotFleetLaunchSpecification &&value)
Definition: SpotFleetRequestConfigData.h:627
Aws::EC2::Model::SpotFleetRequestConfigData::WithValidUntil
SpotFleetRequestConfigData & WithValidUntil(Aws::Utils::DateTime &&value)
Definition: SpotFleetRequestConfigData.h:1217
Aws::EC2::Model::SpotFleetRequestConfigData::GetValidFrom
const Aws::Utils::DateTime & GetValidFrom() const
Definition: SpotFleetRequestConfigData.h:1127
Aws::EC2::Model::SpotFleetRequestConfigData::GetInstanceInterruptionBehavior
const InstanceInterruptionBehavior & GetInstanceInterruptionBehavior() const
Definition: SpotFleetRequestConfigData.h:1245
Aws::EC2::Model::SpotFleetRequestConfigData::WithExcessCapacityTerminationPolicy
SpotFleetRequestConfigData & WithExcessCapacityTerminationPolicy(const ExcessCapacityTerminationPolicy &value)
Definition: SpotFleetRequestConfigData.h:392
InstanceInterruptionBehavior.h
Aws::EC2::Model::SpotFleetRequestConfigData::WithInstanceInterruptionBehavior
SpotFleetRequestConfigData & WithInstanceInterruptionBehavior(InstanceInterruptionBehavior &&value)
Definition: SpotFleetRequestConfigData.h:1275
AWSString.h
Aws::EC2::Model::SpotFleetRequestConfigData::GetSpotMaxTotalPrice
const Aws::String & GetSpotMaxTotalPrice() const
Definition: SpotFleetRequestConfigData.h:925
Aws::EC2::Model::SpotFleetRequestConfigData::GetTagSpecifications
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
Definition: SpotFleetRequestConfigData.h:1460
Aws::EC2::Model::SpotFleetRequestConfigData::OnDemandFulfilledCapacityHasBeenSet
bool OnDemandFulfilledCapacityHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:437
Aws::EC2::Model::SpotFleetRequestConfigData::TagSpecificationsHasBeenSet
bool TagSpecificationsHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:1477
Aws::EC2::Model::SpotFleetRequestConfigData::WithSpotMaxTotalPrice
SpotFleetRequestConfigData & WithSpotMaxTotalPrice(const char *value)
Definition: SpotFleetRequestConfigData.h:1009
Aws::EC2::Model::SpotFleetRequestConfigData::SetValidUntil
void SetValidUntil(const Aws::Utils::DateTime &value)
Definition: SpotFleetRequestConfigData.h:1190
Aws::EC2::Model::SpotFleetRequestConfigData::WithOnDemandFulfilledCapacity
SpotFleetRequestConfigData & WithOnDemandFulfilledCapacity(double value)
Definition: SpotFleetRequestConfigData.h:449
Aws::EC2::Model::SpotFleetRequestConfigData::SetInstancePoolsToUseCount
void SetInstancePoolsToUseCount(int value)
Definition: SpotFleetRequestConfigData.h:1385
Aws::EC2::Model::SpotFleetRequestConfigData::FulfilledCapacityHasBeenSet
bool FulfilledCapacityHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:412
Aws::EC2::Model::SpotMaintenanceStrategies
Definition: SpotMaintenanceStrategies.h:33
Aws::EC2::Model::SpotFleetRequestConfigData::SetOnDemandFulfilledCapacity
void SetOnDemandFulfilledCapacity(double value)
Definition: SpotFleetRequestConfigData.h:443
Aws::EC2::Model::SpotFleetRequestConfigData::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: SpotFleetRequestConfigData.h:320
Aws::EC2::Model::SpotFleetRequestConfigData::WithValidUntil
SpotFleetRequestConfigData & WithValidUntil(const Aws::Utils::DateTime &value)
Definition: SpotFleetRequestConfigData.h:1208
Aws::EC2::Model::SpotFleetRequestConfigData::ExcessCapacityTerminationPolicyHasBeenSet
bool ExcessCapacityTerminationPolicyHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:371
Aws::EC2::Model::OnDemandAllocationStrategy
OnDemandAllocationStrategy
Definition: OnDemandAllocationStrategy.h:17
Aws::EC2::Model::SpotFleetRequestConfigData::LaunchSpecificationsHasBeenSet
bool LaunchSpecificationsHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:579
Aws::EC2::Model::SpotFleetRequestConfigData::WithOnDemandMaxTotalPrice
SpotFleetRequestConfigData & WithOnDemandMaxTotalPrice(Aws::String &&value)
Definition: SpotFleetRequestConfigData.h:900
Aws::EC2::Model::SpotFleetRequestConfigData::WithClientToken
SpotFleetRequestConfigData & WithClientToken(const Aws::String &value)
Definition: SpotFleetRequestConfigData.h:338
Aws::EC2::Model::SpotFleetRequestConfigData::WithSpotMaxTotalPrice
SpotFleetRequestConfigData & WithSpotMaxTotalPrice(Aws::String &&value)
Definition: SpotFleetRequestConfigData.h:997
Aws::EC2::Model::SpotFleetRequestConfigData::WithAllocationStrategy
SpotFleetRequestConfigData & WithAllocationStrategy(const AllocationStrategy &value)
Definition: SpotFleetRequestConfigData.h:163
Aws::EC2::Model::LoadBalancersConfig
Definition: LoadBalancersConfig.h:34
Aws::EC2::Model::SpotFleetRequestConfigData::SetReplaceUnhealthyInstances
void SetReplaceUnhealthyInstances(bool value)
Definition: SpotFleetRequestConfigData.h:1233
Aws::EC2::Model::SpotFleetRequestConfigData::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:1063
Aws::EC2::Model::SpotFleetRequestConfigData::GetTargetCapacity
int GetTargetCapacity() const
Definition: SpotFleetRequestConfigData.h:751
Aws::EC2::Model::SpotFleetRequestConfigData::WithOnDemandTargetCapacity
SpotFleetRequestConfigData & WithOnDemandTargetCapacity(int value)
Definition: SpotFleetRequestConfigData.h:815
Aws::EC2::Model::SpotFleetRequestConfigData::WithIamFleetRole
SpotFleetRequestConfigData & WithIamFleetRole(Aws::String &&value)
Definition: SpotFleetRequestConfigData.h:548
Aws::EC2::Model::SpotFleetRequestConfigData::WithTargetCapacity
SpotFleetRequestConfigData & WithTargetCapacity(int value)
Definition: SpotFleetRequestConfigData.h:778
Aws::EC2::Model::SpotFleetRequestConfigData::WithType
SpotFleetRequestConfigData & WithType(FleetType &&value)
Definition: SpotFleetRequestConfigData.h:1119
Aws::EC2::Model::SpotFleetRequestConfigData::SetContext
void SetContext(const char *value)
Definition: SpotFleetRequestConfigData.h:1427
Aws::EC2::Model::SpotFleetRequestConfigData::SetValidFrom
void SetValidFrom(const Aws::Utils::DateTime &value)
Definition: SpotFleetRequestConfigData.h:1141
Aws::EC2::Model::SpotFleetRequestConfigData::AllocationStrategyHasBeenSet
bool AllocationStrategyHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:97
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::SpotFleetRequestConfigData::GetSpotMaintenanceStrategies
const SpotMaintenanceStrategies & GetSpotMaintenanceStrategies() const
Definition: SpotFleetRequestConfigData.h:253
Aws::EC2::Model::SpotFleetRequestConfigData::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::SpotFleetRequestConfigData::WithReplaceUnhealthyInstances
SpotFleetRequestConfigData & WithReplaceUnhealthyInstances(bool value)
Definition: SpotFleetRequestConfigData.h:1238
Aws::EC2::Model::SpotFleetRequestConfigData::WithInstanceInterruptionBehavior
SpotFleetRequestConfigData & WithInstanceInterruptionBehavior(const InstanceInterruptionBehavior &value)
Definition: SpotFleetRequestConfigData.h:1269
Aws::EC2::Model::SpotFleetRequestConfigData::GetLaunchTemplateConfigs
const Aws::Vector< LaunchTemplateConfig > & GetLaunchTemplateConfigs() const
Definition: SpotFleetRequestConfigData.h:636
SpotFleetLaunchSpecification.h
Aws::EC2::Model::SpotFleetRequestConfigData::SetAllocationStrategy
void SetAllocationStrategy(AllocationStrategy &&value)
Definition: SpotFleetRequestConfigData.h:141
Aws::EC2::Model::SpotFleetRequestConfigData::OnDemandMaxTotalPriceHasBeenSet
bool OnDemandMaxTotalPriceHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:840
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::SpotFleetRequestConfigData::ValidFromHasBeenSet
bool ValidFromHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:1134
Aws::EC2::Model::SpotFleetRequestConfigData::WithLaunchSpecifications
SpotFleetRequestConfigData & WithLaunchSpecifications(const Aws::Vector< SpotFleetLaunchSpecification > &value)
Definition: SpotFleetRequestConfigData.h:603
Aws::EC2::Model::ExcessCapacityTerminationPolicy
ExcessCapacityTerminationPolicy
Definition: ExcessCapacityTerminationPolicy.h:17
Aws::EC2::Model::SpotFleetRequestConfigData::GetLoadBalancersConfig
const LoadBalancersConfig & GetLoadBalancersConfig() const
Definition: SpotFleetRequestConfigData.h:1286
Aws::EC2::Model::SpotFleetRequestConfigData::WithLaunchTemplateConfigs
SpotFleetRequestConfigData & WithLaunchTemplateConfigs(const Aws::Vector< LaunchTemplateConfig > &value)
Definition: SpotFleetRequestConfigData.h:668
Aws::EC2::Model::SpotFleetRequestConfigData::SetLoadBalancersConfig
void SetLoadBalancersConfig(LoadBalancersConfig &&value)
Definition: SpotFleetRequestConfigData.h:1316
Aws::EC2::Model::SpotFleetRequestConfigData::GetFulfilledCapacity
double GetFulfilledCapacity() const
Definition: SpotFleetRequestConfigData.h:406
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::SpotFleetRequestConfigData::AddLaunchTemplateConfigs
SpotFleetRequestConfigData & AddLaunchTemplateConfigs(LaunchTemplateConfig &&value)
Definition: SpotFleetRequestConfigData.h:692
Aws::EC2::Model::SpotFleetRequestConfigData::WithLaunchSpecifications
SpotFleetRequestConfigData & WithLaunchSpecifications(Aws::Vector< SpotFleetLaunchSpecification > &&value)
Definition: SpotFleetRequestConfigData.h:611
Aws::EC2::Model::SpotFleetRequestConfigData::WithClientToken
SpotFleetRequestConfigData & WithClientToken(const char *value)
Definition: SpotFleetRequestConfigData.h:356
Aws::EC2::Model::SpotFleetRequestConfigData::SetInstanceInterruptionBehavior
void SetInstanceInterruptionBehavior(InstanceInterruptionBehavior &&value)
Definition: SpotFleetRequestConfigData.h:1263
Aws::EC2::Model::SpotFleetRequestConfigData::GetReplaceUnhealthyInstances
bool GetReplaceUnhealthyInstances() const
Definition: SpotFleetRequestConfigData.h:1223
AllocationStrategy.h
Aws::EC2::Model::SpotFleetRequestConfigData::GetSpotPrice
const Aws::String & GetSpotPrice() const
Definition: SpotFleetRequestConfigData.h:699
Aws::EC2::Model::SpotFleetRequestConfigData::WithClientToken
SpotFleetRequestConfigData & WithClientToken(Aws::String &&value)
Definition: SpotFleetRequestConfigData.h:347
Aws::EC2::Model::SpotFleetRequestConfigData::SetExcessCapacityTerminationPolicy
void SetExcessCapacityTerminationPolicy(ExcessCapacityTerminationPolicy &&value)
Definition: SpotFleetRequestConfigData.h:385
Aws::EC2::Model::SpotFleetRequestConfigData::SetTagSpecifications
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
Definition: SpotFleetRequestConfigData.h:1511
Aws::EC2::Model::SpotFleetRequestConfigData::OnDemandTargetCapacityHasBeenSet
bool OnDemandTargetCapacityHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:797
Aws::EC2::Model::SpotFleetRequestConfigData::SetSpotMaxTotalPrice
void SetSpotMaxTotalPrice(const Aws::String &value)
Definition: SpotFleetRequestConfigData.h:949
Aws::EC2::Model::SpotFleetRequestConfigData::SetSpotMaxTotalPrice
void SetSpotMaxTotalPrice(Aws::String &&value)
Definition: SpotFleetRequestConfigData.h:961
Aws::EC2::Model::TagSpecification
Definition: TagSpecification.h:35
EC2_EXPORTS.h
Aws::EC2::Model::SpotFleetRequestConfigData
Definition: SpotFleetRequestConfigData.h:45
Aws::EC2::Model::SpotFleetRequestConfigData::SetContext
void SetContext(const Aws::String &value)
Definition: SpotFleetRequestConfigData.h:1417
Aws::EC2::Model::SpotFleetRequestConfigData::SetSpotPrice
void SetSpotPrice(const Aws::String &value)
Definition: SpotFleetRequestConfigData.h:711
Aws::EC2::Model::SpotFleetRequestConfigData::operator=
SpotFleetRequestConfigData & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::SpotFleetRequestConfigData::GetOnDemandTargetCapacity
int GetOnDemandTargetCapacity() const
Definition: SpotFleetRequestConfigData.h:788
Aws::EC2::Model::SpotFleetRequestConfigData::SetLaunchSpecifications
void SetLaunchSpecifications(Aws::Vector< SpotFleetLaunchSpecification > &&value)
Definition: SpotFleetRequestConfigData.h:595
Aws::EC2::Model::SpotFleetRequestConfigData::TerminateInstancesWithExpirationHasBeenSet
bool TerminateInstancesWithExpirationHasBeenSet() const
Definition: SpotFleetRequestConfigData.h:1022
Aws::EC2::Model::SpotFleetRequestConfigData::GetValidUntil
const Aws::Utils::DateTime & GetValidUntil() const
Definition: SpotFleetRequestConfigData.h:1172
Aws::EC2::Model::SpotFleetRequestConfigData::SetLaunchTemplateConfigs
void SetLaunchTemplateConfigs(Aws::Vector< LaunchTemplateConfig > &&value)
Definition: SpotFleetRequestConfigData.h:660
Aws::EC2::Model::FleetType
FleetType
Definition: FleetType.h:17
Aws::EC2::Model::SpotFleetLaunchSpecification
Definition: SpotFleetLaunchSpecification.h:46
Aws::EC2::Model::SpotFleetRequestConfigData::WithLoadBalancersConfig
SpotFleetRequestConfigData & WithLoadBalancersConfig(LoadBalancersConfig &&value)
Definition: SpotFleetRequestConfigData.h:1336
Aws::EC2::Model::SpotFleetRequestConfigData::WithTagSpecifications
SpotFleetRequestConfigData & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
Definition: SpotFleetRequestConfigData.h:1545
Aws::EC2::Model::SpotFleetRequestConfigData::GetLaunchSpecifications
const Aws::Vector< SpotFleetLaunchSpecification > & GetLaunchSpecifications() const
Definition: SpotFleetRequestConfigData.h:571