/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the status of a cluster while it is in the process of resizing with
* an incremental resize.See Also:
AWS
* API Reference
Describes the status of the cluster. While the transfer is in progress the
* status is transferringdata
.
Describes the status of the cluster. While the transfer is in progress the
* status is transferringdata
.
Describes the status of the cluster. While the transfer is in progress the
* status is transferringdata
.
Describes the status of the cluster. While the transfer is in progress the
* status is transferringdata
.
Describes the status of the cluster. While the transfer is in progress the
* status is transferringdata
.
Describes the status of the cluster. While the transfer is in progress the
* status is transferringdata
.
Describes the status of the cluster. While the transfer is in progress the
* status is transferringdata
.
Describes the status of the cluster. While the transfer is in progress the
* status is transferringdata
.
Describes the data transfer rate in MB's per second.
*/ inline double GetCurrentRateInMegaBytesPerSecond() const{ return m_currentRateInMegaBytesPerSecond; } /** *Describes the data transfer rate in MB's per second.
*/ inline bool CurrentRateInMegaBytesPerSecondHasBeenSet() const { return m_currentRateInMegaBytesPerSecondHasBeenSet; } /** *Describes the data transfer rate in MB's per second.
*/ inline void SetCurrentRateInMegaBytesPerSecond(double value) { m_currentRateInMegaBytesPerSecondHasBeenSet = true; m_currentRateInMegaBytesPerSecond = value; } /** *Describes the data transfer rate in MB's per second.
*/ inline DataTransferProgress& WithCurrentRateInMegaBytesPerSecond(double value) { SetCurrentRateInMegaBytesPerSecond(value); return *this;} /** *Describes the total amount of data to be transfered in megabytes.
*/ inline long long GetTotalDataInMegaBytes() const{ return m_totalDataInMegaBytes; } /** *Describes the total amount of data to be transfered in megabytes.
*/ inline bool TotalDataInMegaBytesHasBeenSet() const { return m_totalDataInMegaBytesHasBeenSet; } /** *Describes the total amount of data to be transfered in megabytes.
*/ inline void SetTotalDataInMegaBytes(long long value) { m_totalDataInMegaBytesHasBeenSet = true; m_totalDataInMegaBytes = value; } /** *Describes the total amount of data to be transfered in megabytes.
*/ inline DataTransferProgress& WithTotalDataInMegaBytes(long long value) { SetTotalDataInMegaBytes(value); return *this;} /** *Describes the total amount of data that has been transfered in MB's.
*/ inline long long GetDataTransferredInMegaBytes() const{ return m_dataTransferredInMegaBytes; } /** *Describes the total amount of data that has been transfered in MB's.
*/ inline bool DataTransferredInMegaBytesHasBeenSet() const { return m_dataTransferredInMegaBytesHasBeenSet; } /** *Describes the total amount of data that has been transfered in MB's.
*/ inline void SetDataTransferredInMegaBytes(long long value) { m_dataTransferredInMegaBytesHasBeenSet = true; m_dataTransferredInMegaBytes = value; } /** *Describes the total amount of data that has been transfered in MB's.
*/ inline DataTransferProgress& WithDataTransferredInMegaBytes(long long value) { SetDataTransferredInMegaBytes(value); return *this;} /** *Describes the estimated number of seconds remaining to complete the * transfer.
*/ inline long long GetEstimatedTimeToCompletionInSeconds() const{ return m_estimatedTimeToCompletionInSeconds; } /** *Describes the estimated number of seconds remaining to complete the * transfer.
*/ inline bool EstimatedTimeToCompletionInSecondsHasBeenSet() const { return m_estimatedTimeToCompletionInSecondsHasBeenSet; } /** *Describes the estimated number of seconds remaining to complete the * transfer.
*/ inline void SetEstimatedTimeToCompletionInSeconds(long long value) { m_estimatedTimeToCompletionInSecondsHasBeenSet = true; m_estimatedTimeToCompletionInSeconds = value; } /** *Describes the estimated number of seconds remaining to complete the * transfer.
*/ inline DataTransferProgress& WithEstimatedTimeToCompletionInSeconds(long long value) { SetEstimatedTimeToCompletionInSeconds(value); return *this;} /** *Describes the number of seconds that have elapsed during the data * transfer.
*/ inline long long GetElapsedTimeInSeconds() const{ return m_elapsedTimeInSeconds; } /** *Describes the number of seconds that have elapsed during the data * transfer.
*/ inline bool ElapsedTimeInSecondsHasBeenSet() const { return m_elapsedTimeInSecondsHasBeenSet; } /** *Describes the number of seconds that have elapsed during the data * transfer.
*/ inline void SetElapsedTimeInSeconds(long long value) { m_elapsedTimeInSecondsHasBeenSet = true; m_elapsedTimeInSeconds = value; } /** *Describes the number of seconds that have elapsed during the data * transfer.
*/ inline DataTransferProgress& WithElapsedTimeInSeconds(long long value) { SetElapsedTimeInSeconds(value); return *this;} private: Aws::String m_status; bool m_statusHasBeenSet = false; double m_currentRateInMegaBytesPerSecond; bool m_currentRateInMegaBytesPerSecondHasBeenSet = false; long long m_totalDataInMegaBytes; bool m_totalDataInMegaBytesHasBeenSet = false; long long m_dataTransferredInMegaBytes; bool m_dataTransferredInMegaBytesHasBeenSet = false; long long m_estimatedTimeToCompletionInSeconds; bool m_estimatedTimeToCompletionInSecondsHasBeenSet = false; long long m_elapsedTimeInSeconds; bool m_elapsedTimeInSecondsHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws