AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EbsOptimizedInfo.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
31 {
32 public:
33 AWS_EC2_API EbsOptimizedInfo();
34 AWS_EC2_API EbsOptimizedInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
39
40
42
46 inline int GetBaselineBandwidthInMbps() const{ return m_baselineBandwidthInMbps; }
47 inline bool BaselineBandwidthInMbpsHasBeenSet() const { return m_baselineBandwidthInMbpsHasBeenSet; }
48 inline void SetBaselineBandwidthInMbps(int value) { m_baselineBandwidthInMbpsHasBeenSet = true; m_baselineBandwidthInMbps = value; }
51
53
57 inline double GetBaselineThroughputInMBps() const{ return m_baselineThroughputInMBps; }
58 inline bool BaselineThroughputInMBpsHasBeenSet() const { return m_baselineThroughputInMBpsHasBeenSet; }
59 inline void SetBaselineThroughputInMBps(double value) { m_baselineThroughputInMBpsHasBeenSet = true; m_baselineThroughputInMBps = value; }
60 inline EbsOptimizedInfo& WithBaselineThroughputInMBps(double value) { SetBaselineThroughputInMBps(value); return *this;}
62
64
68 inline int GetBaselineIops() const{ return m_baselineIops; }
69 inline bool BaselineIopsHasBeenSet() const { return m_baselineIopsHasBeenSet; }
70 inline void SetBaselineIops(int value) { m_baselineIopsHasBeenSet = true; m_baselineIops = value; }
71 inline EbsOptimizedInfo& WithBaselineIops(int value) { SetBaselineIops(value); return *this;}
73
75
79 inline int GetMaximumBandwidthInMbps() const{ return m_maximumBandwidthInMbps; }
80 inline bool MaximumBandwidthInMbpsHasBeenSet() const { return m_maximumBandwidthInMbpsHasBeenSet; }
81 inline void SetMaximumBandwidthInMbps(int value) { m_maximumBandwidthInMbpsHasBeenSet = true; m_maximumBandwidthInMbps = value; }
82 inline EbsOptimizedInfo& WithMaximumBandwidthInMbps(int value) { SetMaximumBandwidthInMbps(value); return *this;}
84
86
90 inline double GetMaximumThroughputInMBps() const{ return m_maximumThroughputInMBps; }
91 inline bool MaximumThroughputInMBpsHasBeenSet() const { return m_maximumThroughputInMBpsHasBeenSet; }
92 inline void SetMaximumThroughputInMBps(double value) { m_maximumThroughputInMBpsHasBeenSet = true; m_maximumThroughputInMBps = value; }
93 inline EbsOptimizedInfo& WithMaximumThroughputInMBps(double value) { SetMaximumThroughputInMBps(value); return *this;}
95
97
101 inline int GetMaximumIops() const{ return m_maximumIops; }
102 inline bool MaximumIopsHasBeenSet() const { return m_maximumIopsHasBeenSet; }
103 inline void SetMaximumIops(int value) { m_maximumIopsHasBeenSet = true; m_maximumIops = value; }
104 inline EbsOptimizedInfo& WithMaximumIops(int value) { SetMaximumIops(value); return *this;}
106 private:
107
108 int m_baselineBandwidthInMbps;
109 bool m_baselineBandwidthInMbpsHasBeenSet = false;
110
111 double m_baselineThroughputInMBps;
112 bool m_baselineThroughputInMBpsHasBeenSet = false;
113
114 int m_baselineIops;
115 bool m_baselineIopsHasBeenSet = false;
116
117 int m_maximumBandwidthInMbps;
118 bool m_maximumBandwidthInMbpsHasBeenSet = false;
119
120 double m_maximumThroughputInMBps;
121 bool m_maximumThroughputInMBpsHasBeenSet = false;
122
123 int m_maximumIops;
124 bool m_maximumIopsHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace EC2
129} // namespace Aws
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
void SetMaximumThroughputInMBps(double value)
AWS_EC2_API EbsOptimizedInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API EbsOptimizedInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetBaselineThroughputInMBps(double value)
EbsOptimizedInfo & WithBaselineIops(int value)
EbsOptimizedInfo & WithMaximumThroughputInMBps(double value)
EbsOptimizedInfo & WithMaximumIops(int value)
EbsOptimizedInfo & WithBaselineBandwidthInMbps(int value)
EbsOptimizedInfo & WithMaximumBandwidthInMbps(int value)
EbsOptimizedInfo & WithBaselineThroughputInMBps(double value)
std::basic_ostream< char, std::char_traits< char > > OStream