AWS SDK for C++  1.9.70
AWS SDK for C++
FpgaDeviceMemoryInfo.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 FpgaDeviceMemoryInfo& 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_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::FpgaDeviceMemoryInfo::GetSizeInMiB
int GetSizeInMiB() const
Definition: FpgaDeviceMemoryInfo.h:44
AWSStreamFwd.h
Aws::EC2::Model::FpgaDeviceMemoryInfo::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::FpgaDeviceMemoryInfo::FpgaDeviceMemoryInfo
FpgaDeviceMemoryInfo()
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::FpgaDeviceMemoryInfo::SizeInMiBHasBeenSet
bool SizeInMiBHasBeenSet() const
Definition: FpgaDeviceMemoryInfo.h:49
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::FpgaDeviceMemoryInfo::FpgaDeviceMemoryInfo
FpgaDeviceMemoryInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::FpgaDeviceMemoryInfo::SetSizeInMiB
void SetSizeInMiB(int value)
Definition: FpgaDeviceMemoryInfo.h:54
Aws::EC2::Model::FpgaDeviceMemoryInfo
Definition: FpgaDeviceMemoryInfo.h:31
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::FpgaDeviceMemoryInfo::operator=
FpgaDeviceMemoryInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::FpgaDeviceMemoryInfo::WithSizeInMiB
FpgaDeviceMemoryInfo & WithSizeInMiB(int value)
Definition: FpgaDeviceMemoryInfo.h:59
Aws::EC2::Model::FpgaDeviceMemoryInfo::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EC2_EXPORTS.h