AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
ServerlessV2ScalingConfigurationInfo.h
1
6#pragma once
7#include <aws/docdb/DocDB_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 DocDB
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_DOCDB_API ServerlessV2ScalingConfigurationInfo() = default;
36
37 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38 AWS_DOCDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
39
40
42
47 inline double GetMinCapacity() const { return m_minCapacity; }
48 inline bool MinCapacityHasBeenSet() const { return m_minCapacityHasBeenSet; }
49 inline void SetMinCapacity(double value) { m_minCapacityHasBeenSet = true; m_minCapacity = value; }
50 inline ServerlessV2ScalingConfigurationInfo& WithMinCapacity(double value) { SetMinCapacity(value); return *this;}
52
54
59 inline double GetMaxCapacity() const { return m_maxCapacity; }
60 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
61 inline void SetMaxCapacity(double value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
62 inline ServerlessV2ScalingConfigurationInfo& WithMaxCapacity(double value) { SetMaxCapacity(value); return *this;}
64 private:
65
66 double m_minCapacity{0.0};
67 bool m_minCapacityHasBeenSet = false;
68
69 double m_maxCapacity{0.0};
70 bool m_maxCapacityHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace DocDB
75} // namespace Aws
AWS_DOCDB_API ServerlessV2ScalingConfigurationInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ServerlessV2ScalingConfigurationInfo & WithMaxCapacity(double value)
AWS_DOCDB_API ServerlessV2ScalingConfigurationInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
ServerlessV2ScalingConfigurationInfo & WithMinCapacity(double value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_ostream< char, std::char_traits< char > > OStream