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>
51 template<
typename TableRestoreRequestIdT = Aws::String>
52 void SetTableRestoreRequestId(TableRestoreRequestIdT&& value) { m_tableRestoreRequestIdHasBeenSet =
true; m_tableRestoreRequestId = std::forward<TableRestoreRequestIdT>(value); }
53 template<
typename TableRestoreRequestIdT = Aws::String>
77 template<
typename MessageT = Aws::String>
78 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
79 template<
typename MessageT = Aws::String>
90 template<
typename RequestTimeT = Aws::Utils::DateTime>
91 void SetRequestTime(RequestTimeT&& value) { m_requestTimeHasBeenSet =
true; m_requestTime = std::forward<RequestTimeT>(value); }
92 template<
typename RequestTimeT = Aws::Utils::DateTime>
102 inline void SetProgressInMegaBytes(
long long value) { m_progressInMegaBytesHasBeenSet =
true; m_progressInMegaBytes = value; }
112 inline void SetTotalDataInMegaBytes(
long long value) { m_totalDataInMegaBytesHasBeenSet =
true; m_totalDataInMegaBytes = value; }
123 template<
typename ClusterIdentifierT = Aws::String>
124 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
125 template<
typename ClusterIdentifierT = Aws::String>
135 template<
typename SnapshotIdentifierT = Aws::String>
136 void SetSnapshotIdentifier(SnapshotIdentifierT&& value) { m_snapshotIdentifierHasBeenSet =
true; m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value); }
137 template<
typename SnapshotIdentifierT = Aws::String>
147 template<
typename SourceDatabaseNameT = Aws::String>
148 void SetSourceDatabaseName(SourceDatabaseNameT&& value) { m_sourceDatabaseNameHasBeenSet =
true; m_sourceDatabaseName = std::forward<SourceDatabaseNameT>(value); }
149 template<
typename SourceDatabaseNameT = Aws::String>
159 template<
typename SourceSchemaNameT = Aws::String>
160 void SetSourceSchemaName(SourceSchemaNameT&& value) { m_sourceSchemaNameHasBeenSet =
true; m_sourceSchemaName = std::forward<SourceSchemaNameT>(value); }
161 template<
typename SourceSchemaNameT = Aws::String>
171 template<
typename SourceTableNameT = Aws::String>
172 void SetSourceTableName(SourceTableNameT&& value) { m_sourceTableNameHasBeenSet =
true; m_sourceTableName = std::forward<SourceTableNameT>(value); }
173 template<
typename SourceTableNameT = Aws::String>
183 template<
typename TargetDatabaseNameT = Aws::String>
184 void SetTargetDatabaseName(TargetDatabaseNameT&& value) { m_targetDatabaseNameHasBeenSet =
true; m_targetDatabaseName = std::forward<TargetDatabaseNameT>(value); }
185 template<
typename TargetDatabaseNameT = Aws::String>
195 template<
typename TargetSchemaNameT = Aws::String>
196 void SetTargetSchemaName(TargetSchemaNameT&& value) { m_targetSchemaNameHasBeenSet =
true; m_targetSchemaName = std::forward<TargetSchemaNameT>(value); }
197 template<
typename TargetSchemaNameT = Aws::String>
207 template<
typename NewTableNameT = Aws::String>
208 void SetNewTableName(NewTableNameT&& value) { m_newTableNameHasBeenSet =
true; m_newTableName = std::forward<NewTableNameT>(value); }
209 template<
typename NewTableNameT = Aws::String>
215 bool m_tableRestoreRequestIdHasBeenSet =
false;
218 bool m_statusHasBeenSet =
false;
221 bool m_messageHasBeenSet =
false;
224 bool m_requestTimeHasBeenSet =
false;
226 long long m_progressInMegaBytes{0};
227 bool m_progressInMegaBytesHasBeenSet =
false;
229 long long m_totalDataInMegaBytes{0};
230 bool m_totalDataInMegaBytesHasBeenSet =
false;
233 bool m_clusterIdentifierHasBeenSet =
false;
236 bool m_snapshotIdentifierHasBeenSet =
false;
239 bool m_sourceDatabaseNameHasBeenSet =
false;
242 bool m_sourceSchemaNameHasBeenSet =
false;
245 bool m_sourceTableNameHasBeenSet =
false;
248 bool m_targetDatabaseNameHasBeenSet =
false;
251 bool m_targetSchemaNameHasBeenSet =
false;
254 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