/** * 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 { /** *

Indicates whether the instance is enabled for Amazon Web Services Nitro * Enclaves. For more information, see What * is Amazon Web Services Nitro Enclaves? in the Amazon Web Services Nitro * Enclaves User Guide.

See Also:

AWS * API Reference

*/ class LaunchTemplateEnclaveOptionsRequest { public: AWS_EC2_API LaunchTemplateEnclaveOptionsRequest(); AWS_EC2_API LaunchTemplateEnclaveOptionsRequest(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API LaunchTemplateEnclaveOptionsRequest& 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; /** *

To enable the instance for Amazon Web Services Nitro Enclaves, set this * parameter to true.

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

To enable the instance for Amazon Web Services Nitro Enclaves, set this * parameter to true.

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

To enable the instance for Amazon Web Services Nitro Enclaves, set this * parameter to true.

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

To enable the instance for Amazon Web Services Nitro Enclaves, set this * parameter to true.

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