7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
22namespace RedshiftServerless
52 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
66 inline void SetNamespaceName(
const char* value) { m_namespaceNameHasBeenSet =
true; m_namespaceName.assign(value); }
80 inline void SetNewTableName(
const char* value) { m_newTableNameHasBeenSet =
true; m_newTableName.assign(value); }
92 inline void SetProgressInMegaBytes(
long long value) { m_progressInMegaBytesHasBeenSet =
true; m_progressInMegaBytes = value; }
104 inline void SetRecoveryPointId(
const char* value) { m_recoveryPointIdHasBeenSet =
true; m_recoveryPointId.assign(value); }
131 inline void SetSnapshotName(
const char* value) { m_snapshotNameHasBeenSet =
true; m_snapshotName.assign(value); }
145 inline void SetSourceDatabaseName(
const char* value) { m_sourceDatabaseNameHasBeenSet =
true; m_sourceDatabaseName.assign(value); }
159 inline void SetSourceSchemaName(
const char* value) { m_sourceSchemaNameHasBeenSet =
true; m_sourceSchemaName.assign(value); }
173 inline void SetSourceTableName(
const char* value) { m_sourceTableNameHasBeenSet =
true; m_sourceTableName.assign(value); }
189 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
203 inline void SetTableRestoreRequestId(
const char* value) { m_tableRestoreRequestIdHasBeenSet =
true; m_tableRestoreRequestId.assign(value); }
217 inline void SetTargetDatabaseName(
const char* value) { m_targetDatabaseNameHasBeenSet =
true; m_targetDatabaseName.assign(value); }
231 inline void SetTargetSchemaName(
const char* value) { m_targetSchemaNameHasBeenSet =
true; m_targetSchemaName.assign(value); }
243 inline void SetTotalDataInMegaBytes(
long long value) { m_totalDataInMegaBytesHasBeenSet =
true; m_totalDataInMegaBytes = value; }
255 inline void SetWorkgroupName(
const char* value) { m_workgroupNameHasBeenSet =
true; m_workgroupName.assign(value); }
263 bool m_messageHasBeenSet =
false;
266 bool m_namespaceNameHasBeenSet =
false;
269 bool m_newTableNameHasBeenSet =
false;
271 long long m_progressInMegaBytes;
272 bool m_progressInMegaBytesHasBeenSet =
false;
275 bool m_recoveryPointIdHasBeenSet =
false;
278 bool m_requestTimeHasBeenSet =
false;
281 bool m_snapshotNameHasBeenSet =
false;
284 bool m_sourceDatabaseNameHasBeenSet =
false;
287 bool m_sourceSchemaNameHasBeenSet =
false;
290 bool m_sourceTableNameHasBeenSet =
false;
293 bool m_statusHasBeenSet =
false;
296 bool m_tableRestoreRequestIdHasBeenSet =
false;
299 bool m_targetDatabaseNameHasBeenSet =
false;
302 bool m_targetSchemaNameHasBeenSet =
false;
304 long long m_totalDataInMegaBytes;
305 bool m_totalDataInMegaBytesHasBeenSet =
false;
308 bool m_workgroupNameHasBeenSet =
false;
bool SnapshotNameHasBeenSet() const
TableRestoreStatus & WithStatus(const char *value)
TableRestoreStatus & WithWorkgroupName(const char *value)
TableRestoreStatus & WithSnapshotName(const Aws::String &value)
void SetSourceSchemaName(const char *value)
void SetMessage(const char *value)
bool TotalDataInMegaBytesHasBeenSet() const
bool StatusHasBeenSet() const
void SetSnapshotName(const char *value)
bool MessageHasBeenSet() const
bool TargetSchemaNameHasBeenSet() const
void SetNamespaceName(const Aws::String &value)
TableRestoreStatus & WithTargetDatabaseName(Aws::String &&value)
void SetTableRestoreRequestId(const Aws::String &value)
void SetStatus(const char *value)
const Aws::String & GetSourceSchemaName() const
TableRestoreStatus & WithWorkgroupName(const Aws::String &value)
void SetWorkgroupName(const Aws::String &value)
void SetProgressInMegaBytes(long long value)
AWS_REDSHIFTSERVERLESS_API TableRestoreStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SourceSchemaNameHasBeenSet() const
const Aws::String & GetSourceTableName() const
void SetTargetDatabaseName(const Aws::String &value)
void SetNamespaceName(const char *value)
TableRestoreStatus & WithTargetSchemaName(const Aws::String &value)
TableRestoreStatus & WithNamespaceName(const Aws::String &value)
void SetWorkgroupName(const char *value)
const Aws::String & GetRecoveryPointId() const
bool TargetDatabaseNameHasBeenSet() const
TableRestoreStatus & WithSnapshotName(const char *value)
void SetRecoveryPointId(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API TableRestoreStatus(Aws::Utils::Json::JsonView jsonValue)
TableRestoreStatus & WithNamespaceName(Aws::String &&value)
void SetSourceSchemaName(const Aws::String &value)
void SetStatus(Aws::String &&value)
const Aws::String & GetWorkgroupName() const
const Aws::String & GetStatus() const
const Aws::String & GetTableRestoreRequestId() const
void SetNewTableName(const Aws::String &value)
TableRestoreStatus & WithMessage(const Aws::String &value)
void SetTotalDataInMegaBytes(long long value)
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTableRestoreRequestId(Aws::String &&value)
void SetNewTableName(Aws::String &&value)
TableRestoreStatus & WithRecoveryPointId(const char *value)
TableRestoreStatus & WithTargetDatabaseName(const char *value)
bool RecoveryPointIdHasBeenSet() const
void SetRecoveryPointId(const char *value)
bool RequestTimeHasBeenSet() const
bool WorkgroupNameHasBeenSet() const
TableRestoreStatus & WithStatus(Aws::String &&value)
bool TableRestoreRequestIdHasBeenSet() const
TableRestoreStatus & WithStatus(const Aws::String &value)
void SetSnapshotName(const Aws::String &value)
void SetTargetSchemaName(const Aws::String &value)
void SetSourceDatabaseName(const char *value)
TableRestoreStatus & WithWorkgroupName(Aws::String &&value)
TableRestoreStatus & WithProgressInMegaBytes(long long value)
void SetSourceDatabaseName(Aws::String &&value)
long long GetTotalDataInMegaBytes() const
bool SourceTableNameHasBeenSet() const
bool ProgressInMegaBytesHasBeenSet() const
TableRestoreStatus & WithSourceSchemaName(const char *value)
AWS_REDSHIFTSERVERLESS_API TableRestoreStatus()
bool NamespaceNameHasBeenSet() const
TableRestoreStatus & WithTargetSchemaName(Aws::String &&value)
TableRestoreStatus & WithSourceDatabaseName(Aws::String &&value)
TableRestoreStatus & WithTotalDataInMegaBytes(long long value)
void SetNamespaceName(Aws::String &&value)
long long GetProgressInMegaBytes() const
void SetTargetSchemaName(Aws::String &&value)
TableRestoreStatus & WithSourceDatabaseName(const Aws::String &value)
void SetSourceSchemaName(Aws::String &&value)
TableRestoreStatus & WithTableRestoreRequestId(const char *value)
TableRestoreStatus & WithSourceSchemaName(const Aws::String &value)
const Aws::String & GetTargetSchemaName() const
TableRestoreStatus & WithMessage(const char *value)
void SetRequestTime(const Aws::Utils::DateTime &value)
TableRestoreStatus & WithTableRestoreRequestId(Aws::String &&value)
void SetTargetDatabaseName(Aws::String &&value)
TableRestoreStatus & WithSourceSchemaName(Aws::String &&value)
const Aws::String & GetNewTableName() const
TableRestoreStatus & WithNamespaceName(const char *value)
const Aws::String & GetSnapshotName() const
void SetTargetSchemaName(const char *value)
TableRestoreStatus & WithRequestTime(Aws::Utils::DateTime &&value)
TableRestoreStatus & WithSourceDatabaseName(const char *value)
void SetSourceTableName(Aws::String &&value)
void SetSourceTableName(const Aws::String &value)
void SetRecoveryPointId(const Aws::String &value)
TableRestoreStatus & WithRecoveryPointId(const Aws::String &value)
void SetSourceTableName(const char *value)
void SetTableRestoreRequestId(const char *value)
TableRestoreStatus & WithRequestTime(const Aws::Utils::DateTime &value)
const Aws::String & GetSourceDatabaseName() const
const Aws::String & GetNamespaceName() const
TableRestoreStatus & WithRecoveryPointId(Aws::String &&value)
void SetNewTableName(const char *value)
TableRestoreStatus & WithNewTableName(const char *value)
TableRestoreStatus & WithTargetSchemaName(const char *value)
const Aws::String & GetTargetDatabaseName() const
void SetTargetDatabaseName(const char *value)
void SetMessage(Aws::String &&value)
TableRestoreStatus & WithTableRestoreRequestId(const Aws::String &value)
TableRestoreStatus & WithSourceTableName(const Aws::String &value)
TableRestoreStatus & WithSourceTableName(Aws::String &&value)
void SetRequestTime(Aws::Utils::DateTime &&value)
bool NewTableNameHasBeenSet() const
void SetMessage(const Aws::String &value)
TableRestoreStatus & WithSourceTableName(const char *value)
void SetStatus(const Aws::String &value)
const Aws::String & GetMessage() const
const Aws::Utils::DateTime & GetRequestTime() const
TableRestoreStatus & WithNewTableName(Aws::String &&value)
TableRestoreStatus & WithSnapshotName(Aws::String &&value)
TableRestoreStatus & WithMessage(Aws::String &&value)
TableRestoreStatus & WithTargetDatabaseName(const Aws::String &value)
void SetSourceDatabaseName(const Aws::String &value)
void SetWorkgroupName(Aws::String &&value)
bool SourceDatabaseNameHasBeenSet() const
void SetSnapshotName(Aws::String &&value)
TableRestoreStatus & WithNewTableName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue