7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/compute-optimizer/model/Gpu.h>
22namespace ComputeOptimizer
52 inline GpuInfo&
AddGpus(
const Gpu& value) { m_gpusHasBeenSet =
true; m_gpus.push_back(value);
return *
this; }
53 inline GpuInfo&
AddGpus(
Gpu&& value) { m_gpusHasBeenSet =
true; m_gpus.push_back(std::move(value));
return *
this; }
58 bool m_gpusHasBeenSet =
false;
const Aws::Vector< Gpu > & GetGpus() const
void SetGpus(Aws::Vector< Gpu > &&value)
AWS_COMPUTEOPTIMIZER_API GpuInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGpus(const Aws::Vector< Gpu > &value)
GpuInfo & WithGpus(const Aws::Vector< Gpu > &value)
GpuInfo & AddGpus(Gpu &&value)
bool GpusHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API GpuInfo()
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
GpuInfo & WithGpus(Aws::Vector< Gpu > &&value)
AWS_COMPUTEOPTIMIZER_API GpuInfo(Aws::Utils::Json::JsonView jsonValue)
GpuInfo & AddGpus(const Gpu &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue