AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ServerlessV2FeaturesSupport.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/rds/RDS_EXPORTS.h>
9
10namespace Aws {
11namespace Utils {
12namespace Xml {
13class XmlNode;
14} // namespace Xml
15} // namespace Utils
16namespace RDS {
17namespace Model {
18
30 public:
31 AWS_RDS_API ServerlessV2FeaturesSupport() = default;
34
35 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
36 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
37
39
43 inline double GetMinCapacity() const { return m_minCapacity; }
44 inline bool MinCapacityHasBeenSet() const { return m_minCapacityHasBeenSet; }
45 inline void SetMinCapacity(double value) {
46 m_minCapacityHasBeenSet = true;
47 m_minCapacity = value;
48 }
50 SetMinCapacity(value);
51 return *this;
52 }
54
56
62 inline double GetMaxCapacity() const { return m_maxCapacity; }
63 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
64 inline void SetMaxCapacity(double value) {
65 m_maxCapacityHasBeenSet = true;
66 m_maxCapacity = value;
67 }
69 SetMaxCapacity(value);
70 return *this;
71 }
73 private:
74 double m_minCapacity{0.0};
75
76 double m_maxCapacity{0.0};
77 bool m_minCapacityHasBeenSet = false;
78 bool m_maxCapacityHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace RDS
83} // namespace Aws
AWS_RDS_API ServerlessV2FeaturesSupport(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ServerlessV2FeaturesSupport & WithMinCapacity(double value)
ServerlessV2FeaturesSupport & WithMaxCapacity(double value)
AWS_RDS_API ServerlessV2FeaturesSupport()=default
AWS_RDS_API ServerlessV2FeaturesSupport & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_ostream< char, std::char_traits< char > > OStream