7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/NeuronDeviceInfo.h>
44 template <
typename NeuronDevicesT = Aws::Vector<NeuronDeviceInfo>>
46 m_neuronDevicesHasBeenSet =
true;
47 m_neuronDevices = std::forward<NeuronDevicesT>(value);
49 template <
typename NeuronDevicesT = Aws::Vector<NeuronDeviceInfo>>
54 template <
typename NeuronDevicesT = NeuronDeviceInfo>
56 m_neuronDevicesHasBeenSet =
true;
57 m_neuronDevices.emplace_back(std::forward<NeuronDevicesT>(value));
70 m_totalNeuronDeviceMemoryInMiBHasBeenSet =
true;
71 m_totalNeuronDeviceMemoryInMiB = value;
81 int m_totalNeuronDeviceMemoryInMiB{0};
82 bool m_neuronDevicesHasBeenSet =
false;
83 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