/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the monitoring of an instance.See Also:
AWS API
* Reference
Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring * is enabled.
*/ inline const MonitoringState& GetState() const{ return m_state; } /** *Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring * is enabled.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring * is enabled.
*/ inline void SetState(const MonitoringState& value) { m_stateHasBeenSet = true; m_state = value; } /** *Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring * is enabled.
*/ inline void SetState(MonitoringState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring * is enabled.
*/ inline Monitoring& WithState(const MonitoringState& value) { SetState(value); return *this;} /** *Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring * is enabled.
*/ inline Monitoring& WithState(MonitoringState&& value) { SetState(std::move(value)); return *this;} private: MonitoringState m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws