7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
44 template <
typename StatusT = Aws::String>
46 m_statusHasBeenSet =
true;
47 m_status = std::forward<StatusT>(value);
49 template <
typename StatusT = Aws::String>
65 m_currentRestoreRateInMegaBytesPerSecondHasBeenSet =
true;
66 m_currentRestoreRateInMegaBytesPerSecond = value;
82 m_snapshotSizeInMegaBytesHasBeenSet =
true;
83 m_snapshotSizeInMegaBytes = value;
99 m_progressInMegaBytesHasBeenSet =
true;
100 m_progressInMegaBytes = value;
117 m_elapsedTimeInSecondsHasBeenSet =
true;
118 m_elapsedTimeInSeconds = value;
135 m_estimatedTimeToCompletionInSecondsHasBeenSet =
true;
136 m_estimatedTimeToCompletionInSeconds = value;
146 double m_currentRestoreRateInMegaBytesPerSecond{0.0};
148 long long m_snapshotSizeInMegaBytes{0};
150 long long m_progressInMegaBytes{0};
152 long long m_elapsedTimeInSeconds{0};
154 long long m_estimatedTimeToCompletionInSeconds{0};
155 bool m_statusHasBeenSet =
false;
156 bool m_currentRestoreRateInMegaBytesPerSecondHasBeenSet =
false;
157 bool m_snapshotSizeInMegaBytesHasBeenSet =
false;
158 bool m_progressInMegaBytesHasBeenSet =
false;
159 bool m_elapsedTimeInSecondsHasBeenSet =
false;
160 bool m_estimatedTimeToCompletionInSecondsHasBeenSet =
false;
RestoreStatus & WithEstimatedTimeToCompletionInSeconds(long long value)
RestoreStatus & WithStatus(StatusT &&value)
void SetStatus(StatusT &&value)
bool EstimatedTimeToCompletionInSecondsHasBeenSet() const
bool StatusHasBeenSet() const
void SetCurrentRestoreRateInMegaBytesPerSecond(double value)
const Aws::String & GetStatus() const
bool ElapsedTimeInSecondsHasBeenSet() const
void SetEstimatedTimeToCompletionInSeconds(long long value)
RestoreStatus & WithProgressInMegaBytes(long long value)
void SetElapsedTimeInSeconds(long long value)
AWS_REDSHIFT_API RestoreStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
double GetCurrentRestoreRateInMegaBytesPerSecond() const
RestoreStatus & WithCurrentRestoreRateInMegaBytesPerSecond(double value)
long long GetEstimatedTimeToCompletionInSeconds() const
long long GetElapsedTimeInSeconds() const
bool CurrentRestoreRateInMegaBytesPerSecondHasBeenSet() const
long long GetSnapshotSizeInMegaBytes() const
long long GetProgressInMegaBytes() const
bool SnapshotSizeInMegaBytesHasBeenSet() const
bool ProgressInMegaBytesHasBeenSet() const
RestoreStatus & WithElapsedTimeInSeconds(long long value)
void SetProgressInMegaBytes(long long value)
void SetSnapshotSizeInMegaBytes(long long value)
RestoreStatus & WithSnapshotSizeInMegaBytes(long long value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_REDSHIFT_API RestoreStatus()=default
AWS_REDSHIFT_API RestoreStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream