AWS SDK for C++  1.9.71
AWS SDK for C++
LaunchTemplatesMonitoring.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 
30  {
31  public:
35 
36  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37  void OutputToStream(Aws::OStream& oStream, const char* location) const;
38 
39 
44  inline bool GetEnabled() const{ return m_enabled; }
45 
50  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
51 
56  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
57 
62  inline LaunchTemplatesMonitoring& WithEnabled(bool value) { SetEnabled(value); return *this;}
63 
64  private:
65 
66  bool m_enabled;
67  bool m_enabledHasBeenSet;
68  };
69 
70 } // namespace Model
71 } // namespace EC2
72 } // namespace Aws
Aws::EC2::Model::LaunchTemplatesMonitoring::operator=
LaunchTemplatesMonitoring & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::LaunchTemplatesMonitoring::WithEnabled
LaunchTemplatesMonitoring & WithEnabled(bool value)
Definition: LaunchTemplatesMonitoring.h:62
AWSStreamFwd.h
Aws::EC2::Model::LaunchTemplatesMonitoring::GetEnabled
bool GetEnabled() const
Definition: LaunchTemplatesMonitoring.h:44
Aws::EC2::Model::LaunchTemplatesMonitoring::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: LaunchTemplatesMonitoring.h:50
Aws::EC2::Model::LaunchTemplatesMonitoring
Definition: LaunchTemplatesMonitoring.h:30
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::LaunchTemplatesMonitoring::SetEnabled
void SetEnabled(bool value)
Definition: LaunchTemplatesMonitoring.h:56
Aws::EC2::Model::LaunchTemplatesMonitoring::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::LaunchTemplatesMonitoring::LaunchTemplatesMonitoring
LaunchTemplatesMonitoring(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::LaunchTemplatesMonitoring::LaunchTemplatesMonitoring
LaunchTemplatesMonitoring()
Aws
Definition: AccessManagementClient.h:15
index
int index
Definition: cJSON.h:181
EC2_EXPORTS.h
Aws::EC2::Model::LaunchTemplatesMonitoring::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const