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/NeuronDeviceCoreInfo.h>
11#include <aws/ec2/model/NeuronDeviceMemoryInfo.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 CoreInfoT = NeuronDeviceCoreInfo>
81 m_coreInfoHasBeenSet =
true;
82 m_coreInfo = std::forward<CoreInfoT>(value);
84 template <
typename CoreInfoT = NeuronDeviceCoreInfo>
97 template <
typename MemoryInfoT = NeuronDeviceMemoryInfo>
99 m_memoryInfoHasBeenSet =
true;
100 m_memoryInfo = std::forward<MemoryInfoT>(value);
102 template <
typename MemoryInfoT = NeuronDeviceMemoryInfo>
113 NeuronDeviceCoreInfo m_coreInfo;
115 NeuronDeviceMemoryInfo m_memoryInfo;
116 bool m_countHasBeenSet =
false;
117 bool m_nameHasBeenSet =
false;
118 bool m_coreInfoHasBeenSet =
false;
119 bool m_memoryInfoHasBeenSet =
false;
NeuronDeviceInfo & WithName(NameT &&value)
bool MemoryInfoHasBeenSet() const
bool CoreInfoHasBeenSet() const
void SetName(NameT &&value)
NeuronDeviceInfo & WithMemoryInfo(MemoryInfoT &&value)
const NeuronDeviceMemoryInfo & GetMemoryInfo() const
AWS_EC2_API NeuronDeviceInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool CountHasBeenSet() const
void SetCoreInfo(CoreInfoT &&value)
NeuronDeviceInfo & WithCount(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const NeuronDeviceCoreInfo & GetCoreInfo() const
NeuronDeviceInfo & WithCoreInfo(CoreInfoT &&value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
AWS_EC2_API NeuronDeviceInfo()=default
AWS_EC2_API NeuronDeviceInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetMemoryInfo(MemoryInfoT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream