/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The type of monitoring that’s turned on for an Amazon EC2 instance.
* See Also:
AWS
* API Reference
Indicates whether detailed monitoring is turned on. Otherwise, basic * monitoring is turned on.
*/ inline const Aws::String& GetState() const{ return m_state; } /** *Indicates whether detailed monitoring is turned on. Otherwise, basic * monitoring is turned on.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *Indicates whether detailed monitoring is turned on. Otherwise, basic * monitoring is turned on.
*/ inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; } /** *Indicates whether detailed monitoring is turned on. Otherwise, basic * monitoring is turned on.
*/ inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *Indicates whether detailed monitoring is turned on. Otherwise, basic * monitoring is turned on.
*/ inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); } /** *Indicates whether detailed monitoring is turned on. Otherwise, basic * monitoring is turned on.
*/ inline AwsEc2InstanceMonitoringDetails& WithState(const Aws::String& value) { SetState(value); return *this;} /** *Indicates whether detailed monitoring is turned on. Otherwise, basic * monitoring is turned on.
*/ inline AwsEc2InstanceMonitoringDetails& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;} /** *Indicates whether detailed monitoring is turned on. Otherwise, basic * monitoring is turned on.
*/ inline AwsEc2InstanceMonitoringDetails& WithState(const char* value) { SetState(value); return *this;} private: Aws::String m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws