7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/InferenceDeviceMemoryInfo.h>
43 inline int GetCount()
const {
return m_count; }
46 m_countHasBeenSet =
true;
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
79 template <
typename ManufacturerT = Aws::String>
81 m_manufacturerHasBeenSet =
true;
82 m_manufacturer = std::forward<ManufacturerT>(value);
84 template <
typename ManufacturerT = Aws::String>
97 template <
typename MemoryInfoT = InferenceDeviceMemoryInfo>
99 m_memoryInfoHasBeenSet =
true;
100 m_memoryInfo = std::forward<MemoryInfoT>(value);
102 template <
typename MemoryInfoT = InferenceDeviceMemoryInfo>
115 InferenceDeviceMemoryInfo m_memoryInfo;
116 bool m_countHasBeenSet =
false;
117 bool m_nameHasBeenSet =
false;
118 bool m_manufacturerHasBeenSet =
false;
119 bool m_memoryInfoHasBeenSet =
false;
InferenceDeviceInfo & WithName(NameT &&value)
AWS_EC2_API InferenceDeviceInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API InferenceDeviceInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMemoryInfo(MemoryInfoT &&value)
InferenceDeviceInfo & WithManufacturer(ManufacturerT &&value)
bool MemoryInfoHasBeenSet() const
void SetManufacturer(ManufacturerT &&value)
const InferenceDeviceMemoryInfo & GetMemoryInfo() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetName() const
InferenceDeviceInfo & WithMemoryInfo(MemoryInfoT &&value)
AWS_EC2_API InferenceDeviceInfo()=default
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetManufacturer() const
bool ManufacturerHasBeenSet() const
bool CountHasBeenSet() const
void SetName(NameT &&value)
InferenceDeviceInfo & WithCount(int value)
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream