/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains details for the restore.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the backup from which the table was * restored.
*/ inline const Aws::String& GetSourceBackupArn() const{ return m_sourceBackupArn; } /** *The Amazon Resource Name (ARN) of the backup from which the table was * restored.
*/ inline bool SourceBackupArnHasBeenSet() const { return m_sourceBackupArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the backup from which the table was * restored.
*/ inline void SetSourceBackupArn(const Aws::String& value) { m_sourceBackupArnHasBeenSet = true; m_sourceBackupArn = value; } /** *The Amazon Resource Name (ARN) of the backup from which the table was * restored.
*/ inline void SetSourceBackupArn(Aws::String&& value) { m_sourceBackupArnHasBeenSet = true; m_sourceBackupArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the backup from which the table was * restored.
*/ inline void SetSourceBackupArn(const char* value) { m_sourceBackupArnHasBeenSet = true; m_sourceBackupArn.assign(value); } /** *The Amazon Resource Name (ARN) of the backup from which the table was * restored.
*/ inline RestoreSummary& WithSourceBackupArn(const Aws::String& value) { SetSourceBackupArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the backup from which the table was * restored.
*/ inline RestoreSummary& WithSourceBackupArn(Aws::String&& value) { SetSourceBackupArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the backup from which the table was * restored.
*/ inline RestoreSummary& WithSourceBackupArn(const char* value) { SetSourceBackupArn(value); return *this;} /** *The ARN of the source table of the backup that is being restored.
*/ inline const Aws::String& GetSourceTableArn() const{ return m_sourceTableArn; } /** *The ARN of the source table of the backup that is being restored.
*/ inline bool SourceTableArnHasBeenSet() const { return m_sourceTableArnHasBeenSet; } /** *The ARN of the source table of the backup that is being restored.
*/ inline void SetSourceTableArn(const Aws::String& value) { m_sourceTableArnHasBeenSet = true; m_sourceTableArn = value; } /** *The ARN of the source table of the backup that is being restored.
*/ inline void SetSourceTableArn(Aws::String&& value) { m_sourceTableArnHasBeenSet = true; m_sourceTableArn = std::move(value); } /** *The ARN of the source table of the backup that is being restored.
*/ inline void SetSourceTableArn(const char* value) { m_sourceTableArnHasBeenSet = true; m_sourceTableArn.assign(value); } /** *The ARN of the source table of the backup that is being restored.
*/ inline RestoreSummary& WithSourceTableArn(const Aws::String& value) { SetSourceTableArn(value); return *this;} /** *The ARN of the source table of the backup that is being restored.
*/ inline RestoreSummary& WithSourceTableArn(Aws::String&& value) { SetSourceTableArn(std::move(value)); return *this;} /** *The ARN of the source table of the backup that is being restored.
*/ inline RestoreSummary& WithSourceTableArn(const char* value) { SetSourceTableArn(value); return *this;} /** *Point in time or source backup time.
*/ inline const Aws::Utils::DateTime& GetRestoreDateTime() const{ return m_restoreDateTime; } /** *Point in time or source backup time.
*/ inline bool RestoreDateTimeHasBeenSet() const { return m_restoreDateTimeHasBeenSet; } /** *Point in time or source backup time.
*/ inline void SetRestoreDateTime(const Aws::Utils::DateTime& value) { m_restoreDateTimeHasBeenSet = true; m_restoreDateTime = value; } /** *Point in time or source backup time.
*/ inline void SetRestoreDateTime(Aws::Utils::DateTime&& value) { m_restoreDateTimeHasBeenSet = true; m_restoreDateTime = std::move(value); } /** *Point in time or source backup time.
*/ inline RestoreSummary& WithRestoreDateTime(const Aws::Utils::DateTime& value) { SetRestoreDateTime(value); return *this;} /** *Point in time or source backup time.
*/ inline RestoreSummary& WithRestoreDateTime(Aws::Utils::DateTime&& value) { SetRestoreDateTime(std::move(value)); return *this;} /** *Indicates if a restore is in progress or not.
*/ inline bool GetRestoreInProgress() const{ return m_restoreInProgress; } /** *Indicates if a restore is in progress or not.
*/ inline bool RestoreInProgressHasBeenSet() const { return m_restoreInProgressHasBeenSet; } /** *Indicates if a restore is in progress or not.
*/ inline void SetRestoreInProgress(bool value) { m_restoreInProgressHasBeenSet = true; m_restoreInProgress = value; } /** *Indicates if a restore is in progress or not.
*/ inline RestoreSummary& 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::Utils::DateTime m_restoreDateTime; bool m_restoreDateTimeHasBeenSet = false; bool m_restoreInProgress; bool m_restoreInProgressHasBeenSet = false; }; } // namespace Model } // namespace DynamoDB } // namespace Aws