AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ECPUPerSecond.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_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 ElastiCache
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_ELASTICACHE_API ECPUPerSecond();
34 AWS_ELASTICACHE_API ECPUPerSecond(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_ELASTICACHE_API ECPUPerSecond& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
39
40
42
46 inline int GetMaximum() const{ return m_maximum; }
47 inline bool MaximumHasBeenSet() const { return m_maximumHasBeenSet; }
48 inline void SetMaximum(int value) { m_maximumHasBeenSet = true; m_maximum = value; }
49 inline ECPUPerSecond& WithMaximum(int value) { SetMaximum(value); return *this;}
51
53
57 inline int GetMinimum() const{ return m_minimum; }
58 inline bool MinimumHasBeenSet() const { return m_minimumHasBeenSet; }
59 inline void SetMinimum(int value) { m_minimumHasBeenSet = true; m_minimum = value; }
60 inline ECPUPerSecond& WithMinimum(int value) { SetMinimum(value); return *this;}
62 private:
63
64 int m_maximum;
65 bool m_maximumHasBeenSet = false;
66
67 int m_minimum;
68 bool m_minimumHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace ElastiCache
73} // namespace Aws
ECPUPerSecond & WithMaximum(int value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ECPUPerSecond & WithMinimum(int value)
AWS_ELASTICACHE_API ECPUPerSecond(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICACHE_API ECPUPerSecond & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream