AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ServerlessV2ScalingConfiguration.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
29 public:
30 AWS_NEPTUNE_API ServerlessV2ScalingConfiguration() = default;
33
34 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
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
61 inline double GetMaxCapacity() const { return m_maxCapacity; }
62 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
63 inline void SetMaxCapacity(double value) {
64 m_maxCapacityHasBeenSet = true;
65 m_maxCapacity = value;
66 }
68 SetMaxCapacity(value);
69 return *this;
70 }
72 private:
73 double m_minCapacity{0.0};
74
75 double m_maxCapacity{0.0};
76 bool m_minCapacityHasBeenSet = false;
77 bool m_maxCapacityHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Neptune
82} // namespace Aws
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ServerlessV2ScalingConfiguration & WithMaxCapacity(double value)
AWS_NEPTUNE_API ServerlessV2ScalingConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ServerlessV2ScalingConfiguration & WithMinCapacity(double value)
AWS_NEPTUNE_API ServerlessV2ScalingConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_NEPTUNE_API ServerlessV2ScalingConfiguration()=default
std::basic_ostream< char, std::char_traits< char > > OStream