/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains details for the backup.See Also:
AWS
* API Reference
Name of the table.
*/ inline const Aws::String& GetTableName() const{ return m_tableName; } /** *Name of the table.
*/ inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } /** *Name of the table.
*/ inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; } /** *Name of the table.
*/ inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); } /** *Name of the table.
*/ inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); } /** *Name of the table.
*/ inline BackupSummary& WithTableName(const Aws::String& value) { SetTableName(value); return *this;} /** *Name of the table.
*/ inline BackupSummary& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;} /** *Name of the table.
*/ inline BackupSummary& WithTableName(const char* value) { SetTableName(value); return *this;} /** *Unique identifier for the table.
*/ inline const Aws::String& GetTableId() const{ return m_tableId; } /** *Unique identifier for the table.
*/ inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; } /** *Unique identifier for the table.
*/ inline void SetTableId(const Aws::String& value) { m_tableIdHasBeenSet = true; m_tableId = value; } /** *Unique identifier for the table.
*/ inline void SetTableId(Aws::String&& value) { m_tableIdHasBeenSet = true; m_tableId = std::move(value); } /** *Unique identifier for the table.
*/ inline void SetTableId(const char* value) { m_tableIdHasBeenSet = true; m_tableId.assign(value); } /** *Unique identifier for the table.
*/ inline BackupSummary& WithTableId(const Aws::String& value) { SetTableId(value); return *this;} /** *Unique identifier for the table.
*/ inline BackupSummary& WithTableId(Aws::String&& value) { SetTableId(std::move(value)); return *this;} /** *Unique identifier for the table.
*/ inline BackupSummary& WithTableId(const char* value) { SetTableId(value); return *this;} /** *ARN associated with the table.
*/ inline const Aws::String& GetTableArn() const{ return m_tableArn; } /** *ARN associated with the table.
*/ inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; } /** *ARN associated with the table.
*/ inline void SetTableArn(const Aws::String& value) { m_tableArnHasBeenSet = true; m_tableArn = value; } /** *ARN associated with the table.
*/ inline void SetTableArn(Aws::String&& value) { m_tableArnHasBeenSet = true; m_tableArn = std::move(value); } /** *ARN associated with the table.
*/ inline void SetTableArn(const char* value) { m_tableArnHasBeenSet = true; m_tableArn.assign(value); } /** *ARN associated with the table.
*/ inline BackupSummary& WithTableArn(const Aws::String& value) { SetTableArn(value); return *this;} /** *ARN associated with the table.
*/ inline BackupSummary& WithTableArn(Aws::String&& value) { SetTableArn(std::move(value)); return *this;} /** *ARN associated with the table.
*/ inline BackupSummary& WithTableArn(const char* value) { SetTableArn(value); return *this;} /** *ARN associated with the backup.
*/ inline const Aws::String& GetBackupArn() const{ return m_backupArn; } /** *ARN associated with the backup.
*/ inline bool BackupArnHasBeenSet() const { return m_backupArnHasBeenSet; } /** *ARN associated with the backup.
*/ inline void SetBackupArn(const Aws::String& value) { m_backupArnHasBeenSet = true; m_backupArn = value; } /** *ARN associated with the backup.
*/ inline void SetBackupArn(Aws::String&& value) { m_backupArnHasBeenSet = true; m_backupArn = std::move(value); } /** *ARN associated with the backup.
*/ inline void SetBackupArn(const char* value) { m_backupArnHasBeenSet = true; m_backupArn.assign(value); } /** *ARN associated with the backup.
*/ inline BackupSummary& WithBackupArn(const Aws::String& value) { SetBackupArn(value); return *this;} /** *ARN associated with the backup.
*/ inline BackupSummary& WithBackupArn(Aws::String&& value) { SetBackupArn(std::move(value)); return *this;} /** *ARN associated with the backup.
*/ inline BackupSummary& WithBackupArn(const char* value) { SetBackupArn(value); return *this;} /** *Name of the specified backup.
*/ inline const Aws::String& GetBackupName() const{ return m_backupName; } /** *Name of the specified backup.
*/ inline bool BackupNameHasBeenSet() const { return m_backupNameHasBeenSet; } /** *Name of the specified backup.
*/ inline void SetBackupName(const Aws::String& value) { m_backupNameHasBeenSet = true; m_backupName = value; } /** *Name of the specified backup.
*/ inline void SetBackupName(Aws::String&& value) { m_backupNameHasBeenSet = true; m_backupName = std::move(value); } /** *Name of the specified backup.
*/ inline void SetBackupName(const char* value) { m_backupNameHasBeenSet = true; m_backupName.assign(value); } /** *Name of the specified backup.
*/ inline BackupSummary& WithBackupName(const Aws::String& value) { SetBackupName(value); return *this;} /** *Name of the specified backup.
*/ inline BackupSummary& WithBackupName(Aws::String&& value) { SetBackupName(std::move(value)); return *this;} /** *Name of the specified backup.
*/ inline BackupSummary& WithBackupName(const char* value) { SetBackupName(value); return *this;} /** *Time at which the backup was created.
*/ inline const Aws::Utils::DateTime& GetBackupCreationDateTime() const{ return m_backupCreationDateTime; } /** *Time at which the backup was created.
*/ inline bool BackupCreationDateTimeHasBeenSet() const { return m_backupCreationDateTimeHasBeenSet; } /** *Time at which the backup was created.
*/ inline void SetBackupCreationDateTime(const Aws::Utils::DateTime& value) { m_backupCreationDateTimeHasBeenSet = true; m_backupCreationDateTime = value; } /** *Time at which the backup was created.
*/ inline void SetBackupCreationDateTime(Aws::Utils::DateTime&& value) { m_backupCreationDateTimeHasBeenSet = true; m_backupCreationDateTime = std::move(value); } /** *Time at which the backup was created.
*/ inline BackupSummary& WithBackupCreationDateTime(const Aws::Utils::DateTime& value) { SetBackupCreationDateTime(value); return *this;} /** *Time at which the backup was created.
*/ inline BackupSummary& WithBackupCreationDateTime(Aws::Utils::DateTime&& value) { SetBackupCreationDateTime(std::move(value)); return *this;} /** *Time at which the automatic on-demand backup created by DynamoDB will expire.
* This SYSTEM
on-demand backup expires automatically 35 days after
* its creation.
Time at which the automatic on-demand backup created by DynamoDB will expire.
* This SYSTEM
on-demand backup expires automatically 35 days after
* its creation.
Time at which the automatic on-demand backup created by DynamoDB will expire.
* This SYSTEM
on-demand backup expires automatically 35 days after
* its creation.
Time at which the automatic on-demand backup created by DynamoDB will expire.
* This SYSTEM
on-demand backup expires automatically 35 days after
* its creation.
Time at which the automatic on-demand backup created by DynamoDB will expire.
* This SYSTEM
on-demand backup expires automatically 35 days after
* its creation.
Time at which the automatic on-demand backup created by DynamoDB will expire.
* This SYSTEM
on-demand backup expires automatically 35 days after
* its creation.
Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
*/ inline const BackupStatus& GetBackupStatus() const{ return m_backupStatus; } /** *Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
*/ inline bool BackupStatusHasBeenSet() const { return m_backupStatusHasBeenSet; } /** *Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
*/ inline void SetBackupStatus(const BackupStatus& value) { m_backupStatusHasBeenSet = true; m_backupStatus = value; } /** *Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
*/ inline void SetBackupStatus(BackupStatus&& value) { m_backupStatusHasBeenSet = true; m_backupStatus = std::move(value); } /** *Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
*/ inline BackupSummary& WithBackupStatus(const BackupStatus& value) { SetBackupStatus(value); return *this;} /** *Backup can be in one of the following states: CREATING, ACTIVE, DELETED.
*/ inline BackupSummary& WithBackupStatus(BackupStatus&& value) { SetBackupStatus(std::move(value)); return *this;} /** *BackupType:
USER
- You create and manage these
* using the on-demand backup feature.
SYSTEM
- If
* you delete a table with point-in-time recovery enabled, a SYSTEM
* backup is automatically created and is retained for 35 days (at no additional
* cost). System backups allow you to restore the deleted table to the state it was
* in just before the point of deletion.
* AWS_BACKUP
- On-demand backup created by you from Backup
* service.
BackupType:
USER
- You create and manage these
* using the on-demand backup feature.
SYSTEM
- If
* you delete a table with point-in-time recovery enabled, a SYSTEM
* backup is automatically created and is retained for 35 days (at no additional
* cost). System backups allow you to restore the deleted table to the state it was
* in just before the point of deletion.
* AWS_BACKUP
- On-demand backup created by you from Backup
* service.
BackupType:
USER
- You create and manage these
* using the on-demand backup feature.
SYSTEM
- If
* you delete a table with point-in-time recovery enabled, a SYSTEM
* backup is automatically created and is retained for 35 days (at no additional
* cost). System backups allow you to restore the deleted table to the state it was
* in just before the point of deletion.
* AWS_BACKUP
- On-demand backup created by you from Backup
* service.
BackupType:
USER
- You create and manage these
* using the on-demand backup feature.
SYSTEM
- If
* you delete a table with point-in-time recovery enabled, a SYSTEM
* backup is automatically created and is retained for 35 days (at no additional
* cost). System backups allow you to restore the deleted table to the state it was
* in just before the point of deletion.
* AWS_BACKUP
- On-demand backup created by you from Backup
* service.
BackupType:
USER
- You create and manage these
* using the on-demand backup feature.
SYSTEM
- If
* you delete a table with point-in-time recovery enabled, a SYSTEM
* backup is automatically created and is retained for 35 days (at no additional
* cost). System backups allow you to restore the deleted table to the state it was
* in just before the point of deletion.
* AWS_BACKUP
- On-demand backup created by you from Backup
* service.
BackupType:
USER
- You create and manage these
* using the on-demand backup feature.
SYSTEM
- If
* you delete a table with point-in-time recovery enabled, a SYSTEM
* backup is automatically created and is retained for 35 days (at no additional
* cost). System backups allow you to restore the deleted table to the state it was
* in just before the point of deletion.
* AWS_BACKUP
- On-demand backup created by you from Backup
* service.
Size of the backup in bytes.
*/ inline long long GetBackupSizeBytes() const{ return m_backupSizeBytes; } /** *Size of the backup in bytes.
*/ inline bool BackupSizeBytesHasBeenSet() const { return m_backupSizeBytesHasBeenSet; } /** *Size of the backup in bytes.
*/ inline void SetBackupSizeBytes(long long value) { m_backupSizeBytesHasBeenSet = true; m_backupSizeBytes = value; } /** *Size of the backup in bytes.
*/ inline BackupSummary& WithBackupSizeBytes(long long value) { SetBackupSizeBytes(value); return *this;} private: Aws::String m_tableName; bool m_tableNameHasBeenSet = false; Aws::String m_tableId; bool m_tableIdHasBeenSet = false; Aws::String m_tableArn; bool m_tableArnHasBeenSet = false; Aws::String m_backupArn; bool m_backupArnHasBeenSet = false; Aws::String m_backupName; bool m_backupNameHasBeenSet = false; Aws::Utils::DateTime m_backupCreationDateTime; bool m_backupCreationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_backupExpiryDateTime; bool m_backupExpiryDateTimeHasBeenSet = false; BackupStatus m_backupStatus; bool m_backupStatusHasBeenSet = false; BackupType m_backupType; bool m_backupTypeHasBeenSet = false; long long m_backupSizeBytes; bool m_backupSizeBytesHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws