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>
63 m_currentRateInMegaBytesPerSecondHasBeenSet =
true;
64 m_currentRateInMegaBytesPerSecond = value;
79 m_totalDataInMegaBytesHasBeenSet =
true;
80 m_totalDataInMegaBytes = value;
95 m_dataTransferredInMegaBytesHasBeenSet =
true;
96 m_dataTransferredInMegaBytes = value;
112 m_estimatedTimeToCompletionInSecondsHasBeenSet =
true;
113 m_estimatedTimeToCompletionInSeconds = value;
129 m_elapsedTimeInSecondsHasBeenSet =
true;
130 m_elapsedTimeInSeconds = value;
140 double m_currentRateInMegaBytesPerSecond{0.0};
142 long long m_totalDataInMegaBytes{0};
144 long long m_dataTransferredInMegaBytes{0};
146 long long m_estimatedTimeToCompletionInSeconds{0};
148 long long m_elapsedTimeInSeconds{0};
149 bool m_statusHasBeenSet =
false;
150 bool m_currentRateInMegaBytesPerSecondHasBeenSet =
false;
151 bool m_totalDataInMegaBytesHasBeenSet =
false;
152 bool m_dataTransferredInMegaBytesHasBeenSet =
false;
153 bool m_estimatedTimeToCompletionInSecondsHasBeenSet =
false;
154 bool m_elapsedTimeInSecondsHasBeenSet =
false;
AWS_REDSHIFT_API DataTransferProgress()=default
void SetDataTransferredInMegaBytes(long long value)
void SetElapsedTimeInSeconds(long long value)
DataTransferProgress & WithEstimatedTimeToCompletionInSeconds(long long value)
void SetTotalDataInMegaBytes(long long value)
DataTransferProgress & WithCurrentRateInMegaBytesPerSecond(double value)
bool ElapsedTimeInSecondsHasBeenSet() const
long long GetTotalDataInMegaBytes() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_REDSHIFT_API DataTransferProgress & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DataTransferProgress & WithDataTransferredInMegaBytes(long long value)
bool EstimatedTimeToCompletionInSecondsHasBeenSet() const
bool TotalDataInMegaBytesHasBeenSet() const
bool StatusHasBeenSet() const
void SetCurrentRateInMegaBytesPerSecond(double value)
long long GetDataTransferredInMegaBytes() const
long long GetElapsedTimeInSeconds() const
bool DataTransferredInMegaBytesHasBeenSet() const
bool CurrentRateInMegaBytesPerSecondHasBeenSet() const
AWS_REDSHIFT_API DataTransferProgress(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEstimatedTimeToCompletionInSeconds(long long value)
void SetStatus(StatusT &&value)
const Aws::String & GetStatus() const
long long GetEstimatedTimeToCompletionInSeconds() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DataTransferProgress & WithElapsedTimeInSeconds(long long value)
DataTransferProgress & WithStatus(StatusT &&value)
double GetCurrentRateInMegaBytesPerSecond() const
DataTransferProgress & WithTotalDataInMegaBytes(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream