AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SpotFleetRequestConfigData.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/AllocationStrategy.h>
10#include <aws/ec2/model/OnDemandAllocationStrategy.h>
11#include <aws/ec2/model/SpotMaintenanceStrategies.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/ec2/model/ExcessCapacityTerminationPolicy.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/ec2/model/FleetType.h>
16#include <aws/core/utils/DateTime.h>
17#include <aws/ec2/model/InstanceInterruptionBehavior.h>
18#include <aws/ec2/model/LoadBalancersConfig.h>
19#include <aws/ec2/model/TargetCapacityUnitType.h>
20#include <aws/ec2/model/SpotFleetLaunchSpecification.h>
21#include <aws/ec2/model/LaunchTemplateConfig.h>
22#include <aws/ec2/model/TagSpecification.h>
23#include <utility>
24
25namespace Aws
26{
27namespace Utils
28{
29namespace Xml
30{
31 class XmlNode;
32} // namespace Xml
33} // namespace Utils
34namespace EC2
35{
36namespace Model
37{
38
46 {
47 public:
48 AWS_EC2_API SpotFleetRequestConfigData() = default;
51
52 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
53 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
54
55
57
96 inline AllocationStrategy GetAllocationStrategy() const { return m_allocationStrategy; }
97 inline bool AllocationStrategyHasBeenSet() const { return m_allocationStrategyHasBeenSet; }
98 inline void SetAllocationStrategy(AllocationStrategy value) { m_allocationStrategyHasBeenSet = true; m_allocationStrategy = value; }
101
103
111 inline OnDemandAllocationStrategy GetOnDemandAllocationStrategy() const { return m_onDemandAllocationStrategy; }
112 inline bool OnDemandAllocationStrategyHasBeenSet() const { return m_onDemandAllocationStrategyHasBeenSet; }
113 inline void SetOnDemandAllocationStrategy(OnDemandAllocationStrategy value) { m_onDemandAllocationStrategyHasBeenSet = true; m_onDemandAllocationStrategy = value; }
116
118
122 inline const SpotMaintenanceStrategies& GetSpotMaintenanceStrategies() const { return m_spotMaintenanceStrategies; }
123 inline bool SpotMaintenanceStrategiesHasBeenSet() const { return m_spotMaintenanceStrategiesHasBeenSet; }
124 template<typename SpotMaintenanceStrategiesT = SpotMaintenanceStrategies>
125 void SetSpotMaintenanceStrategies(SpotMaintenanceStrategiesT&& value) { m_spotMaintenanceStrategiesHasBeenSet = true; m_spotMaintenanceStrategies = std::forward<SpotMaintenanceStrategiesT>(value); }
126 template<typename SpotMaintenanceStrategiesT = SpotMaintenanceStrategies>
127 SpotFleetRequestConfigData& WithSpotMaintenanceStrategies(SpotMaintenanceStrategiesT&& value) { SetSpotMaintenanceStrategies(std::forward<SpotMaintenanceStrategiesT>(value)); return *this;}
129
131
138 inline const Aws::String& GetClientToken() const { return m_clientToken; }
139 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
140 template<typename ClientTokenT = Aws::String>
141 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
142 template<typename ClientTokenT = Aws::String>
143 SpotFleetRequestConfigData& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
145
147
152 inline ExcessCapacityTerminationPolicy GetExcessCapacityTerminationPolicy() const { return m_excessCapacityTerminationPolicy; }
153 inline bool ExcessCapacityTerminationPolicyHasBeenSet() const { return m_excessCapacityTerminationPolicyHasBeenSet; }
154 inline void SetExcessCapacityTerminationPolicy(ExcessCapacityTerminationPolicy value) { m_excessCapacityTerminationPolicyHasBeenSet = true; m_excessCapacityTerminationPolicy = value; }
157
159
163 inline double GetFulfilledCapacity() const { return m_fulfilledCapacity; }
164 inline bool FulfilledCapacityHasBeenSet() const { return m_fulfilledCapacityHasBeenSet; }
165 inline void SetFulfilledCapacity(double value) { m_fulfilledCapacityHasBeenSet = true; m_fulfilledCapacity = value; }
166 inline SpotFleetRequestConfigData& WithFulfilledCapacity(double value) { SetFulfilledCapacity(value); return *this;}
168
170
174 inline double GetOnDemandFulfilledCapacity() const { return m_onDemandFulfilledCapacity; }
175 inline bool OnDemandFulfilledCapacityHasBeenSet() const { return m_onDemandFulfilledCapacityHasBeenSet; }
176 inline void SetOnDemandFulfilledCapacity(double value) { m_onDemandFulfilledCapacityHasBeenSet = true; m_onDemandFulfilledCapacity = value; }
179
181
193 inline const Aws::String& GetIamFleetRole() const { return m_iamFleetRole; }
194 inline bool IamFleetRoleHasBeenSet() const { return m_iamFleetRoleHasBeenSet; }
195 template<typename IamFleetRoleT = Aws::String>
196 void SetIamFleetRole(IamFleetRoleT&& value) { m_iamFleetRoleHasBeenSet = true; m_iamFleetRole = std::forward<IamFleetRoleT>(value); }
197 template<typename IamFleetRoleT = Aws::String>
198 SpotFleetRequestConfigData& WithIamFleetRole(IamFleetRoleT&& value) { SetIamFleetRole(std::forward<IamFleetRoleT>(value)); return *this;}
200
202
211 inline const Aws::Vector<SpotFleetLaunchSpecification>& GetLaunchSpecifications() const { return m_launchSpecifications; }
212 inline bool LaunchSpecificationsHasBeenSet() const { return m_launchSpecificationsHasBeenSet; }
213 template<typename LaunchSpecificationsT = Aws::Vector<SpotFleetLaunchSpecification>>
214 void SetLaunchSpecifications(LaunchSpecificationsT&& value) { m_launchSpecificationsHasBeenSet = true; m_launchSpecifications = std::forward<LaunchSpecificationsT>(value); }
215 template<typename LaunchSpecificationsT = Aws::Vector<SpotFleetLaunchSpecification>>
216 SpotFleetRequestConfigData& WithLaunchSpecifications(LaunchSpecificationsT&& value) { SetLaunchSpecifications(std::forward<LaunchSpecificationsT>(value)); return *this;}
217 template<typename LaunchSpecificationsT = SpotFleetLaunchSpecification>
218 SpotFleetRequestConfigData& AddLaunchSpecifications(LaunchSpecificationsT&& value) { m_launchSpecificationsHasBeenSet = true; m_launchSpecifications.emplace_back(std::forward<LaunchSpecificationsT>(value)); return *this; }
220
222
228 inline const Aws::Vector<LaunchTemplateConfig>& GetLaunchTemplateConfigs() const { return m_launchTemplateConfigs; }
229 inline bool LaunchTemplateConfigsHasBeenSet() const { return m_launchTemplateConfigsHasBeenSet; }
230 template<typename LaunchTemplateConfigsT = Aws::Vector<LaunchTemplateConfig>>
231 void SetLaunchTemplateConfigs(LaunchTemplateConfigsT&& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs = std::forward<LaunchTemplateConfigsT>(value); }
232 template<typename LaunchTemplateConfigsT = Aws::Vector<LaunchTemplateConfig>>
233 SpotFleetRequestConfigData& WithLaunchTemplateConfigs(LaunchTemplateConfigsT&& value) { SetLaunchTemplateConfigs(std::forward<LaunchTemplateConfigsT>(value)); return *this;}
234 template<typename LaunchTemplateConfigsT = LaunchTemplateConfig>
235 SpotFleetRequestConfigData& AddLaunchTemplateConfigs(LaunchTemplateConfigsT&& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs.emplace_back(std::forward<LaunchTemplateConfigsT>(value)); return *this; }
237
239
247 inline const Aws::String& GetSpotPrice() const { return m_spotPrice; }
248 inline bool SpotPriceHasBeenSet() const { return m_spotPriceHasBeenSet; }
249 template<typename SpotPriceT = Aws::String>
250 void SetSpotPrice(SpotPriceT&& value) { m_spotPriceHasBeenSet = true; m_spotPrice = std::forward<SpotPriceT>(value); }
251 template<typename SpotPriceT = Aws::String>
252 SpotFleetRequestConfigData& WithSpotPrice(SpotPriceT&& value) { SetSpotPrice(std::forward<SpotPriceT>(value)); return *this;}
254
256
263 inline int GetTargetCapacity() const { return m_targetCapacity; }
264 inline bool TargetCapacityHasBeenSet() const { return m_targetCapacityHasBeenSet; }
265 inline void SetTargetCapacity(int value) { m_targetCapacityHasBeenSet = true; m_targetCapacity = value; }
266 inline SpotFleetRequestConfigData& WithTargetCapacity(int value) { SetTargetCapacity(value); return *this;}
268
270
277 inline int GetOnDemandTargetCapacity() const { return m_onDemandTargetCapacity; }
278 inline bool OnDemandTargetCapacityHasBeenSet() const { return m_onDemandTargetCapacityHasBeenSet; }
279 inline void SetOnDemandTargetCapacity(int value) { m_onDemandTargetCapacityHasBeenSet = true; m_onDemandTargetCapacity = value; }
282
284
302 inline const Aws::String& GetOnDemandMaxTotalPrice() const { return m_onDemandMaxTotalPrice; }
303 inline bool OnDemandMaxTotalPriceHasBeenSet() const { return m_onDemandMaxTotalPriceHasBeenSet; }
304 template<typename OnDemandMaxTotalPriceT = Aws::String>
305 void SetOnDemandMaxTotalPrice(OnDemandMaxTotalPriceT&& value) { m_onDemandMaxTotalPriceHasBeenSet = true; m_onDemandMaxTotalPrice = std::forward<OnDemandMaxTotalPriceT>(value); }
306 template<typename OnDemandMaxTotalPriceT = Aws::String>
307 SpotFleetRequestConfigData& WithOnDemandMaxTotalPrice(OnDemandMaxTotalPriceT&& value) { SetOnDemandMaxTotalPrice(std::forward<OnDemandMaxTotalPriceT>(value)); return *this;}
309
311
329 inline const Aws::String& GetSpotMaxTotalPrice() const { return m_spotMaxTotalPrice; }
330 inline bool SpotMaxTotalPriceHasBeenSet() const { return m_spotMaxTotalPriceHasBeenSet; }
331 template<typename SpotMaxTotalPriceT = Aws::String>
332 void SetSpotMaxTotalPrice(SpotMaxTotalPriceT&& value) { m_spotMaxTotalPriceHasBeenSet = true; m_spotMaxTotalPrice = std::forward<SpotMaxTotalPriceT>(value); }
333 template<typename SpotMaxTotalPriceT = Aws::String>
334 SpotFleetRequestConfigData& WithSpotMaxTotalPrice(SpotMaxTotalPriceT&& value) { SetSpotMaxTotalPrice(std::forward<SpotMaxTotalPriceT>(value)); return *this;}
336
338
342 inline bool GetTerminateInstancesWithExpiration() const { return m_terminateInstancesWithExpiration; }
343 inline bool TerminateInstancesWithExpirationHasBeenSet() const { return m_terminateInstancesWithExpirationHasBeenSet; }
344 inline void SetTerminateInstancesWithExpiration(bool value) { m_terminateInstancesWithExpirationHasBeenSet = true; m_terminateInstancesWithExpiration = value; }
347
349
361 inline FleetType GetType() const { return m_type; }
362 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
363 inline void SetType(FleetType value) { m_typeHasBeenSet = true; m_type = value; }
364 inline SpotFleetRequestConfigData& WithType(FleetType value) { SetType(value); return *this;}
366
368
373 inline const Aws::Utils::DateTime& GetValidFrom() const { return m_validFrom; }
374 inline bool ValidFromHasBeenSet() const { return m_validFromHasBeenSet; }
375 template<typename ValidFromT = Aws::Utils::DateTime>
376 void SetValidFrom(ValidFromT&& value) { m_validFromHasBeenSet = true; m_validFrom = std::forward<ValidFromT>(value); }
377 template<typename ValidFromT = Aws::Utils::DateTime>
378 SpotFleetRequestConfigData& WithValidFrom(ValidFromT&& value) { SetValidFrom(std::forward<ValidFromT>(value)); return *this;}
380
382
389 inline const Aws::Utils::DateTime& GetValidUntil() const { return m_validUntil; }
390 inline bool ValidUntilHasBeenSet() const { return m_validUntilHasBeenSet; }
391 template<typename ValidUntilT = Aws::Utils::DateTime>
392 void SetValidUntil(ValidUntilT&& value) { m_validUntilHasBeenSet = true; m_validUntil = std::forward<ValidUntilT>(value); }
393 template<typename ValidUntilT = Aws::Utils::DateTime>
394 SpotFleetRequestConfigData& WithValidUntil(ValidUntilT&& value) { SetValidUntil(std::forward<ValidUntilT>(value)); return *this;}
396
398
401 inline bool GetReplaceUnhealthyInstances() const { return m_replaceUnhealthyInstances; }
402 inline bool ReplaceUnhealthyInstancesHasBeenSet() const { return m_replaceUnhealthyInstancesHasBeenSet; }
403 inline void SetReplaceUnhealthyInstances(bool value) { m_replaceUnhealthyInstancesHasBeenSet = true; m_replaceUnhealthyInstances = value; }
406
408
412 inline InstanceInterruptionBehavior GetInstanceInterruptionBehavior() const { return m_instanceInterruptionBehavior; }
413 inline bool InstanceInterruptionBehaviorHasBeenSet() const { return m_instanceInterruptionBehaviorHasBeenSet; }
414 inline void SetInstanceInterruptionBehavior(InstanceInterruptionBehavior value) { m_instanceInterruptionBehaviorHasBeenSet = true; m_instanceInterruptionBehavior = value; }
417
419
427 inline const LoadBalancersConfig& GetLoadBalancersConfig() const { return m_loadBalancersConfig; }
428 inline bool LoadBalancersConfigHasBeenSet() const { return m_loadBalancersConfigHasBeenSet; }
429 template<typename LoadBalancersConfigT = LoadBalancersConfig>
430 void SetLoadBalancersConfig(LoadBalancersConfigT&& value) { m_loadBalancersConfigHasBeenSet = true; m_loadBalancersConfig = std::forward<LoadBalancersConfigT>(value); }
431 template<typename LoadBalancersConfigT = LoadBalancersConfig>
432 SpotFleetRequestConfigData& WithLoadBalancersConfig(LoadBalancersConfigT&& value) { SetLoadBalancersConfig(std::forward<LoadBalancersConfigT>(value)); return *this;}
434
436
450 inline int GetInstancePoolsToUseCount() const { return m_instancePoolsToUseCount; }
451 inline bool InstancePoolsToUseCountHasBeenSet() const { return m_instancePoolsToUseCountHasBeenSet; }
452 inline void SetInstancePoolsToUseCount(int value) { m_instancePoolsToUseCountHasBeenSet = true; m_instancePoolsToUseCount = value; }
455
457
460 inline const Aws::String& GetContext() const { return m_context; }
461 inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; }
462 template<typename ContextT = Aws::String>
463 void SetContext(ContextT&& value) { m_contextHasBeenSet = true; m_context = std::forward<ContextT>(value); }
464 template<typename ContextT = Aws::String>
465 SpotFleetRequestConfigData& WithContext(ContextT&& value) { SetContext(std::forward<ContextT>(value)); return *this;}
467
469
474 inline TargetCapacityUnitType GetTargetCapacityUnitType() const { return m_targetCapacityUnitType; }
475 inline bool TargetCapacityUnitTypeHasBeenSet() const { return m_targetCapacityUnitTypeHasBeenSet; }
476 inline void SetTargetCapacityUnitType(TargetCapacityUnitType value) { m_targetCapacityUnitTypeHasBeenSet = true; m_targetCapacityUnitType = value; }
479
481
495 inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const { return m_tagSpecifications; }
496 inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
497 template<typename TagSpecificationsT = Aws::Vector<TagSpecification>>
498 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
499 template<typename TagSpecificationsT = Aws::Vector<TagSpecification>>
500 SpotFleetRequestConfigData& WithTagSpecifications(TagSpecificationsT&& value) { SetTagSpecifications(std::forward<TagSpecificationsT>(value)); return *this;}
501 template<typename TagSpecificationsT = TagSpecification>
502 SpotFleetRequestConfigData& AddTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value)); return *this; }
504 private:
505
507 bool m_allocationStrategyHasBeenSet = false;
508
510 bool m_onDemandAllocationStrategyHasBeenSet = false;
511
512 SpotMaintenanceStrategies m_spotMaintenanceStrategies;
513 bool m_spotMaintenanceStrategiesHasBeenSet = false;
514
515 Aws::String m_clientToken;
516 bool m_clientTokenHasBeenSet = false;
517
519 bool m_excessCapacityTerminationPolicyHasBeenSet = false;
520
521 double m_fulfilledCapacity{0.0};
522 bool m_fulfilledCapacityHasBeenSet = false;
523
524 double m_onDemandFulfilledCapacity{0.0};
525 bool m_onDemandFulfilledCapacityHasBeenSet = false;
526
527 Aws::String m_iamFleetRole;
528 bool m_iamFleetRoleHasBeenSet = false;
529
530 Aws::Vector<SpotFleetLaunchSpecification> m_launchSpecifications;
531 bool m_launchSpecificationsHasBeenSet = false;
532
533 Aws::Vector<LaunchTemplateConfig> m_launchTemplateConfigs;
534 bool m_launchTemplateConfigsHasBeenSet = false;
535
536 Aws::String m_spotPrice;
537 bool m_spotPriceHasBeenSet = false;
538
539 int m_targetCapacity{0};
540 bool m_targetCapacityHasBeenSet = false;
541
542 int m_onDemandTargetCapacity{0};
543 bool m_onDemandTargetCapacityHasBeenSet = false;
544
545 Aws::String m_onDemandMaxTotalPrice;
546 bool m_onDemandMaxTotalPriceHasBeenSet = false;
547
548 Aws::String m_spotMaxTotalPrice;
549 bool m_spotMaxTotalPriceHasBeenSet = false;
550
551 bool m_terminateInstancesWithExpiration{false};
552 bool m_terminateInstancesWithExpirationHasBeenSet = false;
553
555 bool m_typeHasBeenSet = false;
556
557 Aws::Utils::DateTime m_validFrom{};
558 bool m_validFromHasBeenSet = false;
559
560 Aws::Utils::DateTime m_validUntil{};
561 bool m_validUntilHasBeenSet = false;
562
563 bool m_replaceUnhealthyInstances{false};
564 bool m_replaceUnhealthyInstancesHasBeenSet = false;
565
567 bool m_instanceInterruptionBehaviorHasBeenSet = false;
568
569 LoadBalancersConfig m_loadBalancersConfig;
570 bool m_loadBalancersConfigHasBeenSet = false;
571
572 int m_instancePoolsToUseCount{0};
573 bool m_instancePoolsToUseCountHasBeenSet = false;
574
575 Aws::String m_context;
576 bool m_contextHasBeenSet = false;
577
579 bool m_targetCapacityUnitTypeHasBeenSet = false;
580
581 Aws::Vector<TagSpecification> m_tagSpecifications;
582 bool m_tagSpecificationsHasBeenSet = false;
583 };
584
585} // namespace Model
586} // namespace EC2
587} // namespace Aws
ExcessCapacityTerminationPolicy GetExcessCapacityTerminationPolicy() const
SpotFleetRequestConfigData & WithLaunchSpecifications(LaunchSpecificationsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetLaunchTemplateConfigs(LaunchTemplateConfigsT &&value)
void SetInstanceInterruptionBehavior(InstanceInterruptionBehavior value)
SpotFleetRequestConfigData & WithLaunchTemplateConfigs(LaunchTemplateConfigsT &&value)
SpotFleetRequestConfigData & WithAllocationStrategy(AllocationStrategy value)
SpotFleetRequestConfigData & WithClientToken(ClientTokenT &&value)
AWS_EC2_API SpotFleetRequestConfigData()=default
const Aws::Utils::DateTime & GetValidFrom() const
SpotFleetRequestConfigData & WithContext(ContextT &&value)
SpotFleetRequestConfigData & AddTagSpecifications(TagSpecificationsT &&value)
SpotFleetRequestConfigData & WithExcessCapacityTerminationPolicy(ExcessCapacityTerminationPolicy value)
SpotFleetRequestConfigData & WithLoadBalancersConfig(LoadBalancersConfigT &&value)
void SetTargetCapacityUnitType(TargetCapacityUnitType value)
const Aws::Utils::DateTime & GetValidUntil() const
SpotFleetRequestConfigData & WithReplaceUnhealthyInstances(bool value)
const SpotMaintenanceStrategies & GetSpotMaintenanceStrategies() const
SpotFleetRequestConfigData & WithFulfilledCapacity(double value)
InstanceInterruptionBehavior GetInstanceInterruptionBehavior() const
SpotFleetRequestConfigData & WithOnDemandAllocationStrategy(OnDemandAllocationStrategy value)
SpotFleetRequestConfigData & WithOnDemandTargetCapacity(int value)
SpotFleetRequestConfigData & WithSpotMaxTotalPrice(SpotMaxTotalPriceT &&value)
SpotFleetRequestConfigData & WithValidFrom(ValidFromT &&value)
SpotFleetRequestConfigData & WithType(FleetType value)
OnDemandAllocationStrategy GetOnDemandAllocationStrategy() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
SpotFleetRequestConfigData & WithOnDemandFulfilledCapacity(double value)
void SetLoadBalancersConfig(LoadBalancersConfigT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetExcessCapacityTerminationPolicy(ExcessCapacityTerminationPolicy value)
AWS_EC2_API SpotFleetRequestConfigData & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SpotFleetRequestConfigData & AddLaunchTemplateConfigs(LaunchTemplateConfigsT &&value)
SpotFleetRequestConfigData & WithTargetCapacityUnitType(TargetCapacityUnitType value)
SpotFleetRequestConfigData & WithSpotMaintenanceStrategies(SpotMaintenanceStrategiesT &&value)
void SetLaunchSpecifications(LaunchSpecificationsT &&value)
SpotFleetRequestConfigData & WithSpotPrice(SpotPriceT &&value)
SpotFleetRequestConfigData & WithInstanceInterruptionBehavior(InstanceInterruptionBehavior value)
SpotFleetRequestConfigData & WithTerminateInstancesWithExpiration(bool value)
void SetOnDemandAllocationStrategy(OnDemandAllocationStrategy value)
const Aws::Vector< LaunchTemplateConfig > & GetLaunchTemplateConfigs() const
AWS_EC2_API SpotFleetRequestConfigData(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetOnDemandMaxTotalPrice(OnDemandMaxTotalPriceT &&value)
SpotFleetRequestConfigData & WithOnDemandMaxTotalPrice(OnDemandMaxTotalPriceT &&value)
void SetSpotMaintenanceStrategies(SpotMaintenanceStrategiesT &&value)
SpotFleetRequestConfigData & WithInstancePoolsToUseCount(int value)
SpotFleetRequestConfigData & WithTargetCapacity(int value)
SpotFleetRequestConfigData & WithIamFleetRole(IamFleetRoleT &&value)
const Aws::Vector< SpotFleetLaunchSpecification > & GetLaunchSpecifications() const
const LoadBalancersConfig & GetLoadBalancersConfig() const
SpotFleetRequestConfigData & WithValidUntil(ValidUntilT &&value)
SpotFleetRequestConfigData & WithTagSpecifications(TagSpecificationsT &&value)
SpotFleetRequestConfigData & AddLaunchSpecifications(LaunchSpecificationsT &&value)
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