/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the status of a cluster restore action. It only applies if
* the cluster was created by restoring a snapshot.See Also:
AWS
* API Reference
The number of megabytes per second being transferred from the backup storage. * Returns the average rate for a completed backup.
This field is only * updated when you restore to DC2 and DS2 node types.
*/ inline double GetCurrentRestoreRateInMegaBytesPerSecond() const{ return m_currentRestoreRateInMegaBytesPerSecond; } /** *The number of megabytes per second being transferred from the backup storage. * Returns the average rate for a completed backup.
This field is only * updated when you restore to DC2 and DS2 node types.
*/ inline bool CurrentRestoreRateInMegaBytesPerSecondHasBeenSet() const { return m_currentRestoreRateInMegaBytesPerSecondHasBeenSet; } /** *The number of megabytes per second being transferred from the backup storage. * Returns the average rate for a completed backup.
This field is only * updated when you restore to DC2 and DS2 node types.
*/ inline void SetCurrentRestoreRateInMegaBytesPerSecond(double value) { m_currentRestoreRateInMegaBytesPerSecondHasBeenSet = true; m_currentRestoreRateInMegaBytesPerSecond = value; } /** *The number of megabytes per second being transferred from the backup storage. * Returns the average rate for a completed backup.
This field is only * updated when you restore to DC2 and DS2 node types.
*/ inline AwsRedshiftClusterRestoreStatus& WithCurrentRestoreRateInMegaBytesPerSecond(double value) { SetCurrentRestoreRateInMegaBytesPerSecond(value); return *this;} /** *The amount of time an in-progress restore has been running, or the amount of * time it took a completed restore to finish.
This field is only updated * when you restore to DC2 and DS2 node types.
*/ inline long long GetElapsedTimeInSeconds() const{ return m_elapsedTimeInSeconds; } /** *The amount of time an in-progress restore has been running, or the amount of * time it took a completed restore to finish.
This field is only updated * when you restore to DC2 and DS2 node types.
*/ inline bool ElapsedTimeInSecondsHasBeenSet() const { return m_elapsedTimeInSecondsHasBeenSet; } /** *The amount of time an in-progress restore has been running, or the amount of * time it took a completed restore to finish.
This field is only updated * when you restore to DC2 and DS2 node types.
*/ inline void SetElapsedTimeInSeconds(long long value) { m_elapsedTimeInSecondsHasBeenSet = true; m_elapsedTimeInSeconds = value; } /** *The amount of time an in-progress restore has been running, or the amount of * time it took a completed restore to finish.
This field is only updated * when you restore to DC2 and DS2 node types.
*/ inline AwsRedshiftClusterRestoreStatus& WithElapsedTimeInSeconds(long long value) { SetElapsedTimeInSeconds(value); return *this;} /** *The estimate of the time remaining before the restore is complete. Returns 0 * for a completed restore.
This field is only updated when you restore to * DC2 and DS2 node types.
*/ inline long long GetEstimatedTimeToCompletionInSeconds() const{ return m_estimatedTimeToCompletionInSeconds; } /** *The estimate of the time remaining before the restore is complete. Returns 0 * for a completed restore.
This field is only updated when you restore to * DC2 and DS2 node types.
*/ inline bool EstimatedTimeToCompletionInSecondsHasBeenSet() const { return m_estimatedTimeToCompletionInSecondsHasBeenSet; } /** *The estimate of the time remaining before the restore is complete. Returns 0 * for a completed restore.
This field is only updated when you restore to * DC2 and DS2 node types.
*/ inline void SetEstimatedTimeToCompletionInSeconds(long long value) { m_estimatedTimeToCompletionInSecondsHasBeenSet = true; m_estimatedTimeToCompletionInSeconds = value; } /** *The estimate of the time remaining before the restore is complete. Returns 0 * for a completed restore.
This field is only updated when you restore to * DC2 and DS2 node types.
*/ inline AwsRedshiftClusterRestoreStatus& WithEstimatedTimeToCompletionInSeconds(long long value) { SetEstimatedTimeToCompletionInSeconds(value); return *this;} /** *The number of megabytes that were transferred from snapshot storage.
*This field is only updated when you restore to DC2 and DS2 node types.
*/ inline long long GetProgressInMegaBytes() const{ return m_progressInMegaBytes; } /** *The number of megabytes that were transferred from snapshot storage.
*This field is only updated when you restore to DC2 and DS2 node types.
*/ inline bool ProgressInMegaBytesHasBeenSet() const { return m_progressInMegaBytesHasBeenSet; } /** *The number of megabytes that were transferred from snapshot storage.
*This field is only updated when you restore to DC2 and DS2 node types.
*/ inline void SetProgressInMegaBytes(long long value) { m_progressInMegaBytesHasBeenSet = true; m_progressInMegaBytes = value; } /** *The number of megabytes that were transferred from snapshot storage.
*This field is only updated when you restore to DC2 and DS2 node types.
*/ inline AwsRedshiftClusterRestoreStatus& WithProgressInMegaBytes(long long value) { SetProgressInMegaBytes(value); return *this;} /** *The size of the set of snapshot data that was used to restore the * cluster.
This field is only updated when you restore to DC2 and DS2 node * types.
*/ inline long long GetSnapshotSizeInMegaBytes() const{ return m_snapshotSizeInMegaBytes; } /** *The size of the set of snapshot data that was used to restore the * cluster.
This field is only updated when you restore to DC2 and DS2 node * types.
*/ inline bool SnapshotSizeInMegaBytesHasBeenSet() const { return m_snapshotSizeInMegaBytesHasBeenSet; } /** *The size of the set of snapshot data that was used to restore the * cluster.
This field is only updated when you restore to DC2 and DS2 node * types.
*/ inline void SetSnapshotSizeInMegaBytes(long long value) { m_snapshotSizeInMegaBytesHasBeenSet = true; m_snapshotSizeInMegaBytes = value; } /** *The size of the set of snapshot data that was used to restore the * cluster.
This field is only updated when you restore to DC2 and DS2 node * types.
*/ inline AwsRedshiftClusterRestoreStatus& WithSnapshotSizeInMegaBytes(long long value) { SetSnapshotSizeInMegaBytes(value); return *this;} /** *The status of the restore action.
Valid values: starting
* | restoring
| completed
| failed
The status of the restore action.
Valid values: starting
* | restoring
| completed
| failed
The status of the restore action.
Valid values: starting
* | restoring
| completed
| failed
The status of the restore action.
Valid values: starting
* | restoring
| completed
| failed
The status of the restore action.
Valid values: starting
* | restoring
| completed
| failed
The status of the restore action.
Valid values: starting
* | restoring
| completed
| failed
The status of the restore action.
Valid values: starting
* | restoring
| completed
| failed
The status of the restore action.
Valid values: starting
* | restoring
| completed
| failed