/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DynamoDB { namespace Model { /** *

Represents the continuous backups and point in time recovery settings on the * table.

See Also:

AWS * API Reference

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

ContinuousBackupsStatus can be one of the following states: * ENABLED, DISABLED

*/ inline const ContinuousBackupsStatus& GetContinuousBackupsStatus() const{ return m_continuousBackupsStatus; } /** *

ContinuousBackupsStatus can be one of the following states: * ENABLED, DISABLED

*/ inline bool ContinuousBackupsStatusHasBeenSet() const { return m_continuousBackupsStatusHasBeenSet; } /** *

ContinuousBackupsStatus can be one of the following states: * ENABLED, DISABLED

*/ inline void SetContinuousBackupsStatus(const ContinuousBackupsStatus& value) { m_continuousBackupsStatusHasBeenSet = true; m_continuousBackupsStatus = value; } /** *

ContinuousBackupsStatus can be one of the following states: * ENABLED, DISABLED

*/ inline void SetContinuousBackupsStatus(ContinuousBackupsStatus&& value) { m_continuousBackupsStatusHasBeenSet = true; m_continuousBackupsStatus = std::move(value); } /** *

ContinuousBackupsStatus can be one of the following states: * ENABLED, DISABLED

*/ inline ContinuousBackupsDescription& WithContinuousBackupsStatus(const ContinuousBackupsStatus& value) { SetContinuousBackupsStatus(value); return *this;} /** *

ContinuousBackupsStatus can be one of the following states: * ENABLED, DISABLED

*/ inline ContinuousBackupsDescription& WithContinuousBackupsStatus(ContinuousBackupsStatus&& value) { SetContinuousBackupsStatus(std::move(value)); return *this;} /** *

The description of the point in time recovery settings applied to the * table.

*/ inline const PointInTimeRecoveryDescription& GetPointInTimeRecoveryDescription() const{ return m_pointInTimeRecoveryDescription; } /** *

The description of the point in time recovery settings applied to the * table.

*/ inline bool PointInTimeRecoveryDescriptionHasBeenSet() const { return m_pointInTimeRecoveryDescriptionHasBeenSet; } /** *

The description of the point in time recovery settings applied to the * table.

*/ inline void SetPointInTimeRecoveryDescription(const PointInTimeRecoveryDescription& value) { m_pointInTimeRecoveryDescriptionHasBeenSet = true; m_pointInTimeRecoveryDescription = value; } /** *

The description of the point in time recovery settings applied to the * table.

*/ inline void SetPointInTimeRecoveryDescription(PointInTimeRecoveryDescription&& value) { m_pointInTimeRecoveryDescriptionHasBeenSet = true; m_pointInTimeRecoveryDescription = std::move(value); } /** *

The description of the point in time recovery settings applied to the * table.

*/ inline ContinuousBackupsDescription& WithPointInTimeRecoveryDescription(const PointInTimeRecoveryDescription& value) { SetPointInTimeRecoveryDescription(value); return *this;} /** *

The description of the point in time recovery settings applied to the * table.

*/ inline ContinuousBackupsDescription& WithPointInTimeRecoveryDescription(PointInTimeRecoveryDescription&& value) { SetPointInTimeRecoveryDescription(std::move(value)); return *this;} private: ContinuousBackupsStatus m_continuousBackupsStatus; bool m_continuousBackupsStatusHasBeenSet = false; PointInTimeRecoveryDescription m_pointInTimeRecoveryDescription; bool m_pointInTimeRecoveryDescriptionHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws