/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { /** *

Describes the monitoring for the instance.

See Also:

AWS * API Reference

*/ class LaunchTemplatesMonitoringRequest { public: AWS_EC2_API LaunchTemplatesMonitoringRequest(); AWS_EC2_API LaunchTemplatesMonitoringRequest(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API LaunchTemplatesMonitoringRequest& 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 void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

Specify true to enable detailed monitoring. Otherwise, basic * monitoring is enabled.

*/ inline bool GetEnabled() const{ return m_enabled; } /** *

Specify true to enable detailed monitoring. Otherwise, basic * monitoring is enabled.

*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *

Specify true to enable detailed monitoring. Otherwise, basic * monitoring is enabled.

*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *

Specify true to enable detailed monitoring. Otherwise, basic * monitoring is enabled.

*/ inline LaunchTemplatesMonitoringRequest& WithEnabled(bool value) { SetEnabled(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws