7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/GpuDeviceInfo.h>
65 inline void SetTotalGpuMemoryInMiB(
int value) { m_totalGpuMemoryInMiBHasBeenSet =
true; m_totalGpuMemoryInMiB = value; }
71 bool m_gpusHasBeenSet =
false;
73 int m_totalGpuMemoryInMiB;
74 bool m_totalGpuMemoryInMiBHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetGpus(const Aws::Vector< GpuDeviceInfo > &value)
AWS_EC2_API GpuInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TotalGpuMemoryInMiBHasBeenSet() const
void SetGpus(Aws::Vector< GpuDeviceInfo > &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
GpuInfo & WithTotalGpuMemoryInMiB(int value)
GpuInfo & WithGpus(Aws::Vector< GpuDeviceInfo > &&value)
GpuInfo & WithGpus(const Aws::Vector< GpuDeviceInfo > &value)
bool GpusHasBeenSet() const
void SetTotalGpuMemoryInMiB(int value)
GpuInfo & AddGpus(const GpuDeviceInfo &value)
const Aws::Vector< GpuDeviceInfo > & GetGpus() const
int GetTotalGpuMemoryInMiB() const
AWS_EC2_API GpuInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
GpuInfo & AddGpus(GpuDeviceInfo &&value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream