AWS SDK for C++  1.9.123
AWS SDK for C++
RequestSpotInstancesRequest.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>
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace EC2
21 {
22 namespace Model
23 {
24 
32  {
33  public:
35 
36  // Service request name is the Operation name which will send this request out,
37  // each operation should has unique request name, so that we can get operation's name from this request.
38  // Note: this is not true for response, multiple operations may have the same response name,
39  // so we can not get operation's name from response.
40  inline virtual const char* GetServiceRequestName() const override { return "RequestSpotInstances"; }
41 
42  Aws::String SerializePayload() const override;
43 
44  protected:
45  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
46 
47  public:
48 
67  inline const Aws::String& GetAvailabilityZoneGroup() const{ return m_availabilityZoneGroup; }
68 
87  inline bool AvailabilityZoneGroupHasBeenSet() const { return m_availabilityZoneGroupHasBeenSet; }
88 
107  inline void SetAvailabilityZoneGroup(const Aws::String& value) { m_availabilityZoneGroupHasBeenSet = true; m_availabilityZoneGroup = value; }
108 
127  inline void SetAvailabilityZoneGroup(Aws::String&& value) { m_availabilityZoneGroupHasBeenSet = true; m_availabilityZoneGroup = std::move(value); }
128 
147  inline void SetAvailabilityZoneGroup(const char* value) { m_availabilityZoneGroupHasBeenSet = true; m_availabilityZoneGroup.assign(value); }
148 
167  inline RequestSpotInstancesRequest& WithAvailabilityZoneGroup(const Aws::String& value) { SetAvailabilityZoneGroup(value); return *this;}
168 
187  inline RequestSpotInstancesRequest& WithAvailabilityZoneGroup(Aws::String&& value) { SetAvailabilityZoneGroup(std::move(value)); return *this;}
188 
207  inline RequestSpotInstancesRequest& WithAvailabilityZoneGroup(const char* value) { SetAvailabilityZoneGroup(value); return *this;}
208 
209 
213  inline int GetBlockDurationMinutes() const{ return m_blockDurationMinutes; }
214 
218  inline bool BlockDurationMinutesHasBeenSet() const { return m_blockDurationMinutesHasBeenSet; }
219 
223  inline void SetBlockDurationMinutes(int value) { m_blockDurationMinutesHasBeenSet = true; m_blockDurationMinutes = value; }
224 
228  inline RequestSpotInstancesRequest& WithBlockDurationMinutes(int value) { SetBlockDurationMinutes(value); return *this;}
229 
230 
238  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
239 
247  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
248 
256  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
257 
265  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
266 
274  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
275 
283  inline RequestSpotInstancesRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
284 
292  inline RequestSpotInstancesRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
293 
301  inline RequestSpotInstancesRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
302 
303 
310  inline bool GetDryRun() const{ return m_dryRun; }
311 
318  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
319 
326  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
327 
334  inline RequestSpotInstancesRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
335 
336 
340  inline int GetInstanceCount() const{ return m_instanceCount; }
341 
345  inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
346 
350  inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
351 
355  inline RequestSpotInstancesRequest& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
356 
357 
363  inline const Aws::String& GetLaunchGroup() const{ return m_launchGroup; }
364 
370  inline bool LaunchGroupHasBeenSet() const { return m_launchGroupHasBeenSet; }
371 
377  inline void SetLaunchGroup(const Aws::String& value) { m_launchGroupHasBeenSet = true; m_launchGroup = value; }
378 
384  inline void SetLaunchGroup(Aws::String&& value) { m_launchGroupHasBeenSet = true; m_launchGroup = std::move(value); }
385 
391  inline void SetLaunchGroup(const char* value) { m_launchGroupHasBeenSet = true; m_launchGroup.assign(value); }
392 
398  inline RequestSpotInstancesRequest& WithLaunchGroup(const Aws::String& value) { SetLaunchGroup(value); return *this;}
399 
405  inline RequestSpotInstancesRequest& WithLaunchGroup(Aws::String&& value) { SetLaunchGroup(std::move(value)); return *this;}
406 
412  inline RequestSpotInstancesRequest& WithLaunchGroup(const char* value) { SetLaunchGroup(value); return *this;}
413 
414 
418  inline const RequestSpotLaunchSpecification& GetLaunchSpecification() const{ return m_launchSpecification; }
419 
423  inline bool LaunchSpecificationHasBeenSet() const { return m_launchSpecificationHasBeenSet; }
424 
428  inline void SetLaunchSpecification(const RequestSpotLaunchSpecification& value) { m_launchSpecificationHasBeenSet = true; m_launchSpecification = value; }
429 
433  inline void SetLaunchSpecification(RequestSpotLaunchSpecification&& value) { m_launchSpecificationHasBeenSet = true; m_launchSpecification = std::move(value); }
434 
438  inline RequestSpotInstancesRequest& WithLaunchSpecification(const RequestSpotLaunchSpecification& value) { SetLaunchSpecification(value); return *this;}
439 
443  inline RequestSpotInstancesRequest& WithLaunchSpecification(RequestSpotLaunchSpecification&& value) { SetLaunchSpecification(std::move(value)); return *this;}
444 
445 
450  inline const Aws::String& GetSpotPrice() const{ return m_spotPrice; }
451 
456  inline bool SpotPriceHasBeenSet() const { return m_spotPriceHasBeenSet; }
457 
462  inline void SetSpotPrice(const Aws::String& value) { m_spotPriceHasBeenSet = true; m_spotPrice = value; }
463 
468  inline void SetSpotPrice(Aws::String&& value) { m_spotPriceHasBeenSet = true; m_spotPrice = std::move(value); }
469 
474  inline void SetSpotPrice(const char* value) { m_spotPriceHasBeenSet = true; m_spotPrice.assign(value); }
475 
480  inline RequestSpotInstancesRequest& WithSpotPrice(const Aws::String& value) { SetSpotPrice(value); return *this;}
481 
486  inline RequestSpotInstancesRequest& WithSpotPrice(Aws::String&& value) { SetSpotPrice(std::move(value)); return *this;}
487 
492  inline RequestSpotInstancesRequest& WithSpotPrice(const char* value) { SetSpotPrice(value); return *this;}
493 
494 
498  inline const SpotInstanceType& GetType() const{ return m_type; }
499 
503  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
504 
508  inline void SetType(const SpotInstanceType& value) { m_typeHasBeenSet = true; m_type = value; }
509 
513  inline void SetType(SpotInstanceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
514 
518  inline RequestSpotInstancesRequest& WithType(const SpotInstanceType& value) { SetType(value); return *this;}
519 
523  inline RequestSpotInstancesRequest& WithType(SpotInstanceType&& value) { SetType(std::move(value)); return *this;}
524 
525 
535  inline const Aws::Utils::DateTime& GetValidFrom() const{ return m_validFrom; }
536 
546  inline bool ValidFromHasBeenSet() const { return m_validFromHasBeenSet; }
547 
557  inline void SetValidFrom(const Aws::Utils::DateTime& value) { m_validFromHasBeenSet = true; m_validFrom = value; }
558 
568  inline void SetValidFrom(Aws::Utils::DateTime&& value) { m_validFromHasBeenSet = true; m_validFrom = std::move(value); }
569 
579  inline RequestSpotInstancesRequest& WithValidFrom(const Aws::Utils::DateTime& value) { SetValidFrom(value); return *this;}
580 
590  inline RequestSpotInstancesRequest& WithValidFrom(Aws::Utils::DateTime&& value) { SetValidFrom(std::move(value)); return *this;}
591 
592 
603  inline const Aws::Utils::DateTime& GetValidUntil() const{ return m_validUntil; }
604 
615  inline bool ValidUntilHasBeenSet() const { return m_validUntilHasBeenSet; }
616 
627  inline void SetValidUntil(const Aws::Utils::DateTime& value) { m_validUntilHasBeenSet = true; m_validUntil = value; }
628 
639  inline void SetValidUntil(Aws::Utils::DateTime&& value) { m_validUntilHasBeenSet = true; m_validUntil = std::move(value); }
640 
651  inline RequestSpotInstancesRequest& WithValidUntil(const Aws::Utils::DateTime& value) { SetValidUntil(value); return *this;}
652 
663  inline RequestSpotInstancesRequest& WithValidUntil(Aws::Utils::DateTime&& value) { SetValidUntil(std::move(value)); return *this;}
664 
665 
674  inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
675 
684  inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
685 
694  inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
695 
704  inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
705 
714  inline RequestSpotInstancesRequest& WithTagSpecifications(const Aws::Vector<TagSpecification>& value) { SetTagSpecifications(value); return *this;}
715 
724  inline RequestSpotInstancesRequest& WithTagSpecifications(Aws::Vector<TagSpecification>&& value) { SetTagSpecifications(std::move(value)); return *this;}
725 
734  inline RequestSpotInstancesRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
735 
744  inline RequestSpotInstancesRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
745 
746 
751  inline const InstanceInterruptionBehavior& GetInstanceInterruptionBehavior() const{ return m_instanceInterruptionBehavior; }
752 
757  inline bool InstanceInterruptionBehaviorHasBeenSet() const { return m_instanceInterruptionBehaviorHasBeenSet; }
758 
763  inline void SetInstanceInterruptionBehavior(const InstanceInterruptionBehavior& value) { m_instanceInterruptionBehaviorHasBeenSet = true; m_instanceInterruptionBehavior = value; }
764 
769  inline void SetInstanceInterruptionBehavior(InstanceInterruptionBehavior&& value) { m_instanceInterruptionBehaviorHasBeenSet = true; m_instanceInterruptionBehavior = std::move(value); }
770 
775  inline RequestSpotInstancesRequest& WithInstanceInterruptionBehavior(const InstanceInterruptionBehavior& value) { SetInstanceInterruptionBehavior(value); return *this;}
776 
781  inline RequestSpotInstancesRequest& WithInstanceInterruptionBehavior(InstanceInterruptionBehavior&& value) { SetInstanceInterruptionBehavior(std::move(value)); return *this;}
782 
783  private:
784 
785  Aws::String m_availabilityZoneGroup;
786  bool m_availabilityZoneGroupHasBeenSet;
787 
788  int m_blockDurationMinutes;
789  bool m_blockDurationMinutesHasBeenSet;
790 
791  Aws::String m_clientToken;
792  bool m_clientTokenHasBeenSet;
793 
794  bool m_dryRun;
795  bool m_dryRunHasBeenSet;
796 
797  int m_instanceCount;
798  bool m_instanceCountHasBeenSet;
799 
800  Aws::String m_launchGroup;
801  bool m_launchGroupHasBeenSet;
802 
803  RequestSpotLaunchSpecification m_launchSpecification;
804  bool m_launchSpecificationHasBeenSet;
805 
806  Aws::String m_spotPrice;
807  bool m_spotPriceHasBeenSet;
808 
809  SpotInstanceType m_type;
810  bool m_typeHasBeenSet;
811 
812  Aws::Utils::DateTime m_validFrom;
813  bool m_validFromHasBeenSet;
814 
815  Aws::Utils::DateTime m_validUntil;
816  bool m_validUntilHasBeenSet;
817 
818  Aws::Vector<TagSpecification> m_tagSpecifications;
819  bool m_tagSpecificationsHasBeenSet;
820 
821  InstanceInterruptionBehavior m_instanceInterruptionBehavior;
822  bool m_instanceInterruptionBehaviorHasBeenSet;
823  };
824 
825 } // namespace Model
826 } // namespace EC2
827 } // namespace Aws
Aws::EC2::Model::RequestSpotInstancesRequest::GetValidUntil
const Aws::Utils::DateTime & GetValidUntil() const
Definition: RequestSpotInstancesRequest.h:603
Aws::Utils::DateTime
Definition: DateTime.h:55
TagSpecification.h
Aws::EC2::Model::InstanceInterruptionBehavior
InstanceInterruptionBehavior
Definition: InstanceInterruptionBehavior.h:17
Aws::EC2::Model::RequestSpotInstancesRequest::WithLaunchGroup
RequestSpotInstancesRequest & WithLaunchGroup(const Aws::String &value)
Definition: RequestSpotInstancesRequest.h:398
Aws::EC2::Model::RequestSpotInstancesRequest::WithLaunchGroup
RequestSpotInstancesRequest & WithLaunchGroup(Aws::String &&value)
Definition: RequestSpotInstancesRequest.h:405
Aws::EC2::Model::RequestSpotInstancesRequest::SetLaunchGroup
void SetLaunchGroup(Aws::String &&value)
Definition: RequestSpotInstancesRequest.h:384
Aws::EC2::Model::RequestSpotInstancesRequest::WithTagSpecifications
RequestSpotInstancesRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
Definition: RequestSpotInstancesRequest.h:724
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::RequestSpotInstancesRequest::InstanceInterruptionBehaviorHasBeenSet
bool InstanceInterruptionBehaviorHasBeenSet() const
Definition: RequestSpotInstancesRequest.h:757
Aws::EC2::Model::RequestSpotInstancesRequest::SetClientToken
void SetClientToken(const char *value)
Definition: RequestSpotInstancesRequest.h:274
Aws::EC2::Model::RequestSpotInstancesRequest::WithSpotPrice
RequestSpotInstancesRequest & WithSpotPrice(const Aws::String &value)
Definition: RequestSpotInstancesRequest.h:480
Aws::EC2::Model::RequestSpotInstancesRequest::ValidFromHasBeenSet
bool ValidFromHasBeenSet() const
Definition: RequestSpotInstancesRequest.h:546
Aws::EC2::Model::RequestSpotInstancesRequest::SetSpotPrice
void SetSpotPrice(Aws::String &&value)
Definition: RequestSpotInstancesRequest.h:468
Aws::EC2::Model::RequestSpotInstancesRequest::WithClientToken
RequestSpotInstancesRequest & WithClientToken(const Aws::String &value)
Definition: RequestSpotInstancesRequest.h:283
Aws::EC2::Model::RequestSpotInstancesRequest::SetTagSpecifications
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
Definition: RequestSpotInstancesRequest.h:704
Aws::EC2::Model::RequestSpotInstancesRequest::WithInstanceCount
RequestSpotInstancesRequest & WithInstanceCount(int value)
Definition: RequestSpotInstancesRequest.h:355
Aws::EC2::Model::RequestSpotInstancesRequest::SetSpotPrice
void SetSpotPrice(const char *value)
Definition: RequestSpotInstancesRequest.h:474
Aws::EC2::Model::RequestSpotInstancesRequest::WithType
RequestSpotInstancesRequest & WithType(SpotInstanceType &&value)
Definition: RequestSpotInstancesRequest.h:523
DateTime.h
Aws::EC2::Model::RequestSpotLaunchSpecification
Definition: RequestSpotLaunchSpecification.h:40
Aws::EC2::Model::RequestSpotInstancesRequest::WithAvailabilityZoneGroup
RequestSpotInstancesRequest & WithAvailabilityZoneGroup(const Aws::String &value)
Definition: RequestSpotInstancesRequest.h:167
Aws::EC2::Model::RequestSpotInstancesRequest::SetValidUntil
void SetValidUntil(const Aws::Utils::DateTime &value)
Definition: RequestSpotInstancesRequest.h:627
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::RequestSpotInstancesRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: RequestSpotInstancesRequest.h:247
Aws::EC2::Model::RequestSpotInstancesRequest::WithLaunchSpecification
RequestSpotInstancesRequest & WithLaunchSpecification(const RequestSpotLaunchSpecification &value)
Definition: RequestSpotInstancesRequest.h:438
Aws::EC2::Model::RequestSpotInstancesRequest::WithValidUntil
RequestSpotInstancesRequest & WithValidUntil(const Aws::Utils::DateTime &value)
Definition: RequestSpotInstancesRequest.h:651
Aws::EC2::Model::RequestSpotInstancesRequest::LaunchGroupHasBeenSet
bool LaunchGroupHasBeenSet() const
Definition: RequestSpotInstancesRequest.h:370
Aws::EC2::Model::RequestSpotInstancesRequest::WithAvailabilityZoneGroup
RequestSpotInstancesRequest & WithAvailabilityZoneGroup(Aws::String &&value)
Definition: RequestSpotInstancesRequest.h:187
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::RequestSpotInstancesRequest::SetLaunchGroup
void SetLaunchGroup(const char *value)
Definition: RequestSpotInstancesRequest.h:391
Aws::EC2::Model::RequestSpotInstancesRequest::WithValidFrom
RequestSpotInstancesRequest & WithValidFrom(const Aws::Utils::DateTime &value)
Definition: RequestSpotInstancesRequest.h:579
AWSVector.h
Aws::EC2::Model::RequestSpotInstancesRequest::GetLaunchSpecification
const RequestSpotLaunchSpecification & GetLaunchSpecification() const
Definition: RequestSpotInstancesRequest.h:418
Aws::EC2::Model::RequestSpotInstancesRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: RequestSpotInstancesRequest.h:318
Aws::EC2::Model::RequestSpotInstancesRequest::SetLaunchGroup
void SetLaunchGroup(const Aws::String &value)
Definition: RequestSpotInstancesRequest.h:377
Aws::EC2::Model::RequestSpotInstancesRequest::GetDryRun
bool GetDryRun() const
Definition: RequestSpotInstancesRequest.h:310
Aws::EC2::Model::RequestSpotInstancesRequest::SetLaunchSpecification
void SetLaunchSpecification(RequestSpotLaunchSpecification &&value)
Definition: RequestSpotInstancesRequest.h:433
Aws::EC2::Model::RequestSpotInstancesRequest::RequestSpotInstancesRequest
RequestSpotInstancesRequest()
Aws::EC2::Model::RequestSpotInstancesRequest::WithLaunchGroup
RequestSpotInstancesRequest & WithLaunchGroup(const char *value)
Definition: RequestSpotInstancesRequest.h:412
Aws::EC2::Model::RequestSpotInstancesRequest::SetAvailabilityZoneGroup
void SetAvailabilityZoneGroup(Aws::String &&value)
Definition: RequestSpotInstancesRequest.h:127
Aws::EC2::Model::RequestSpotInstancesRequest::WithLaunchSpecification
RequestSpotInstancesRequest & WithLaunchSpecification(RequestSpotLaunchSpecification &&value)
Definition: RequestSpotInstancesRequest.h:443
Aws::EC2::Model::RequestSpotInstancesRequest::SetInstanceInterruptionBehavior
void SetInstanceInterruptionBehavior(InstanceInterruptionBehavior &&value)
Definition: RequestSpotInstancesRequest.h:769
Aws::EC2::Model::RequestSpotInstancesRequest::GetInstanceCount
int GetInstanceCount() const
Definition: RequestSpotInstancesRequest.h:340
Aws::EC2::Model::RequestSpotInstancesRequest::SetInstanceCount
void SetInstanceCount(int value)
Definition: RequestSpotInstancesRequest.h:350
Aws::EC2::Model::RequestSpotInstancesRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: RequestSpotInstancesRequest.h:256
Aws::EC2::Model::RequestSpotInstancesRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: RequestSpotInstancesRequest.h:265
Aws::EC2::Model::RequestSpotInstancesRequest::BlockDurationMinutesHasBeenSet
bool BlockDurationMinutesHasBeenSet() const
Definition: RequestSpotInstancesRequest.h:218
Aws::EC2::Model::RequestSpotInstancesRequest::SetTagSpecifications
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: RequestSpotInstancesRequest.h:694
Aws::EC2::Model::RequestSpotInstancesRequest::WithValidFrom
RequestSpotInstancesRequest & WithValidFrom(Aws::Utils::DateTime &&value)
Definition: RequestSpotInstancesRequest.h:590
Aws::EC2::Model::RequestSpotInstancesRequest::InstanceCountHasBeenSet
bool InstanceCountHasBeenSet() const
Definition: RequestSpotInstancesRequest.h:345
Aws::EC2::Model::RequestSpotInstancesRequest::ValidUntilHasBeenSet
bool ValidUntilHasBeenSet() const
Definition: RequestSpotInstancesRequest.h:615
Aws::EC2::Model::RequestSpotInstancesRequest::SetAvailabilityZoneGroup
void SetAvailabilityZoneGroup(const Aws::String &value)
Definition: RequestSpotInstancesRequest.h:107
Aws::EC2::Model::SpotInstanceType
SpotInstanceType
Definition: SpotInstanceType.h:17
EC2Request.h
Aws::EC2::Model::RequestSpotInstancesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RequestSpotInstancesRequest.h:40
Aws::EC2::Model::RequestSpotInstancesRequest::SetLaunchSpecification
void SetLaunchSpecification(const RequestSpotLaunchSpecification &value)
Definition: RequestSpotInstancesRequest.h:428
Aws::EC2::Model::RequestSpotInstancesRequest::AddTagSpecifications
RequestSpotInstancesRequest & AddTagSpecifications(TagSpecification &&value)
Definition: RequestSpotInstancesRequest.h:744
InstanceInterruptionBehavior.h
AWSString.h
Aws::EC2::Model::RequestSpotInstancesRequest::GetLaunchGroup
const Aws::String & GetLaunchGroup() const
Definition: RequestSpotInstancesRequest.h:363
Aws::EC2::Model::RequestSpotInstancesRequest::SetAvailabilityZoneGroup
void SetAvailabilityZoneGroup(const char *value)
Definition: RequestSpotInstancesRequest.h:147
Aws::EC2::Model::RequestSpotInstancesRequest::GetTagSpecifications
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
Definition: RequestSpotInstancesRequest.h:674
Aws::EC2::Model::RequestSpotInstancesRequest::AvailabilityZoneGroupHasBeenSet
bool AvailabilityZoneGroupHasBeenSet() const
Definition: RequestSpotInstancesRequest.h:87
Aws::EC2::Model::RequestSpotInstancesRequest::SetBlockDurationMinutes
void SetBlockDurationMinutes(int value)
Definition: RequestSpotInstancesRequest.h:223
Aws::EC2::Model::RequestSpotInstancesRequest::GetAvailabilityZoneGroup
const Aws::String & GetAvailabilityZoneGroup() const
Definition: RequestSpotInstancesRequest.h:67
Aws::EC2::Model::RequestSpotInstancesRequest::WithClientToken
RequestSpotInstancesRequest & WithClientToken(Aws::String &&value)
Definition: RequestSpotInstancesRequest.h:292
Aws::EC2::Model::RequestSpotInstancesRequest::SpotPriceHasBeenSet
bool SpotPriceHasBeenSet() const
Definition: RequestSpotInstancesRequest.h:456
Aws::EC2::Model::RequestSpotInstancesRequest::LaunchSpecificationHasBeenSet
bool LaunchSpecificationHasBeenSet() const
Definition: RequestSpotInstancesRequest.h:423
Aws::EC2::Model::RequestSpotInstancesRequest::AddTagSpecifications
RequestSpotInstancesRequest & AddTagSpecifications(const TagSpecification &value)
Definition: RequestSpotInstancesRequest.h:734
Aws::EC2::Model::RequestSpotInstancesRequest::SetType
void SetType(SpotInstanceType &&value)
Definition: RequestSpotInstancesRequest.h:513
Aws::EC2::Model::RequestSpotInstancesRequest::GetInstanceInterruptionBehavior
const InstanceInterruptionBehavior & GetInstanceInterruptionBehavior() const
Definition: RequestSpotInstancesRequest.h:751
SpotInstanceType.h
Aws::EC2::Model::RequestSpotInstancesRequest::SetDryRun
void SetDryRun(bool value)
Definition: RequestSpotInstancesRequest.h:326
Aws::EC2::Model::RequestSpotInstancesRequest::WithDryRun
RequestSpotInstancesRequest & WithDryRun(bool value)
Definition: RequestSpotInstancesRequest.h:334
Aws::EC2::Model::RequestSpotInstancesRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: RequestSpotInstancesRequest.h:238
Aws::EC2::Model::RequestSpotInstancesRequest::GetBlockDurationMinutes
int GetBlockDurationMinutes() const
Definition: RequestSpotInstancesRequest.h:213
Aws::EC2::Model::RequestSpotInstancesRequest::WithClientToken
RequestSpotInstancesRequest & WithClientToken(const char *value)
Definition: RequestSpotInstancesRequest.h:301
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::RequestSpotInstancesRequest::WithValidUntil
RequestSpotInstancesRequest & WithValidUntil(Aws::Utils::DateTime &&value)
Definition: RequestSpotInstancesRequest.h:663
Aws::EC2::Model::RequestSpotInstancesRequest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: RequestSpotInstancesRequest.h:503
Aws::EC2::Model::RequestSpotInstancesRequest::WithAvailabilityZoneGroup
RequestSpotInstancesRequest & WithAvailabilityZoneGroup(const char *value)
Definition: RequestSpotInstancesRequest.h:207
Aws::EC2::Model::RequestSpotInstancesRequest::SetValidFrom
void SetValidFrom(const Aws::Utils::DateTime &value)
Definition: RequestSpotInstancesRequest.h:557
Aws::EC2::Model::RequestSpotInstancesRequest::WithSpotPrice
RequestSpotInstancesRequest & WithSpotPrice(const char *value)
Definition: RequestSpotInstancesRequest.h:492
Aws::EC2::Model::RequestSpotInstancesRequest::SetValidFrom
void SetValidFrom(Aws::Utils::DateTime &&value)
Definition: RequestSpotInstancesRequest.h:568
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::RequestSpotInstancesRequest::SetType
void SetType(const SpotInstanceType &value)
Definition: RequestSpotInstancesRequest.h:508
Aws::EC2::Model::RequestSpotInstancesRequest::WithTagSpecifications
RequestSpotInstancesRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: RequestSpotInstancesRequest.h:714
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::RequestSpotInstancesRequest::WithInstanceInterruptionBehavior
RequestSpotInstancesRequest & WithInstanceInterruptionBehavior(InstanceInterruptionBehavior &&value)
Definition: RequestSpotInstancesRequest.h:781
Aws::EC2::Model::RequestSpotInstancesRequest::WithBlockDurationMinutes
RequestSpotInstancesRequest & WithBlockDurationMinutes(int value)
Definition: RequestSpotInstancesRequest.h:228
Aws::EC2::Model::RequestSpotInstancesRequest::GetSpotPrice
const Aws::String & GetSpotPrice() const
Definition: RequestSpotInstancesRequest.h:450
Aws::EC2::Model::RequestSpotInstancesRequest::SetSpotPrice
void SetSpotPrice(const Aws::String &value)
Definition: RequestSpotInstancesRequest.h:462
Aws::EC2::Model::RequestSpotInstancesRequest::WithInstanceInterruptionBehavior
RequestSpotInstancesRequest & WithInstanceInterruptionBehavior(const InstanceInterruptionBehavior &value)
Definition: RequestSpotInstancesRequest.h:775
Aws::EC2::Model::RequestSpotInstancesRequest::WithSpotPrice
RequestSpotInstancesRequest & WithSpotPrice(Aws::String &&value)
Definition: RequestSpotInstancesRequest.h:486
Aws::EC2::Model::RequestSpotInstancesRequest::TagSpecificationsHasBeenSet
bool TagSpecificationsHasBeenSet() const
Definition: RequestSpotInstancesRequest.h:684
Aws::EC2::Model::RequestSpotInstancesRequest::SetValidUntil
void SetValidUntil(Aws::Utils::DateTime &&value)
Definition: RequestSpotInstancesRequest.h:639
Aws::EC2::Model::TagSpecification
Definition: TagSpecification.h:35
EC2_EXPORTS.h
Aws::EC2::Model::RequestSpotInstancesRequest
Definition: RequestSpotInstancesRequest.h:32
RequestSpotLaunchSpecification.h
Aws::EC2::Model::RequestSpotInstancesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::RequestSpotInstancesRequest::GetType
const SpotInstanceType & GetType() const
Definition: RequestSpotInstancesRequest.h:498
Aws::EC2::Model::RequestSpotInstancesRequest::WithType
RequestSpotInstancesRequest & WithType(const SpotInstanceType &value)
Definition: RequestSpotInstancesRequest.h:518
Aws::EC2::Model::RequestSpotInstancesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::RequestSpotInstancesRequest::GetValidFrom
const Aws::Utils::DateTime & GetValidFrom() const
Definition: RequestSpotInstancesRequest.h:535
Aws::EC2::Model::RequestSpotInstancesRequest::SetInstanceInterruptionBehavior
void SetInstanceInterruptionBehavior(const InstanceInterruptionBehavior &value)
Definition: RequestSpotInstancesRequest.h:763