7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/deadline/Deadline_EXPORTS.h>
9#include <aws/deadline/model/AcceleratorCountRange.h>
10#include <aws/deadline/model/AcceleratorTotalMemoryMiBRange.h>
11#include <aws/deadline/model/AcceleratorType.h>
12#include <aws/deadline/model/CpuArchitectureType.h>
13#include <aws/deadline/model/CustomerManagedFleetOperatingSystemFamily.h>
14#include <aws/deadline/model/FleetAmountCapability.h>
15#include <aws/deadline/model/FleetAttributeCapability.h>
16#include <aws/deadline/model/MemoryMiBRange.h>
17#include <aws/deadline/model/VCpuCountRange.h>
50 template <
typename VCpuCountT = VCpuCountRange>
52 m_vCpuCountHasBeenSet =
true;
53 m_vCpuCount = std::forward<VCpuCountT>(value);
55 template <
typename VCpuCountT = VCpuCountRange>
68 template <
typename MemoryMiBT = MemoryMiBRange>
70 m_memoryMiBHasBeenSet =
true;
71 m_memoryMiB = std::forward<MemoryMiBT>(value);
73 template <
typename MemoryMiBT = MemoryMiBRange>
86 template <
typename AcceleratorTypesT = Aws::Vector<AcceleratorType>>
88 m_acceleratorTypesHasBeenSet =
true;
89 m_acceleratorTypes = std::forward<AcceleratorTypesT>(value);
91 template <
typename AcceleratorTypesT = Aws::Vector<AcceleratorType>>
97 m_acceleratorTypesHasBeenSet =
true;
98 m_acceleratorTypes.push_back(value);
109 template <
typename AcceleratorCountT = AcceleratorCountRange>
111 m_acceleratorCountHasBeenSet =
true;
112 m_acceleratorCount = std::forward<AcceleratorCountT>(value);
114 template <
typename AcceleratorCountT = AcceleratorCountRange>
127 template <
typename AcceleratorTotalMemoryMiBT = AcceleratorTotalMemoryMiBRange>
129 m_acceleratorTotalMemoryMiBHasBeenSet =
true;
130 m_acceleratorTotalMemoryMiB = std::forward<AcceleratorTotalMemoryMiBT>(value);
132 template <
typename AcceleratorTotalMemoryMiBT = AcceleratorTotalMemoryMiBRange>
146 m_osFamilyHasBeenSet =
true;
162 m_cpuArchitectureTypeHasBeenSet =
true;
163 m_cpuArchitectureType = value;
177 template <
typename CustomAmountsT = Aws::Vector<FleetAmountCapability>>
179 m_customAmountsHasBeenSet =
true;
180 m_customAmounts = std::forward<CustomAmountsT>(value);
182 template <
typename CustomAmountsT = Aws::Vector<FleetAmountCapability>>
187 template <
typename CustomAmountsT = FleetAmountCapability>
189 m_customAmountsHasBeenSet =
true;
190 m_customAmounts.emplace_back(std::forward<CustomAmountsT>(value));
201 template <
typename CustomAttributesT = Aws::Vector<FleetAttributeCapability>>
203 m_customAttributesHasBeenSet =
true;
204 m_customAttributes = std::forward<CustomAttributesT>(value);
206 template <
typename CustomAttributesT = Aws::Vector<FleetAttributeCapability>>
211 template <
typename CustomAttributesT = FleetAttributeCapability>
213 m_customAttributesHasBeenSet =
true;
214 m_customAttributes.emplace_back(std::forward<CustomAttributesT>(value));
236 bool m_vCpuCountHasBeenSet =
false;
237 bool m_memoryMiBHasBeenSet =
false;
238 bool m_acceleratorTypesHasBeenSet =
false;
239 bool m_acceleratorCountHasBeenSet =
false;
240 bool m_acceleratorTotalMemoryMiBHasBeenSet =
false;
241 bool m_osFamilyHasBeenSet =
false;
242 bool m_cpuArchitectureTypeHasBeenSet =
false;
243 bool m_customAmountsHasBeenSet =
false;
244 bool m_customAttributesHasBeenSet =
false;
void SetCpuArchitectureType(CpuArchitectureType value)
bool AcceleratorCountHasBeenSet() const
void SetOsFamily(CustomerManagedFleetOperatingSystemFamily value)
CustomerManagedWorkerCapabilities & WithVCpuCount(VCpuCountT &&value)
CustomerManagedWorkerCapabilities & AddCustomAmounts(CustomAmountsT &&value)
CpuArchitectureType GetCpuArchitectureType() const
const Aws::Vector< AcceleratorType > & GetAcceleratorTypes() const
bool MemoryMiBHasBeenSet() const
void SetAcceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBT &&value)
void SetAcceleratorTypes(AcceleratorTypesT &&value)
const MemoryMiBRange & GetMemoryMiB() const
bool AcceleratorTotalMemoryMiBHasBeenSet() const
CustomerManagedWorkerCapabilities & WithMemoryMiB(MemoryMiBT &&value)
const VCpuCountRange & GetVCpuCount() const
void SetCustomAmounts(CustomAmountsT &&value)
CustomerManagedWorkerCapabilities & AddCustomAttributes(CustomAttributesT &&value)
bool CustomAttributesHasBeenSet() const
AWS_DEADLINE_API CustomerManagedWorkerCapabilities & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomerManagedWorkerCapabilities & WithCustomAmounts(CustomAmountsT &&value)
bool AcceleratorTypesHasBeenSet() const
void SetMemoryMiB(MemoryMiBT &&value)
AWS_DEADLINE_API CustomerManagedWorkerCapabilities()=default
CustomerManagedWorkerCapabilities & AddAcceleratorTypes(AcceleratorType value)
bool OsFamilyHasBeenSet() const
void SetAcceleratorCount(AcceleratorCountT &&value)
AWS_DEADLINE_API CustomerManagedWorkerCapabilities(Aws::Utils::Json::JsonView jsonValue)
CustomerManagedFleetOperatingSystemFamily GetOsFamily() const
bool CpuArchitectureTypeHasBeenSet() const
CustomerManagedWorkerCapabilities & WithCpuArchitectureType(CpuArchitectureType value)
const AcceleratorCountRange & GetAcceleratorCount() const
bool VCpuCountHasBeenSet() const
const AcceleratorTotalMemoryMiBRange & GetAcceleratorTotalMemoryMiB() const
CustomerManagedWorkerCapabilities & WithOsFamily(CustomerManagedFleetOperatingSystemFamily value)
CustomerManagedWorkerCapabilities & WithAcceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBT &&value)
void SetCustomAttributes(CustomAttributesT &&value)
bool CustomAmountsHasBeenSet() const
CustomerManagedWorkerCapabilities & WithCustomAttributes(CustomAttributesT &&value)
CustomerManagedWorkerCapabilities & WithAcceleratorTypes(AcceleratorTypesT &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVCpuCount(VCpuCountT &&value)
const Aws::Vector< FleetAmountCapability > & GetCustomAmounts() const
const Aws::Vector< FleetAttributeCapability > & GetCustomAttributes() const
CustomerManagedWorkerCapabilities & WithAcceleratorCount(AcceleratorCountT &&value)
CustomerManagedFleetOperatingSystemFamily
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue