/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SecurityHub
{
namespace Model
{
/**
* Information about the type of monitoring for instances in the
* group.
See Also:
AWS
* API Reference
*/
class AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails
{
public:
AWS_SECURITYHUB_API AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails();
AWS_SECURITYHUB_API AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails(Aws::Utils::Json::JsonView jsonValue);
AWS_SECURITYHUB_API AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* If set to true
, then instances in the group launch with detailed
* monitoring.
If set to false
, then instances in the group
* launch with basic monitoring.
*/
inline bool GetEnabled() const{ return m_enabled; }
/**
* If set to true
, then instances in the group launch with detailed
* monitoring.
If set to false
, then instances in the group
* launch with basic monitoring.
*/
inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
/**
* If set to true
, then instances in the group launch with detailed
* monitoring.
If set to false
, then instances in the group
* launch with basic monitoring.
*/
inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
/**
* If set to true
, then instances in the group launch with detailed
* monitoring.
If set to false
, then instances in the group
* launch with basic monitoring.
*/
inline AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails& WithEnabled(bool value) { SetEnabled(value); return *this;}
private:
bool m_enabled;
bool m_enabledHasBeenSet = false;
};
} // namespace Model
} // namespace SecurityHub
} // namespace Aws