/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the GPU accelerators for the instance type.See
* Also:
AWS API
* Reference
Describes the GPU accelerators for the instance type.
*/ inline const Aws::VectorDescribes the GPU accelerators for the instance type.
*/ inline bool GpusHasBeenSet() const { return m_gpusHasBeenSet; } /** *Describes the GPU accelerators for the instance type.
*/ inline void SetGpus(const Aws::VectorDescribes the GPU accelerators for the instance type.
*/ inline void SetGpus(Aws::VectorDescribes the GPU accelerators for the instance type.
*/ inline GpuInfo& WithGpus(const Aws::VectorDescribes the GPU accelerators for the instance type.
*/ inline GpuInfo& WithGpus(Aws::VectorDescribes the GPU accelerators for the instance type.
*/ inline GpuInfo& AddGpus(const GpuDeviceInfo& value) { m_gpusHasBeenSet = true; m_gpus.push_back(value); return *this; } /** *Describes the GPU accelerators for the instance type.
*/ inline GpuInfo& AddGpus(GpuDeviceInfo&& value) { m_gpusHasBeenSet = true; m_gpus.push_back(std::move(value)); return *this; } /** *The total size of the memory for the GPU accelerators for the instance type, * in MiB.
*/ inline int GetTotalGpuMemoryInMiB() const{ return m_totalGpuMemoryInMiB; } /** *The total size of the memory for the GPU accelerators for the instance type, * in MiB.
*/ inline bool TotalGpuMemoryInMiBHasBeenSet() const { return m_totalGpuMemoryInMiBHasBeenSet; } /** *The total size of the memory for the GPU accelerators for the instance type, * in MiB.
*/ inline void SetTotalGpuMemoryInMiB(int value) { m_totalGpuMemoryInMiBHasBeenSet = true; m_totalGpuMemoryInMiB = value; } /** *The total size of the memory for the GPU accelerators for the instance type, * in MiB.
*/ inline GpuInfo& WithTotalGpuMemoryInMiB(int value) { SetTotalGpuMemoryInMiB(value); return *this;} private: Aws::Vector