AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
ServerlessV2FeaturesSupport.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/neptune/Neptune_EXPORTS.h>
9
10namespace Aws {
11namespace Utils {
12namespace Xml {
13class XmlNode;
14} // namespace Xml
15} // namespace Utils
16namespace Neptune {
17namespace Model {
18
26 public:
27 AWS_NEPTUNE_API ServerlessV2FeaturesSupport() = default;
30
31 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
32 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
33
35
39 inline double GetMinCapacity() const { return m_minCapacity; }
40 inline bool MinCapacityHasBeenSet() const { return m_minCapacityHasBeenSet; }
41 inline void SetMinCapacity(double value) {
42 m_minCapacityHasBeenSet = true;
43 m_minCapacity = value;
44 }
46 SetMinCapacity(value);
47 return *this;
48 }
50
52
56 inline double GetMaxCapacity() const { return m_maxCapacity; }
57 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
58 inline void SetMaxCapacity(double value) {
59 m_maxCapacityHasBeenSet = true;
60 m_maxCapacity = value;
61 }
63 SetMaxCapacity(value);
64 return *this;
65 }
67 private:
68 double m_minCapacity{0.0};
69
70 double m_maxCapacity{0.0};
71 bool m_minCapacityHasBeenSet = false;
72 bool m_maxCapacityHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Neptune
77} // namespace Aws
AWS_NEPTUNE_API ServerlessV2FeaturesSupport & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API ServerlessV2FeaturesSupport()=default
AWS_NEPTUNE_API ServerlessV2FeaturesSupport(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ServerlessV2FeaturesSupport & WithMinCapacity(double value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ServerlessV2FeaturesSupport & WithMaxCapacity(double value)
std::basic_ostream< char, std::char_traits< char > > OStream