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

Information about the restore for the table.

See Also:

AWS * API Reference

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

The ARN of the source backup from which the table was restored.

*/ inline const Aws::String& GetSourceBackupArn() const{ return m_sourceBackupArn; } /** *

The ARN of the source backup from which the table was restored.

*/ inline bool SourceBackupArnHasBeenSet() const { return m_sourceBackupArnHasBeenSet; } /** *

The ARN of the source backup from which the table was restored.

*/ inline void SetSourceBackupArn(const Aws::String& value) { m_sourceBackupArnHasBeenSet = true; m_sourceBackupArn = value; } /** *

The ARN of the source backup from which the table was restored.

*/ inline void SetSourceBackupArn(Aws::String&& value) { m_sourceBackupArnHasBeenSet = true; m_sourceBackupArn = std::move(value); } /** *

The ARN of the source backup from which the table was restored.

*/ inline void SetSourceBackupArn(const char* value) { m_sourceBackupArnHasBeenSet = true; m_sourceBackupArn.assign(value); } /** *

The ARN of the source backup from which the table was restored.

*/ inline AwsDynamoDbTableRestoreSummary& WithSourceBackupArn(const Aws::String& value) { SetSourceBackupArn(value); return *this;} /** *

The ARN of the source backup from which the table was restored.

*/ inline AwsDynamoDbTableRestoreSummary& WithSourceBackupArn(Aws::String&& value) { SetSourceBackupArn(std::move(value)); return *this;} /** *

The ARN of the source backup from which the table was restored.

*/ inline AwsDynamoDbTableRestoreSummary& WithSourceBackupArn(const char* value) { SetSourceBackupArn(value); return *this;} /** *

The ARN of the source table for the backup.

*/ inline const Aws::String& GetSourceTableArn() const{ return m_sourceTableArn; } /** *

The ARN of the source table for the backup.

*/ inline bool SourceTableArnHasBeenSet() const { return m_sourceTableArnHasBeenSet; } /** *

The ARN of the source table for the backup.

*/ inline void SetSourceTableArn(const Aws::String& value) { m_sourceTableArnHasBeenSet = true; m_sourceTableArn = value; } /** *

The ARN of the source table for the backup.

*/ inline void SetSourceTableArn(Aws::String&& value) { m_sourceTableArnHasBeenSet = true; m_sourceTableArn = std::move(value); } /** *

The ARN of the source table for the backup.

*/ inline void SetSourceTableArn(const char* value) { m_sourceTableArnHasBeenSet = true; m_sourceTableArn.assign(value); } /** *

The ARN of the source table for the backup.

*/ inline AwsDynamoDbTableRestoreSummary& WithSourceTableArn(const Aws::String& value) { SetSourceTableArn(value); return *this;} /** *

The ARN of the source table for the backup.

*/ inline AwsDynamoDbTableRestoreSummary& WithSourceTableArn(Aws::String&& value) { SetSourceTableArn(std::move(value)); return *this;} /** *

The ARN of the source table for the backup.

*/ inline AwsDynamoDbTableRestoreSummary& WithSourceTableArn(const char* value) { SetSourceTableArn(value); return *this;} /** *

Indicates the point in time that the table was restored to.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline const Aws::String& GetRestoreDateTime() const{ return m_restoreDateTime; } /** *

Indicates the point in time that the table was restored to.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline bool RestoreDateTimeHasBeenSet() const { return m_restoreDateTimeHasBeenSet; } /** *

Indicates the point in time that the table was restored to.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline void SetRestoreDateTime(const Aws::String& value) { m_restoreDateTimeHasBeenSet = true; m_restoreDateTime = value; } /** *

Indicates the point in time that the table was restored to.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline void SetRestoreDateTime(Aws::String&& value) { m_restoreDateTimeHasBeenSet = true; m_restoreDateTime = std::move(value); } /** *

Indicates the point in time that the table was restored to.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline void SetRestoreDateTime(const char* value) { m_restoreDateTimeHasBeenSet = true; m_restoreDateTime.assign(value); } /** *

Indicates the point in time that the table was restored to.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline AwsDynamoDbTableRestoreSummary& WithRestoreDateTime(const Aws::String& value) { SetRestoreDateTime(value); return *this;} /** *

Indicates the point in time that the table was restored to.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline AwsDynamoDbTableRestoreSummary& WithRestoreDateTime(Aws::String&& value) { SetRestoreDateTime(std::move(value)); return *this;} /** *

Indicates the point in time that the table was restored to.

Uses the * date-time format specified in RFC 3339 section 5.6, * Internet Date/Time Format. The value cannot contain spaces, and date and * time should be separated by T. For example, * 2020-03-22T13:22:13.933Z.

*/ inline AwsDynamoDbTableRestoreSummary& WithRestoreDateTime(const char* value) { SetRestoreDateTime(value); return *this;} /** *

Whether a restore is currently in progress.

*/ inline bool GetRestoreInProgress() const{ return m_restoreInProgress; } /** *

Whether a restore is currently in progress.

*/ inline bool RestoreInProgressHasBeenSet() const { return m_restoreInProgressHasBeenSet; } /** *

Whether a restore is currently in progress.

*/ inline void SetRestoreInProgress(bool value) { m_restoreInProgressHasBeenSet = true; m_restoreInProgress = value; } /** *

Whether a restore is currently in progress.

*/ inline AwsDynamoDbTableRestoreSummary& WithRestoreInProgress(bool value) { SetRestoreInProgress(value); return *this;} private: Aws::String m_sourceBackupArn; bool m_sourceBackupArnHasBeenSet = false; Aws::String m_sourceTableArn; bool m_sourceTableArnHasBeenSet = false; Aws::String m_restoreDateTime; bool m_restoreDateTimeHasBeenSet = false; bool m_restoreInProgress; bool m_restoreInProgressHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws