AWS SDK for C++  1.9.131
AWS SDK for C++
ScheduledInstancesMonitoring.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
9 
10 namespace Aws
11 {
12 namespace Utils
13 {
14 namespace Xml
15 {
16  class XmlNode;
17 } // namespace Xml
18 } // namespace Utils
19 namespace EC2
20 {
21 namespace Model
22 {
23 
31  {
32  public:
36 
37  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38  void OutputToStream(Aws::OStream& oStream, const char* location) const;
39 
40 
44  inline bool GetEnabled() const{ return m_enabled; }
45 
49  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
50 
54  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
55 
59  inline ScheduledInstancesMonitoring& WithEnabled(bool value) { SetEnabled(value); return *this;}
60 
61  private:
62 
63  bool m_enabled;
64  bool m_enabledHasBeenSet;
65  };
66 
67 } // namespace Model
68 } // namespace EC2
69 } // namespace Aws
Aws::EC2::Model::ScheduledInstancesMonitoring::WithEnabled
ScheduledInstancesMonitoring & WithEnabled(bool value)
Definition: ScheduledInstancesMonitoring.h:59
Aws::EC2::Model::ScheduledInstancesMonitoring::ScheduledInstancesMonitoring
ScheduledInstancesMonitoring(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::ScheduledInstancesMonitoring::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::ScheduledInstancesMonitoring
Definition: ScheduledInstancesMonitoring.h:31
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
AWSStreamFwd.h
Aws::EC2::Model::ScheduledInstancesMonitoring::ScheduledInstancesMonitoring
ScheduledInstancesMonitoring()
Aws::EC2::Model::ScheduledInstancesMonitoring::operator=
ScheduledInstancesMonitoring & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::ScheduledInstancesMonitoring::SetEnabled
void SetEnabled(bool value)
Definition: ScheduledInstancesMonitoring.h:54
Aws::EC2::Model::ScheduledInstancesMonitoring::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws
Definition: AccessManagementClient.h:15
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::ScheduledInstancesMonitoring::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: ScheduledInstancesMonitoring.h:49
EC2_EXPORTS.h
Aws::EC2::Model::ScheduledInstancesMonitoring::GetEnabled
bool GetEnabled() const
Definition: ScheduledInstancesMonitoring.h:44