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/InferenceDeviceMemoryInfo.h>
49 inline int GetCount()
const {
return m_count; }
51 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
61 template<
typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
63 template<
typename NameT = Aws::String>
73 template<
typename ManufacturerT = Aws::String>
74 void SetManufacturer(ManufacturerT&& value) { m_manufacturerHasBeenSet =
true; m_manufacturer = std::forward<ManufacturerT>(value); }
75 template<
typename ManufacturerT = Aws::String>
85 template<
typename MemoryInfoT = InferenceDeviceMemoryInfo>
86 void SetMemoryInfo(MemoryInfoT&& value) { m_memoryInfoHasBeenSet =
true; m_memoryInfo = std::forward<MemoryInfoT>(value); }
87 template<
typename MemoryInfoT = InferenceDeviceMemoryInfo>
93 bool m_countHasBeenSet =
false;
96 bool m_nameHasBeenSet =
false;
99 bool m_manufacturerHasBeenSet =
false;
101 InferenceDeviceMemoryInfo m_memoryInfo;
102 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