AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BaselineEbsBandwidthMbpsRequest.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
29 public:
30 AWS_EC2_API BaselineEbsBandwidthMbpsRequest() = default;
33
34 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
42 inline int GetMin() const { return m_min; }
43 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
44 inline void SetMin(int value) {
45 m_minHasBeenSet = true;
46 m_min = value;
47 }
49 SetMin(value);
50 return *this;
51 }
53
55
59 inline int GetMax() const { return m_max; }
60 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
61 inline void SetMax(int value) {
62 m_maxHasBeenSet = true;
63 m_max = value;
64 }
66 SetMax(value);
67 return *this;
68 }
70 private:
71 int m_min{0};
72
73 int m_max{0};
74 bool m_minHasBeenSet = false;
75 bool m_maxHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace EC2
80} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
BaselineEbsBandwidthMbpsRequest & WithMax(int value)
AWS_EC2_API BaselineEbsBandwidthMbpsRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
BaselineEbsBandwidthMbpsRequest & WithMin(int value)
AWS_EC2_API BaselineEbsBandwidthMbpsRequest & 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