AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
EbsCardInfo.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
26 public:
27 AWS_EC2_API EbsCardInfo() = default;
28 AWS_EC2_API EbsCardInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
29 AWS_EC2_API EbsCardInfo& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
30
31 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
32 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
33
35
38 inline int GetEbsCardIndex() const { return m_ebsCardIndex; }
39 inline bool EbsCardIndexHasBeenSet() const { return m_ebsCardIndexHasBeenSet; }
40 inline void SetEbsCardIndex(int value) {
41 m_ebsCardIndexHasBeenSet = true;
42 m_ebsCardIndex = value;
43 }
44 inline EbsCardInfo& WithEbsCardIndex(int value) {
45 SetEbsCardIndex(value);
46 return *this;
47 }
49
51
54 inline int GetBaselineBandwidthInMbps() const { return m_baselineBandwidthInMbps; }
55 inline bool BaselineBandwidthInMbpsHasBeenSet() const { return m_baselineBandwidthInMbpsHasBeenSet; }
56 inline void SetBaselineBandwidthInMbps(int value) {
57 m_baselineBandwidthInMbpsHasBeenSet = true;
58 m_baselineBandwidthInMbps = value;
59 }
62 return *this;
63 }
65
67
70 inline double GetBaselineThroughputInMBps() const { return m_baselineThroughputInMBps; }
71 inline bool BaselineThroughputInMBpsHasBeenSet() const { return m_baselineThroughputInMBpsHasBeenSet; }
72 inline void SetBaselineThroughputInMBps(double value) {
73 m_baselineThroughputInMBpsHasBeenSet = true;
74 m_baselineThroughputInMBps = value;
75 }
78 return *this;
79 }
81
83
86 inline int GetBaselineIops() const { return m_baselineIops; }
87 inline bool BaselineIopsHasBeenSet() const { return m_baselineIopsHasBeenSet; }
88 inline void SetBaselineIops(int value) {
89 m_baselineIopsHasBeenSet = true;
90 m_baselineIops = value;
91 }
92 inline EbsCardInfo& WithBaselineIops(int value) {
93 SetBaselineIops(value);
94 return *this;
95 }
97
99
102 inline int GetMaximumBandwidthInMbps() const { return m_maximumBandwidthInMbps; }
103 inline bool MaximumBandwidthInMbpsHasBeenSet() const { return m_maximumBandwidthInMbpsHasBeenSet; }
104 inline void SetMaximumBandwidthInMbps(int value) {
105 m_maximumBandwidthInMbpsHasBeenSet = true;
106 m_maximumBandwidthInMbps = value;
107 }
110 return *this;
111 }
113
115
118 inline double GetMaximumThroughputInMBps() const { return m_maximumThroughputInMBps; }
119 inline bool MaximumThroughputInMBpsHasBeenSet() const { return m_maximumThroughputInMBpsHasBeenSet; }
120 inline void SetMaximumThroughputInMBps(double value) {
121 m_maximumThroughputInMBpsHasBeenSet = true;
122 m_maximumThroughputInMBps = value;
123 }
126 return *this;
127 }
129
131
134 inline int GetMaximumIops() const { return m_maximumIops; }
135 inline bool MaximumIopsHasBeenSet() const { return m_maximumIopsHasBeenSet; }
136 inline void SetMaximumIops(int value) {
137 m_maximumIopsHasBeenSet = true;
138 m_maximumIops = value;
139 }
140 inline EbsCardInfo& WithMaximumIops(int value) {
141 SetMaximumIops(value);
142 return *this;
143 }
145 private:
146 int m_ebsCardIndex{0};
147
148 int m_baselineBandwidthInMbps{0};
149
150 double m_baselineThroughputInMBps{0.0};
151
152 int m_baselineIops{0};
153
154 int m_maximumBandwidthInMbps{0};
155
156 double m_maximumThroughputInMBps{0.0};
157
158 int m_maximumIops{0};
159 bool m_ebsCardIndexHasBeenSet = false;
160 bool m_baselineBandwidthInMbpsHasBeenSet = false;
161 bool m_baselineThroughputInMBpsHasBeenSet = false;
162 bool m_baselineIopsHasBeenSet = false;
163 bool m_maximumBandwidthInMbpsHasBeenSet = false;
164 bool m_maximumThroughputInMBpsHasBeenSet = false;
165 bool m_maximumIopsHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace EC2
170} // namespace Aws
int GetBaselineBandwidthInMbps() const
Definition EbsCardInfo.h:54
EbsCardInfo & WithBaselineThroughputInMBps(double value)
Definition EbsCardInfo.h:76
EbsCardInfo & WithMaximumBandwidthInMbps(int value)
bool BaselineThroughputInMBpsHasBeenSet() const
Definition EbsCardInfo.h:71
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
double GetMaximumThroughputInMBps() const
EbsCardInfo & WithBaselineBandwidthInMbps(int value)
Definition EbsCardInfo.h:60
void SetBaselineBandwidthInMbps(int value)
Definition EbsCardInfo.h:56
void SetBaselineIops(int value)
Definition EbsCardInfo.h:88
bool MaximumBandwidthInMbpsHasBeenSet() const
bool BaselineBandwidthInMbpsHasBeenSet() const
Definition EbsCardInfo.h:55
double GetBaselineThroughputInMBps() const
Definition EbsCardInfo.h:70
EbsCardInfo & WithMaximumIops(int value)
void SetMaximumIops(int value)
AWS_EC2_API EbsCardInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMaximumBandwidthInMbps(int value)
EbsCardInfo & WithBaselineIops(int value)
Definition EbsCardInfo.h:92
EbsCardInfo & WithMaximumThroughputInMBps(double value)
bool EbsCardIndexHasBeenSet() const
Definition EbsCardInfo.h:39
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetMaximumThroughputInMBps(double value)
AWS_EC2_API EbsCardInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetBaselineThroughputInMBps(double value)
Definition EbsCardInfo.h:72
EbsCardInfo & WithEbsCardIndex(int value)
Definition EbsCardInfo.h:44
int GetMaximumBandwidthInMbps() const
bool BaselineIopsHasBeenSet() const
Definition EbsCardInfo.h:87
bool MaximumThroughputInMBpsHasBeenSet() const
AWS_EC2_API EbsCardInfo()=default
void SetEbsCardIndex(int value)
Definition EbsCardInfo.h:40
std::basic_ostream< char, std::char_traits< char > > OStream