AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InferenceDeviceMemoryInfo.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws
11{
12namespace Utils
13{
14namespace Xml
15{
16 class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2
20{
21namespace Model
22{
23
32 {
33 public:
37
38 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline int GetSizeInMiB() const{ return m_sizeInMiB; }
47 inline bool SizeInMiBHasBeenSet() const { return m_sizeInMiBHasBeenSet; }
48 inline void SetSizeInMiB(int value) { m_sizeInMiBHasBeenSet = true; m_sizeInMiB = value; }
49 inline InferenceDeviceMemoryInfo& WithSizeInMiB(int value) { SetSizeInMiB(value); return *this;}
51 private:
52
53 int m_sizeInMiB;
54 bool m_sizeInMiBHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace EC2
59} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API InferenceDeviceMemoryInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API InferenceDeviceMemoryInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
InferenceDeviceMemoryInfo & WithSizeInMiB(int value)
std::basic_ostream< char, std::char_traits< char > > OStream