7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10#include <aws/redshift/model/ResponseMetadata.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
43 template <
typename TargetNodeTypeT = Aws::String>
45 m_targetNodeTypeHasBeenSet =
true;
46 m_targetNodeType = std::forward<TargetNodeTypeT>(value);
48 template <
typename TargetNodeTypeT = Aws::String>
62 m_targetNumberOfNodesHasBeenSet =
true;
63 m_targetNumberOfNodes = value;
77 template <
typename TargetClusterTypeT = Aws::String>
79 m_targetClusterTypeHasBeenSet =
true;
80 m_targetClusterType = std::forward<TargetClusterTypeT>(value);
82 template <
typename TargetClusterTypeT = Aws::String>
96 template <
typename StatusT = Aws::String>
98 m_statusHasBeenSet =
true;
99 m_status = std::forward<StatusT>(value);
101 template <
typename StatusT = Aws::String>
114 template <
typename ImportTablesCompletedT = Aws::Vector<Aws::String>>
116 m_importTablesCompletedHasBeenSet =
true;
117 m_importTablesCompleted = std::forward<ImportTablesCompletedT>(value);
119 template <
typename ImportTablesCompletedT = Aws::Vector<Aws::String>>
124 template <
typename ImportTablesCompletedT = Aws::String>
126 m_importTablesCompletedHasBeenSet =
true;
127 m_importTablesCompleted.emplace_back(std::forward<ImportTablesCompletedT>(value));
138 template <
typename ImportTablesInProgressT = Aws::Vector<Aws::String>>
140 m_importTablesInProgressHasBeenSet =
true;
141 m_importTablesInProgress = std::forward<ImportTablesInProgressT>(value);
143 template <
typename ImportTablesInProgressT = Aws::Vector<Aws::String>>
148 template <
typename ImportTablesInProgressT = Aws::String>
150 m_importTablesInProgressHasBeenSet =
true;
151 m_importTablesInProgress.emplace_back(std::forward<ImportTablesInProgressT>(value));
162 template <
typename ImportTablesNotStartedT = Aws::Vector<Aws::String>>
164 m_importTablesNotStartedHasBeenSet =
true;
165 m_importTablesNotStarted = std::forward<ImportTablesNotStartedT>(value);
167 template <
typename ImportTablesNotStartedT = Aws::Vector<Aws::String>>
172 template <
typename ImportTablesNotStartedT = Aws::String>
174 m_importTablesNotStartedHasBeenSet =
true;
175 m_importTablesNotStarted.emplace_back(std::forward<ImportTablesNotStartedT>(value));
188 m_avgResizeRateInMegaBytesPerSecondHasBeenSet =
true;
189 m_avgResizeRateInMegaBytesPerSecond = value;
204 m_totalResizeDataInMegaBytesHasBeenSet =
true;
205 m_totalResizeDataInMegaBytes = value;
223 m_progressInMegaBytesHasBeenSet =
true;
224 m_progressInMegaBytes = value;
240 m_elapsedTimeInSecondsHasBeenSet =
true;
241 m_elapsedTimeInSeconds = value;
258 m_estimatedTimeToCompletionInSecondsHasBeenSet =
true;
259 m_estimatedTimeToCompletionInSeconds = value;
274 template <
typename ResizeTypeT = Aws::String>
276 m_resizeTypeHasBeenSet =
true;
277 m_resizeType = std::forward<ResizeTypeT>(value);
279 template <
typename ResizeTypeT = Aws::String>
291 template <
typename MessageT = Aws::String>
293 m_messageHasBeenSet =
true;
294 m_message = std::forward<MessageT>(value);
296 template <
typename MessageT = Aws::String>
309 template <
typename TargetEncryptionTypeT = Aws::String>
311 m_targetEncryptionTypeHasBeenSet =
true;
312 m_targetEncryptionType = std::forward<TargetEncryptionTypeT>(value);
314 template <
typename TargetEncryptionTypeT = Aws::String>
327 m_dataTransferProgressPercentHasBeenSet =
true;
328 m_dataTransferProgressPercent = value;
339 template <
typename ResponseMetadataT = ResponseMetadata>
341 m_responseMetadataHasBeenSet =
true;
342 m_responseMetadata = std::forward<ResponseMetadataT>(value);
344 template <
typename ResponseMetadataT = ResponseMetadata>
353 int m_targetNumberOfNodes{0};
365 double m_avgResizeRateInMegaBytesPerSecond{0.0};
367 long long m_totalResizeDataInMegaBytes{0};
369 long long m_progressInMegaBytes{0};
371 long long m_elapsedTimeInSeconds{0};
373 long long m_estimatedTimeToCompletionInSeconds{0};
381 double m_dataTransferProgressPercent{0.0};
383 ResponseMetadata m_responseMetadata;
384 bool m_targetNodeTypeHasBeenSet =
false;
385 bool m_targetNumberOfNodesHasBeenSet =
false;
386 bool m_targetClusterTypeHasBeenSet =
false;
387 bool m_statusHasBeenSet =
false;
388 bool m_importTablesCompletedHasBeenSet =
false;
389 bool m_importTablesInProgressHasBeenSet =
false;
390 bool m_importTablesNotStartedHasBeenSet =
false;
391 bool m_avgResizeRateInMegaBytesPerSecondHasBeenSet =
false;
392 bool m_totalResizeDataInMegaBytesHasBeenSet =
false;
393 bool m_progressInMegaBytesHasBeenSet =
false;
394 bool m_elapsedTimeInSecondsHasBeenSet =
false;
395 bool m_estimatedTimeToCompletionInSecondsHasBeenSet =
false;
396 bool m_resizeTypeHasBeenSet =
false;
397 bool m_messageHasBeenSet =
false;
398 bool m_targetEncryptionTypeHasBeenSet =
false;
399 bool m_dataTransferProgressPercentHasBeenSet =
false;
400 bool m_responseMetadataHasBeenSet =
false;
long long GetProgressInMegaBytes() const
long long GetTotalResizeDataInMegaBytes() const
CancelResizeResult & WithAvgResizeRateInMegaBytesPerSecond(double value)
const Aws::Vector< Aws::String > & GetImportTablesCompleted() const
void SetAvgResizeRateInMegaBytesPerSecond(double value)
CancelResizeResult & WithTargetClusterType(TargetClusterTypeT &&value)
const Aws::String & GetResizeType() const
void SetTargetEncryptionType(TargetEncryptionTypeT &&value)
AWS_REDSHIFT_API CancelResizeResult()=default
CancelResizeResult & WithResponseMetadata(ResponseMetadataT &&value)
const Aws::String & GetStatus() const
void SetTotalResizeDataInMegaBytes(long long value)
long long GetElapsedTimeInSeconds() const
CancelResizeResult & WithEstimatedTimeToCompletionInSeconds(long long value)
CancelResizeResult & WithTotalResizeDataInMegaBytes(long long value)
CancelResizeResult & WithImportTablesInProgress(ImportTablesInProgressT &&value)
CancelResizeResult & AddImportTablesInProgress(ImportTablesInProgressT &&value)
CancelResizeResult & WithTargetNumberOfNodes(int value)
CancelResizeResult & WithElapsedTimeInSeconds(long long value)
void SetElapsedTimeInSeconds(long long value)
long long GetEstimatedTimeToCompletionInSeconds() const
double GetDataTransferProgressPercent() const
void SetDataTransferProgressPercent(double value)
const Aws::Vector< Aws::String > & GetImportTablesNotStarted() const
CancelResizeResult & AddImportTablesNotStarted(ImportTablesNotStartedT &&value)
void SetProgressInMegaBytes(long long value)
void SetStatus(StatusT &&value)
int GetTargetNumberOfNodes() const
CancelResizeResult & WithTargetEncryptionType(TargetEncryptionTypeT &&value)
const Aws::String & GetTargetClusterType() const
CancelResizeResult & WithStatus(StatusT &&value)
void SetImportTablesNotStarted(ImportTablesNotStartedT &&value)
void SetTargetNodeType(TargetNodeTypeT &&value)
void SetTargetClusterType(TargetClusterTypeT &&value)
CancelResizeResult & WithTargetNodeType(TargetNodeTypeT &&value)
const Aws::String & GetTargetNodeType() const
void SetTargetNumberOfNodes(int value)
AWS_REDSHIFT_API CancelResizeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< Aws::String > & GetImportTablesInProgress() const
void SetEstimatedTimeToCompletionInSeconds(long long value)
void SetMessage(MessageT &&value)
const Aws::String & GetTargetEncryptionType() const
CancelResizeResult & WithResizeType(ResizeTypeT &&value)
CancelResizeResult & WithDataTransferProgressPercent(double value)
void SetImportTablesCompleted(ImportTablesCompletedT &&value)
double GetAvgResizeRateInMegaBytesPerSecond() const
void SetResponseMetadata(ResponseMetadataT &&value)
CancelResizeResult & WithImportTablesCompleted(ImportTablesCompletedT &&value)
const Aws::String & GetMessage() const
const ResponseMetadata & GetResponseMetadata() const
CancelResizeResult & AddImportTablesCompleted(ImportTablesCompletedT &&value)
CancelResizeResult & WithProgressInMegaBytes(long long value)
void SetImportTablesInProgress(ImportTablesInProgressT &&value)
void SetResizeType(ResizeTypeT &&value)
CancelResizeResult & WithMessage(MessageT &&value)
CancelResizeResult & WithImportTablesNotStarted(ImportTablesNotStartedT &&value)
AWS_REDSHIFT_API CancelResizeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument