AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
Monitoring.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/MonitoringState.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
28 public:
29 AWS_EC2_API Monitoring() = default;
30 AWS_EC2_API Monitoring(const Aws::Utils::Xml::XmlNode& xmlNode);
31 AWS_EC2_API Monitoring& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
34 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
35
37
41 inline MonitoringState GetState() const { return m_state; }
42 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
43 inline void SetState(MonitoringState value) {
44 m_stateHasBeenSet = true;
45 m_state = value;
46 }
48 SetState(value);
49 return *this;
50 }
52 private:
54 bool m_stateHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace EC2
59} // namespace Aws
AWS_EC2_API Monitoring(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API Monitoring & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API Monitoring()=default
Monitoring & WithState(MonitoringState value)
Definition Monitoring.h:47
MonitoringState GetState() const
Definition Monitoring.h:41
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetState(MonitoringState value)
Definition Monitoring.h:43
std::basic_ostream< char, std::char_traits< char > > OStream