7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/TableRestoreStatusType.h>
45 template <
typename TableRestoreRequestIdT = Aws::String>
47 m_tableRestoreRequestIdHasBeenSet =
true;
48 m_tableRestoreRequestId = std::forward<TableRestoreRequestIdT>(value);
50 template <
typename TableRestoreRequestIdT = Aws::String>
66 m_statusHasBeenSet =
true;
83 template <
typename MessageT = Aws::String>
85 m_messageHasBeenSet =
true;
86 m_message = std::forward<MessageT>(value);
88 template <
typename MessageT = Aws::String>
102 template <
typename RequestTimeT = Aws::Utils::DateTime>
104 m_requestTimeHasBeenSet =
true;
105 m_requestTime = std::forward<RequestTimeT>(value);
107 template <
typename RequestTimeT = Aws::Utils::DateTime>
121 m_progressInMegaBytesHasBeenSet =
true;
122 m_progressInMegaBytes = value;
137 m_totalDataInMegaBytesHasBeenSet =
true;
138 m_totalDataInMegaBytes = value;
153 template <
typename ClusterIdentifierT = Aws::String>
155 m_clusterIdentifierHasBeenSet =
true;
156 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
158 template <
typename ClusterIdentifierT = Aws::String>
171 template <
typename SnapshotIdentifierT = Aws::String>
173 m_snapshotIdentifierHasBeenSet =
true;
174 m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value);
176 template <
typename SnapshotIdentifierT = Aws::String>
189 template <
typename SourceDatabaseNameT = Aws::String>
191 m_sourceDatabaseNameHasBeenSet =
true;
192 m_sourceDatabaseName = std::forward<SourceDatabaseNameT>(value);
194 template <
typename SourceDatabaseNameT = Aws::String>
207 template <
typename SourceSchemaNameT = Aws::String>
209 m_sourceSchemaNameHasBeenSet =
true;
210 m_sourceSchemaName = std::forward<SourceSchemaNameT>(value);
212 template <
typename SourceSchemaNameT = Aws::String>
225 template <
typename SourceTableNameT = Aws::String>
227 m_sourceTableNameHasBeenSet =
true;
228 m_sourceTableName = std::forward<SourceTableNameT>(value);
230 template <
typename SourceTableNameT = Aws::String>
243 template <
typename TargetDatabaseNameT = Aws::String>
245 m_targetDatabaseNameHasBeenSet =
true;
246 m_targetDatabaseName = std::forward<TargetDatabaseNameT>(value);
248 template <
typename TargetDatabaseNameT = Aws::String>
261 template <
typename TargetSchemaNameT = Aws::String>
263 m_targetSchemaNameHasBeenSet =
true;
264 m_targetSchemaName = std::forward<TargetSchemaNameT>(value);
266 template <
typename TargetSchemaNameT = Aws::String>
279 template <
typename NewTableNameT = Aws::String>
281 m_newTableNameHasBeenSet =
true;
282 m_newTableName = std::forward<NewTableNameT>(value);
284 template <
typename NewTableNameT = Aws::String>
299 long long m_progressInMegaBytes{0};
301 long long m_totalDataInMegaBytes{0};
318 bool m_tableRestoreRequestIdHasBeenSet =
false;
319 bool m_statusHasBeenSet =
false;
320 bool m_messageHasBeenSet =
false;
321 bool m_requestTimeHasBeenSet =
false;
322 bool m_progressInMegaBytesHasBeenSet =
false;
323 bool m_totalDataInMegaBytesHasBeenSet =
false;
324 bool m_clusterIdentifierHasBeenSet =
false;
325 bool m_snapshotIdentifierHasBeenSet =
false;
326 bool m_sourceDatabaseNameHasBeenSet =
false;
327 bool m_sourceSchemaNameHasBeenSet =
false;
328 bool m_sourceTableNameHasBeenSet =
false;
329 bool m_targetDatabaseNameHasBeenSet =
false;
330 bool m_targetSchemaNameHasBeenSet =
false;
331 bool m_newTableNameHasBeenSet =
false;
TableRestoreStatus & WithRequestTime(RequestTimeT &&value)
void SetTotalDataInMegaBytes(long long value)
AWS_REDSHIFT_API TableRestoreStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TableRestoreStatusType GetStatus() const
const Aws::String & GetTableRestoreRequestId() const
void SetSourceDatabaseName(SourceDatabaseNameT &&value)
const Aws::String & GetMessage() const
const Aws::String & GetSourceDatabaseName() const
void SetSnapshotIdentifier(SnapshotIdentifierT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TableRestoreStatus & WithTargetSchemaName(TargetSchemaNameT &&value)
TableRestoreStatus & WithSourceTableName(SourceTableNameT &&value)
TableRestoreStatus & WithMessage(MessageT &&value)
const Aws::String & GetSnapshotIdentifier() const
void SetStatus(TableRestoreStatusType value)
void SetProgressInMegaBytes(long long value)
TableRestoreStatus & WithSourceDatabaseName(SourceDatabaseNameT &&value)
bool ProgressInMegaBytesHasBeenSet() const
TableRestoreStatus & WithTotalDataInMegaBytes(long long value)
TableRestoreStatus & WithNewTableName(NewTableNameT &&value)
const Aws::String & GetTargetDatabaseName() const
TableRestoreStatus & WithClusterIdentifier(ClusterIdentifierT &&value)
bool SourceDatabaseNameHasBeenSet() const
void SetTargetSchemaName(TargetSchemaNameT &&value)
long long GetProgressInMegaBytes() const
void SetSourceTableName(SourceTableNameT &&value)
const Aws::String & GetClusterIdentifier() const
void SetNewTableName(NewTableNameT &&value)
const Aws::String & GetSourceTableName() const
TableRestoreStatus & WithStatus(TableRestoreStatusType value)
bool TargetDatabaseNameHasBeenSet() const
bool SourceSchemaNameHasBeenSet() const
const Aws::Utils::DateTime & GetRequestTime() const
const Aws::String & GetTargetSchemaName() const
bool TableRestoreRequestIdHasBeenSet() const
TableRestoreStatus & WithSourceSchemaName(SourceSchemaNameT &&value)
AWS_REDSHIFT_API TableRestoreStatus()=default
bool NewTableNameHasBeenSet() const
TableRestoreStatus & WithProgressInMegaBytes(long long value)
bool SourceTableNameHasBeenSet() const
bool TotalDataInMegaBytesHasBeenSet() const
bool TargetSchemaNameHasBeenSet() const
const Aws::String & GetSourceSchemaName() const
void SetClusterIdentifier(ClusterIdentifierT &&value)
bool ClusterIdentifierHasBeenSet() const
bool RequestTimeHasBeenSet() const
void SetTargetDatabaseName(TargetDatabaseNameT &&value)
TableRestoreStatus & WithSnapshotIdentifier(SnapshotIdentifierT &&value)
TableRestoreStatus & WithTableRestoreRequestId(TableRestoreRequestIdT &&value)
void SetSourceSchemaName(SourceSchemaNameT &&value)
bool MessageHasBeenSet() const
long long GetTotalDataInMegaBytes() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetMessage(MessageT &&value)
bool StatusHasBeenSet() const
void SetRequestTime(RequestTimeT &&value)
TableRestoreStatus & WithTargetDatabaseName(TargetDatabaseNameT &&value)
AWS_REDSHIFT_API TableRestoreStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetNewTableName() const
void SetTableRestoreRequestId(TableRestoreRequestIdT &&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