7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
10#include <aws/elasticbeanstalk/model/CPUUtilization.h>
20namespace ElasticBeanstalk {
36 const char* locationValue)
const;
45 template <
typename CPUUtilizationT = CPUUtilization>
47 m_cPUUtilizationHasBeenSet =
true;
48 m_cPUUtilization = std::forward<CPUUtilizationT>(value);
50 template <
typename CPUUtilizationT = CPUUtilization>
66 template <
typename LoadAverageT = Aws::Vector<
double>>
68 m_loadAverageHasBeenSet =
true;
69 m_loadAverage = std::forward<LoadAverageT>(value);
71 template <
typename LoadAverageT = Aws::Vector<
double>>
77 m_loadAverageHasBeenSet =
true;
78 m_loadAverage.push_back(value);
86 bool m_cPUUtilizationHasBeenSet =
false;
87 bool m_loadAverageHasBeenSet =
false;
SystemStatus & WithCPUUtilization(CPUUtilizationT &&value)
AWS_ELASTICBEANSTALK_API SystemStatus()=default
const Aws::Vector< double > & GetLoadAverage() const
bool CPUUtilizationHasBeenSet() const
const CPUUtilization & GetCPUUtilization() const
AWS_ELASTICBEANSTALK_API SystemStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API SystemStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
SystemStatus & WithLoadAverage(LoadAverageT &&value)
bool LoadAverageHasBeenSet() const
void SetLoadAverage(LoadAverageT &&value)
SystemStatus & AddLoadAverage(double value)
void SetCPUUtilization(CPUUtilizationT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream