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>
56 template<
typename VCpuCountT = VCpuCountRange>
57 void SetVCpuCount(VCpuCountT&& value) { m_vCpuCountHasBeenSet =
true; m_vCpuCount = std::forward<VCpuCountT>(value); }
58 template<
typename VCpuCountT = VCpuCountRange>
68 template<
typename MemoryMiBT = MemoryMiBRange>
69 void SetMemoryMiB(MemoryMiBT&& value) { m_memoryMiBHasBeenSet =
true; m_memoryMiB = std::forward<MemoryMiBT>(value); }
70 template<
typename MemoryMiBT = MemoryMiBRange>
80 template<
typename AcceleratorTypesT = Aws::Vector<AcceleratorType>>
81 void SetAcceleratorTypes(AcceleratorTypesT&& value) { m_acceleratorTypesHasBeenSet =
true; m_acceleratorTypes = std::forward<AcceleratorTypesT>(value); }
82 template<
typename AcceleratorTypesT = Aws::Vector<AcceleratorType>>
93 template<
typename AcceleratorCountT = AcceleratorCountRange>
94 void SetAcceleratorCount(AcceleratorCountT&& value) { m_acceleratorCountHasBeenSet =
true; m_acceleratorCount = std::forward<AcceleratorCountT>(value); }
95 template<
typename AcceleratorCountT = AcceleratorCountRange>
105 template<
typename AcceleratorTotalMemoryMiBT = AcceleratorTotalMemoryMiBRange>
106 void SetAcceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBT&& value) { m_acceleratorTotalMemoryMiBHasBeenSet =
true; m_acceleratorTotalMemoryMiB = std::forward<AcceleratorTotalMemoryMiBT>(value); }
107 template<
typename AcceleratorTotalMemoryMiBT = AcceleratorTotalMemoryMiBRange>
137 template<
typename CustomAmountsT = Aws::Vector<FleetAmountCapability>>
138 void SetCustomAmounts(CustomAmountsT&& value) { m_customAmountsHasBeenSet =
true; m_customAmounts = std::forward<CustomAmountsT>(value); }
139 template<
typename CustomAmountsT = Aws::Vector<FleetAmountCapability>>
141 template<
typename CustomAmountsT = FleetAmountCapability>
151 template<
typename CustomAttributesT = Aws::Vector<FleetAttributeCapability>>
152 void SetCustomAttributes(CustomAttributesT&& value) { m_customAttributesHasBeenSet =
true; m_customAttributes = std::forward<CustomAttributesT>(value); }
153 template<
typename CustomAttributesT = Aws::Vector<FleetAttributeCapability>>
155 template<
typename CustomAttributesT = FleetAttributeCapability>
161 bool m_vCpuCountHasBeenSet =
false;
164 bool m_memoryMiBHasBeenSet =
false;
167 bool m_acceleratorTypesHasBeenSet =
false;
170 bool m_acceleratorCountHasBeenSet =
false;
173 bool m_acceleratorTotalMemoryMiBHasBeenSet =
false;
176 bool m_osFamilyHasBeenSet =
false;
179 bool m_cpuArchitectureTypeHasBeenSet =
false;
182 bool m_customAmountsHasBeenSet =
false;
185 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