/** * 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 DynamoDB { namespace Model { /** *

Represents the settings used to enable point in time recovery.

See * Also:

AWS * API Reference

*/ class PointInTimeRecoverySpecification { public: AWS_DYNAMODB_API PointInTimeRecoverySpecification(); AWS_DYNAMODB_API PointInTimeRecoverySpecification(Aws::Utils::Json::JsonView jsonValue); AWS_DYNAMODB_API PointInTimeRecoverySpecification& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Indicates whether point in time recovery is enabled (true) or disabled * (false) on the table.

*/ inline bool GetPointInTimeRecoveryEnabled() const{ return m_pointInTimeRecoveryEnabled; } /** *

Indicates whether point in time recovery is enabled (true) or disabled * (false) on the table.

*/ inline bool PointInTimeRecoveryEnabledHasBeenSet() const { return m_pointInTimeRecoveryEnabledHasBeenSet; } /** *

Indicates whether point in time recovery is enabled (true) or disabled * (false) on the table.

*/ inline void SetPointInTimeRecoveryEnabled(bool value) { m_pointInTimeRecoveryEnabledHasBeenSet = true; m_pointInTimeRecoveryEnabled = value; } /** *

Indicates whether point in time recovery is enabled (true) or disabled * (false) on the table.

*/ inline PointInTimeRecoverySpecification& WithPointInTimeRecoveryEnabled(bool value) { SetPointInTimeRecoveryEnabled(value); return *this;} private: bool m_pointInTimeRecoveryEnabled; bool m_pointInTimeRecoveryEnabledHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws