AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemoryInfo.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
30 {
31 public:
32 AWS_EC2_API MemoryInfo();
33 AWS_EC2_API MemoryInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
34 AWS_EC2_API MemoryInfo& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
35
36 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
38
39
41
44 inline long long GetSizeInMiB() const{ return m_sizeInMiB; }
45 inline bool SizeInMiBHasBeenSet() const { return m_sizeInMiBHasBeenSet; }
46 inline void SetSizeInMiB(long long value) { m_sizeInMiBHasBeenSet = true; m_sizeInMiB = value; }
47 inline MemoryInfo& WithSizeInMiB(long long value) { SetSizeInMiB(value); return *this;}
49 private:
50
51 long long m_sizeInMiB;
52 bool m_sizeInMiBHasBeenSet = false;
53 };
54
55} // namespace Model
56} // namespace EC2
57} // namespace Aws
AWS_EC2_API MemoryInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool SizeInMiBHasBeenSet() const
Definition MemoryInfo.h:45
MemoryInfo & WithSizeInMiB(long long value)
Definition MemoryInfo.h:47
long long GetSizeInMiB() const
Definition MemoryInfo.h:44
AWS_EC2_API MemoryInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSizeInMiB(long long value)
Definition MemoryInfo.h:46
std::basic_ostream< char, std::char_traits< char > > OStream