AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BaselineEbsBandwidthMbpsRequest.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
34 {
35 public:
39
40 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
49 inline int GetMin() const{ return m_min; }
50 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
51 inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; }
52 inline BaselineEbsBandwidthMbpsRequest& WithMin(int value) { SetMin(value); return *this;}
54
56
60 inline int GetMax() const{ return m_max; }
61 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
62 inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; }
63 inline BaselineEbsBandwidthMbpsRequest& WithMax(int value) { SetMax(value); return *this;}
65 private:
66
67 int m_min;
68 bool m_minHasBeenSet = false;
69
70 int m_max;
71 bool m_maxHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace EC2
76} // 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