AWS SDK for C++  1.9.19
AWS SDK for C++
CreateCapacityReservationRequest.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>
17 #include <utility>
18 
19 namespace Aws
20 {
21 namespace EC2
22 {
23 namespace Model
24 {
25 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "CreateCapacityReservation"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  protected:
42  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43 
44  public:
45 
52  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
53 
60  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
61 
68  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
69 
76  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
77 
84  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
85 
92  inline CreateCapacityReservationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
93 
100  inline CreateCapacityReservationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
101 
108  inline CreateCapacityReservationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
109 
110 
116  inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
117 
123  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
124 
130  inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
131 
137  inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
138 
144  inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
145 
151  inline CreateCapacityReservationRequest& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
152 
158  inline CreateCapacityReservationRequest& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
159 
165  inline CreateCapacityReservationRequest& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
166 
167 
171  inline const CapacityReservationInstancePlatform& GetInstancePlatform() const{ return m_instancePlatform; }
172 
176  inline bool InstancePlatformHasBeenSet() const { return m_instancePlatformHasBeenSet; }
177 
181  inline void SetInstancePlatform(const CapacityReservationInstancePlatform& value) { m_instancePlatformHasBeenSet = true; m_instancePlatform = value; }
182 
186  inline void SetInstancePlatform(CapacityReservationInstancePlatform&& value) { m_instancePlatformHasBeenSet = true; m_instancePlatform = std::move(value); }
187 
191  inline CreateCapacityReservationRequest& WithInstancePlatform(const CapacityReservationInstancePlatform& value) { SetInstancePlatform(value); return *this;}
192 
196  inline CreateCapacityReservationRequest& WithInstancePlatform(CapacityReservationInstancePlatform&& value) { SetInstancePlatform(std::move(value)); return *this;}
197 
198 
202  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
203 
207  inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
208 
212  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
213 
217  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
218 
222  inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
223 
227  inline CreateCapacityReservationRequest& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
228 
232  inline CreateCapacityReservationRequest& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
233 
237  inline CreateCapacityReservationRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
238 
239 
244  inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
245 
250  inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
251 
256  inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; }
257 
262  inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); }
263 
268  inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); }
269 
274  inline CreateCapacityReservationRequest& WithAvailabilityZoneId(const Aws::String& value) { SetAvailabilityZoneId(value); return *this;}
275 
280  inline CreateCapacityReservationRequest& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
281 
286  inline CreateCapacityReservationRequest& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
287 
288 
297  inline const CapacityReservationTenancy& GetTenancy() const{ return m_tenancy; }
298 
307  inline bool TenancyHasBeenSet() const { return m_tenancyHasBeenSet; }
308 
317  inline void SetTenancy(const CapacityReservationTenancy& value) { m_tenancyHasBeenSet = true; m_tenancy = value; }
318 
327  inline void SetTenancy(CapacityReservationTenancy&& value) { m_tenancyHasBeenSet = true; m_tenancy = std::move(value); }
328 
337  inline CreateCapacityReservationRequest& WithTenancy(const CapacityReservationTenancy& value) { SetTenancy(value); return *this;}
338 
347  inline CreateCapacityReservationRequest& WithTenancy(CapacityReservationTenancy&& value) { SetTenancy(std::move(value)); return *this;}
348 
349 
353  inline int GetInstanceCount() const{ return m_instanceCount; }
354 
358  inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
359 
363  inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
364 
368  inline CreateCapacityReservationRequest& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
369 
370 
378  inline bool GetEbsOptimized() const{ return m_ebsOptimized; }
379 
387  inline bool EbsOptimizedHasBeenSet() const { return m_ebsOptimizedHasBeenSet; }
388 
396  inline void SetEbsOptimized(bool value) { m_ebsOptimizedHasBeenSet = true; m_ebsOptimized = value; }
397 
405  inline CreateCapacityReservationRequest& WithEbsOptimized(bool value) { SetEbsOptimized(value); return *this;}
406 
407 
412  inline bool GetEphemeralStorage() const{ return m_ephemeralStorage; }
413 
418  inline bool EphemeralStorageHasBeenSet() const { return m_ephemeralStorageHasBeenSet; }
419 
424  inline void SetEphemeralStorage(bool value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = value; }
425 
430  inline CreateCapacityReservationRequest& WithEphemeralStorage(bool value) { SetEphemeralStorage(value); return *this;}
431 
432 
446  inline const Aws::Utils::DateTime& GetEndDate() const{ return m_endDate; }
447 
461  inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
462 
476  inline void SetEndDate(const Aws::Utils::DateTime& value) { m_endDateHasBeenSet = true; m_endDate = value; }
477 
491  inline void SetEndDate(Aws::Utils::DateTime&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); }
492 
506  inline CreateCapacityReservationRequest& WithEndDate(const Aws::Utils::DateTime& value) { SetEndDate(value); return *this;}
507 
521  inline CreateCapacityReservationRequest& WithEndDate(Aws::Utils::DateTime&& value) { SetEndDate(std::move(value)); return *this;}
522 
523 
534  inline const EndDateType& GetEndDateType() const{ return m_endDateType; }
535 
546  inline bool EndDateTypeHasBeenSet() const { return m_endDateTypeHasBeenSet; }
547 
558  inline void SetEndDateType(const EndDateType& value) { m_endDateTypeHasBeenSet = true; m_endDateType = value; }
559 
570  inline void SetEndDateType(EndDateType&& value) { m_endDateTypeHasBeenSet = true; m_endDateType = std::move(value); }
571 
582  inline CreateCapacityReservationRequest& WithEndDateType(const EndDateType& value) { SetEndDateType(value); return *this;}
583 
594  inline CreateCapacityReservationRequest& WithEndDateType(EndDateType&& value) { SetEndDateType(std::move(value)); return *this;}
595 
596 
609  inline const InstanceMatchCriteria& GetInstanceMatchCriteria() const{ return m_instanceMatchCriteria; }
610 
623  inline bool InstanceMatchCriteriaHasBeenSet() const { return m_instanceMatchCriteriaHasBeenSet; }
624 
637  inline void SetInstanceMatchCriteria(const InstanceMatchCriteria& value) { m_instanceMatchCriteriaHasBeenSet = true; m_instanceMatchCriteria = value; }
638 
651  inline void SetInstanceMatchCriteria(InstanceMatchCriteria&& value) { m_instanceMatchCriteriaHasBeenSet = true; m_instanceMatchCriteria = std::move(value); }
652 
665  inline CreateCapacityReservationRequest& WithInstanceMatchCriteria(const InstanceMatchCriteria& value) { SetInstanceMatchCriteria(value); return *this;}
666 
679  inline CreateCapacityReservationRequest& WithInstanceMatchCriteria(InstanceMatchCriteria&& value) { SetInstanceMatchCriteria(std::move(value)); return *this;}
680 
681 
685  inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
686 
690  inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
691 
695  inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
696 
700  inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
701 
705  inline CreateCapacityReservationRequest& WithTagSpecifications(const Aws::Vector<TagSpecification>& value) { SetTagSpecifications(value); return *this;}
706 
710  inline CreateCapacityReservationRequest& WithTagSpecifications(Aws::Vector<TagSpecification>&& value) { SetTagSpecifications(std::move(value)); return *this;}
711 
715  inline CreateCapacityReservationRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
716 
720  inline CreateCapacityReservationRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
721 
722 
729  inline bool GetDryRun() const{ return m_dryRun; }
730 
737  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
738 
745  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
746 
753  inline CreateCapacityReservationRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
754 
755  private:
756 
757  Aws::String m_clientToken;
758  bool m_clientTokenHasBeenSet;
759 
760  Aws::String m_instanceType;
761  bool m_instanceTypeHasBeenSet;
762 
763  CapacityReservationInstancePlatform m_instancePlatform;
764  bool m_instancePlatformHasBeenSet;
765 
766  Aws::String m_availabilityZone;
767  bool m_availabilityZoneHasBeenSet;
768 
769  Aws::String m_availabilityZoneId;
770  bool m_availabilityZoneIdHasBeenSet;
771 
772  CapacityReservationTenancy m_tenancy;
773  bool m_tenancyHasBeenSet;
774 
775  int m_instanceCount;
776  bool m_instanceCountHasBeenSet;
777 
778  bool m_ebsOptimized;
779  bool m_ebsOptimizedHasBeenSet;
780 
781  bool m_ephemeralStorage;
782  bool m_ephemeralStorageHasBeenSet;
783 
784  Aws::Utils::DateTime m_endDate;
785  bool m_endDateHasBeenSet;
786 
787  EndDateType m_endDateType;
788  bool m_endDateTypeHasBeenSet;
789 
790  InstanceMatchCriteria m_instanceMatchCriteria;
791  bool m_instanceMatchCriteriaHasBeenSet;
792 
793  Aws::Vector<TagSpecification> m_tagSpecifications;
794  bool m_tagSpecificationsHasBeenSet;
795 
796  bool m_dryRun;
797  bool m_dryRunHasBeenSet;
798  };
799 
800 } // namespace Model
801 } // namespace EC2
802 } // namespace Aws
Aws::EC2::Model::CreateCapacityReservationRequest::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: CreateCapacityReservationRequest.h:123
Aws::Utils::DateTime
Definition: DateTime.h:55
TagSpecification.h
Aws::EC2::Model::CreateCapacityReservationRequest::SetEndDate
void SetEndDate(Aws::Utils::DateTime &&value)
Definition: CreateCapacityReservationRequest.h:491
Aws::EC2::Model::CreateCapacityReservationRequest::WithAvailabilityZoneId
CreateCapacityReservationRequest & WithAvailabilityZoneId(const Aws::String &value)
Definition: CreateCapacityReservationRequest.h:274
Aws::EC2::Model::CreateCapacityReservationRequest::WithInstanceType
CreateCapacityReservationRequest & WithInstanceType(const char *value)
Definition: CreateCapacityReservationRequest.h:165
Aws::EC2::Model::CreateCapacityReservationRequest::InstanceMatchCriteriaHasBeenSet
bool InstanceMatchCriteriaHasBeenSet() const
Definition: CreateCapacityReservationRequest.h:623
Aws::EC2::Model::CreateCapacityReservationRequest::EndDateHasBeenSet
bool EndDateHasBeenSet() const
Definition: CreateCapacityReservationRequest.h:461
Aws::EC2::Model::CreateCapacityReservationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateCapacityReservationRequest.h:37
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::CreateCapacityReservationRequest::WithDryRun
CreateCapacityReservationRequest & WithDryRun(bool value)
Definition: CreateCapacityReservationRequest.h:753
Aws::EC2::Model::CreateCapacityReservationRequest::WithClientToken
CreateCapacityReservationRequest & WithClientToken(Aws::String &&value)
Definition: CreateCapacityReservationRequest.h:100
Aws::EC2::Model::CreateCapacityReservationRequest::SetTenancy
void SetTenancy(CapacityReservationTenancy &&value)
Definition: CreateCapacityReservationRequest.h:327
Aws::EC2::Model::CreateCapacityReservationRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: CreateCapacityReservationRequest.h:68
Aws::EC2::Model::CreateCapacityReservationRequest::SetTenancy
void SetTenancy(const CapacityReservationTenancy &value)
Definition: CreateCapacityReservationRequest.h:317
Aws::EC2::Model::CreateCapacityReservationRequest::WithAvailabilityZone
CreateCapacityReservationRequest & WithAvailabilityZone(Aws::String &&value)
Definition: CreateCapacityReservationRequest.h:232
Aws::EC2::Model::CreateCapacityReservationRequest::AvailabilityZoneIdHasBeenSet
bool AvailabilityZoneIdHasBeenSet() const
Definition: CreateCapacityReservationRequest.h:250
Aws::EC2::Model::CreateCapacityReservationRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: CreateCapacityReservationRequest.h:60
Aws::EC2::Model::CreateCapacityReservationRequest::SetEphemeralStorage
void SetEphemeralStorage(bool value)
Definition: CreateCapacityReservationRequest.h:424
Aws::EC2::Model::CreateCapacityReservationRequest::WithInstanceType
CreateCapacityReservationRequest & WithInstanceType(Aws::String &&value)
Definition: CreateCapacityReservationRequest.h:158
DateTime.h
Aws::EC2::Model::CreateCapacityReservationRequest::GetAvailabilityZone
const Aws::String & GetAvailabilityZone() const
Definition: CreateCapacityReservationRequest.h:202
Aws::EC2::Model::CreateCapacityReservationRequest::WithAvailabilityZone
CreateCapacityReservationRequest & WithAvailabilityZone(const char *value)
Definition: CreateCapacityReservationRequest.h:237
Aws::EC2::Model::CreateCapacityReservationRequest::SetDryRun
void SetDryRun(bool value)
Definition: CreateCapacityReservationRequest.h:745
Aws::EC2::Model::CreateCapacityReservationRequest::TagSpecificationsHasBeenSet
bool TagSpecificationsHasBeenSet() const
Definition: CreateCapacityReservationRequest.h:690
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::EndDateType
EndDateType
Definition: EndDateType.h:17
Aws::EC2::Model::CreateCapacityReservationRequest::SetAvailabilityZoneId
void SetAvailabilityZoneId(Aws::String &&value)
Definition: CreateCapacityReservationRequest.h:262
Aws::EC2::Model::CreateCapacityReservationRequest::InstanceCountHasBeenSet
bool InstanceCountHasBeenSet() const
Definition: CreateCapacityReservationRequest.h:358
Aws::EC2::Model::CreateCapacityReservationRequest::GetInstanceCount
int GetInstanceCount() const
Definition: CreateCapacityReservationRequest.h:353
Aws::EC2::Model::CreateCapacityReservationRequest::SetTagSpecifications
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: CreateCapacityReservationRequest.h:695
Aws::EC2::Model::CreateCapacityReservationRequest::WithInstanceType
CreateCapacityReservationRequest & WithInstanceType(const Aws::String &value)
Definition: CreateCapacityReservationRequest.h:151
Aws::EC2::Model::CreateCapacityReservationRequest::SetInstanceMatchCriteria
void SetInstanceMatchCriteria(InstanceMatchCriteria &&value)
Definition: CreateCapacityReservationRequest.h:651
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
EndDateType.h
Aws::EC2::Model::CreateCapacityReservationRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: CreateCapacityReservationRequest.h:76
Aws::EC2::Model::CreateCapacityReservationRequest::WithInstanceMatchCriteria
CreateCapacityReservationRequest & WithInstanceMatchCriteria(InstanceMatchCriteria &&value)
Definition: CreateCapacityReservationRequest.h:679
AWSVector.h
Aws::EC2::Model::CreateCapacityReservationRequest::WithAvailabilityZoneId
CreateCapacityReservationRequest & WithAvailabilityZoneId(const char *value)
Definition: CreateCapacityReservationRequest.h:286
Aws::EC2::Model::CreateCapacityReservationRequest::SetAvailabilityZoneId
void SetAvailabilityZoneId(const char *value)
Definition: CreateCapacityReservationRequest.h:268
Aws::EC2::Model::CreateCapacityReservationRequest::EbsOptimizedHasBeenSet
bool EbsOptimizedHasBeenSet() const
Definition: CreateCapacityReservationRequest.h:387
Aws::EC2::Model::CreateCapacityReservationRequest::SetAvailabilityZone
void SetAvailabilityZone(Aws::String &&value)
Definition: CreateCapacityReservationRequest.h:217
Aws::EC2::Model::CreateCapacityReservationRequest::CreateCapacityReservationRequest
CreateCapacityReservationRequest()
Aws::EC2::Model::CreateCapacityReservationRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: CreateCapacityReservationRequest.h:737
Aws::EC2::Model::CreateCapacityReservationRequest::WithEndDate
CreateCapacityReservationRequest & WithEndDate(const Aws::Utils::DateTime &value)
Definition: CreateCapacityReservationRequest.h:506
Aws::EC2::Model::CreateCapacityReservationRequest::SetInstanceType
void SetInstanceType(const Aws::String &value)
Definition: CreateCapacityReservationRequest.h:130
Aws::EC2::Model::CreateCapacityReservationRequest::GetTenancy
const CapacityReservationTenancy & GetTenancy() const
Definition: CreateCapacityReservationRequest.h:297
Aws::EC2::Model::CreateCapacityReservationRequest::GetInstanceMatchCriteria
const InstanceMatchCriteria & GetInstanceMatchCriteria() const
Definition: CreateCapacityReservationRequest.h:609
Aws::EC2::Model::CreateCapacityReservationRequest::GetEndDateType
const EndDateType & GetEndDateType() const
Definition: CreateCapacityReservationRequest.h:534
Aws::EC2::Model::CreateCapacityReservationRequest::WithEndDateType
CreateCapacityReservationRequest & WithEndDateType(const EndDateType &value)
Definition: CreateCapacityReservationRequest.h:582
Aws::EC2::Model::CreateCapacityReservationRequest::WithTagSpecifications
CreateCapacityReservationRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: CreateCapacityReservationRequest.h:705
Aws::EC2::Model::CreateCapacityReservationRequest::SetTagSpecifications
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
Definition: CreateCapacityReservationRequest.h:700
Aws::EC2::Model::CreateCapacityReservationRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::CreateCapacityReservationRequest::WithAvailabilityZoneId
CreateCapacityReservationRequest & WithAvailabilityZoneId(Aws::String &&value)
Definition: CreateCapacityReservationRequest.h:280
Aws::EC2::Model::CreateCapacityReservationRequest::SetInstanceType
void SetInstanceType(Aws::String &&value)
Definition: CreateCapacityReservationRequest.h:137
Aws::EC2::Model::CreateCapacityReservationRequest::AddTagSpecifications
CreateCapacityReservationRequest & AddTagSpecifications(const TagSpecification &value)
Definition: CreateCapacityReservationRequest.h:715
Aws::EC2::Model::CreateCapacityReservationRequest::SetAvailabilityZone
void SetAvailabilityZone(const char *value)
Definition: CreateCapacityReservationRequest.h:222
Aws::EC2::Model::CreateCapacityReservationRequest::SetInstanceType
void SetInstanceType(const char *value)
Definition: CreateCapacityReservationRequest.h:144
Aws::EC2::Model::CreateCapacityReservationRequest::WithClientToken
CreateCapacityReservationRequest & WithClientToken(const char *value)
Definition: CreateCapacityReservationRequest.h:108
Aws::EC2::Model::CreateCapacityReservationRequest::WithEndDate
CreateCapacityReservationRequest & WithEndDate(Aws::Utils::DateTime &&value)
Definition: CreateCapacityReservationRequest.h:521
Aws::EC2::Model::CreateCapacityReservationRequest::GetTagSpecifications
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
Definition: CreateCapacityReservationRequest.h:685
EC2Request.h
Aws::EC2::Model::CreateCapacityReservationRequest::GetEbsOptimized
bool GetEbsOptimized() const
Definition: CreateCapacityReservationRequest.h:378
Aws::EC2::Model::CapacityReservationInstancePlatform
CapacityReservationInstancePlatform
Definition: CapacityReservationInstancePlatform.h:17
AWSString.h
Aws::EC2::Model::CreateCapacityReservationRequest::WithInstancePlatform
CreateCapacityReservationRequest & WithInstancePlatform(CapacityReservationInstancePlatform &&value)
Definition: CreateCapacityReservationRequest.h:196
Aws::EC2::Model::CapacityReservationTenancy
CapacityReservationTenancy
Definition: CapacityReservationTenancy.h:17
Aws::EC2::Model::CreateCapacityReservationRequest::WithInstanceMatchCriteria
CreateCapacityReservationRequest & WithInstanceMatchCriteria(const InstanceMatchCriteria &value)
Definition: CreateCapacityReservationRequest.h:665
Aws::EC2::Model::CreateCapacityReservationRequest::SetInstanceCount
void SetInstanceCount(int value)
Definition: CreateCapacityReservationRequest.h:363
Aws::EC2::Model::CreateCapacityReservationRequest::SetInstanceMatchCriteria
void SetInstanceMatchCriteria(const InstanceMatchCriteria &value)
Definition: CreateCapacityReservationRequest.h:637
Aws::EC2::Model::CreateCapacityReservationRequest::SetEbsOptimized
void SetEbsOptimized(bool value)
Definition: CreateCapacityReservationRequest.h:396
Aws::EC2::Model::CreateCapacityReservationRequest::WithInstancePlatform
CreateCapacityReservationRequest & WithInstancePlatform(const CapacityReservationInstancePlatform &value)
Definition: CreateCapacityReservationRequest.h:191
Aws::EC2::Model::CreateCapacityReservationRequest::WithTagSpecifications
CreateCapacityReservationRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
Definition: CreateCapacityReservationRequest.h:710
Aws::EC2::Model::CreateCapacityReservationRequest::WithClientToken
CreateCapacityReservationRequest & WithClientToken(const Aws::String &value)
Definition: CreateCapacityReservationRequest.h:92
Aws::EC2::Model::CreateCapacityReservationRequest::TenancyHasBeenSet
bool TenancyHasBeenSet() const
Definition: CreateCapacityReservationRequest.h:307
Aws::EC2::Model::CreateCapacityReservationRequest::GetEphemeralStorage
bool GetEphemeralStorage() const
Definition: CreateCapacityReservationRequest.h:412
Aws::EC2::Model::CreateCapacityReservationRequest::SetEndDateType
void SetEndDateType(const EndDateType &value)
Definition: CreateCapacityReservationRequest.h:558
Aws::EC2::Model::CreateCapacityReservationRequest::WithEphemeralStorage
CreateCapacityReservationRequest & WithEphemeralStorage(bool value)
Definition: CreateCapacityReservationRequest.h:430
Aws::EC2::Model::CreateCapacityReservationRequest::SetClientToken
void SetClientToken(const char *value)
Definition: CreateCapacityReservationRequest.h:84
Aws::EC2::Model::CreateCapacityReservationRequest::WithTenancy
CreateCapacityReservationRequest & WithTenancy(const CapacityReservationTenancy &value)
Definition: CreateCapacityReservationRequest.h:337
Aws::EC2::Model::CreateCapacityReservationRequest::SetEndDate
void SetEndDate(const Aws::Utils::DateTime &value)
Definition: CreateCapacityReservationRequest.h:476
Aws::EC2::Model::CreateCapacityReservationRequest::GetEndDate
const Aws::Utils::DateTime & GetEndDate() const
Definition: CreateCapacityReservationRequest.h:446
Aws::EC2::Model::CreateCapacityReservationRequest::WithTenancy
CreateCapacityReservationRequest & WithTenancy(CapacityReservationTenancy &&value)
Definition: CreateCapacityReservationRequest.h:347
Aws::EC2::Model::CreateCapacityReservationRequest::GetDryRun
bool GetDryRun() const
Definition: CreateCapacityReservationRequest.h:729
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateCapacityReservationRequest::WithEbsOptimized
CreateCapacityReservationRequest & WithEbsOptimized(bool value)
Definition: CreateCapacityReservationRequest.h:405
CapacityReservationInstancePlatform.h
Aws::EC2::Model::CreateCapacityReservationRequest::GetInstancePlatform
const CapacityReservationInstancePlatform & GetInstancePlatform() const
Definition: CreateCapacityReservationRequest.h:171
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::InstanceMatchCriteria
InstanceMatchCriteria
Definition: InstanceMatchCriteria.h:17
Aws::EC2::Model::CreateCapacityReservationRequest::SetInstancePlatform
void SetInstancePlatform(CapacityReservationInstancePlatform &&value)
Definition: CreateCapacityReservationRequest.h:186
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::CreateCapacityReservationRequest::SetAvailabilityZoneId
void SetAvailabilityZoneId(const Aws::String &value)
Definition: CreateCapacityReservationRequest.h:256
Aws::EC2::Model::CreateCapacityReservationRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: CreateCapacityReservationRequest.h:52
InstanceMatchCriteria.h
Aws::EC2::Model::CreateCapacityReservationRequest::GetAvailabilityZoneId
const Aws::String & GetAvailabilityZoneId() const
Definition: CreateCapacityReservationRequest.h:244
Aws::EC2::Model::CreateCapacityReservationRequest::WithAvailabilityZone
CreateCapacityReservationRequest & WithAvailabilityZone(const Aws::String &value)
Definition: CreateCapacityReservationRequest.h:227
Aws::EC2::Model::CreateCapacityReservationRequest::AddTagSpecifications
CreateCapacityReservationRequest & AddTagSpecifications(TagSpecification &&value)
Definition: CreateCapacityReservationRequest.h:720
Aws::EC2::Model::CreateCapacityReservationRequest::EphemeralStorageHasBeenSet
bool EphemeralStorageHasBeenSet() const
Definition: CreateCapacityReservationRequest.h:418
Aws::EC2::Model::CreateCapacityReservationRequest::WithEndDateType
CreateCapacityReservationRequest & WithEndDateType(EndDateType &&value)
Definition: CreateCapacityReservationRequest.h:594
Aws::EC2::Model::TagSpecification
Definition: TagSpecification.h:35
Aws::EC2::Model::CreateCapacityReservationRequest::AvailabilityZoneHasBeenSet
bool AvailabilityZoneHasBeenSet() const
Definition: CreateCapacityReservationRequest.h:207
Aws::EC2::Model::CreateCapacityReservationRequest::SetInstancePlatform
void SetInstancePlatform(const CapacityReservationInstancePlatform &value)
Definition: CreateCapacityReservationRequest.h:181
EC2_EXPORTS.h
Aws::EC2::Model::CreateCapacityReservationRequest::SetAvailabilityZone
void SetAvailabilityZone(const Aws::String &value)
Definition: CreateCapacityReservationRequest.h:212
Aws::EC2::Model::CreateCapacityReservationRequest
Definition: CreateCapacityReservationRequest.h:29
Aws::EC2::Model::CreateCapacityReservationRequest::GetInstanceType
const Aws::String & GetInstanceType() const
Definition: CreateCapacityReservationRequest.h:116
CapacityReservationTenancy.h
Aws::EC2::Model::CreateCapacityReservationRequest::EndDateTypeHasBeenSet
bool EndDateTypeHasBeenSet() const
Definition: CreateCapacityReservationRequest.h:546
Aws::EC2::Model::CreateCapacityReservationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::CreateCapacityReservationRequest::InstancePlatformHasBeenSet
bool InstancePlatformHasBeenSet() const
Definition: CreateCapacityReservationRequest.h:176
Aws::EC2::Model::CreateCapacityReservationRequest::SetEndDateType
void SetEndDateType(EndDateType &&value)
Definition: CreateCapacityReservationRequest.h:570
Aws::EC2::Model::CreateCapacityReservationRequest::WithInstanceCount
CreateCapacityReservationRequest & WithInstanceCount(int value)
Definition: CreateCapacityReservationRequest.h:368