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/NeuronDeviceCoreInfo.h>
11#include <aws/ec2/model/NeuronDeviceMemoryInfo.h>
51 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
63 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
95 bool m_countHasBeenSet =
false;
98 bool m_nameHasBeenSet =
false;
101 bool m_coreInfoHasBeenSet =
false;
104 bool m_memoryInfoHasBeenSet =
false;
bool MemoryInfoHasBeenSet() const
void SetMemoryInfo(NeuronDeviceMemoryInfo &&value)
bool CoreInfoHasBeenSet() const
NeuronDeviceInfo & WithMemoryInfo(const NeuronDeviceMemoryInfo &value)
const NeuronDeviceMemoryInfo & GetMemoryInfo() const
NeuronDeviceInfo & WithName(const char *value)
AWS_EC2_API NeuronDeviceInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool CountHasBeenSet() const
AWS_EC2_API NeuronDeviceInfo()
void SetMemoryInfo(const NeuronDeviceMemoryInfo &value)
NeuronDeviceInfo & WithMemoryInfo(NeuronDeviceMemoryInfo &&value)
NeuronDeviceInfo & WithCount(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetName(Aws::String &&value)
NeuronDeviceInfo & WithName(const Aws::String &value)
NeuronDeviceInfo & WithCoreInfo(const NeuronDeviceCoreInfo &value)
void SetCoreInfo(NeuronDeviceCoreInfo &&value)
const NeuronDeviceCoreInfo & GetCoreInfo() const
const Aws::String & GetName() const
bool NameHasBeenSet() const
AWS_EC2_API NeuronDeviceInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCoreInfo(const NeuronDeviceCoreInfo &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetName(const char *value)
NeuronDeviceInfo & WithName(Aws::String &&value)
NeuronDeviceInfo & WithCoreInfo(NeuronDeviceCoreInfo &&value)
void SetName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream