/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a table restore request.See Also:
* AWS
* API Reference
A description of the status of the table restore request. Status values
* include SUCCEEDED
, FAILED
, CANCELED
,
* PENDING
, IN_PROGRESS
.
A description of the status of the table restore request. Status values
* include SUCCEEDED
, FAILED
, CANCELED
,
* PENDING
, IN_PROGRESS
.
A description of the status of the table restore request. Status values
* include SUCCEEDED
, FAILED
, CANCELED
,
* PENDING
, IN_PROGRESS
.
A description of the status of the table restore request. Status values
* include SUCCEEDED
, FAILED
, CANCELED
,
* PENDING
, IN_PROGRESS
.
A description of the status of the table restore request. Status values
* include SUCCEEDED
, FAILED
, CANCELED
,
* PENDING
, IN_PROGRESS
.
A description of the status of the table restore request. Status values
* include SUCCEEDED
, FAILED
, CANCELED
,
* PENDING
, IN_PROGRESS
.
A description of the status of the table restore request. Status values
* include SUCCEEDED
, FAILED
, CANCELED
,
* PENDING
, IN_PROGRESS
.
A description of the status of the table restore request. Status values
* include SUCCEEDED
, FAILED
, CANCELED
,
* PENDING
, IN_PROGRESS
.
The namespace of the table being restored from.
*/ inline const Aws::String& GetNamespaceName() const{ return m_namespaceName; } /** *The namespace of the table being restored from.
*/ inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; } /** *The namespace of the table being restored from.
*/ inline void SetNamespaceName(const Aws::String& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = value; } /** *The namespace of the table being restored from.
*/ inline void SetNamespaceName(Aws::String&& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = std::move(value); } /** *The namespace of the table being restored from.
*/ inline void SetNamespaceName(const char* value) { m_namespaceNameHasBeenSet = true; m_namespaceName.assign(value); } /** *The namespace of the table being restored from.
*/ inline TableRestoreStatus& WithNamespaceName(const Aws::String& value) { SetNamespaceName(value); return *this;} /** *The namespace of the table being restored from.
*/ inline TableRestoreStatus& WithNamespaceName(Aws::String&& value) { SetNamespaceName(std::move(value)); return *this;} /** *The namespace of the table being restored from.
*/ inline TableRestoreStatus& WithNamespaceName(const char* value) { SetNamespaceName(value); return *this;} /** *The name of the table to create from the restore operation.
*/ inline const Aws::String& GetNewTableName() const{ return m_newTableName; } /** *The name of the table to create from the restore operation.
*/ inline bool NewTableNameHasBeenSet() const { return m_newTableNameHasBeenSet; } /** *The name of the table to create from the restore operation.
*/ inline void SetNewTableName(const Aws::String& value) { m_newTableNameHasBeenSet = true; m_newTableName = value; } /** *The name of the table to create from the restore operation.
*/ inline void SetNewTableName(Aws::String&& value) { m_newTableNameHasBeenSet = true; m_newTableName = std::move(value); } /** *The name of the table to create from the restore operation.
*/ inline void SetNewTableName(const char* value) { m_newTableNameHasBeenSet = true; m_newTableName.assign(value); } /** *The name of the table to create from the restore operation.
*/ inline TableRestoreStatus& WithNewTableName(const Aws::String& value) { SetNewTableName(value); return *this;} /** *The name of the table to create from the restore operation.
*/ inline TableRestoreStatus& WithNewTableName(Aws::String&& value) { SetNewTableName(std::move(value)); return *this;} /** *The name of the table to create from the restore operation.
*/ inline TableRestoreStatus& WithNewTableName(const char* value) { SetNewTableName(value); return *this;} /** *The amount of data restored to the new table so far, in megabytes (MB).
*/ inline long long GetProgressInMegaBytes() const{ return m_progressInMegaBytes; } /** *The amount of data restored to the new table so far, in megabytes (MB).
*/ inline bool ProgressInMegaBytesHasBeenSet() const { return m_progressInMegaBytesHasBeenSet; } /** *The amount of data restored to the new table so far, in megabytes (MB).
*/ inline void SetProgressInMegaBytes(long long value) { m_progressInMegaBytesHasBeenSet = true; m_progressInMegaBytes = value; } /** *The amount of data restored to the new table so far, in megabytes (MB).
*/ inline TableRestoreStatus& WithProgressInMegaBytes(long long value) { SetProgressInMegaBytes(value); return *this;} /** *The time that the table restore request was made, in Universal Coordinated * Time (UTC).
*/ inline const Aws::Utils::DateTime& GetRequestTime() const{ return m_requestTime; } /** *The time that the table restore request was made, in Universal Coordinated * Time (UTC).
*/ inline bool RequestTimeHasBeenSet() const { return m_requestTimeHasBeenSet; } /** *The time that the table restore request was made, in Universal Coordinated * Time (UTC).
*/ inline void SetRequestTime(const Aws::Utils::DateTime& value) { m_requestTimeHasBeenSet = true; m_requestTime = value; } /** *The time that the table restore request was made, in Universal Coordinated * Time (UTC).
*/ inline void SetRequestTime(Aws::Utils::DateTime&& value) { m_requestTimeHasBeenSet = true; m_requestTime = std::move(value); } /** *The time that the table restore request was made, in Universal Coordinated * Time (UTC).
*/ inline TableRestoreStatus& WithRequestTime(const Aws::Utils::DateTime& value) { SetRequestTime(value); return *this;} /** *The time that the table restore request was made, in Universal Coordinated * Time (UTC).
*/ inline TableRestoreStatus& WithRequestTime(Aws::Utils::DateTime&& value) { SetRequestTime(std::move(value)); return *this;} /** *The name of the snapshot being restored from.
*/ inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; } /** *The name of the snapshot being restored from.
*/ inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; } /** *The name of the snapshot being restored from.
*/ inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; } /** *The name of the snapshot being restored from.
*/ inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); } /** *The name of the snapshot being restored from.
*/ inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); } /** *The name of the snapshot being restored from.
*/ inline TableRestoreStatus& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;} /** *The name of the snapshot being restored from.
*/ inline TableRestoreStatus& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;} /** *The name of the snapshot being restored from.
*/ inline TableRestoreStatus& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;} /** *The name of the source database being restored from.
*/ inline const Aws::String& GetSourceDatabaseName() const{ return m_sourceDatabaseName; } /** *The name of the source database being restored from.
*/ inline bool SourceDatabaseNameHasBeenSet() const { return m_sourceDatabaseNameHasBeenSet; } /** *The name of the source database being restored from.
*/ inline void SetSourceDatabaseName(const Aws::String& value) { m_sourceDatabaseNameHasBeenSet = true; m_sourceDatabaseName = value; } /** *The name of the source database being restored from.
*/ inline void SetSourceDatabaseName(Aws::String&& value) { m_sourceDatabaseNameHasBeenSet = true; m_sourceDatabaseName = std::move(value); } /** *The name of the source database being restored from.
*/ inline void SetSourceDatabaseName(const char* value) { m_sourceDatabaseNameHasBeenSet = true; m_sourceDatabaseName.assign(value); } /** *The name of the source database being restored from.
*/ inline TableRestoreStatus& WithSourceDatabaseName(const Aws::String& value) { SetSourceDatabaseName(value); return *this;} /** *The name of the source database being restored from.
*/ inline TableRestoreStatus& WithSourceDatabaseName(Aws::String&& value) { SetSourceDatabaseName(std::move(value)); return *this;} /** *The name of the source database being restored from.
*/ inline TableRestoreStatus& WithSourceDatabaseName(const char* value) { SetSourceDatabaseName(value); return *this;} /** *The name of the source schema being restored from.
*/ inline const Aws::String& GetSourceSchemaName() const{ return m_sourceSchemaName; } /** *The name of the source schema being restored from.
*/ inline bool SourceSchemaNameHasBeenSet() const { return m_sourceSchemaNameHasBeenSet; } /** *The name of the source schema being restored from.
*/ inline void SetSourceSchemaName(const Aws::String& value) { m_sourceSchemaNameHasBeenSet = true; m_sourceSchemaName = value; } /** *The name of the source schema being restored from.
*/ inline void SetSourceSchemaName(Aws::String&& value) { m_sourceSchemaNameHasBeenSet = true; m_sourceSchemaName = std::move(value); } /** *The name of the source schema being restored from.
*/ inline void SetSourceSchemaName(const char* value) { m_sourceSchemaNameHasBeenSet = true; m_sourceSchemaName.assign(value); } /** *The name of the source schema being restored from.
*/ inline TableRestoreStatus& WithSourceSchemaName(const Aws::String& value) { SetSourceSchemaName(value); return *this;} /** *The name of the source schema being restored from.
*/ inline TableRestoreStatus& WithSourceSchemaName(Aws::String&& value) { SetSourceSchemaName(std::move(value)); return *this;} /** *The name of the source schema being restored from.
*/ inline TableRestoreStatus& WithSourceSchemaName(const char* value) { SetSourceSchemaName(value); return *this;} /** *The name of the source table being restored from.
*/ inline const Aws::String& GetSourceTableName() const{ return m_sourceTableName; } /** *The name of the source table being restored from.
*/ inline bool SourceTableNameHasBeenSet() const { return m_sourceTableNameHasBeenSet; } /** *The name of the source table being restored from.
*/ inline void SetSourceTableName(const Aws::String& value) { m_sourceTableNameHasBeenSet = true; m_sourceTableName = value; } /** *The name of the source table being restored from.
*/ inline void SetSourceTableName(Aws::String&& value) { m_sourceTableNameHasBeenSet = true; m_sourceTableName = std::move(value); } /** *The name of the source table being restored from.
*/ inline void SetSourceTableName(const char* value) { m_sourceTableNameHasBeenSet = true; m_sourceTableName.assign(value); } /** *The name of the source table being restored from.
*/ inline TableRestoreStatus& WithSourceTableName(const Aws::String& value) { SetSourceTableName(value); return *this;} /** *The name of the source table being restored from.
*/ inline TableRestoreStatus& WithSourceTableName(Aws::String&& value) { SetSourceTableName(std::move(value)); return *this;} /** *The name of the source table being restored from.
*/ inline TableRestoreStatus& WithSourceTableName(const char* value) { SetSourceTableName(value); return *this;} /** *A value that describes the current state of the table restore request.
* Possible values include SUCCEEDED
, FAILED
,
* CANCELED
, PENDING
, IN_PROGRESS
.
A value that describes the current state of the table restore request.
* Possible values include SUCCEEDED
, FAILED
,
* CANCELED
, PENDING
, IN_PROGRESS
.
A value that describes the current state of the table restore request.
* Possible values include SUCCEEDED
, FAILED
,
* CANCELED
, PENDING
, IN_PROGRESS
.
A value that describes the current state of the table restore request.
* Possible values include SUCCEEDED
, FAILED
,
* CANCELED
, PENDING
, IN_PROGRESS
.
A value that describes the current state of the table restore request.
* Possible values include SUCCEEDED
, FAILED
,
* CANCELED
, PENDING
, IN_PROGRESS
.
A value that describes the current state of the table restore request.
* Possible values include SUCCEEDED
, FAILED
,
* CANCELED
, PENDING
, IN_PROGRESS
.
A value that describes the current state of the table restore request.
* Possible values include SUCCEEDED
, FAILED
,
* CANCELED
, PENDING
, IN_PROGRESS
.
A value that describes the current state of the table restore request.
* Possible values include SUCCEEDED
, FAILED
,
* CANCELED
, PENDING
, IN_PROGRESS
.
The ID of the RestoreTableFromSnapshot request.
*/ inline const Aws::String& GetTableRestoreRequestId() const{ return m_tableRestoreRequestId; } /** *The ID of the RestoreTableFromSnapshot request.
*/ inline bool TableRestoreRequestIdHasBeenSet() const { return m_tableRestoreRequestIdHasBeenSet; } /** *The ID of the RestoreTableFromSnapshot request.
*/ inline void SetTableRestoreRequestId(const Aws::String& value) { m_tableRestoreRequestIdHasBeenSet = true; m_tableRestoreRequestId = value; } /** *The ID of the RestoreTableFromSnapshot request.
*/ inline void SetTableRestoreRequestId(Aws::String&& value) { m_tableRestoreRequestIdHasBeenSet = true; m_tableRestoreRequestId = std::move(value); } /** *The ID of the RestoreTableFromSnapshot request.
*/ inline void SetTableRestoreRequestId(const char* value) { m_tableRestoreRequestIdHasBeenSet = true; m_tableRestoreRequestId.assign(value); } /** *The ID of the RestoreTableFromSnapshot request.
*/ inline TableRestoreStatus& WithTableRestoreRequestId(const Aws::String& value) { SetTableRestoreRequestId(value); return *this;} /** *The ID of the RestoreTableFromSnapshot request.
*/ inline TableRestoreStatus& WithTableRestoreRequestId(Aws::String&& value) { SetTableRestoreRequestId(std::move(value)); return *this;} /** *The ID of the RestoreTableFromSnapshot request.
*/ inline TableRestoreStatus& WithTableRestoreRequestId(const char* value) { SetTableRestoreRequestId(value); return *this;} /** *The name of the database to restore to.
*/ inline const Aws::String& GetTargetDatabaseName() const{ return m_targetDatabaseName; } /** *The name of the database to restore to.
*/ inline bool TargetDatabaseNameHasBeenSet() const { return m_targetDatabaseNameHasBeenSet; } /** *The name of the database to restore to.
*/ inline void SetTargetDatabaseName(const Aws::String& value) { m_targetDatabaseNameHasBeenSet = true; m_targetDatabaseName = value; } /** *The name of the database to restore to.
*/ inline void SetTargetDatabaseName(Aws::String&& value) { m_targetDatabaseNameHasBeenSet = true; m_targetDatabaseName = std::move(value); } /** *The name of the database to restore to.
*/ inline void SetTargetDatabaseName(const char* value) { m_targetDatabaseNameHasBeenSet = true; m_targetDatabaseName.assign(value); } /** *The name of the database to restore to.
*/ inline TableRestoreStatus& WithTargetDatabaseName(const Aws::String& value) { SetTargetDatabaseName(value); return *this;} /** *The name of the database to restore to.
*/ inline TableRestoreStatus& WithTargetDatabaseName(Aws::String&& value) { SetTargetDatabaseName(std::move(value)); return *this;} /** *The name of the database to restore to.
*/ inline TableRestoreStatus& WithTargetDatabaseName(const char* value) { SetTargetDatabaseName(value); return *this;} /** *The name of the schema to restore to.
*/ inline const Aws::String& GetTargetSchemaName() const{ return m_targetSchemaName; } /** *The name of the schema to restore to.
*/ inline bool TargetSchemaNameHasBeenSet() const { return m_targetSchemaNameHasBeenSet; } /** *The name of the schema to restore to.
*/ inline void SetTargetSchemaName(const Aws::String& value) { m_targetSchemaNameHasBeenSet = true; m_targetSchemaName = value; } /** *The name of the schema to restore to.
*/ inline void SetTargetSchemaName(Aws::String&& value) { m_targetSchemaNameHasBeenSet = true; m_targetSchemaName = std::move(value); } /** *The name of the schema to restore to.
*/ inline void SetTargetSchemaName(const char* value) { m_targetSchemaNameHasBeenSet = true; m_targetSchemaName.assign(value); } /** *The name of the schema to restore to.
*/ inline TableRestoreStatus& WithTargetSchemaName(const Aws::String& value) { SetTargetSchemaName(value); return *this;} /** *The name of the schema to restore to.
*/ inline TableRestoreStatus& WithTargetSchemaName(Aws::String&& value) { SetTargetSchemaName(std::move(value)); return *this;} /** *The name of the schema to restore to.
*/ inline TableRestoreStatus& WithTargetSchemaName(const char* value) { SetTargetSchemaName(value); return *this;} /** *The total amount of data to restore to the new table, in megabytes (MB).
*/ inline long long GetTotalDataInMegaBytes() const{ return m_totalDataInMegaBytes; } /** *The total amount of data to restore to the new table, in megabytes (MB).
*/ inline bool TotalDataInMegaBytesHasBeenSet() const { return m_totalDataInMegaBytesHasBeenSet; } /** *The total amount of data to restore to the new table, in megabytes (MB).
*/ inline void SetTotalDataInMegaBytes(long long value) { m_totalDataInMegaBytesHasBeenSet = true; m_totalDataInMegaBytes = value; } /** *The total amount of data to restore to the new table, in megabytes (MB).
*/ inline TableRestoreStatus& WithTotalDataInMegaBytes(long long value) { SetTotalDataInMegaBytes(value); return *this;} /** *The name of the workgroup being restored from.
*/ inline const Aws::String& GetWorkgroupName() const{ return m_workgroupName; } /** *The name of the workgroup being restored from.
*/ inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; } /** *The name of the workgroup being restored from.
*/ inline void SetWorkgroupName(const Aws::String& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = value; } /** *The name of the workgroup being restored from.
*/ inline void SetWorkgroupName(Aws::String&& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = std::move(value); } /** *The name of the workgroup being restored from.
*/ inline void SetWorkgroupName(const char* value) { m_workgroupNameHasBeenSet = true; m_workgroupName.assign(value); } /** *The name of the workgroup being restored from.
*/ inline TableRestoreStatus& WithWorkgroupName(const Aws::String& value) { SetWorkgroupName(value); return *this;} /** *The name of the workgroup being restored from.
*/ inline TableRestoreStatus& WithWorkgroupName(Aws::String&& value) { SetWorkgroupName(std::move(value)); return *this;} /** *The name of the workgroup being restored from.
*/ inline TableRestoreStatus& WithWorkgroupName(const char* value) { SetWorkgroupName(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::String m_namespaceName; bool m_namespaceNameHasBeenSet = false; Aws::String m_newTableName; bool m_newTableNameHasBeenSet = false; long long m_progressInMegaBytes; bool m_progressInMegaBytesHasBeenSet = false; Aws::Utils::DateTime m_requestTime; bool m_requestTimeHasBeenSet = false; Aws::String m_snapshotName; bool m_snapshotNameHasBeenSet = false; Aws::String m_sourceDatabaseName; bool m_sourceDatabaseNameHasBeenSet = false; Aws::String m_sourceSchemaName; bool m_sourceSchemaNameHasBeenSet = false; Aws::String m_sourceTableName; bool m_sourceTableNameHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_tableRestoreRequestId; bool m_tableRestoreRequestIdHasBeenSet = false; Aws::String m_targetDatabaseName; bool m_targetDatabaseNameHasBeenSet = false; Aws::String m_targetSchemaName; bool m_targetSchemaNameHasBeenSet = false; long long m_totalDataInMegaBytes; bool m_totalDataInMegaBytesHasBeenSet = false; Aws::String m_workgroupName; bool m_workgroupNameHasBeenSet = false; }; } // namespace Model } // namespace RedshiftServerless } // namespace Aws