AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
NetworkBandwidthGbpsRequest.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws {
11namespace Utils {
12namespace Xml {
13class XmlNode;
14} // namespace Xml
15} // namespace Utils
16namespace AutoScaling {
17namespace Model {
18
35 public:
36 AWS_AUTOSCALING_API NetworkBandwidthGbpsRequest() = default;
37 AWS_AUTOSCALING_API NetworkBandwidthGbpsRequest(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
44
47 inline double GetMin() const { return m_min; }
48 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
49 inline void SetMin(double value) {
50 m_minHasBeenSet = true;
51 m_min = value;
52 }
53 inline NetworkBandwidthGbpsRequest& WithMin(double value) {
54 SetMin(value);
55 return *this;
56 }
58
60
63 inline double GetMax() const { return m_max; }
64 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
65 inline void SetMax(double value) {
66 m_maxHasBeenSet = true;
67 m_max = value;
68 }
69 inline NetworkBandwidthGbpsRequest& WithMax(double value) {
70 SetMax(value);
71 return *this;
72 }
74 private:
75 double m_min{0.0};
76
77 double m_max{0.0};
78 bool m_minHasBeenSet = false;
79 bool m_maxHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace AutoScaling
84} // namespace Aws
NetworkBandwidthGbpsRequest & WithMin(double value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_AUTOSCALING_API NetworkBandwidthGbpsRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API NetworkBandwidthGbpsRequest()=default
NetworkBandwidthGbpsRequest & WithMax(double value)
AWS_AUTOSCALING_API NetworkBandwidthGbpsRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_ostream< char, std::char_traits< char > > OStream