/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The maintenance options for the instance.See Also:
AWS
* API Reference
Provides information on the current automatic recovery behavior of your * instance.
*/ inline const InstanceAutoRecoveryState& GetAutoRecovery() const{ return m_autoRecovery; } /** *Provides information on the current automatic recovery behavior of your * instance.
*/ inline bool AutoRecoveryHasBeenSet() const { return m_autoRecoveryHasBeenSet; } /** *Provides information on the current automatic recovery behavior of your * instance.
*/ inline void SetAutoRecovery(const InstanceAutoRecoveryState& value) { m_autoRecoveryHasBeenSet = true; m_autoRecovery = value; } /** *Provides information on the current automatic recovery behavior of your * instance.
*/ inline void SetAutoRecovery(InstanceAutoRecoveryState&& value) { m_autoRecoveryHasBeenSet = true; m_autoRecovery = std::move(value); } /** *Provides information on the current automatic recovery behavior of your * instance.
*/ inline InstanceMaintenanceOptions& WithAutoRecovery(const InstanceAutoRecoveryState& value) { SetAutoRecovery(value); return *this;} /** *Provides information on the current automatic recovery behavior of your * instance.
*/ inline InstanceMaintenanceOptions& WithAutoRecovery(InstanceAutoRecoveryState&& value) { SetAutoRecovery(std::move(value)); return *this;} private: InstanceAutoRecoveryState m_autoRecovery; bool m_autoRecoveryHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws