AWS SDK for C++  1.9.65
AWS SDK for C++
CreateFleetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
19 #include <utility>
20 
21 namespace Aws
22 {
23 namespace EC2
24 {
25 namespace Model
26 {
27 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "CreateFleet"; }
40 
41  Aws::String SerializePayload() const override;
42 
43  protected:
44  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
45 
46  public:
47 
54  inline bool GetDryRun() const{ return m_dryRun; }
55 
62  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
63 
70  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
71 
78  inline CreateFleetRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
79 
80 
87  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
88 
95  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
96 
103  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
104 
111  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
112 
119  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
120 
127  inline CreateFleetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
128 
135  inline CreateFleetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
136 
143  inline CreateFleetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
144 
145 
149  inline const SpotOptionsRequest& GetSpotOptions() const{ return m_spotOptions; }
150 
154  inline bool SpotOptionsHasBeenSet() const { return m_spotOptionsHasBeenSet; }
155 
159  inline void SetSpotOptions(const SpotOptionsRequest& value) { m_spotOptionsHasBeenSet = true; m_spotOptions = value; }
160 
164  inline void SetSpotOptions(SpotOptionsRequest&& value) { m_spotOptionsHasBeenSet = true; m_spotOptions = std::move(value); }
165 
169  inline CreateFleetRequest& WithSpotOptions(const SpotOptionsRequest& value) { SetSpotOptions(value); return *this;}
170 
174  inline CreateFleetRequest& WithSpotOptions(SpotOptionsRequest&& value) { SetSpotOptions(std::move(value)); return *this;}
175 
176 
180  inline const OnDemandOptionsRequest& GetOnDemandOptions() const{ return m_onDemandOptions; }
181 
185  inline bool OnDemandOptionsHasBeenSet() const { return m_onDemandOptionsHasBeenSet; }
186 
190  inline void SetOnDemandOptions(const OnDemandOptionsRequest& value) { m_onDemandOptionsHasBeenSet = true; m_onDemandOptions = value; }
191 
195  inline void SetOnDemandOptions(OnDemandOptionsRequest&& value) { m_onDemandOptionsHasBeenSet = true; m_onDemandOptions = std::move(value); }
196 
200  inline CreateFleetRequest& WithOnDemandOptions(const OnDemandOptionsRequest& value) { SetOnDemandOptions(value); return *this;}
201 
205  inline CreateFleetRequest& WithOnDemandOptions(OnDemandOptionsRequest&& value) { SetOnDemandOptions(std::move(value)); return *this;}
206 
207 
213  inline const FleetExcessCapacityTerminationPolicy& GetExcessCapacityTerminationPolicy() const{ return m_excessCapacityTerminationPolicy; }
214 
220  inline bool ExcessCapacityTerminationPolicyHasBeenSet() const { return m_excessCapacityTerminationPolicyHasBeenSet; }
221 
227  inline void SetExcessCapacityTerminationPolicy(const FleetExcessCapacityTerminationPolicy& value) { m_excessCapacityTerminationPolicyHasBeenSet = true; m_excessCapacityTerminationPolicy = value; }
228 
234  inline void SetExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy&& value) { m_excessCapacityTerminationPolicyHasBeenSet = true; m_excessCapacityTerminationPolicy = std::move(value); }
235 
241  inline CreateFleetRequest& WithExcessCapacityTerminationPolicy(const FleetExcessCapacityTerminationPolicy& value) { SetExcessCapacityTerminationPolicy(value); return *this;}
242 
248  inline CreateFleetRequest& WithExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy&& value) { SetExcessCapacityTerminationPolicy(std::move(value)); return *this;}
249 
250 
254  inline const Aws::Vector<FleetLaunchTemplateConfigRequest>& GetLaunchTemplateConfigs() const{ return m_launchTemplateConfigs; }
255 
259  inline bool LaunchTemplateConfigsHasBeenSet() const { return m_launchTemplateConfigsHasBeenSet; }
260 
264  inline void SetLaunchTemplateConfigs(const Aws::Vector<FleetLaunchTemplateConfigRequest>& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs = value; }
265 
269  inline void SetLaunchTemplateConfigs(Aws::Vector<FleetLaunchTemplateConfigRequest>&& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs = std::move(value); }
270 
274  inline CreateFleetRequest& WithLaunchTemplateConfigs(const Aws::Vector<FleetLaunchTemplateConfigRequest>& value) { SetLaunchTemplateConfigs(value); return *this;}
275 
279  inline CreateFleetRequest& WithLaunchTemplateConfigs(Aws::Vector<FleetLaunchTemplateConfigRequest>&& value) { SetLaunchTemplateConfigs(std::move(value)); return *this;}
280 
284  inline CreateFleetRequest& AddLaunchTemplateConfigs(const FleetLaunchTemplateConfigRequest& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs.push_back(value); return *this; }
285 
289  inline CreateFleetRequest& AddLaunchTemplateConfigs(FleetLaunchTemplateConfigRequest&& value) { m_launchTemplateConfigsHasBeenSet = true; m_launchTemplateConfigs.push_back(std::move(value)); return *this; }
290 
291 
295  inline const TargetCapacitySpecificationRequest& GetTargetCapacitySpecification() const{ return m_targetCapacitySpecification; }
296 
300  inline bool TargetCapacitySpecificationHasBeenSet() const { return m_targetCapacitySpecificationHasBeenSet; }
301 
305  inline void SetTargetCapacitySpecification(const TargetCapacitySpecificationRequest& value) { m_targetCapacitySpecificationHasBeenSet = true; m_targetCapacitySpecification = value; }
306 
310  inline void SetTargetCapacitySpecification(TargetCapacitySpecificationRequest&& value) { m_targetCapacitySpecificationHasBeenSet = true; m_targetCapacitySpecification = std::move(value); }
311 
315  inline CreateFleetRequest& WithTargetCapacitySpecification(const TargetCapacitySpecificationRequest& value) { SetTargetCapacitySpecification(value); return *this;}
316 
320  inline CreateFleetRequest& WithTargetCapacitySpecification(TargetCapacitySpecificationRequest&& value) { SetTargetCapacitySpecification(std::move(value)); return *this;}
321 
322 
327  inline bool GetTerminateInstancesWithExpiration() const{ return m_terminateInstancesWithExpiration; }
328 
333  inline bool TerminateInstancesWithExpirationHasBeenSet() const { return m_terminateInstancesWithExpirationHasBeenSet; }
334 
339  inline void SetTerminateInstancesWithExpiration(bool value) { m_terminateInstancesWithExpirationHasBeenSet = true; m_terminateInstancesWithExpiration = value; }
340 
345  inline CreateFleetRequest& WithTerminateInstancesWithExpiration(bool value) { SetTerminateInstancesWithExpiration(value); return *this;}
346 
347 
363  inline const FleetType& GetType() const{ return m_type; }
364 
380  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
381 
397  inline void SetType(const FleetType& value) { m_typeHasBeenSet = true; m_type = value; }
398 
414  inline void SetType(FleetType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
415 
431  inline CreateFleetRequest& WithType(const FleetType& value) { SetType(value); return *this;}
432 
448  inline CreateFleetRequest& WithType(FleetType&& value) { SetType(std::move(value)); return *this;}
449 
450 
456  inline const Aws::Utils::DateTime& GetValidFrom() const{ return m_validFrom; }
457 
463  inline bool ValidFromHasBeenSet() const { return m_validFromHasBeenSet; }
464 
470  inline void SetValidFrom(const Aws::Utils::DateTime& value) { m_validFromHasBeenSet = true; m_validFrom = value; }
471 
477  inline void SetValidFrom(Aws::Utils::DateTime&& value) { m_validFromHasBeenSet = true; m_validFrom = std::move(value); }
478 
484  inline CreateFleetRequest& WithValidFrom(const Aws::Utils::DateTime& value) { SetValidFrom(value); return *this;}
485 
491  inline CreateFleetRequest& WithValidFrom(Aws::Utils::DateTime&& value) { SetValidFrom(std::move(value)); return *this;}
492 
493 
500  inline const Aws::Utils::DateTime& GetValidUntil() const{ return m_validUntil; }
501 
508  inline bool ValidUntilHasBeenSet() const { return m_validUntilHasBeenSet; }
509 
516  inline void SetValidUntil(const Aws::Utils::DateTime& value) { m_validUntilHasBeenSet = true; m_validUntil = value; }
517 
524  inline void SetValidUntil(Aws::Utils::DateTime&& value) { m_validUntilHasBeenSet = true; m_validUntil = std::move(value); }
525 
532  inline CreateFleetRequest& WithValidUntil(const Aws::Utils::DateTime& value) { SetValidUntil(value); return *this;}
533 
540  inline CreateFleetRequest& WithValidUntil(Aws::Utils::DateTime&& value) { SetValidUntil(std::move(value)); return *this;}
541 
542 
550  inline bool GetReplaceUnhealthyInstances() const{ return m_replaceUnhealthyInstances; }
551 
559  inline bool ReplaceUnhealthyInstancesHasBeenSet() const { return m_replaceUnhealthyInstancesHasBeenSet; }
560 
568  inline void SetReplaceUnhealthyInstances(bool value) { m_replaceUnhealthyInstancesHasBeenSet = true; m_replaceUnhealthyInstances = value; }
569 
577  inline CreateFleetRequest& WithReplaceUnhealthyInstances(bool value) { SetReplaceUnhealthyInstances(value); return *this;}
578 
579 
593  inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
594 
608  inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
609 
623  inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
624 
638  inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
639 
653  inline CreateFleetRequest& WithTagSpecifications(const Aws::Vector<TagSpecification>& value) { SetTagSpecifications(value); return *this;}
654 
668  inline CreateFleetRequest& WithTagSpecifications(Aws::Vector<TagSpecification>&& value) { SetTagSpecifications(std::move(value)); return *this;}
669 
683  inline CreateFleetRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
684 
698  inline CreateFleetRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
699 
700 
704  inline const Aws::String& GetContext() const{ return m_context; }
705 
709  inline bool ContextHasBeenSet() const { return m_contextHasBeenSet; }
710 
714  inline void SetContext(const Aws::String& value) { m_contextHasBeenSet = true; m_context = value; }
715 
719  inline void SetContext(Aws::String&& value) { m_contextHasBeenSet = true; m_context = std::move(value); }
720 
724  inline void SetContext(const char* value) { m_contextHasBeenSet = true; m_context.assign(value); }
725 
729  inline CreateFleetRequest& WithContext(const Aws::String& value) { SetContext(value); return *this;}
730 
734  inline CreateFleetRequest& WithContext(Aws::String&& value) { SetContext(std::move(value)); return *this;}
735 
739  inline CreateFleetRequest& WithContext(const char* value) { SetContext(value); return *this;}
740 
741  private:
742 
743  bool m_dryRun;
744  bool m_dryRunHasBeenSet;
745 
746  Aws::String m_clientToken;
747  bool m_clientTokenHasBeenSet;
748 
749  SpotOptionsRequest m_spotOptions;
750  bool m_spotOptionsHasBeenSet;
751 
752  OnDemandOptionsRequest m_onDemandOptions;
753  bool m_onDemandOptionsHasBeenSet;
754 
755  FleetExcessCapacityTerminationPolicy m_excessCapacityTerminationPolicy;
756  bool m_excessCapacityTerminationPolicyHasBeenSet;
757 
758  Aws::Vector<FleetLaunchTemplateConfigRequest> m_launchTemplateConfigs;
759  bool m_launchTemplateConfigsHasBeenSet;
760 
761  TargetCapacitySpecificationRequest m_targetCapacitySpecification;
762  bool m_targetCapacitySpecificationHasBeenSet;
763 
764  bool m_terminateInstancesWithExpiration;
765  bool m_terminateInstancesWithExpirationHasBeenSet;
766 
767  FleetType m_type;
768  bool m_typeHasBeenSet;
769 
770  Aws::Utils::DateTime m_validFrom;
771  bool m_validFromHasBeenSet;
772 
773  Aws::Utils::DateTime m_validUntil;
774  bool m_validUntilHasBeenSet;
775 
776  bool m_replaceUnhealthyInstances;
777  bool m_replaceUnhealthyInstancesHasBeenSet;
778 
779  Aws::Vector<TagSpecification> m_tagSpecifications;
780  bool m_tagSpecificationsHasBeenSet;
781 
782  Aws::String m_context;
783  bool m_contextHasBeenSet;
784  };
785 
786 } // namespace Model
787 } // namespace EC2
788 } // namespace Aws
Aws::EC2::Model::CreateFleetRequest::WithReplaceUnhealthyInstances
CreateFleetRequest & WithReplaceUnhealthyInstances(bool value)
Definition: CreateFleetRequest.h:577
Aws::EC2::Model::CreateFleetRequest::WithClientToken
CreateFleetRequest & WithClientToken(Aws::String &&value)
Definition: CreateFleetRequest.h:135
Aws::Utils::DateTime
Definition: DateTime.h:55
TagSpecification.h
Aws::EC2::Model::CreateFleetRequest::SetType
void SetType(const FleetType &value)
Definition: CreateFleetRequest.h:397
Aws::EC2::Model::CreateFleetRequest::WithExcessCapacityTerminationPolicy
CreateFleetRequest & WithExcessCapacityTerminationPolicy(const FleetExcessCapacityTerminationPolicy &value)
Definition: CreateFleetRequest.h:241
Aws::EC2::Model::CreateFleetRequest::TargetCapacitySpecificationHasBeenSet
bool TargetCapacitySpecificationHasBeenSet() const
Definition: CreateFleetRequest.h:300
Aws::EC2::Model::CreateFleetRequest::AddLaunchTemplateConfigs
CreateFleetRequest & AddLaunchTemplateConfigs(const FleetLaunchTemplateConfigRequest &value)
Definition: CreateFleetRequest.h:284
Aws::EC2::Model::CreateFleetRequest::GetTargetCapacitySpecification
const TargetCapacitySpecificationRequest & GetTargetCapacitySpecification() const
Definition: CreateFleetRequest.h:295
Aws::EC2::Model::CreateFleetRequest::SetValidUntil
void SetValidUntil(const Aws::Utils::DateTime &value)
Definition: CreateFleetRequest.h:516
Aws::EC2::Model::CreateFleetRequest::WithSpotOptions
CreateFleetRequest & WithSpotOptions(SpotOptionsRequest &&value)
Definition: CreateFleetRequest.h:174
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::CreateFleetRequest::WithType
CreateFleetRequest & WithType(const FleetType &value)
Definition: CreateFleetRequest.h:431
Aws::EC2::Model::CreateFleetRequest::GetOnDemandOptions
const OnDemandOptionsRequest & GetOnDemandOptions() const
Definition: CreateFleetRequest.h:180
Aws::EC2::Model::CreateFleetRequest::GetExcessCapacityTerminationPolicy
const FleetExcessCapacityTerminationPolicy & GetExcessCapacityTerminationPolicy() const
Definition: CreateFleetRequest.h:213
Aws::EC2::Model::CreateFleetRequest::WithLaunchTemplateConfigs
CreateFleetRequest & WithLaunchTemplateConfigs(Aws::Vector< FleetLaunchTemplateConfigRequest > &&value)
Definition: CreateFleetRequest.h:279
Aws::EC2::Model::CreateFleetRequest::SetLaunchTemplateConfigs
void SetLaunchTemplateConfigs(const Aws::Vector< FleetLaunchTemplateConfigRequest > &value)
Definition: CreateFleetRequest.h:264
Aws::EC2::Model::CreateFleetRequest::GetValidFrom
const Aws::Utils::DateTime & GetValidFrom() const
Definition: CreateFleetRequest.h:456
Aws::EC2::Model::CreateFleetRequest::GetValidUntil
const Aws::Utils::DateTime & GetValidUntil() const
Definition: CreateFleetRequest.h:500
Aws::EC2::Model::CreateFleetRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: CreateFleetRequest.h:62
Aws::EC2::Model::CreateFleetRequest::SetTerminateInstancesWithExpiration
void SetTerminateInstancesWithExpiration(bool value)
Definition: CreateFleetRequest.h:339
Aws::EC2::Model::CreateFleetRequest::SetTargetCapacitySpecification
void SetTargetCapacitySpecification(TargetCapacitySpecificationRequest &&value)
Definition: CreateFleetRequest.h:310
Aws::EC2::Model::CreateFleetRequest::WithValidUntil
CreateFleetRequest & WithValidUntil(const Aws::Utils::DateTime &value)
Definition: CreateFleetRequest.h:532
Aws::EC2::Model::CreateFleetRequest
Definition: CreateFleetRequest.h:31
Aws::EC2::Model::CreateFleetRequest::SetSpotOptions
void SetSpotOptions(SpotOptionsRequest &&value)
Definition: CreateFleetRequest.h:164
Aws::EC2::Model::CreateFleetRequest::OnDemandOptionsHasBeenSet
bool OnDemandOptionsHasBeenSet() const
Definition: CreateFleetRequest.h:185
DateTime.h
Aws::EC2::Model::CreateFleetRequest::ValidUntilHasBeenSet
bool ValidUntilHasBeenSet() const
Definition: CreateFleetRequest.h:508
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::CreateFleetRequest::WithValidUntil
CreateFleetRequest & WithValidUntil(Aws::Utils::DateTime &&value)
Definition: CreateFleetRequest.h:540
Aws::EC2::Model::CreateFleetRequest::WithContext
CreateFleetRequest & WithContext(Aws::String &&value)
Definition: CreateFleetRequest.h:734
Aws::EC2::Model::OnDemandOptionsRequest
Definition: OnDemandOptionsRequest.h:35
Aws::EC2::Model::CreateFleetRequest::WithLaunchTemplateConfigs
CreateFleetRequest & WithLaunchTemplateConfigs(const Aws::Vector< FleetLaunchTemplateConfigRequest > &value)
Definition: CreateFleetRequest.h:274
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::CreateFleetRequest::SetTagSpecifications
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: CreateFleetRequest.h:623
Aws::EC2::Model::CreateFleetRequest::SetValidUntil
void SetValidUntil(Aws::Utils::DateTime &&value)
Definition: CreateFleetRequest.h:524
Aws::EC2::Model::FleetExcessCapacityTerminationPolicy
FleetExcessCapacityTerminationPolicy
Definition: FleetExcessCapacityTerminationPolicy.h:17
AWSVector.h
Aws::EC2::Model::CreateFleetRequest::SetExcessCapacityTerminationPolicy
void SetExcessCapacityTerminationPolicy(const FleetExcessCapacityTerminationPolicy &value)
Definition: CreateFleetRequest.h:227
Aws::EC2::Model::CreateFleetRequest::WithOnDemandOptions
CreateFleetRequest & WithOnDemandOptions(const OnDemandOptionsRequest &value)
Definition: CreateFleetRequest.h:200
Aws::EC2::Model::CreateFleetRequest::SetReplaceUnhealthyInstances
void SetReplaceUnhealthyInstances(bool value)
Definition: CreateFleetRequest.h:568
Aws::EC2::Model::CreateFleetRequest::SetLaunchTemplateConfigs
void SetLaunchTemplateConfigs(Aws::Vector< FleetLaunchTemplateConfigRequest > &&value)
Definition: CreateFleetRequest.h:269
Aws::EC2::Model::CreateFleetRequest::GetReplaceUnhealthyInstances
bool GetReplaceUnhealthyInstances() const
Definition: CreateFleetRequest.h:550
Aws::EC2::Model::CreateFleetRequest::SetContext
void SetContext(Aws::String &&value)
Definition: CreateFleetRequest.h:719
Aws::EC2::Model::CreateFleetRequest::GetSpotOptions
const SpotOptionsRequest & GetSpotOptions() const
Definition: CreateFleetRequest.h:149
TargetCapacitySpecificationRequest.h
Aws::EC2::Model::CreateFleetRequest::AddLaunchTemplateConfigs
CreateFleetRequest & AddLaunchTemplateConfigs(FleetLaunchTemplateConfigRequest &&value)
Definition: CreateFleetRequest.h:289
Aws::EC2::Model::CreateFleetRequest::ValidFromHasBeenSet
bool ValidFromHasBeenSet() const
Definition: CreateFleetRequest.h:463
Aws::EC2::Model::CreateFleetRequest::GetContext
const Aws::String & GetContext() const
Definition: CreateFleetRequest.h:704
Aws::EC2::Model::CreateFleetRequest::WithType
CreateFleetRequest & WithType(FleetType &&value)
Definition: CreateFleetRequest.h:448
Aws::EC2::Model::CreateFleetRequest::WithClientToken
CreateFleetRequest & WithClientToken(const char *value)
Definition: CreateFleetRequest.h:143
Aws::EC2::Model::CreateFleetRequest::WithClientToken
CreateFleetRequest & WithClientToken(const Aws::String &value)
Definition: CreateFleetRequest.h:127
Aws::EC2::Model::CreateFleetRequest::SetContext
void SetContext(const Aws::String &value)
Definition: CreateFleetRequest.h:714
Aws::EC2::Model::CreateFleetRequest::WithContext
CreateFleetRequest & WithContext(const Aws::String &value)
Definition: CreateFleetRequest.h:729
Aws::EC2::Model::CreateFleetRequest::WithTerminateInstancesWithExpiration
CreateFleetRequest & WithTerminateInstancesWithExpiration(bool value)
Definition: CreateFleetRequest.h:345
Aws::EC2::Model::CreateFleetRequest::SetSpotOptions
void SetSpotOptions(const SpotOptionsRequest &value)
Definition: CreateFleetRequest.h:159
Aws::EC2::Model::CreateFleetRequest::SpotOptionsHasBeenSet
bool SpotOptionsHasBeenSet() const
Definition: CreateFleetRequest.h:154
Aws::EC2::Model::CreateFleetRequest::SetClientToken
void SetClientToken(const char *value)
Definition: CreateFleetRequest.h:119
EC2Request.h
Aws::EC2::Model::CreateFleetRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: CreateFleetRequest.h:87
Aws::EC2::Model::CreateFleetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateFleetRequest.h:39
Aws::EC2::Model::CreateFleetRequest::WithTagSpecifications
CreateFleetRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
Definition: CreateFleetRequest.h:668
Aws::EC2::Model::CreateFleetRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: CreateFleetRequest.h:95
Aws::EC2::Model::CreateFleetRequest::GetLaunchTemplateConfigs
const Aws::Vector< FleetLaunchTemplateConfigRequest > & GetLaunchTemplateConfigs() const
Definition: CreateFleetRequest.h:254
Aws::EC2::Model::CreateFleetRequest::SetOnDemandOptions
void SetOnDemandOptions(const OnDemandOptionsRequest &value)
Definition: CreateFleetRequest.h:190
Aws::EC2::Model::CreateFleetRequest::SetValidFrom
void SetValidFrom(Aws::Utils::DateTime &&value)
Definition: CreateFleetRequest.h:477
FleetType.h
Aws::EC2::Model::FleetLaunchTemplateConfigRequest
Definition: FleetLaunchTemplateConfigRequest.h:34
Aws::EC2::Model::CreateFleetRequest::WithContext
CreateFleetRequest & WithContext(const char *value)
Definition: CreateFleetRequest.h:739
Aws::EC2::Model::CreateFleetRequest::GetType
const FleetType & GetType() const
Definition: CreateFleetRequest.h:363
AWSString.h
Aws::EC2::Model::CreateFleetRequest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: CreateFleetRequest.h:380
Aws::EC2::Model::CreateFleetRequest::AddTagSpecifications
CreateFleetRequest & AddTagSpecifications(const TagSpecification &value)
Definition: CreateFleetRequest.h:683
Aws::EC2::Model::CreateFleetRequest::WithOnDemandOptions
CreateFleetRequest & WithOnDemandOptions(OnDemandOptionsRequest &&value)
Definition: CreateFleetRequest.h:205
Aws::EC2::Model::CreateFleetRequest::SetTagSpecifications
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
Definition: CreateFleetRequest.h:638
Aws::EC2::Model::CreateFleetRequest::SetDryRun
void SetDryRun(bool value)
Definition: CreateFleetRequest.h:70
Aws::EC2::Model::SpotOptionsRequest
Definition: SpotOptionsRequest.h:36
Aws::EC2::Model::CreateFleetRequest::SetValidFrom
void SetValidFrom(const Aws::Utils::DateTime &value)
Definition: CreateFleetRequest.h:470
Aws::EC2::Model::CreateFleetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::CreateFleetRequest::WithTagSpecifications
CreateFleetRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: CreateFleetRequest.h:653
Aws::EC2::Model::CreateFleetRequest::SetTargetCapacitySpecification
void SetTargetCapacitySpecification(const TargetCapacitySpecificationRequest &value)
Definition: CreateFleetRequest.h:305
Aws::EC2::Model::CreateFleetRequest::LaunchTemplateConfigsHasBeenSet
bool LaunchTemplateConfigsHasBeenSet() const
Definition: CreateFleetRequest.h:259
FleetLaunchTemplateConfigRequest.h
Aws::EC2::Model::CreateFleetRequest::SetContext
void SetContext(const char *value)
Definition: CreateFleetRequest.h:724
Aws::EC2::Model::CreateFleetRequest::WithExcessCapacityTerminationPolicy
CreateFleetRequest & WithExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy &&value)
Definition: CreateFleetRequest.h:248
SpotOptionsRequest.h
Aws::EC2::Model::CreateFleetRequest::WithSpotOptions
CreateFleetRequest & WithSpotOptions(const SpotOptionsRequest &value)
Definition: CreateFleetRequest.h:169
OnDemandOptionsRequest.h
Aws::EC2::Model::CreateFleetRequest::ReplaceUnhealthyInstancesHasBeenSet
bool ReplaceUnhealthyInstancesHasBeenSet() const
Definition: CreateFleetRequest.h:559
Aws::EC2::Model::TargetCapacitySpecificationRequest
Definition: TargetCapacitySpecificationRequest.h:48
Aws::EC2::Model::CreateFleetRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: CreateFleetRequest.h:103
Aws::EC2::Model::CreateFleetRequest::GetDryRun
bool GetDryRun() const
Definition: CreateFleetRequest.h:54
Aws::EC2::Model::CreateFleetRequest::WithValidFrom
CreateFleetRequest & WithValidFrom(Aws::Utils::DateTime &&value)
Definition: CreateFleetRequest.h:491
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateFleetRequest::WithTargetCapacitySpecification
CreateFleetRequest & WithTargetCapacitySpecification(const TargetCapacitySpecificationRequest &value)
Definition: CreateFleetRequest.h:315
Aws::EC2::Model::CreateFleetRequest::GetTerminateInstancesWithExpiration
bool GetTerminateInstancesWithExpiration() const
Definition: CreateFleetRequest.h:327
Aws::EC2::Model::CreateFleetRequest::CreateFleetRequest
CreateFleetRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::CreateFleetRequest::SetType
void SetType(FleetType &&value)
Definition: CreateFleetRequest.h:414
Aws::EC2::Model::CreateFleetRequest::ExcessCapacityTerminationPolicyHasBeenSet
bool ExcessCapacityTerminationPolicyHasBeenSet() const
Definition: CreateFleetRequest.h:220
Aws::EC2::Model::CreateFleetRequest::SetExcessCapacityTerminationPolicy
void SetExcessCapacityTerminationPolicy(FleetExcessCapacityTerminationPolicy &&value)
Definition: CreateFleetRequest.h:234
Aws::EC2::Model::CreateFleetRequest::SetOnDemandOptions
void SetOnDemandOptions(OnDemandOptionsRequest &&value)
Definition: CreateFleetRequest.h:195
Aws::EC2::Model::CreateFleetRequest::WithValidFrom
CreateFleetRequest & WithValidFrom(const Aws::Utils::DateTime &value)
Definition: CreateFleetRequest.h:484
Aws::EC2::Model::CreateFleetRequest::TagSpecificationsHasBeenSet
bool TagSpecificationsHasBeenSet() const
Definition: CreateFleetRequest.h:608
Aws::EC2::Model::CreateFleetRequest::AddTagSpecifications
CreateFleetRequest & AddTagSpecifications(TagSpecification &&value)
Definition: CreateFleetRequest.h:698
Aws::EC2::Model::CreateFleetRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: CreateFleetRequest.h:111
Aws::EC2::Model::CreateFleetRequest::ContextHasBeenSet
bool ContextHasBeenSet() const
Definition: CreateFleetRequest.h:709
Aws::EC2::Model::CreateFleetRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::TagSpecification
Definition: TagSpecification.h:35
EC2_EXPORTS.h
Aws::EC2::Model::CreateFleetRequest::WithDryRun
CreateFleetRequest & WithDryRun(bool value)
Definition: CreateFleetRequest.h:78
FleetExcessCapacityTerminationPolicy.h
Aws::EC2::Model::CreateFleetRequest::WithTargetCapacitySpecification
CreateFleetRequest & WithTargetCapacitySpecification(TargetCapacitySpecificationRequest &&value)
Definition: CreateFleetRequest.h:320
Aws::EC2::Model::CreateFleetRequest::TerminateInstancesWithExpirationHasBeenSet
bool TerminateInstancesWithExpirationHasBeenSet() const
Definition: CreateFleetRequest.h:333
Aws::EC2::Model::CreateFleetRequest::GetTagSpecifications
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
Definition: CreateFleetRequest.h:593
Aws::EC2::Model::FleetType
FleetType
Definition: FleetType.h:17