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>
52 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
77 inline void SetSnapshotSizeInMegaBytes(
long long value) { m_snapshotSizeInMegaBytesHasBeenSet =
true; m_snapshotSizeInMegaBytes = value; }
88 inline void SetProgressInMegaBytes(
long long value) { m_progressInMegaBytesHasBeenSet =
true; m_progressInMegaBytes = value; }
100 inline void SetElapsedTimeInSeconds(
long long value) { m_elapsedTimeInSecondsHasBeenSet =
true; m_elapsedTimeInSeconds = value; }
118 bool m_statusHasBeenSet =
false;
120 double m_currentRestoreRateInMegaBytesPerSecond;
121 bool m_currentRestoreRateInMegaBytesPerSecondHasBeenSet =
false;
123 long long m_snapshotSizeInMegaBytes;
124 bool m_snapshotSizeInMegaBytesHasBeenSet =
false;
126 long long m_progressInMegaBytes;
127 bool m_progressInMegaBytesHasBeenSet =
false;
129 long long m_elapsedTimeInSeconds;
130 bool m_elapsedTimeInSecondsHasBeenSet =
false;
132 long long m_estimatedTimeToCompletionInSeconds;
133 bool m_estimatedTimeToCompletionInSecondsHasBeenSet =
false;
AWS_REDSHIFT_API RestoreStatus()
RestoreStatus & WithEstimatedTimeToCompletionInSeconds(long long value)
RestoreStatus & WithStatus(Aws::String &&value)
bool EstimatedTimeToCompletionInSecondsHasBeenSet() const
void SetStatus(const Aws::String &value)
bool StatusHasBeenSet() const
void SetCurrentRestoreRateInMegaBytesPerSecond(double value)
const Aws::String & GetStatus() const
void SetStatus(Aws::String &&value)
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)
RestoreStatus & WithStatus(const Aws::String &value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
RestoreStatus & WithStatus(const char *value)
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
void SetStatus(const char *value)
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(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