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

The point-in-time recovery status of the specified table.

See * Also:

AWS * API Reference

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

Shows if point-in-time recovery is enabled or disabled for the specified * table.

*/ inline const PointInTimeRecoveryStatus& GetStatus() const{ return m_status; } /** *

Shows if point-in-time recovery is enabled or disabled for the specified * table.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Shows if point-in-time recovery is enabled or disabled for the specified * table.

*/ inline void SetStatus(const PointInTimeRecoveryStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Shows if point-in-time recovery is enabled or disabled for the specified * table.

*/ inline void SetStatus(PointInTimeRecoveryStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Shows if point-in-time recovery is enabled or disabled for the specified * table.

*/ inline PointInTimeRecoverySummary& WithStatus(const PointInTimeRecoveryStatus& value) { SetStatus(value); return *this;} /** *

Shows if point-in-time recovery is enabled or disabled for the specified * table.

*/ inline PointInTimeRecoverySummary& WithStatus(PointInTimeRecoveryStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

Specifies the earliest possible restore point of the table in ISO 8601 * format.

*/ inline const Aws::Utils::DateTime& GetEarliestRestorableTimestamp() const{ return m_earliestRestorableTimestamp; } /** *

Specifies the earliest possible restore point of the table in ISO 8601 * format.

*/ inline bool EarliestRestorableTimestampHasBeenSet() const { return m_earliestRestorableTimestampHasBeenSet; } /** *

Specifies the earliest possible restore point of the table in ISO 8601 * format.

*/ inline void SetEarliestRestorableTimestamp(const Aws::Utils::DateTime& value) { m_earliestRestorableTimestampHasBeenSet = true; m_earliestRestorableTimestamp = value; } /** *

Specifies the earliest possible restore point of the table in ISO 8601 * format.

*/ inline void SetEarliestRestorableTimestamp(Aws::Utils::DateTime&& value) { m_earliestRestorableTimestampHasBeenSet = true; m_earliestRestorableTimestamp = std::move(value); } /** *

Specifies the earliest possible restore point of the table in ISO 8601 * format.

*/ inline PointInTimeRecoverySummary& WithEarliestRestorableTimestamp(const Aws::Utils::DateTime& value) { SetEarliestRestorableTimestamp(value); return *this;} /** *

Specifies the earliest possible restore point of the table in ISO 8601 * format.

*/ inline PointInTimeRecoverySummary& WithEarliestRestorableTimestamp(Aws::Utils::DateTime&& value) { SetEarliestRestorableTimestamp(std::move(value)); return *this;} private: PointInTimeRecoveryStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_earliestRestorableTimestamp; bool m_earliestRestorableTimestampHasBeenSet = false; }; } // namespace Model } // namespace Keyspaces } // namespace Aws