7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/ResponseMetadata.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
44 template <
typename TargetNodeTypeT = Aws::String>
46 m_targetNodeTypeHasBeenSet =
true;
47 m_targetNodeType = std::forward<TargetNodeTypeT>(value);
49 template <
typename TargetNodeTypeT = Aws::String>
63 m_targetNumberOfNodesHasBeenSet =
true;
64 m_targetNumberOfNodes = value;
78 template <
typename TargetClusterTypeT = Aws::String>
80 m_targetClusterTypeHasBeenSet =
true;
81 m_targetClusterType = std::forward<TargetClusterTypeT>(value);
83 template <
typename TargetClusterTypeT = Aws::String>
97 template <
typename StatusT = Aws::String>
99 m_statusHasBeenSet =
true;
100 m_status = std::forward<StatusT>(value);
102 template <
typename StatusT = Aws::String>
115 template <
typename ImportTablesCompletedT = Aws::Vector<Aws::String>>
117 m_importTablesCompletedHasBeenSet =
true;
118 m_importTablesCompleted = std::forward<ImportTablesCompletedT>(value);
120 template <
typename ImportTablesCompletedT = Aws::Vector<Aws::String>>
125 template <
typename ImportTablesCompletedT = Aws::String>
127 m_importTablesCompletedHasBeenSet =
true;
128 m_importTablesCompleted.emplace_back(std::forward<ImportTablesCompletedT>(value));
139 template <
typename ImportTablesInProgressT = Aws::Vector<Aws::String>>
141 m_importTablesInProgressHasBeenSet =
true;
142 m_importTablesInProgress = std::forward<ImportTablesInProgressT>(value);
144 template <
typename ImportTablesInProgressT = Aws::Vector<Aws::String>>
149 template <
typename ImportTablesInProgressT = Aws::String>
151 m_importTablesInProgressHasBeenSet =
true;
152 m_importTablesInProgress.emplace_back(std::forward<ImportTablesInProgressT>(value));
163 template <
typename ImportTablesNotStartedT = Aws::Vector<Aws::String>>
165 m_importTablesNotStartedHasBeenSet =
true;
166 m_importTablesNotStarted = std::forward<ImportTablesNotStartedT>(value);
168 template <
typename ImportTablesNotStartedT = Aws::Vector<Aws::String>>
173 template <
typename ImportTablesNotStartedT = Aws::String>
175 m_importTablesNotStartedHasBeenSet =
true;
176 m_importTablesNotStarted.emplace_back(std::forward<ImportTablesNotStartedT>(value));
189 m_avgResizeRateInMegaBytesPerSecondHasBeenSet =
true;
190 m_avgResizeRateInMegaBytesPerSecond = value;
205 m_totalResizeDataInMegaBytesHasBeenSet =
true;
206 m_totalResizeDataInMegaBytes = value;
224 m_progressInMegaBytesHasBeenSet =
true;
225 m_progressInMegaBytes = value;
241 m_elapsedTimeInSecondsHasBeenSet =
true;
242 m_elapsedTimeInSeconds = value;
259 m_estimatedTimeToCompletionInSecondsHasBeenSet =
true;
260 m_estimatedTimeToCompletionInSeconds = value;
275 template <
typename ResizeTypeT = Aws::String>
277 m_resizeTypeHasBeenSet =
true;
278 m_resizeType = std::forward<ResizeTypeT>(value);
280 template <
typename ResizeTypeT = Aws::String>
292 template <
typename MessageT = Aws::String>
294 m_messageHasBeenSet =
true;
295 m_message = std::forward<MessageT>(value);
297 template <
typename MessageT = Aws::String>
310 template <
typename TargetEncryptionTypeT = Aws::String>
312 m_targetEncryptionTypeHasBeenSet =
true;
313 m_targetEncryptionType = std::forward<TargetEncryptionTypeT>(value);
315 template <
typename TargetEncryptionTypeT = Aws::String>
328 m_dataTransferProgressPercentHasBeenSet =
true;
329 m_dataTransferProgressPercent = value;
340 template <
typename ResponseMetadataT = ResponseMetadata>
342 m_responseMetadataHasBeenSet =
true;
343 m_responseMetadata = std::forward<ResponseMetadataT>(value);
345 template <
typename ResponseMetadataT = ResponseMetadata>
356 int m_targetNumberOfNodes{0};
368 double m_avgResizeRateInMegaBytesPerSecond{0.0};
370 long long m_totalResizeDataInMegaBytes{0};
372 long long m_progressInMegaBytes{0};
374 long long m_elapsedTimeInSeconds{0};
376 long long m_estimatedTimeToCompletionInSeconds{0};
384 double m_dataTransferProgressPercent{0.0};
386 ResponseMetadata m_responseMetadata;
388 bool m_targetNodeTypeHasBeenSet =
false;
389 bool m_targetNumberOfNodesHasBeenSet =
false;
390 bool m_targetClusterTypeHasBeenSet =
false;
391 bool m_statusHasBeenSet =
false;
392 bool m_importTablesCompletedHasBeenSet =
false;
393 bool m_importTablesInProgressHasBeenSet =
false;
394 bool m_importTablesNotStartedHasBeenSet =
false;
395 bool m_avgResizeRateInMegaBytesPerSecondHasBeenSet =
false;
396 bool m_totalResizeDataInMegaBytesHasBeenSet =
false;
397 bool m_progressInMegaBytesHasBeenSet =
false;
398 bool m_elapsedTimeInSecondsHasBeenSet =
false;
399 bool m_estimatedTimeToCompletionInSecondsHasBeenSet =
false;
400 bool m_resizeTypeHasBeenSet =
false;
401 bool m_messageHasBeenSet =
false;
402 bool m_targetEncryptionTypeHasBeenSet =
false;
403 bool m_dataTransferProgressPercentHasBeenSet =
false;
404 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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