7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
61 inline void SetElapsedTimeInSeconds(
long long value) { m_elapsedTimeInSecondsHasBeenSet =
true; m_elapsedTimeInSeconds = value; }
84 inline void SetProgressInMegaBytes(
long long value) { m_progressInMegaBytesHasBeenSet =
true; m_progressInMegaBytes = value; }
96 inline void SetSnapshotSizeInMegaBytes(
long long value) { m_snapshotSizeInMegaBytesHasBeenSet =
true; m_snapshotSizeInMegaBytes = value; }
107 template<
typename StatusT = Aws::String>
108 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
109 template<
typename StatusT = Aws::String>
114 double m_currentRestoreRateInMegaBytesPerSecond{0.0};
115 bool m_currentRestoreRateInMegaBytesPerSecondHasBeenSet =
false;
117 long long m_elapsedTimeInSeconds{0};
118 bool m_elapsedTimeInSecondsHasBeenSet =
false;
120 long long m_estimatedTimeToCompletionInSeconds{0};
121 bool m_estimatedTimeToCompletionInSecondsHasBeenSet =
false;
123 long long m_progressInMegaBytes{0};
124 bool m_progressInMegaBytesHasBeenSet =
false;
126 long long m_snapshotSizeInMegaBytes{0};
127 bool m_snapshotSizeInMegaBytesHasBeenSet =
false;
130 bool m_statusHasBeenSet =
false;
long long GetProgressInMegaBytes() const
AWS_SECURITYHUB_API AwsRedshiftClusterRestoreStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsRedshiftClusterRestoreStatus(Aws::Utils::Json::JsonView jsonValue)
AwsRedshiftClusterRestoreStatus & WithSnapshotSizeInMegaBytes(long long value)
void SetEstimatedTimeToCompletionInSeconds(long long value)
AwsRedshiftClusterRestoreStatus & WithStatus(StatusT &&value)
const Aws::String & GetStatus() const
bool EstimatedTimeToCompletionInSecondsHasBeenSet() const
bool CurrentRestoreRateInMegaBytesPerSecondHasBeenSet() const
long long GetElapsedTimeInSeconds() const
void SetElapsedTimeInSeconds(long long value)
bool ProgressInMegaBytesHasBeenSet() const
long long GetSnapshotSizeInMegaBytes() const
double GetCurrentRestoreRateInMegaBytesPerSecond() const
long long GetEstimatedTimeToCompletionInSeconds() const
void SetStatus(StatusT &&value)
bool StatusHasBeenSet() const
AwsRedshiftClusterRestoreStatus & WithEstimatedTimeToCompletionInSeconds(long long value)
AwsRedshiftClusterRestoreStatus & WithProgressInMegaBytes(long long value)
bool ElapsedTimeInSecondsHasBeenSet() const
void SetProgressInMegaBytes(long long value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool SnapshotSizeInMegaBytesHasBeenSet() const
void SetCurrentRestoreRateInMegaBytesPerSecond(double value)
void SetSnapshotSizeInMegaBytes(long long value)
AWS_SECURITYHUB_API AwsRedshiftClusterRestoreStatus()=default
AwsRedshiftClusterRestoreStatus & WithCurrentRestoreRateInMegaBytesPerSecond(double value)
AwsRedshiftClusterRestoreStatus & WithElapsedTimeInSeconds(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue