AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceRequirementsRequest.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/VCpuCountRangeRequest.h>
10#include <aws/ec2/model/MemoryMiBRequest.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/MemoryGiBPerVCpuRequest.h>
13#include <aws/ec2/model/BareMetal.h>
14#include <aws/ec2/model/BurstablePerformance.h>
15#include <aws/ec2/model/NetworkInterfaceCountRequest.h>
16#include <aws/ec2/model/LocalStorage.h>
17#include <aws/ec2/model/TotalLocalStorageGBRequest.h>
18#include <aws/ec2/model/BaselineEbsBandwidthMbpsRequest.h>
19#include <aws/ec2/model/AcceleratorCountRequest.h>
20#include <aws/ec2/model/AcceleratorTotalMemoryMiBRequest.h>
21#include <aws/ec2/model/NetworkBandwidthGbpsRequest.h>
22#include <aws/ec2/model/CpuManufacturer.h>
23#include <aws/core/utils/memory/stl/AWSString.h>
24#include <aws/ec2/model/InstanceGeneration.h>
25#include <aws/ec2/model/LocalStorageType.h>
26#include <aws/ec2/model/AcceleratorType.h>
27#include <aws/ec2/model/AcceleratorManufacturer.h>
28#include <aws/ec2/model/AcceleratorName.h>
29#include <utility>
30
31namespace Aws
32{
33namespace Utils
34{
35namespace Xml
36{
37 class XmlNode;
38} // namespace Xml
39} // namespace Utils
40namespace EC2
41{
42namespace Model
43{
44
80 {
81 public:
85
86 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
87 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
88
89
91
94 inline const VCpuCountRangeRequest& GetVCpuCount() const{ return m_vCpuCount; }
95 inline bool VCpuCountHasBeenSet() const { return m_vCpuCountHasBeenSet; }
96 inline void SetVCpuCount(const VCpuCountRangeRequest& value) { m_vCpuCountHasBeenSet = true; m_vCpuCount = value; }
97 inline void SetVCpuCount(VCpuCountRangeRequest&& value) { m_vCpuCountHasBeenSet = true; m_vCpuCount = std::move(value); }
98 inline InstanceRequirementsRequest& WithVCpuCount(const VCpuCountRangeRequest& value) { SetVCpuCount(value); return *this;}
99 inline InstanceRequirementsRequest& WithVCpuCount(VCpuCountRangeRequest&& value) { SetVCpuCount(std::move(value)); return *this;}
101
103
106 inline const MemoryMiBRequest& GetMemoryMiB() const{ return m_memoryMiB; }
107 inline bool MemoryMiBHasBeenSet() const { return m_memoryMiBHasBeenSet; }
108 inline void SetMemoryMiB(const MemoryMiBRequest& value) { m_memoryMiBHasBeenSet = true; m_memoryMiB = value; }
109 inline void SetMemoryMiB(MemoryMiBRequest&& value) { m_memoryMiBHasBeenSet = true; m_memoryMiB = std::move(value); }
110 inline InstanceRequirementsRequest& WithMemoryMiB(const MemoryMiBRequest& value) { SetMemoryMiB(value); return *this;}
111 inline InstanceRequirementsRequest& WithMemoryMiB(MemoryMiBRequest&& value) { SetMemoryMiB(std::move(value)); return *this;}
113
115
125 inline const Aws::Vector<CpuManufacturer>& GetCpuManufacturers() const{ return m_cpuManufacturers; }
126 inline bool CpuManufacturersHasBeenSet() const { return m_cpuManufacturersHasBeenSet; }
127 inline void SetCpuManufacturers(const Aws::Vector<CpuManufacturer>& value) { m_cpuManufacturersHasBeenSet = true; m_cpuManufacturers = value; }
128 inline void SetCpuManufacturers(Aws::Vector<CpuManufacturer>&& value) { m_cpuManufacturersHasBeenSet = true; m_cpuManufacturers = std::move(value); }
131 inline InstanceRequirementsRequest& AddCpuManufacturers(const CpuManufacturer& value) { m_cpuManufacturersHasBeenSet = true; m_cpuManufacturers.push_back(value); return *this; }
132 inline InstanceRequirementsRequest& AddCpuManufacturers(CpuManufacturer&& value) { m_cpuManufacturersHasBeenSet = true; m_cpuManufacturers.push_back(std::move(value)); return *this; }
134
136
140 inline const MemoryGiBPerVCpuRequest& GetMemoryGiBPerVCpu() const{ return m_memoryGiBPerVCpu; }
141 inline bool MemoryGiBPerVCpuHasBeenSet() const { return m_memoryGiBPerVCpuHasBeenSet; }
142 inline void SetMemoryGiBPerVCpu(const MemoryGiBPerVCpuRequest& value) { m_memoryGiBPerVCpuHasBeenSet = true; m_memoryGiBPerVCpu = value; }
143 inline void SetMemoryGiBPerVCpu(MemoryGiBPerVCpuRequest&& value) { m_memoryGiBPerVCpuHasBeenSet = true; m_memoryGiBPerVCpu = std::move(value); }
147
149
162 inline const Aws::Vector<Aws::String>& GetExcludedInstanceTypes() const{ return m_excludedInstanceTypes; }
163 inline bool ExcludedInstanceTypesHasBeenSet() const { return m_excludedInstanceTypesHasBeenSet; }
164 inline void SetExcludedInstanceTypes(const Aws::Vector<Aws::String>& value) { m_excludedInstanceTypesHasBeenSet = true; m_excludedInstanceTypes = value; }
165 inline void SetExcludedInstanceTypes(Aws::Vector<Aws::String>&& value) { m_excludedInstanceTypesHasBeenSet = true; m_excludedInstanceTypes = std::move(value); }
168 inline InstanceRequirementsRequest& AddExcludedInstanceTypes(const Aws::String& value) { m_excludedInstanceTypesHasBeenSet = true; m_excludedInstanceTypes.push_back(value); return *this; }
169 inline InstanceRequirementsRequest& AddExcludedInstanceTypes(Aws::String&& value) { m_excludedInstanceTypesHasBeenSet = true; m_excludedInstanceTypes.push_back(std::move(value)); return *this; }
170 inline InstanceRequirementsRequest& AddExcludedInstanceTypes(const char* value) { m_excludedInstanceTypesHasBeenSet = true; m_excludedInstanceTypes.push_back(value); return *this; }
172
174
185 inline const Aws::Vector<InstanceGeneration>& GetInstanceGenerations() const{ return m_instanceGenerations; }
186 inline bool InstanceGenerationsHasBeenSet() const { return m_instanceGenerationsHasBeenSet; }
187 inline void SetInstanceGenerations(const Aws::Vector<InstanceGeneration>& value) { m_instanceGenerationsHasBeenSet = true; m_instanceGenerations = value; }
188 inline void SetInstanceGenerations(Aws::Vector<InstanceGeneration>&& value) { m_instanceGenerationsHasBeenSet = true; m_instanceGenerations = std::move(value); }
191 inline InstanceRequirementsRequest& AddInstanceGenerations(const InstanceGeneration& value) { m_instanceGenerationsHasBeenSet = true; m_instanceGenerations.push_back(value); return *this; }
192 inline InstanceRequirementsRequest& AddInstanceGenerations(InstanceGeneration&& value) { m_instanceGenerationsHasBeenSet = true; m_instanceGenerations.push_back(std::move(value)); return *this; }
194
196
223 inline int GetSpotMaxPricePercentageOverLowestPrice() const{ return m_spotMaxPricePercentageOverLowestPrice; }
224 inline bool SpotMaxPricePercentageOverLowestPriceHasBeenSet() const { return m_spotMaxPricePercentageOverLowestPriceHasBeenSet; }
225 inline void SetSpotMaxPricePercentageOverLowestPrice(int value) { m_spotMaxPricePercentageOverLowestPriceHasBeenSet = true; m_spotMaxPricePercentageOverLowestPrice = value; }
228
230
248 inline int GetOnDemandMaxPricePercentageOverLowestPrice() const{ return m_onDemandMaxPricePercentageOverLowestPrice; }
249 inline bool OnDemandMaxPricePercentageOverLowestPriceHasBeenSet() const { return m_onDemandMaxPricePercentageOverLowestPriceHasBeenSet; }
250 inline void SetOnDemandMaxPricePercentageOverLowestPrice(int value) { m_onDemandMaxPricePercentageOverLowestPriceHasBeenSet = true; m_onDemandMaxPricePercentageOverLowestPrice = value; }
253
255
263 inline const BareMetal& GetBareMetal() const{ return m_bareMetal; }
264 inline bool BareMetalHasBeenSet() const { return m_bareMetalHasBeenSet; }
265 inline void SetBareMetal(const BareMetal& value) { m_bareMetalHasBeenSet = true; m_bareMetal = value; }
266 inline void SetBareMetal(BareMetal&& value) { m_bareMetalHasBeenSet = true; m_bareMetal = std::move(value); }
267 inline InstanceRequirementsRequest& WithBareMetal(const BareMetal& value) { SetBareMetal(value); return *this;}
268 inline InstanceRequirementsRequest& WithBareMetal(BareMetal&& value) { SetBareMetal(std::move(value)); return *this;}
270
272
282 inline const BurstablePerformance& GetBurstablePerformance() const{ return m_burstablePerformance; }
283 inline bool BurstablePerformanceHasBeenSet() const { return m_burstablePerformanceHasBeenSet; }
284 inline void SetBurstablePerformance(const BurstablePerformance& value) { m_burstablePerformanceHasBeenSet = true; m_burstablePerformance = value; }
285 inline void SetBurstablePerformance(BurstablePerformance&& value) { m_burstablePerformanceHasBeenSet = true; m_burstablePerformance = std::move(value); }
289
291
297 inline bool GetRequireHibernateSupport() const{ return m_requireHibernateSupport; }
298 inline bool RequireHibernateSupportHasBeenSet() const { return m_requireHibernateSupportHasBeenSet; }
299 inline void SetRequireHibernateSupport(bool value) { m_requireHibernateSupportHasBeenSet = true; m_requireHibernateSupport = value; }
302
304
308 inline const NetworkInterfaceCountRequest& GetNetworkInterfaceCount() const{ return m_networkInterfaceCount; }
309 inline bool NetworkInterfaceCountHasBeenSet() const { return m_networkInterfaceCountHasBeenSet; }
310 inline void SetNetworkInterfaceCount(const NetworkInterfaceCountRequest& value) { m_networkInterfaceCountHasBeenSet = true; m_networkInterfaceCount = value; }
311 inline void SetNetworkInterfaceCount(NetworkInterfaceCountRequest&& value) { m_networkInterfaceCountHasBeenSet = true; m_networkInterfaceCount = std::move(value); }
315
317
328 inline const LocalStorage& GetLocalStorage() const{ return m_localStorage; }
329 inline bool LocalStorageHasBeenSet() const { return m_localStorageHasBeenSet; }
330 inline void SetLocalStorage(const LocalStorage& value) { m_localStorageHasBeenSet = true; m_localStorage = value; }
331 inline void SetLocalStorage(LocalStorage&& value) { m_localStorageHasBeenSet = true; m_localStorage = std::move(value); }
332 inline InstanceRequirementsRequest& WithLocalStorage(const LocalStorage& value) { SetLocalStorage(value); return *this;}
333 inline InstanceRequirementsRequest& WithLocalStorage(LocalStorage&& value) { SetLocalStorage(std::move(value)); return *this;}
335
337
344 inline const Aws::Vector<LocalStorageType>& GetLocalStorageTypes() const{ return m_localStorageTypes; }
345 inline bool LocalStorageTypesHasBeenSet() const { return m_localStorageTypesHasBeenSet; }
346 inline void SetLocalStorageTypes(const Aws::Vector<LocalStorageType>& value) { m_localStorageTypesHasBeenSet = true; m_localStorageTypes = value; }
347 inline void SetLocalStorageTypes(Aws::Vector<LocalStorageType>&& value) { m_localStorageTypesHasBeenSet = true; m_localStorageTypes = std::move(value); }
350 inline InstanceRequirementsRequest& AddLocalStorageTypes(const LocalStorageType& value) { m_localStorageTypesHasBeenSet = true; m_localStorageTypes.push_back(value); return *this; }
351 inline InstanceRequirementsRequest& AddLocalStorageTypes(LocalStorageType&& value) { m_localStorageTypesHasBeenSet = true; m_localStorageTypes.push_back(std::move(value)); return *this; }
353
355
359 inline const TotalLocalStorageGBRequest& GetTotalLocalStorageGB() const{ return m_totalLocalStorageGB; }
360 inline bool TotalLocalStorageGBHasBeenSet() const { return m_totalLocalStorageGBHasBeenSet; }
361 inline void SetTotalLocalStorageGB(const TotalLocalStorageGBRequest& value) { m_totalLocalStorageGBHasBeenSet = true; m_totalLocalStorageGB = value; }
362 inline void SetTotalLocalStorageGB(TotalLocalStorageGBRequest&& value) { m_totalLocalStorageGBHasBeenSet = true; m_totalLocalStorageGB = std::move(value); }
366
368
375 inline const BaselineEbsBandwidthMbpsRequest& GetBaselineEbsBandwidthMbps() const{ return m_baselineEbsBandwidthMbps; }
376 inline bool BaselineEbsBandwidthMbpsHasBeenSet() const { return m_baselineEbsBandwidthMbpsHasBeenSet; }
377 inline void SetBaselineEbsBandwidthMbps(const BaselineEbsBandwidthMbpsRequest& value) { m_baselineEbsBandwidthMbpsHasBeenSet = true; m_baselineEbsBandwidthMbps = value; }
378 inline void SetBaselineEbsBandwidthMbps(BaselineEbsBandwidthMbpsRequest&& value) { m_baselineEbsBandwidthMbpsHasBeenSet = true; m_baselineEbsBandwidthMbps = std::move(value); }
382
384
390 inline const Aws::Vector<AcceleratorType>& GetAcceleratorTypes() const{ return m_acceleratorTypes; }
391 inline bool AcceleratorTypesHasBeenSet() const { return m_acceleratorTypesHasBeenSet; }
392 inline void SetAcceleratorTypes(const Aws::Vector<AcceleratorType>& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes = value; }
393 inline void SetAcceleratorTypes(Aws::Vector<AcceleratorType>&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes = std::move(value); }
396 inline InstanceRequirementsRequest& AddAcceleratorTypes(const AcceleratorType& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(value); return *this; }
397 inline InstanceRequirementsRequest& AddAcceleratorTypes(AcceleratorType&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(std::move(value)); return *this; }
399
401
407 inline const AcceleratorCountRequest& GetAcceleratorCount() const{ return m_acceleratorCount; }
408 inline bool AcceleratorCountHasBeenSet() const { return m_acceleratorCountHasBeenSet; }
409 inline void SetAcceleratorCount(const AcceleratorCountRequest& value) { m_acceleratorCountHasBeenSet = true; m_acceleratorCount = value; }
410 inline void SetAcceleratorCount(AcceleratorCountRequest&& value) { m_acceleratorCountHasBeenSet = true; m_acceleratorCount = std::move(value); }
414
416
426 inline const Aws::Vector<AcceleratorManufacturer>& GetAcceleratorManufacturers() const{ return m_acceleratorManufacturers; }
427 inline bool AcceleratorManufacturersHasBeenSet() const { return m_acceleratorManufacturersHasBeenSet; }
428 inline void SetAcceleratorManufacturers(const Aws::Vector<AcceleratorManufacturer>& value) { m_acceleratorManufacturersHasBeenSet = true; m_acceleratorManufacturers = value; }
429 inline void SetAcceleratorManufacturers(Aws::Vector<AcceleratorManufacturer>&& value) { m_acceleratorManufacturersHasBeenSet = true; m_acceleratorManufacturers = std::move(value); }
432 inline InstanceRequirementsRequest& AddAcceleratorManufacturers(const AcceleratorManufacturer& value) { m_acceleratorManufacturersHasBeenSet = true; m_acceleratorManufacturers.push_back(value); return *this; }
433 inline InstanceRequirementsRequest& AddAcceleratorManufacturers(AcceleratorManufacturer&& value) { m_acceleratorManufacturersHasBeenSet = true; m_acceleratorManufacturers.push_back(std::move(value)); return *this; }
435
437
455 inline const Aws::Vector<AcceleratorName>& GetAcceleratorNames() const{ return m_acceleratorNames; }
456 inline bool AcceleratorNamesHasBeenSet() const { return m_acceleratorNamesHasBeenSet; }
457 inline void SetAcceleratorNames(const Aws::Vector<AcceleratorName>& value) { m_acceleratorNamesHasBeenSet = true; m_acceleratorNames = value; }
458 inline void SetAcceleratorNames(Aws::Vector<AcceleratorName>&& value) { m_acceleratorNamesHasBeenSet = true; m_acceleratorNames = std::move(value); }
461 inline InstanceRequirementsRequest& AddAcceleratorNames(const AcceleratorName& value) { m_acceleratorNamesHasBeenSet = true; m_acceleratorNames.push_back(value); return *this; }
462 inline InstanceRequirementsRequest& AddAcceleratorNames(AcceleratorName&& value) { m_acceleratorNamesHasBeenSet = true; m_acceleratorNames.push_back(std::move(value)); return *this; }
464
466
470 inline const AcceleratorTotalMemoryMiBRequest& GetAcceleratorTotalMemoryMiB() const{ return m_acceleratorTotalMemoryMiB; }
471 inline bool AcceleratorTotalMemoryMiBHasBeenSet() const { return m_acceleratorTotalMemoryMiBHasBeenSet; }
472 inline void SetAcceleratorTotalMemoryMiB(const AcceleratorTotalMemoryMiBRequest& value) { m_acceleratorTotalMemoryMiBHasBeenSet = true; m_acceleratorTotalMemoryMiB = value; }
473 inline void SetAcceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRequest&& value) { m_acceleratorTotalMemoryMiBHasBeenSet = true; m_acceleratorTotalMemoryMiB = std::move(value); }
477
479
486 inline const NetworkBandwidthGbpsRequest& GetNetworkBandwidthGbps() const{ return m_networkBandwidthGbps; }
487 inline bool NetworkBandwidthGbpsHasBeenSet() const { return m_networkBandwidthGbpsHasBeenSet; }
488 inline void SetNetworkBandwidthGbps(const NetworkBandwidthGbpsRequest& value) { m_networkBandwidthGbpsHasBeenSet = true; m_networkBandwidthGbps = value; }
489 inline void SetNetworkBandwidthGbps(NetworkBandwidthGbpsRequest&& value) { m_networkBandwidthGbpsHasBeenSet = true; m_networkBandwidthGbps = std::move(value); }
493
495
509 inline const Aws::Vector<Aws::String>& GetAllowedInstanceTypes() const{ return m_allowedInstanceTypes; }
510 inline bool AllowedInstanceTypesHasBeenSet() const { return m_allowedInstanceTypesHasBeenSet; }
511 inline void SetAllowedInstanceTypes(const Aws::Vector<Aws::String>& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes = value; }
512 inline void SetAllowedInstanceTypes(Aws::Vector<Aws::String>&& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes = std::move(value); }
515 inline InstanceRequirementsRequest& AddAllowedInstanceTypes(const Aws::String& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes.push_back(value); return *this; }
516 inline InstanceRequirementsRequest& AddAllowedInstanceTypes(Aws::String&& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes.push_back(std::move(value)); return *this; }
517 inline InstanceRequirementsRequest& AddAllowedInstanceTypes(const char* value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes.push_back(value); return *this; }
519
521
543 inline int GetMaxSpotPriceAsPercentageOfOptimalOnDemandPrice() const{ return m_maxSpotPriceAsPercentageOfOptimalOnDemandPrice; }
544 inline bool MaxSpotPriceAsPercentageOfOptimalOnDemandPriceHasBeenSet() const { return m_maxSpotPriceAsPercentageOfOptimalOnDemandPriceHasBeenSet; }
545 inline void SetMaxSpotPriceAsPercentageOfOptimalOnDemandPrice(int value) { m_maxSpotPriceAsPercentageOfOptimalOnDemandPriceHasBeenSet = true; m_maxSpotPriceAsPercentageOfOptimalOnDemandPrice = value; }
548 private:
549
550 VCpuCountRangeRequest m_vCpuCount;
551 bool m_vCpuCountHasBeenSet = false;
552
553 MemoryMiBRequest m_memoryMiB;
554 bool m_memoryMiBHasBeenSet = false;
555
556 Aws::Vector<CpuManufacturer> m_cpuManufacturers;
557 bool m_cpuManufacturersHasBeenSet = false;
558
559 MemoryGiBPerVCpuRequest m_memoryGiBPerVCpu;
560 bool m_memoryGiBPerVCpuHasBeenSet = false;
561
562 Aws::Vector<Aws::String> m_excludedInstanceTypes;
563 bool m_excludedInstanceTypesHasBeenSet = false;
564
565 Aws::Vector<InstanceGeneration> m_instanceGenerations;
566 bool m_instanceGenerationsHasBeenSet = false;
567
568 int m_spotMaxPricePercentageOverLowestPrice;
569 bool m_spotMaxPricePercentageOverLowestPriceHasBeenSet = false;
570
571 int m_onDemandMaxPricePercentageOverLowestPrice;
572 bool m_onDemandMaxPricePercentageOverLowestPriceHasBeenSet = false;
573
574 BareMetal m_bareMetal;
575 bool m_bareMetalHasBeenSet = false;
576
577 BurstablePerformance m_burstablePerformance;
578 bool m_burstablePerformanceHasBeenSet = false;
579
580 bool m_requireHibernateSupport;
581 bool m_requireHibernateSupportHasBeenSet = false;
582
583 NetworkInterfaceCountRequest m_networkInterfaceCount;
584 bool m_networkInterfaceCountHasBeenSet = false;
585
586 LocalStorage m_localStorage;
587 bool m_localStorageHasBeenSet = false;
588
589 Aws::Vector<LocalStorageType> m_localStorageTypes;
590 bool m_localStorageTypesHasBeenSet = false;
591
592 TotalLocalStorageGBRequest m_totalLocalStorageGB;
593 bool m_totalLocalStorageGBHasBeenSet = false;
594
595 BaselineEbsBandwidthMbpsRequest m_baselineEbsBandwidthMbps;
596 bool m_baselineEbsBandwidthMbpsHasBeenSet = false;
597
598 Aws::Vector<AcceleratorType> m_acceleratorTypes;
599 bool m_acceleratorTypesHasBeenSet = false;
600
601 AcceleratorCountRequest m_acceleratorCount;
602 bool m_acceleratorCountHasBeenSet = false;
603
604 Aws::Vector<AcceleratorManufacturer> m_acceleratorManufacturers;
605 bool m_acceleratorManufacturersHasBeenSet = false;
606
607 Aws::Vector<AcceleratorName> m_acceleratorNames;
608 bool m_acceleratorNamesHasBeenSet = false;
609
610 AcceleratorTotalMemoryMiBRequest m_acceleratorTotalMemoryMiB;
611 bool m_acceleratorTotalMemoryMiBHasBeenSet = false;
612
613 NetworkBandwidthGbpsRequest m_networkBandwidthGbps;
614 bool m_networkBandwidthGbpsHasBeenSet = false;
615
616 Aws::Vector<Aws::String> m_allowedInstanceTypes;
617 bool m_allowedInstanceTypesHasBeenSet = false;
618
619 int m_maxSpotPriceAsPercentageOfOptimalOnDemandPrice;
620 bool m_maxSpotPriceAsPercentageOfOptimalOnDemandPriceHasBeenSet = false;
621 };
622
623} // namespace Model
624} // namespace EC2
625} // namespace Aws
InstanceRequirementsRequest & WithAcceleratorTypes(Aws::Vector< AcceleratorType > &&value)
InstanceRequirementsRequest & WithLocalStorage(const LocalStorage &value)
const AcceleratorTotalMemoryMiBRequest & GetAcceleratorTotalMemoryMiB() const
InstanceRequirementsRequest & WithExcludedInstanceTypes(Aws::Vector< Aws::String > &&value)
InstanceRequirementsRequest & AddAcceleratorTypes(const AcceleratorType &value)
InstanceRequirementsRequest & WithAllowedInstanceTypes(const Aws::Vector< Aws::String > &value)
InstanceRequirementsRequest & WithBurstablePerformance(const BurstablePerformance &value)
const Aws::Vector< AcceleratorType > & GetAcceleratorTypes() const
InstanceRequirementsRequest & AddAcceleratorTypes(AcceleratorType &&value)
InstanceRequirementsRequest & WithOnDemandMaxPricePercentageOverLowestPrice(int value)
InstanceRequirementsRequest & WithBareMetal(const BareMetal &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
InstanceRequirementsRequest & WithAcceleratorManufacturers(Aws::Vector< AcceleratorManufacturer > &&value)
InstanceRequirementsRequest & AddInstanceGenerations(const InstanceGeneration &value)
const VCpuCountRangeRequest & GetVCpuCount() const
void SetMemoryGiBPerVCpu(const MemoryGiBPerVCpuRequest &value)
InstanceRequirementsRequest & AddLocalStorageTypes(const LocalStorageType &value)
void SetTotalLocalStorageGB(TotalLocalStorageGBRequest &&value)
const BurstablePerformance & GetBurstablePerformance() const
InstanceRequirementsRequest & WithNetworkBandwidthGbps(NetworkBandwidthGbpsRequest &&value)
InstanceRequirementsRequest & WithAcceleratorNames(Aws::Vector< AcceleratorName > &&value)
void SetAcceleratorCount(AcceleratorCountRequest &&value)
InstanceRequirementsRequest & AddExcludedInstanceTypes(Aws::String &&value)
const Aws::Vector< AcceleratorName > & GetAcceleratorNames() const
InstanceRequirementsRequest & WithVCpuCount(const VCpuCountRangeRequest &value)
void SetBurstablePerformance(BurstablePerformance &&value)
void SetInstanceGenerations(const Aws::Vector< InstanceGeneration > &value)
InstanceRequirementsRequest & WithBaselineEbsBandwidthMbps(BaselineEbsBandwidthMbpsRequest &&value)
void SetTotalLocalStorageGB(const TotalLocalStorageGBRequest &value)
InstanceRequirementsRequest & AddCpuManufacturers(CpuManufacturer &&value)
InstanceRequirementsRequest & AddAllowedInstanceTypes(const char *value)
InstanceRequirementsRequest & WithTotalLocalStorageGB(TotalLocalStorageGBRequest &&value)
void SetAcceleratorNames(const Aws::Vector< AcceleratorName > &value)
void SetAcceleratorTypes(const Aws::Vector< AcceleratorType > &value)
void SetCpuManufacturers(const Aws::Vector< CpuManufacturer > &value)
InstanceRequirementsRequest & WithNetworkBandwidthGbps(const NetworkBandwidthGbpsRequest &value)
InstanceRequirementsRequest & WithTotalLocalStorageGB(const TotalLocalStorageGBRequest &value)
InstanceRequirementsRequest & WithBaselineEbsBandwidthMbps(const BaselineEbsBandwidthMbpsRequest &value)
InstanceRequirementsRequest & AddAcceleratorManufacturers(AcceleratorManufacturer &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
InstanceRequirementsRequest & AddExcludedInstanceTypes(const char *value)
const BaselineEbsBandwidthMbpsRequest & GetBaselineEbsBandwidthMbps() const
const Aws::Vector< AcceleratorManufacturer > & GetAcceleratorManufacturers() const
void SetNetworkBandwidthGbps(const NetworkBandwidthGbpsRequest &value)
InstanceRequirementsRequest & WithBareMetal(BareMetal &&value)
void SetAcceleratorTotalMemoryMiB(const AcceleratorTotalMemoryMiBRequest &value)
void SetBaselineEbsBandwidthMbps(const BaselineEbsBandwidthMbpsRequest &value)
InstanceRequirementsRequest & WithLocalStorage(LocalStorage &&value)
void SetCpuManufacturers(Aws::Vector< CpuManufacturer > &&value)
void SetAcceleratorTypes(Aws::Vector< AcceleratorType > &&value)
InstanceRequirementsRequest & WithSpotMaxPricePercentageOverLowestPrice(int value)
AWS_EC2_API InstanceRequirementsRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNetworkInterfaceCount(const NetworkInterfaceCountRequest &value)
void SetInstanceGenerations(Aws::Vector< InstanceGeneration > &&value)
InstanceRequirementsRequest & AddAcceleratorNames(AcceleratorName &&value)
InstanceRequirementsRequest & AddAllowedInstanceTypes(const Aws::String &value)
InstanceRequirementsRequest & AddLocalStorageTypes(LocalStorageType &&value)
InstanceRequirementsRequest & WithAcceleratorTotalMemoryMiB(const AcceleratorTotalMemoryMiBRequest &value)
InstanceRequirementsRequest & WithInstanceGenerations(const Aws::Vector< InstanceGeneration > &value)
InstanceRequirementsRequest & WithCpuManufacturers(const Aws::Vector< CpuManufacturer > &value)
InstanceRequirementsRequest & AddCpuManufacturers(const CpuManufacturer &value)
InstanceRequirementsRequest & WithExcludedInstanceTypes(const Aws::Vector< Aws::String > &value)
InstanceRequirementsRequest & WithMemoryMiB(const MemoryMiBRequest &value)
InstanceRequirementsRequest & AddAcceleratorNames(const AcceleratorName &value)
const TotalLocalStorageGBRequest & GetTotalLocalStorageGB() const
InstanceRequirementsRequest & WithVCpuCount(VCpuCountRangeRequest &&value)
InstanceRequirementsRequest & WithAllowedInstanceTypes(Aws::Vector< Aws::String > &&value)
InstanceRequirementsRequest & WithAcceleratorManufacturers(const Aws::Vector< AcceleratorManufacturer > &value)
void SetLocalStorageTypes(Aws::Vector< LocalStorageType > &&value)
const Aws::Vector< Aws::String > & GetAllowedInstanceTypes() const
void SetVCpuCount(const VCpuCountRangeRequest &value)
const MemoryGiBPerVCpuRequest & GetMemoryGiBPerVCpu() const
void SetAllowedInstanceTypes(const Aws::Vector< Aws::String > &value)
void SetBurstablePerformance(const BurstablePerformance &value)
const Aws::Vector< Aws::String > & GetExcludedInstanceTypes() const
void SetMemoryGiBPerVCpu(MemoryGiBPerVCpuRequest &&value)
InstanceRequirementsRequest & WithMemoryMiB(MemoryMiBRequest &&value)
void SetAcceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRequest &&value)
InstanceRequirementsRequest & AddAllowedInstanceTypes(Aws::String &&value)
void SetAcceleratorManufacturers(Aws::Vector< AcceleratorManufacturer > &&value)
InstanceRequirementsRequest & WithBurstablePerformance(BurstablePerformance &&value)
InstanceRequirementsRequest & WithMaxSpotPriceAsPercentageOfOptimalOnDemandPrice(int value)
InstanceRequirementsRequest & WithLocalStorageTypes(const Aws::Vector< LocalStorageType > &value)
InstanceRequirementsRequest & WithAcceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRequest &&value)
void SetNetworkBandwidthGbps(NetworkBandwidthGbpsRequest &&value)
void SetNetworkInterfaceCount(NetworkInterfaceCountRequest &&value)
const Aws::Vector< LocalStorageType > & GetLocalStorageTypes() const
InstanceRequirementsRequest & WithAcceleratorNames(const Aws::Vector< AcceleratorName > &value)
void SetExcludedInstanceTypes(const Aws::Vector< Aws::String > &value)
InstanceRequirementsRequest & WithNetworkInterfaceCount(const NetworkInterfaceCountRequest &value)
InstanceRequirementsRequest & WithLocalStorageTypes(Aws::Vector< LocalStorageType > &&value)
const NetworkBandwidthGbpsRequest & GetNetworkBandwidthGbps() const
void SetAllowedInstanceTypes(Aws::Vector< Aws::String > &&value)
InstanceRequirementsRequest & WithCpuManufacturers(Aws::Vector< CpuManufacturer > &&value)
InstanceRequirementsRequest & WithAcceleratorCount(AcceleratorCountRequest &&value)
InstanceRequirementsRequest & AddAcceleratorManufacturers(const AcceleratorManufacturer &value)
const Aws::Vector< CpuManufacturer > & GetCpuManufacturers() const
void SetLocalStorageTypes(const Aws::Vector< LocalStorageType > &value)
InstanceRequirementsRequest & WithMemoryGiBPerVCpu(const MemoryGiBPerVCpuRequest &value)
void SetAcceleratorManufacturers(const Aws::Vector< AcceleratorManufacturer > &value)
void SetAcceleratorCount(const AcceleratorCountRequest &value)
AWS_EC2_API InstanceRequirementsRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InstanceRequirementsRequest & WithAcceleratorTypes(const Aws::Vector< AcceleratorType > &value)
const AcceleratorCountRequest & GetAcceleratorCount() const
const NetworkInterfaceCountRequest & GetNetworkInterfaceCount() const
InstanceRequirementsRequest & WithNetworkInterfaceCount(NetworkInterfaceCountRequest &&value)
InstanceRequirementsRequest & AddExcludedInstanceTypes(const Aws::String &value)
void SetBaselineEbsBandwidthMbps(BaselineEbsBandwidthMbpsRequest &&value)
InstanceRequirementsRequest & WithRequireHibernateSupport(bool value)
InstanceRequirementsRequest & AddInstanceGenerations(InstanceGeneration &&value)
void SetExcludedInstanceTypes(Aws::Vector< Aws::String > &&value)
void SetAcceleratorNames(Aws::Vector< AcceleratorName > &&value)
InstanceRequirementsRequest & WithMemoryGiBPerVCpu(MemoryGiBPerVCpuRequest &&value)
InstanceRequirementsRequest & WithInstanceGenerations(Aws::Vector< InstanceGeneration > &&value)
InstanceRequirementsRequest & WithAcceleratorCount(const AcceleratorCountRequest &value)
const Aws::Vector< InstanceGeneration > & GetInstanceGenerations() const
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