AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServerlessV2ScalingConfiguration.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws
11{
12namespace Utils
13{
14namespace Xml
15{
16 class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace Neptune
20{
21namespace Model
22{
23
34 {
35 public:
39
40 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
50 inline double GetMinCapacity() const{ return m_minCapacity; }
51 inline bool MinCapacityHasBeenSet() const { return m_minCapacityHasBeenSet; }
52 inline void SetMinCapacity(double value) { m_minCapacityHasBeenSet = true; m_minCapacity = value; }
53 inline ServerlessV2ScalingConfiguration& WithMinCapacity(double value) { SetMinCapacity(value); return *this;}
55
57
62 inline double GetMaxCapacity() const{ return m_maxCapacity; }
63 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
64 inline void SetMaxCapacity(double value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
65 inline ServerlessV2ScalingConfiguration& WithMaxCapacity(double value) { SetMaxCapacity(value); return *this;}
67 private:
68
69 double m_minCapacity;
70 bool m_minCapacityHasBeenSet = false;
71
72 double m_maxCapacity;
73 bool m_maxCapacityHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Neptune
78} // 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
std::basic_ostream< char, std::char_traits< char > > OStream