AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkBandwidthGbpsRequest.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
38 {
39 public:
43
44 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
53 inline double GetMin() const{ return m_min; }
54 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
55 inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; }
56 inline NetworkBandwidthGbpsRequest& WithMin(double value) { SetMin(value); return *this;}
58
60
64 inline double GetMax() const{ return m_max; }
65 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
66 inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; }
67 inline NetworkBandwidthGbpsRequest& WithMax(double value) { SetMax(value); return *this;}
69 private:
70
71 double m_min;
72 bool m_minHasBeenSet = false;
73
74 double m_max;
75 bool m_maxHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace EC2
80} // namespace Aws
AWS_EC2_API NetworkBandwidthGbpsRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API NetworkBandwidthGbpsRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
NetworkBandwidthGbpsRequest & WithMin(double value)
NetworkBandwidthGbpsRequest & WithMax(double value)
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
std::basic_ostream< char, std::char_traits< char > > OStream