7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/crt/cbor/Cbor.h>
16namespace ComputeOptimizer {
27 AWS_COMPUTEOPTIMIZER_API
Gpu() =
default;
28 AWS_COMPUTEOPTIMIZER_API
Gpu(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
29 AWS_COMPUTEOPTIMIZER_API
Gpu&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
30 AWS_COMPUTEOPTIMIZER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
39 m_gpuCountHasBeenSet =
true;
56 m_gpuMemorySizeInMiBHasBeenSet =
true;
57 m_gpuMemorySizeInMiB = value;
65 int64_t m_gpuCount{0};
67 int64_t m_gpuMemorySizeInMiB{0};
68 bool m_gpuCountHasBeenSet =
false;
69 bool m_gpuMemorySizeInMiBHasBeenSet =
false;
int64_t GetGpuCount() const
AWS_COMPUTEOPTIMIZER_API Gpu()=default
bool GpuCountHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API Gpu & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_COMPUTEOPTIMIZER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
int64_t GetGpuMemorySizeInMiB() const
bool GpuMemorySizeInMiBHasBeenSet() const
void SetGpuCount(int64_t value)
void SetGpuMemorySizeInMiB(int64_t value)
AWS_COMPUTEOPTIMIZER_API Gpu(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Gpu & WithGpuCount(int64_t value)
Gpu & WithGpuMemorySizeInMiB(int64_t value)