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
50 template<
typename MessageT = Aws::String>
51 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
52 template<
typename MessageT = Aws::String>
62 template<
typename NamespaceNameT = Aws::String>
63 void SetNamespaceName(NamespaceNameT&& value) { m_namespaceNameHasBeenSet =
true; m_namespaceName = std::forward<NamespaceNameT>(value); }
64 template<
typename NamespaceNameT = Aws::String>
74 template<
typename NewTableNameT = Aws::String>
75 void SetNewTableName(NewTableNameT&& value) { m_newTableNameHasBeenSet =
true; m_newTableName = std::forward<NewTableNameT>(value); }
76 template<
typename NewTableNameT = Aws::String>
86 inline void SetProgressInMegaBytes(
long long value) { m_progressInMegaBytesHasBeenSet =
true; m_progressInMegaBytes = value; }
96 template<
typename RecoveryPo
intIdT = Aws::String>
97 void SetRecoveryPointId(RecoveryPointIdT&& value) { m_recoveryPointIdHasBeenSet =
true; m_recoveryPointId = std::forward<RecoveryPointIdT>(value); }
98 template<
typename RecoveryPo
intIdT = Aws::String>
109 template<
typename RequestTimeT = Aws::Utils::DateTime>
110 void SetRequestTime(RequestTimeT&& value) { m_requestTimeHasBeenSet =
true; m_requestTime = std::forward<RequestTimeT>(value); }
111 template<
typename RequestTimeT = Aws::Utils::DateTime>
121 template<
typename SnapshotNameT = Aws::String>
122 void SetSnapshotName(SnapshotNameT&& value) { m_snapshotNameHasBeenSet =
true; m_snapshotName = std::forward<SnapshotNameT>(value); }
123 template<
typename SnapshotNameT = Aws::String>
133 template<
typename SourceDatabaseNameT = Aws::String>
134 void SetSourceDatabaseName(SourceDatabaseNameT&& value) { m_sourceDatabaseNameHasBeenSet =
true; m_sourceDatabaseName = std::forward<SourceDatabaseNameT>(value); }
135 template<
typename SourceDatabaseNameT = Aws::String>
145 template<
typename SourceSchemaNameT = Aws::String>
146 void SetSourceSchemaName(SourceSchemaNameT&& value) { m_sourceSchemaNameHasBeenSet =
true; m_sourceSchemaName = std::forward<SourceSchemaNameT>(value); }
147 template<
typename SourceSchemaNameT = Aws::String>
157 template<
typename SourceTableNameT = Aws::String>
158 void SetSourceTableName(SourceTableNameT&& value) { m_sourceTableNameHasBeenSet =
true; m_sourceTableName = std::forward<SourceTableNameT>(value); }
159 template<
typename SourceTableNameT = Aws::String>
171 template<
typename StatusT = Aws::String>
172 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
173 template<
typename StatusT = Aws::String>
183 template<
typename TableRestoreRequestIdT = Aws::String>
184 void SetTableRestoreRequestId(TableRestoreRequestIdT&& value) { m_tableRestoreRequestIdHasBeenSet =
true; m_tableRestoreRequestId = std::forward<TableRestoreRequestIdT>(value); }
185 template<
typename TableRestoreRequestIdT = Aws::String>
195 template<
typename TargetDatabaseNameT = Aws::String>
196 void SetTargetDatabaseName(TargetDatabaseNameT&& value) { m_targetDatabaseNameHasBeenSet =
true; m_targetDatabaseName = std::forward<TargetDatabaseNameT>(value); }
197 template<
typename TargetDatabaseNameT = Aws::String>
207 template<
typename TargetSchemaNameT = Aws::String>
208 void SetTargetSchemaName(TargetSchemaNameT&& value) { m_targetSchemaNameHasBeenSet =
true; m_targetSchemaName = std::forward<TargetSchemaNameT>(value); }
209 template<
typename TargetSchemaNameT = Aws::String>
219 inline void SetTotalDataInMegaBytes(
long long value) { m_totalDataInMegaBytesHasBeenSet =
true; m_totalDataInMegaBytes = value; }
229 template<
typename WorkgroupNameT = Aws::String>
230 void SetWorkgroupName(WorkgroupNameT&& value) { m_workgroupNameHasBeenSet =
true; m_workgroupName = std::forward<WorkgroupNameT>(value); }
231 template<
typename WorkgroupNameT = Aws::String>
237 bool m_messageHasBeenSet =
false;
240 bool m_namespaceNameHasBeenSet =
false;
243 bool m_newTableNameHasBeenSet =
false;
245 long long m_progressInMegaBytes{0};
246 bool m_progressInMegaBytesHasBeenSet =
false;
249 bool m_recoveryPointIdHasBeenSet =
false;
252 bool m_requestTimeHasBeenSet =
false;
255 bool m_snapshotNameHasBeenSet =
false;
258 bool m_sourceDatabaseNameHasBeenSet =
false;
261 bool m_sourceSchemaNameHasBeenSet =
false;
264 bool m_sourceTableNameHasBeenSet =
false;
267 bool m_statusHasBeenSet =
false;
270 bool m_tableRestoreRequestIdHasBeenSet =
false;
273 bool m_targetDatabaseNameHasBeenSet =
false;
276 bool m_targetSchemaNameHasBeenSet =
false;
278 long long m_totalDataInMegaBytes{0};
279 bool m_totalDataInMegaBytesHasBeenSet =
false;
282 bool m_workgroupNameHasBeenSet =
false;
bool SnapshotNameHasBeenSet() const
TableRestoreStatus & WithWorkgroupName(WorkgroupNameT &&value)
bool TotalDataInMegaBytesHasBeenSet() const
bool StatusHasBeenSet() const
void SetTableRestoreRequestId(TableRestoreRequestIdT &&value)
bool MessageHasBeenSet() const
bool TargetSchemaNameHasBeenSet() const
void SetSourceDatabaseName(SourceDatabaseNameT &&value)
TableRestoreStatus & WithRecoveryPointId(RecoveryPointIdT &&value)
void SetTargetDatabaseName(TargetDatabaseNameT &&value)
void SetNewTableName(NewTableNameT &&value)
void SetTargetSchemaName(TargetSchemaNameT &&value)
void SetStatus(StatusT &&value)
TableRestoreStatus & WithTargetDatabaseName(TargetDatabaseNameT &&value)
const Aws::String & GetSourceSchemaName() const
void SetProgressInMegaBytes(long long value)
AWS_REDSHIFTSERVERLESS_API TableRestoreStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
TableRestoreStatus & WithRequestTime(RequestTimeT &&value)
bool SourceSchemaNameHasBeenSet() const
void SetWorkgroupName(WorkgroupNameT &&value)
const Aws::String & GetSourceTableName() const
const Aws::String & GetRecoveryPointId() const
bool TargetDatabaseNameHasBeenSet() const
TableRestoreStatus & WithSourceTableName(SourceTableNameT &&value)
AWS_REDSHIFTSERVERLESS_API TableRestoreStatus(Aws::Utils::Json::JsonView jsonValue)
TableRestoreStatus & WithTargetSchemaName(TargetSchemaNameT &&value)
const Aws::String & GetWorkgroupName() const
const Aws::String & GetStatus() const
TableRestoreStatus & WithMessage(MessageT &&value)
const Aws::String & GetTableRestoreRequestId() const
TableRestoreStatus & WithTableRestoreRequestId(TableRestoreRequestIdT &&value)
void SetTotalDataInMegaBytes(long long value)
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
TableRestoreStatus & WithSnapshotName(SnapshotNameT &&value)
TableRestoreStatus & WithSourceDatabaseName(SourceDatabaseNameT &&value)
void SetMessage(MessageT &&value)
bool RecoveryPointIdHasBeenSet() const
bool RequestTimeHasBeenSet() const
TableRestoreStatus & WithNewTableName(NewTableNameT &&value)
bool WorkgroupNameHasBeenSet() const
bool TableRestoreRequestIdHasBeenSet() const
TableRestoreStatus & WithProgressInMegaBytes(long long value)
long long GetTotalDataInMegaBytes() const
bool SourceTableNameHasBeenSet() const
bool ProgressInMegaBytesHasBeenSet() const
void SetRecoveryPointId(RecoveryPointIdT &&value)
bool NamespaceNameHasBeenSet() const
TableRestoreStatus & WithTotalDataInMegaBytes(long long value)
long long GetProgressInMegaBytes() const
void SetSourceSchemaName(SourceSchemaNameT &&value)
TableRestoreStatus & WithNamespaceName(NamespaceNameT &&value)
TableRestoreStatus & WithStatus(StatusT &&value)
const Aws::String & GetTargetSchemaName() const
const Aws::String & GetNewTableName() const
const Aws::String & GetSnapshotName() const
void SetSnapshotName(SnapshotNameT &&value)
const Aws::String & GetSourceDatabaseName() const
TableRestoreStatus & WithSourceSchemaName(SourceSchemaNameT &&value)
const Aws::String & GetNamespaceName() const
const Aws::String & GetTargetDatabaseName() const
void SetRequestTime(RequestTimeT &&value)
void SetSourceTableName(SourceTableNameT &&value)
void SetNamespaceName(NamespaceNameT &&value)
bool NewTableNameHasBeenSet() const
const Aws::String & GetMessage() const
const Aws::Utils::DateTime & GetRequestTime() const
bool SourceDatabaseNameHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API TableRestoreStatus()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue