AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomerManagedWorkerCapabilities.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/VCpuCountRange.h>
9#include <aws/deadline/model/MemoryMiBRange.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/deadline/model/AcceleratorCountRange.h>
12#include <aws/deadline/model/AcceleratorTotalMemoryMiBRange.h>
13#include <aws/deadline/model/CustomerManagedFleetOperatingSystemFamily.h>
14#include <aws/deadline/model/CpuArchitectureType.h>
15#include <aws/deadline/model/AcceleratorType.h>
16#include <aws/deadline/model/FleetAmountCapability.h>
17#include <aws/deadline/model/FleetAttributeCapability.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace deadline
31{
32namespace Model
33{
34
42 {
43 public:
47 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const VCpuCountRange& GetVCpuCount() const{ return m_vCpuCount; }
55 inline bool VCpuCountHasBeenSet() const { return m_vCpuCountHasBeenSet; }
56 inline void SetVCpuCount(const VCpuCountRange& value) { m_vCpuCountHasBeenSet = true; m_vCpuCount = value; }
57 inline void SetVCpuCount(VCpuCountRange&& value) { m_vCpuCountHasBeenSet = true; m_vCpuCount = std::move(value); }
58 inline CustomerManagedWorkerCapabilities& WithVCpuCount(const VCpuCountRange& value) { SetVCpuCount(value); return *this;}
59 inline CustomerManagedWorkerCapabilities& WithVCpuCount(VCpuCountRange&& value) { SetVCpuCount(std::move(value)); return *this;}
61
63
66 inline const MemoryMiBRange& GetMemoryMiB() const{ return m_memoryMiB; }
67 inline bool MemoryMiBHasBeenSet() const { return m_memoryMiBHasBeenSet; }
68 inline void SetMemoryMiB(const MemoryMiBRange& value) { m_memoryMiBHasBeenSet = true; m_memoryMiB = value; }
69 inline void SetMemoryMiB(MemoryMiBRange&& value) { m_memoryMiBHasBeenSet = true; m_memoryMiB = std::move(value); }
70 inline CustomerManagedWorkerCapabilities& WithMemoryMiB(const MemoryMiBRange& value) { SetMemoryMiB(value); return *this;}
71 inline CustomerManagedWorkerCapabilities& WithMemoryMiB(MemoryMiBRange&& value) { SetMemoryMiB(std::move(value)); return *this;}
73
75
78 inline const Aws::Vector<AcceleratorType>& GetAcceleratorTypes() const{ return m_acceleratorTypes; }
79 inline bool AcceleratorTypesHasBeenSet() const { return m_acceleratorTypesHasBeenSet; }
80 inline void SetAcceleratorTypes(const Aws::Vector<AcceleratorType>& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes = value; }
81 inline void SetAcceleratorTypes(Aws::Vector<AcceleratorType>&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes = std::move(value); }
84 inline CustomerManagedWorkerCapabilities& AddAcceleratorTypes(const AcceleratorType& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(value); return *this; }
85 inline CustomerManagedWorkerCapabilities& AddAcceleratorTypes(AcceleratorType&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(std::move(value)); return *this; }
87
89
92 inline const AcceleratorCountRange& GetAcceleratorCount() const{ return m_acceleratorCount; }
93 inline bool AcceleratorCountHasBeenSet() const { return m_acceleratorCountHasBeenSet; }
94 inline void SetAcceleratorCount(const AcceleratorCountRange& value) { m_acceleratorCountHasBeenSet = true; m_acceleratorCount = value; }
95 inline void SetAcceleratorCount(AcceleratorCountRange&& value) { m_acceleratorCountHasBeenSet = true; m_acceleratorCount = std::move(value); }
99
101
104 inline const AcceleratorTotalMemoryMiBRange& GetAcceleratorTotalMemoryMiB() const{ return m_acceleratorTotalMemoryMiB; }
105 inline bool AcceleratorTotalMemoryMiBHasBeenSet() const { return m_acceleratorTotalMemoryMiBHasBeenSet; }
106 inline void SetAcceleratorTotalMemoryMiB(const AcceleratorTotalMemoryMiBRange& value) { m_acceleratorTotalMemoryMiBHasBeenSet = true; m_acceleratorTotalMemoryMiB = value; }
107 inline void SetAcceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRange&& value) { m_acceleratorTotalMemoryMiBHasBeenSet = true; m_acceleratorTotalMemoryMiB = std::move(value); }
111
113
116 inline const CustomerManagedFleetOperatingSystemFamily& GetOsFamily() const{ return m_osFamily; }
117 inline bool OsFamilyHasBeenSet() const { return m_osFamilyHasBeenSet; }
118 inline void SetOsFamily(const CustomerManagedFleetOperatingSystemFamily& value) { m_osFamilyHasBeenSet = true; m_osFamily = value; }
119 inline void SetOsFamily(CustomerManagedFleetOperatingSystemFamily&& value) { m_osFamilyHasBeenSet = true; m_osFamily = std::move(value); }
123
125
128 inline const CpuArchitectureType& GetCpuArchitectureType() const{ return m_cpuArchitectureType; }
129 inline bool CpuArchitectureTypeHasBeenSet() const { return m_cpuArchitectureTypeHasBeenSet; }
130 inline void SetCpuArchitectureType(const CpuArchitectureType& value) { m_cpuArchitectureTypeHasBeenSet = true; m_cpuArchitectureType = value; }
131 inline void SetCpuArchitectureType(CpuArchitectureType&& value) { m_cpuArchitectureTypeHasBeenSet = true; m_cpuArchitectureType = std::move(value); }
135
137
140 inline const Aws::Vector<FleetAmountCapability>& GetCustomAmounts() const{ return m_customAmounts; }
141 inline bool CustomAmountsHasBeenSet() const { return m_customAmountsHasBeenSet; }
142 inline void SetCustomAmounts(const Aws::Vector<FleetAmountCapability>& value) { m_customAmountsHasBeenSet = true; m_customAmounts = value; }
143 inline void SetCustomAmounts(Aws::Vector<FleetAmountCapability>&& value) { m_customAmountsHasBeenSet = true; m_customAmounts = std::move(value); }
146 inline CustomerManagedWorkerCapabilities& AddCustomAmounts(const FleetAmountCapability& value) { m_customAmountsHasBeenSet = true; m_customAmounts.push_back(value); return *this; }
147 inline CustomerManagedWorkerCapabilities& AddCustomAmounts(FleetAmountCapability&& value) { m_customAmountsHasBeenSet = true; m_customAmounts.push_back(std::move(value)); return *this; }
149
151
154 inline const Aws::Vector<FleetAttributeCapability>& GetCustomAttributes() const{ return m_customAttributes; }
155 inline bool CustomAttributesHasBeenSet() const { return m_customAttributesHasBeenSet; }
156 inline void SetCustomAttributes(const Aws::Vector<FleetAttributeCapability>& value) { m_customAttributesHasBeenSet = true; m_customAttributes = value; }
157 inline void SetCustomAttributes(Aws::Vector<FleetAttributeCapability>&& value) { m_customAttributesHasBeenSet = true; m_customAttributes = std::move(value); }
160 inline CustomerManagedWorkerCapabilities& AddCustomAttributes(const FleetAttributeCapability& value) { m_customAttributesHasBeenSet = true; m_customAttributes.push_back(value); return *this; }
161 inline CustomerManagedWorkerCapabilities& AddCustomAttributes(FleetAttributeCapability&& value) { m_customAttributesHasBeenSet = true; m_customAttributes.push_back(std::move(value)); return *this; }
163 private:
164
165 VCpuCountRange m_vCpuCount;
166 bool m_vCpuCountHasBeenSet = false;
167
168 MemoryMiBRange m_memoryMiB;
169 bool m_memoryMiBHasBeenSet = false;
170
171 Aws::Vector<AcceleratorType> m_acceleratorTypes;
172 bool m_acceleratorTypesHasBeenSet = false;
173
174 AcceleratorCountRange m_acceleratorCount;
175 bool m_acceleratorCountHasBeenSet = false;
176
177 AcceleratorTotalMemoryMiBRange m_acceleratorTotalMemoryMiB;
178 bool m_acceleratorTotalMemoryMiBHasBeenSet = false;
179
181 bool m_osFamilyHasBeenSet = false;
182
183 CpuArchitectureType m_cpuArchitectureType;
184 bool m_cpuArchitectureTypeHasBeenSet = false;
185
187 bool m_customAmountsHasBeenSet = false;
188
189 Aws::Vector<FleetAttributeCapability> m_customAttributes;
190 bool m_customAttributesHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace deadline
195} // namespace Aws
const Aws::Vector< AcceleratorType > & GetAcceleratorTypes() const
CustomerManagedWorkerCapabilities & WithCpuArchitectureType(const CpuArchitectureType &value)
CustomerManagedWorkerCapabilities & WithCustomAttributes(const Aws::Vector< FleetAttributeCapability > &value)
void SetOsFamily(CustomerManagedFleetOperatingSystemFamily &&value)
CustomerManagedWorkerCapabilities & WithMemoryMiB(const MemoryMiBRange &value)
CustomerManagedWorkerCapabilities & WithCustomAmounts(const Aws::Vector< FleetAmountCapability > &value)
CustomerManagedWorkerCapabilities & WithOsFamily(const CustomerManagedFleetOperatingSystemFamily &value)
void SetOsFamily(const CustomerManagedFleetOperatingSystemFamily &value)
void SetAcceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRange &&value)
CustomerManagedWorkerCapabilities & WithCpuArchitectureType(CpuArchitectureType &&value)
CustomerManagedWorkerCapabilities & WithAcceleratorTotalMemoryMiB(const AcceleratorTotalMemoryMiBRange &value)
AWS_DEADLINE_API CustomerManagedWorkerCapabilities & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomerManagedWorkerCapabilities & AddCustomAttributes(const FleetAttributeCapability &value)
void SetCustomAmounts(const Aws::Vector< FleetAmountCapability > &value)
void SetAcceleratorTypes(const Aws::Vector< AcceleratorType > &value)
CustomerManagedWorkerCapabilities & WithCustomAmounts(Aws::Vector< FleetAmountCapability > &&value)
CustomerManagedWorkerCapabilities & AddAcceleratorTypes(const AcceleratorType &value)
void SetAcceleratorTotalMemoryMiB(const AcceleratorTotalMemoryMiBRange &value)
CustomerManagedWorkerCapabilities & WithAcceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRange &&value)
AWS_DEADLINE_API CustomerManagedWorkerCapabilities(Aws::Utils::Json::JsonView jsonValue)
CustomerManagedWorkerCapabilities & AddCustomAmounts(const FleetAmountCapability &value)
CustomerManagedWorkerCapabilities & WithMemoryMiB(MemoryMiBRange &&value)
CustomerManagedWorkerCapabilities & WithAcceleratorCount(const AcceleratorCountRange &value)
void SetCustomAttributes(const Aws::Vector< FleetAttributeCapability > &value)
CustomerManagedWorkerCapabilities & WithCustomAttributes(Aws::Vector< FleetAttributeCapability > &&value)
void SetCustomAttributes(Aws::Vector< FleetAttributeCapability > &&value)
CustomerManagedWorkerCapabilities & WithAcceleratorTypes(const Aws::Vector< AcceleratorType > &value)
CustomerManagedWorkerCapabilities & WithAcceleratorTypes(Aws::Vector< AcceleratorType > &&value)
const AcceleratorTotalMemoryMiBRange & GetAcceleratorTotalMemoryMiB() const
CustomerManagedWorkerCapabilities & WithVCpuCount(const VCpuCountRange &value)
CustomerManagedWorkerCapabilities & WithOsFamily(CustomerManagedFleetOperatingSystemFamily &&value)
const CustomerManagedFleetOperatingSystemFamily & GetOsFamily() const
CustomerManagedWorkerCapabilities & AddCustomAmounts(FleetAmountCapability &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
CustomerManagedWorkerCapabilities & AddCustomAttributes(FleetAttributeCapability &&value)
CustomerManagedWorkerCapabilities & WithAcceleratorCount(AcceleratorCountRange &&value)
void SetCustomAmounts(Aws::Vector< FleetAmountCapability > &&value)
CustomerManagedWorkerCapabilities & AddAcceleratorTypes(AcceleratorType &&value)
CustomerManagedWorkerCapabilities & WithVCpuCount(VCpuCountRange &&value)
const Aws::Vector< FleetAmountCapability > & GetCustomAmounts() const
const Aws::Vector< FleetAttributeCapability > & GetCustomAttributes() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue