AWS SDK for C++  1.9.67
AWS SDK for C++
GpuDeviceMemoryInfo.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
9 
10 namespace Aws
11 {
12 namespace Utils
13 {
14 namespace Xml
15 {
16  class XmlNode;
17 } // namespace Xml
18 } // namespace Utils
19 namespace EC2
20 {
21 namespace Model
22 {
23 
31  {
32  public:
36 
37  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38  void OutputToStream(Aws::OStream& oStream, const char* location) const;
39 
40 
44  inline int GetSizeInMiB() const{ return m_sizeInMiB; }
45 
49  inline bool SizeInMiBHasBeenSet() const { return m_sizeInMiBHasBeenSet; }
50 
54  inline void SetSizeInMiB(int value) { m_sizeInMiBHasBeenSet = true; m_sizeInMiB = value; }
55 
59  inline GpuDeviceMemoryInfo& WithSizeInMiB(int value) { SetSizeInMiB(value); return *this;}
60 
61  private:
62 
63  int m_sizeInMiB;
64  bool m_sizeInMiBHasBeenSet;
65  };
66 
67 } // namespace Model
68 } // namespace EC2
69 } // namespace Aws
Aws::EC2::Model::GpuDeviceMemoryInfo::GpuDeviceMemoryInfo
GpuDeviceMemoryInfo()
Aws::EC2::Model::GpuDeviceMemoryInfo::GetSizeInMiB
int GetSizeInMiB() const
Definition: GpuDeviceMemoryInfo.h:44
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::GpuDeviceMemoryInfo::SetSizeInMiB
void SetSizeInMiB(int value)
Definition: GpuDeviceMemoryInfo.h:54
Aws::EC2::Model::GpuDeviceMemoryInfo::operator=
GpuDeviceMemoryInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::EC2::Model::GpuDeviceMemoryInfo::SizeInMiBHasBeenSet
bool SizeInMiBHasBeenSet() const
Definition: GpuDeviceMemoryInfo.h:49
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::GpuDeviceMemoryInfo::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::GpuDeviceMemoryInfo::WithSizeInMiB
GpuDeviceMemoryInfo & WithSizeInMiB(int value)
Definition: GpuDeviceMemoryInfo.h:59
Aws::EC2::Model::GpuDeviceMemoryInfo::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws
Definition: AccessManagementClient.h:15
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::GpuDeviceMemoryInfo
Definition: GpuDeviceMemoryInfo.h:31
Aws::EC2::Model::GpuDeviceMemoryInfo::GpuDeviceMemoryInfo
GpuDeviceMemoryInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
EC2_EXPORTS.h