7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/GpuDeviceMemoryInfo.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
62 template<
typename ManufacturerT = Aws::String>
63 void SetManufacturer(ManufacturerT&& value) { m_manufacturerHasBeenSet =
true; m_manufacturer = std::forward<ManufacturerT>(value); }
64 template<
typename ManufacturerT = Aws::String>
72 inline int GetCount()
const {
return m_count; }
74 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
84 template<
typename MemoryInfoT = GpuDeviceMemoryInfo>
85 void SetMemoryInfo(MemoryInfoT&& value) { m_memoryInfoHasBeenSet =
true; m_memoryInfo = std::forward<MemoryInfoT>(value); }
86 template<
typename MemoryInfoT = GpuDeviceMemoryInfo>
92 bool m_nameHasBeenSet =
false;
95 bool m_manufacturerHasBeenSet =
false;
98 bool m_countHasBeenSet =
false;
100 GpuDeviceMemoryInfo m_memoryInfo;
101 bool m_memoryInfoHasBeenSet =
false;
const Aws::String & GetName() const
bool CountHasBeenSet() const
const GpuDeviceMemoryInfo & GetMemoryInfo() const
GpuDeviceInfo & WithMemoryInfo(MemoryInfoT &&value)
bool NameHasBeenSet() const
GpuDeviceInfo & WithManufacturer(ManufacturerT &&value)
bool ManufacturerHasBeenSet() const
const Aws::String & GetManufacturer() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetMemoryInfo(MemoryInfoT &&value)
AWS_EC2_API GpuDeviceInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetManufacturer(ManufacturerT &&value)
GpuDeviceInfo & WithName(NameT &&value)
AWS_EC2_API GpuDeviceInfo()=default
GpuDeviceInfo & WithCount(int value)
void SetName(NameT &&value)
bool MemoryInfoHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API GpuDeviceInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream