/**
* 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
{
/**
* Indicates whether the instance is enabled for Amazon Web Services Nitro
* Enclaves.
See Also:
AWS
* API Reference
*/
class AwsEc2LaunchTemplateDataEnclaveOptionsDetails
{
public:
AWS_SECURITYHUB_API AwsEc2LaunchTemplateDataEnclaveOptionsDetails();
AWS_SECURITYHUB_API AwsEc2LaunchTemplateDataEnclaveOptionsDetails(Aws::Utils::Json::JsonView jsonValue);
AWS_SECURITYHUB_API AwsEc2LaunchTemplateDataEnclaveOptionsDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* If this parameter is set to true
, the instance is enabled for
* Amazon Web Services Nitro Enclaves.
*/
inline bool GetEnabled() const{ return m_enabled; }
/**
* If this parameter is set to true
, the instance is enabled for
* Amazon Web Services Nitro Enclaves.
*/
inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
/**
* If this parameter is set to true
, the instance is enabled for
* Amazon Web Services Nitro Enclaves.
*/
inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
/**
* If this parameter is set to true
, the instance is enabled for
* Amazon Web Services Nitro Enclaves.
*/
inline AwsEc2LaunchTemplateDataEnclaveOptionsDetails& WithEnabled(bool value) { SetEnabled(value); return *this;}
private:
bool m_enabled;
bool m_enabledHasBeenSet = false;
};
} // namespace Model
} // namespace SecurityHub
} // namespace Aws