AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SystemStatus.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/elasticbeanstalk/model/CPUUtilization.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace ElasticBeanstalk
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ELASTICBEANSTALK_API SystemStatus();
37 AWS_ELASTICBEANSTALK_API SystemStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ELASTICBEANSTALK_API SystemStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const CPUUtilization& GetCPUUtilization() const{ return m_cPUUtilization; }
49 inline bool CPUUtilizationHasBeenSet() const { return m_cPUUtilizationHasBeenSet; }
50 inline void SetCPUUtilization(const CPUUtilization& value) { m_cPUUtilizationHasBeenSet = true; m_cPUUtilization = value; }
51 inline void SetCPUUtilization(CPUUtilization&& value) { m_cPUUtilizationHasBeenSet = true; m_cPUUtilization = std::move(value); }
52 inline SystemStatus& WithCPUUtilization(const CPUUtilization& value) { SetCPUUtilization(value); return *this;}
53 inline SystemStatus& WithCPUUtilization(CPUUtilization&& value) { SetCPUUtilization(std::move(value)); return *this;}
55
57
63 inline const Aws::Vector<double>& GetLoadAverage() const{ return m_loadAverage; }
64 inline bool LoadAverageHasBeenSet() const { return m_loadAverageHasBeenSet; }
65 inline void SetLoadAverage(const Aws::Vector<double>& value) { m_loadAverageHasBeenSet = true; m_loadAverage = value; }
66 inline void SetLoadAverage(Aws::Vector<double>&& value) { m_loadAverageHasBeenSet = true; m_loadAverage = std::move(value); }
67 inline SystemStatus& WithLoadAverage(const Aws::Vector<double>& value) { SetLoadAverage(value); return *this;}
68 inline SystemStatus& WithLoadAverage(Aws::Vector<double>&& value) { SetLoadAverage(std::move(value)); return *this;}
69 inline SystemStatus& AddLoadAverage(double value) { m_loadAverageHasBeenSet = true; m_loadAverage.push_back(value); return *this; }
71 private:
72
73 CPUUtilization m_cPUUtilization;
74 bool m_cPUUtilizationHasBeenSet = false;
75
76 Aws::Vector<double> m_loadAverage;
77 bool m_loadAverageHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ElasticBeanstalk
82} // namespace Aws
void SetCPUUtilization(const CPUUtilization &value)
const Aws::Vector< double > & GetLoadAverage() const
const CPUUtilization & GetCPUUtilization() const
AWS_ELASTICBEANSTALK_API SystemStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SystemStatus & WithCPUUtilization(CPUUtilization &&value)
SystemStatus & WithLoadAverage(const Aws::Vector< double > &value)
AWS_ELASTICBEANSTALK_API SystemStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLoadAverage(const Aws::Vector< double > &value)
SystemStatus & WithCPUUtilization(const CPUUtilization &value)
void SetCPUUtilization(CPUUtilization &&value)
SystemStatus & WithLoadAverage(Aws::Vector< double > &&value)
SystemStatus & AddLoadAverage(double value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICBEANSTALK_API SystemStatus()
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetLoadAverage(Aws::Vector< double > &&value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream