7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/GpuDeviceInfo.h>
44 template <
typename GpusT = Aws::Vector<GpuDeviceInfo>>
46 m_gpusHasBeenSet =
true;
47 m_gpus = std::forward<GpusT>(value);
49 template <
typename GpusT = Aws::Vector<GpuDeviceInfo>>
51 SetGpus(std::forward<GpusT>(value));
54 template <
typename GpusT = GpuDeviceInfo>
56 m_gpusHasBeenSet =
true;
57 m_gpus.emplace_back(std::forward<GpusT>(value));
70 m_totalGpuMemoryInMiBHasBeenSet =
true;
71 m_totalGpuMemoryInMiB = value;
81 int m_totalGpuMemoryInMiB{0};
82 bool m_gpusHasBeenSet =
false;
83 bool m_totalGpuMemoryInMiBHasBeenSet =
false;
void SetGpus(GpusT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
GpuInfo & AddGpus(GpusT &&value)
AWS_EC2_API GpuInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool TotalGpuMemoryInMiBHasBeenSet() const
AWS_EC2_API GpuInfo()=default
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
GpuInfo & WithTotalGpuMemoryInMiB(int value)
GpuInfo & WithGpus(GpusT &&value)
bool GpusHasBeenSet() const
void SetTotalGpuMemoryInMiB(int value)
const Aws::Vector< GpuDeviceInfo > & GetGpus() const
int GetTotalGpuMemoryInMiB() const
AWS_EC2_API GpuInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream