AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemoryMiBRequest.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_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 AutoScaling
20{
21namespace Model
22{
23
33 {
34 public:
35 AWS_AUTOSCALING_API MemoryMiBRequest();
36 AWS_AUTOSCALING_API MemoryMiBRequest(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_AUTOSCALING_API MemoryMiBRequest& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline int GetMin() const{ return m_min; }
48 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
49 inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; }
50 inline MemoryMiBRequest& WithMin(int value) { SetMin(value); return *this;}
52
54
57 inline int GetMax() const{ return m_max; }
58 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
59 inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; }
60 inline MemoryMiBRequest& WithMax(int value) { SetMax(value); return *this;}
62 private:
63
64 int m_min;
65 bool m_minHasBeenSet = false;
66
67 int m_max;
68 bool m_maxHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace AutoScaling
73} // namespace Aws
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_AUTOSCALING_API MemoryMiBRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
MemoryMiBRequest & WithMax(int value)
AWS_AUTOSCALING_API MemoryMiBRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MemoryMiBRequest & WithMin(int value)
std::basic_ostream< char, std::char_traits< char > > OStream