/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The maintenance options of an Amazon EC2 instance. See Also:
* AWS
* API Reference
Disables the automatic recovery behavior of your instance or sets it to * default.
*/ inline const Aws::String& GetAutoRecovery() const{ return m_autoRecovery; } /** *Disables the automatic recovery behavior of your instance or sets it to * default.
*/ inline bool AutoRecoveryHasBeenSet() const { return m_autoRecoveryHasBeenSet; } /** *Disables the automatic recovery behavior of your instance or sets it to * default.
*/ inline void SetAutoRecovery(const Aws::String& value) { m_autoRecoveryHasBeenSet = true; m_autoRecovery = value; } /** *Disables the automatic recovery behavior of your instance or sets it to * default.
*/ inline void SetAutoRecovery(Aws::String&& value) { m_autoRecoveryHasBeenSet = true; m_autoRecovery = std::move(value); } /** *Disables the automatic recovery behavior of your instance or sets it to * default.
*/ inline void SetAutoRecovery(const char* value) { m_autoRecoveryHasBeenSet = true; m_autoRecovery.assign(value); } /** *Disables the automatic recovery behavior of your instance or sets it to * default.
*/ inline AwsEc2LaunchTemplateDataMaintenanceOptionsDetails& WithAutoRecovery(const Aws::String& value) { SetAutoRecovery(value); return *this;} /** *Disables the automatic recovery behavior of your instance or sets it to * default.
*/ inline AwsEc2LaunchTemplateDataMaintenanceOptionsDetails& WithAutoRecovery(Aws::String&& value) { SetAutoRecovery(std::move(value)); return *this;} /** *Disables the automatic recovery behavior of your instance or sets it to * default.
*/ inline AwsEc2LaunchTemplateDataMaintenanceOptionsDetails& WithAutoRecovery(const char* value) { SetAutoRecovery(value); return *this;} private: Aws::String m_autoRecovery; bool m_autoRecoveryHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws