7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/NeuronDeviceInfo.h>
50 template<
typename NeuronDevicesT = Aws::Vector<NeuronDeviceInfo>>
51 void SetNeuronDevices(NeuronDevicesT&& value) { m_neuronDevicesHasBeenSet =
true; m_neuronDevices = std::forward<NeuronDevicesT>(value); }
52 template<
typename NeuronDevicesT = Aws::Vector<NeuronDeviceInfo>>
54 template<
typename NeuronDevicesT = NeuronDeviceInfo>
55 NeuronInfo&
AddNeuronDevices(NeuronDevicesT&& value) { m_neuronDevicesHasBeenSet =
true; m_neuronDevices.emplace_back(std::forward<NeuronDevicesT>(value));
return *
this; }
71 bool m_neuronDevicesHasBeenSet =
false;
73 int m_totalNeuronDeviceMemoryInMiB{0};
74 bool m_totalNeuronDeviceMemoryInMiBHasBeenSet =
false;
NeuronInfo & WithNeuronDevices(NeuronDevicesT &&value)
bool TotalNeuronDeviceMemoryInMiBHasBeenSet() const
const Aws::Vector< NeuronDeviceInfo > & GetNeuronDevices() const
AWS_EC2_API NeuronInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
NeuronInfo & AddNeuronDevices(NeuronDevicesT &&value)
NeuronInfo & WithTotalNeuronDeviceMemoryInMiB(int value)
bool NeuronDevicesHasBeenSet() const
AWS_EC2_API NeuronInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
int GetTotalNeuronDeviceMemoryInMiB() const
void SetTotalNeuronDeviceMemoryInMiB(int value)
AWS_EC2_API NeuronInfo()=default
void SetNeuronDevices(NeuronDevicesT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream