AWS SDK for C++

AWS SDK for C++ Version 1.11.685

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