AWS SDK for C++  1.9.71
AWS SDK for C++
EbsOptimizedInfo.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
9 
10 namespace Aws
11 {
12 namespace Utils
13 {
14 namespace Xml
15 {
16  class XmlNode;
17 } // namespace Xml
18 } // namespace Utils
19 namespace EC2
20 {
21 namespace Model
22 {
23 
31  {
32  public:
36 
37  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38  void OutputToStream(Aws::OStream& oStream, const char* location) const;
39 
40 
45  inline int GetBaselineBandwidthInMbps() const{ return m_baselineBandwidthInMbps; }
46 
51  inline bool BaselineBandwidthInMbpsHasBeenSet() const { return m_baselineBandwidthInMbpsHasBeenSet; }
52 
57  inline void SetBaselineBandwidthInMbps(int value) { m_baselineBandwidthInMbpsHasBeenSet = true; m_baselineBandwidthInMbps = value; }
58 
63  inline EbsOptimizedInfo& WithBaselineBandwidthInMbps(int value) { SetBaselineBandwidthInMbps(value); return *this;}
64 
65 
70  inline double GetBaselineThroughputInMBps() const{ return m_baselineThroughputInMBps; }
71 
76  inline bool BaselineThroughputInMBpsHasBeenSet() const { return m_baselineThroughputInMBpsHasBeenSet; }
77 
82  inline void SetBaselineThroughputInMBps(double value) { m_baselineThroughputInMBpsHasBeenSet = true; m_baselineThroughputInMBps = value; }
83 
88  inline EbsOptimizedInfo& WithBaselineThroughputInMBps(double value) { SetBaselineThroughputInMBps(value); return *this;}
89 
90 
95  inline int GetBaselineIops() const{ return m_baselineIops; }
96 
101  inline bool BaselineIopsHasBeenSet() const { return m_baselineIopsHasBeenSet; }
102 
107  inline void SetBaselineIops(int value) { m_baselineIopsHasBeenSet = true; m_baselineIops = value; }
108 
113  inline EbsOptimizedInfo& WithBaselineIops(int value) { SetBaselineIops(value); return *this;}
114 
115 
120  inline int GetMaximumBandwidthInMbps() const{ return m_maximumBandwidthInMbps; }
121 
126  inline bool MaximumBandwidthInMbpsHasBeenSet() const { return m_maximumBandwidthInMbpsHasBeenSet; }
127 
132  inline void SetMaximumBandwidthInMbps(int value) { m_maximumBandwidthInMbpsHasBeenSet = true; m_maximumBandwidthInMbps = value; }
133 
138  inline EbsOptimizedInfo& WithMaximumBandwidthInMbps(int value) { SetMaximumBandwidthInMbps(value); return *this;}
139 
140 
145  inline double GetMaximumThroughputInMBps() const{ return m_maximumThroughputInMBps; }
146 
151  inline bool MaximumThroughputInMBpsHasBeenSet() const { return m_maximumThroughputInMBpsHasBeenSet; }
152 
157  inline void SetMaximumThroughputInMBps(double value) { m_maximumThroughputInMBpsHasBeenSet = true; m_maximumThroughputInMBps = value; }
158 
163  inline EbsOptimizedInfo& WithMaximumThroughputInMBps(double value) { SetMaximumThroughputInMBps(value); return *this;}
164 
165 
170  inline int GetMaximumIops() const{ return m_maximumIops; }
171 
176  inline bool MaximumIopsHasBeenSet() const { return m_maximumIopsHasBeenSet; }
177 
182  inline void SetMaximumIops(int value) { m_maximumIopsHasBeenSet = true; m_maximumIops = value; }
183 
188  inline EbsOptimizedInfo& WithMaximumIops(int value) { SetMaximumIops(value); return *this;}
189 
190  private:
191 
192  int m_baselineBandwidthInMbps;
193  bool m_baselineBandwidthInMbpsHasBeenSet;
194 
195  double m_baselineThroughputInMBps;
196  bool m_baselineThroughputInMBpsHasBeenSet;
197 
198  int m_baselineIops;
199  bool m_baselineIopsHasBeenSet;
200 
201  int m_maximumBandwidthInMbps;
202  bool m_maximumBandwidthInMbpsHasBeenSet;
203 
204  double m_maximumThroughputInMBps;
205  bool m_maximumThroughputInMBpsHasBeenSet;
206 
207  int m_maximumIops;
208  bool m_maximumIopsHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace EC2
213 } // namespace Aws
Aws::EC2::Model::EbsOptimizedInfo
Definition: EbsOptimizedInfo.h:31
Aws::EC2::Model::EbsOptimizedInfo::BaselineThroughputInMBpsHasBeenSet
bool BaselineThroughputInMBpsHasBeenSet() const
Definition: EbsOptimizedInfo.h:76
Aws::EC2::Model::EbsOptimizedInfo::BaselineBandwidthInMbpsHasBeenSet
bool BaselineBandwidthInMbpsHasBeenSet() const
Definition: EbsOptimizedInfo.h:51
Aws::EC2::Model::EbsOptimizedInfo::MaximumThroughputInMBpsHasBeenSet
bool MaximumThroughputInMBpsHasBeenSet() const
Definition: EbsOptimizedInfo.h:151
Aws::EC2::Model::EbsOptimizedInfo::BaselineIopsHasBeenSet
bool BaselineIopsHasBeenSet() const
Definition: EbsOptimizedInfo.h:101
Aws::EC2::Model::EbsOptimizedInfo::WithMaximumIops
EbsOptimizedInfo & WithMaximumIops(int value)
Definition: EbsOptimizedInfo.h:188
Aws::EC2::Model::EbsOptimizedInfo::SetMaximumIops
void SetMaximumIops(int value)
Definition: EbsOptimizedInfo.h:182
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::EbsOptimizedInfo::GetMaximumBandwidthInMbps
int GetMaximumBandwidthInMbps() const
Definition: EbsOptimizedInfo.h:120
AWSStreamFwd.h
Aws::EC2::Model::EbsOptimizedInfo::WithBaselineIops
EbsOptimizedInfo & WithBaselineIops(int value)
Definition: EbsOptimizedInfo.h:113
Aws::EC2::Model::EbsOptimizedInfo::operator=
EbsOptimizedInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::EbsOptimizedInfo::GetBaselineBandwidthInMbps
int GetBaselineBandwidthInMbps() const
Definition: EbsOptimizedInfo.h:45
Aws::EC2::Model::EbsOptimizedInfo::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::EbsOptimizedInfo::EbsOptimizedInfo
EbsOptimizedInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::EbsOptimizedInfo::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::EbsOptimizedInfo::GetBaselineIops
int GetBaselineIops() const
Definition: EbsOptimizedInfo.h:95
Aws::EC2::Model::EbsOptimizedInfo::WithBaselineBandwidthInMbps
EbsOptimizedInfo & WithBaselineBandwidthInMbps(int value)
Definition: EbsOptimizedInfo.h:63
Aws::EC2::Model::EbsOptimizedInfo::SetBaselineThroughputInMBps
void SetBaselineThroughputInMBps(double value)
Definition: EbsOptimizedInfo.h:82
Aws::EC2::Model::EbsOptimizedInfo::GetBaselineThroughputInMBps
double GetBaselineThroughputInMBps() const
Definition: EbsOptimizedInfo.h:70
Aws::EC2::Model::EbsOptimizedInfo::MaximumBandwidthInMbpsHasBeenSet
bool MaximumBandwidthInMbpsHasBeenSet() const
Definition: EbsOptimizedInfo.h:126
Aws::EC2::Model::EbsOptimizedInfo::WithBaselineThroughputInMBps
EbsOptimizedInfo & WithBaselineThroughputInMBps(double value)
Definition: EbsOptimizedInfo.h:88
Aws::EC2::Model::EbsOptimizedInfo::GetMaximumIops
int GetMaximumIops() const
Definition: EbsOptimizedInfo.h:170
Aws::EC2::Model::EbsOptimizedInfo::SetMaximumThroughputInMBps
void SetMaximumThroughputInMBps(double value)
Definition: EbsOptimizedInfo.h:157
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::EbsOptimizedInfo::SetBaselineIops
void SetBaselineIops(int value)
Definition: EbsOptimizedInfo.h:107
Aws::EC2::Model::EbsOptimizedInfo::SetBaselineBandwidthInMbps
void SetBaselineBandwidthInMbps(int value)
Definition: EbsOptimizedInfo.h:57
Aws::EC2::Model::EbsOptimizedInfo::WithMaximumThroughputInMBps
EbsOptimizedInfo & WithMaximumThroughputInMBps(double value)
Definition: EbsOptimizedInfo.h:163
Aws::EC2::Model::EbsOptimizedInfo::MaximumIopsHasBeenSet
bool MaximumIopsHasBeenSet() const
Definition: EbsOptimizedInfo.h:176
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::EbsOptimizedInfo::GetMaximumThroughputInMBps
double GetMaximumThroughputInMBps() const
Definition: EbsOptimizedInfo.h:145
EC2_EXPORTS.h
Aws::EC2::Model::EbsOptimizedInfo::EbsOptimizedInfo
EbsOptimizedInfo()
Aws::EC2::Model::EbsOptimizedInfo::WithMaximumBandwidthInMbps
EbsOptimizedInfo & WithMaximumBandwidthInMbps(int value)
Definition: EbsOptimizedInfo.h:138
Aws::EC2::Model::EbsOptimizedInfo::SetMaximumBandwidthInMbps
void SetMaximumBandwidthInMbps(int value)
Definition: EbsOptimizedInfo.h:132