AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SpotFleetMonitoring.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9
10namespace Aws {
11namespace Utils {
12namespace Xml {
13class XmlNode;
14} // namespace Xml
15} // namespace Utils
16namespace EC2 {
17namespace Model {
18
25 public:
26 AWS_EC2_API SpotFleetMonitoring() = default;
27 AWS_EC2_API SpotFleetMonitoring(const Aws::Utils::Xml::XmlNode& xmlNode);
29
30 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
31 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
32
34
37 inline bool GetEnabled() const { return m_enabled; }
38 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
39 inline void SetEnabled(bool value) {
40 m_enabledHasBeenSet = true;
41 m_enabled = value;
42 }
43 inline SpotFleetMonitoring& WithEnabled(bool value) {
44 SetEnabled(value);
45 return *this;
46 }
48 private:
49 bool m_enabled{false};
50 bool m_enabledHasBeenSet = false;
51};
52
53} // namespace Model
54} // namespace EC2
55} // namespace Aws
SpotFleetMonitoring & WithEnabled(bool value)
AWS_EC2_API SpotFleetMonitoring()=default
AWS_EC2_API SpotFleetMonitoring & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API SpotFleetMonitoring(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_ostream< char, std::char_traits< char > > OStream