7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift/model/TableRestoreStatusType.h>
11#include <aws/core/utils/DateTime.h>
53 inline void SetTableRestoreRequestId(
const char* value) { m_tableRestoreRequestIdHasBeenSet =
true; m_tableRestoreRequestId.assign(value); }
83 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
108 inline void SetProgressInMegaBytes(
long long value) { m_progressInMegaBytesHasBeenSet =
true; m_progressInMegaBytes = value; }
118 inline void SetTotalDataInMegaBytes(
long long value) { m_totalDataInMegaBytesHasBeenSet =
true; m_totalDataInMegaBytes = value; }
131 inline void SetClusterIdentifier(
const char* value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier.assign(value); }
145 inline void SetSnapshotIdentifier(
const char* value) { m_snapshotIdentifierHasBeenSet =
true; m_snapshotIdentifier.assign(value); }
159 inline void SetSourceDatabaseName(
const char* value) { m_sourceDatabaseNameHasBeenSet =
true; m_sourceDatabaseName.assign(value); }
173 inline void SetSourceSchemaName(
const char* value) { m_sourceSchemaNameHasBeenSet =
true; m_sourceSchemaName.assign(value); }
187 inline void SetSourceTableName(
const char* value) { m_sourceTableNameHasBeenSet =
true; m_sourceTableName.assign(value); }
201 inline void SetTargetDatabaseName(
const char* value) { m_targetDatabaseNameHasBeenSet =
true; m_targetDatabaseName.assign(value); }
215 inline void SetTargetSchemaName(
const char* value) { m_targetSchemaNameHasBeenSet =
true; m_targetSchemaName.assign(value); }
229 inline void SetNewTableName(
const char* value) { m_newTableNameHasBeenSet =
true; m_newTableName.assign(value); }
237 bool m_tableRestoreRequestIdHasBeenSet =
false;
240 bool m_statusHasBeenSet =
false;
243 bool m_messageHasBeenSet =
false;
246 bool m_requestTimeHasBeenSet =
false;
248 long long m_progressInMegaBytes;
249 bool m_progressInMegaBytesHasBeenSet =
false;
251 long long m_totalDataInMegaBytes;
252 bool m_totalDataInMegaBytesHasBeenSet =
false;
255 bool m_clusterIdentifierHasBeenSet =
false;
258 bool m_snapshotIdentifierHasBeenSet =
false;
261 bool m_sourceDatabaseNameHasBeenSet =
false;
264 bool m_sourceSchemaNameHasBeenSet =
false;
267 bool m_sourceTableNameHasBeenSet =
false;
270 bool m_targetDatabaseNameHasBeenSet =
false;
273 bool m_targetSchemaNameHasBeenSet =
false;
276 bool m_newTableNameHasBeenSet =
false;
TableRestoreStatus & WithMessage(const char *value)
void SetStatus(TableRestoreStatusType &&value)
void SetTotalDataInMegaBytes(long long value)
AWS_REDSHIFT_API TableRestoreStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TableRestoreStatus & WithNewTableName(Aws::String &&value)
void SetSnapshotIdentifier(const Aws::String &value)
void SetNewTableName(const Aws::String &value)
const Aws::String & GetTableRestoreRequestId() const
const Aws::String & GetMessage() const
const Aws::String & GetSourceDatabaseName() const
TableRestoreStatus & WithClusterIdentifier(const char *value)
void SetTargetDatabaseName(const Aws::String &value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetSnapshotIdentifier() const
TableRestoreStatus & WithTableRestoreRequestId(const Aws::String &value)
void SetProgressInMegaBytes(long long value)
TableRestoreStatus & WithNewTableName(const Aws::String &value)
TableRestoreStatus & WithSnapshotIdentifier(Aws::String &&value)
bool ProgressInMegaBytesHasBeenSet() const
TableRestoreStatus & WithTotalDataInMegaBytes(long long value)
void SetSourceTableName(const Aws::String &value)
const Aws::String & GetTargetDatabaseName() const
void SetClusterIdentifier(const Aws::String &value)
TableRestoreStatus & WithNewTableName(const char *value)
TableRestoreStatus & WithSourceTableName(const Aws::String &value)
void SetNewTableName(Aws::String &&value)
void SetRequestTime(Aws::Utils::DateTime &&value)
void SetNewTableName(const char *value)
TableRestoreStatus & WithSourceSchemaName(const Aws::String &value)
void SetSourceTableName(Aws::String &&value)
bool SourceDatabaseNameHasBeenSet() const
void SetSourceSchemaName(const Aws::String &value)
long long GetProgressInMegaBytes() const
const Aws::String & GetClusterIdentifier() const
TableRestoreStatus & WithClusterIdentifier(Aws::String &&value)
TableRestoreStatus & WithStatus(const TableRestoreStatusType &value)
void SetTargetSchemaName(Aws::String &&value)
void SetSourceDatabaseName(const char *value)
TableRestoreStatus & WithSourceSchemaName(const char *value)
void SetClusterIdentifier(Aws::String &&value)
TableRestoreStatus & WithTargetDatabaseName(const Aws::String &value)
const Aws::String & GetSourceTableName() const
TableRestoreStatus & WithTargetSchemaName(const Aws::String &value)
void SetClusterIdentifier(const char *value)
void SetTargetSchemaName(const Aws::String &value)
bool TargetDatabaseNameHasBeenSet() const
bool SourceSchemaNameHasBeenSet() const
void SetSourceDatabaseName(Aws::String &&value)
void SetTargetSchemaName(const char *value)
const Aws::Utils::DateTime & GetRequestTime() const
const TableRestoreStatusType & GetStatus() const
TableRestoreStatus & WithMessage(const Aws::String &value)
void SetSourceSchemaName(Aws::String &&value)
const Aws::String & GetTargetSchemaName() const
bool TableRestoreRequestIdHasBeenSet() const
TableRestoreStatus & WithSourceTableName(Aws::String &&value)
TableRestoreStatus & WithTargetDatabaseName(const char *value)
void SetSourceTableName(const char *value)
TableRestoreStatus & WithClusterIdentifier(const Aws::String &value)
bool NewTableNameHasBeenSet() const
TableRestoreStatus & WithTableRestoreRequestId(const char *value)
AWS_REDSHIFT_API TableRestoreStatus()
void SetTableRestoreRequestId(Aws::String &&value)
TableRestoreStatus & WithProgressInMegaBytes(long long value)
bool SourceTableNameHasBeenSet() const
void SetSnapshotIdentifier(Aws::String &&value)
bool TotalDataInMegaBytesHasBeenSet() const
TableRestoreStatus & WithStatus(TableRestoreStatusType &&value)
bool TargetSchemaNameHasBeenSet() const
TableRestoreStatus & WithMessage(Aws::String &&value)
TableRestoreStatus & WithSourceSchemaName(Aws::String &&value)
const Aws::String & GetSourceSchemaName() const
TableRestoreStatus & WithSourceTableName(const char *value)
void SetTargetDatabaseName(Aws::String &&value)
void SetMessage(const char *value)
bool ClusterIdentifierHasBeenSet() const
void SetSourceSchemaName(const char *value)
bool RequestTimeHasBeenSet() const
TableRestoreStatus & WithTargetSchemaName(Aws::String &&value)
void SetTableRestoreRequestId(const char *value)
void SetSnapshotIdentifier(const char *value)
void SetTableRestoreRequestId(const Aws::String &value)
TableRestoreStatus & WithTargetDatabaseName(Aws::String &&value)
void SetStatus(const TableRestoreStatusType &value)
TableRestoreStatus & WithSourceDatabaseName(const char *value)
TableRestoreStatus & WithSourceDatabaseName(const Aws::String &value)
TableRestoreStatus & WithRequestTime(Aws::Utils::DateTime &&value)
bool MessageHasBeenSet() const
TableRestoreStatus & WithSnapshotIdentifier(const char *value)
long long GetTotalDataInMegaBytes() const
TableRestoreStatus & WithTableRestoreRequestId(Aws::String &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetSourceDatabaseName(const Aws::String &value)
TableRestoreStatus & WithRequestTime(const Aws::Utils::DateTime &value)
void SetRequestTime(const Aws::Utils::DateTime &value)
TableRestoreStatus & WithSnapshotIdentifier(const Aws::String &value)
bool StatusHasBeenSet() const
void SetTargetDatabaseName(const char *value)
TableRestoreStatus & WithTargetSchemaName(const char *value)
AWS_REDSHIFT_API TableRestoreStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMessage(Aws::String &&value)
const Aws::String & GetNewTableName() const
TableRestoreStatus & WithSourceDatabaseName(Aws::String &&value)
void SetMessage(const Aws::String &value)
bool SnapshotIdentifierHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream