7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/model/ResponseMetadata.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
49 template<
typename TargetNodeTypeT = Aws::String>
50 void SetTargetNodeType(TargetNodeTypeT&& value) { m_targetNodeTypeHasBeenSet =
true; m_targetNodeType = std::forward<TargetNodeTypeT>(value); }
51 template<
typename TargetNodeTypeT = Aws::String>
61 inline void SetTargetNumberOfNodes(
int value) { m_targetNumberOfNodesHasBeenSet =
true; m_targetNumberOfNodes = value; }
71 template<
typename TargetClusterTypeT = Aws::String>
72 void SetTargetClusterType(TargetClusterTypeT&& value) { m_targetClusterTypeHasBeenSet =
true; m_targetClusterType = std::forward<TargetClusterTypeT>(value); }
73 template<
typename TargetClusterTypeT = Aws::String>
84 template<
typename StatusT = Aws::String>
85 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
86 template<
typename StatusT = Aws::String>
96 template<
typename ImportTablesCompletedT = Aws::Vector<Aws::String>>
97 void SetImportTablesCompleted(ImportTablesCompletedT&& value) { m_importTablesCompletedHasBeenSet =
true; m_importTablesCompleted = std::forward<ImportTablesCompletedT>(value); }
98 template<
typename ImportTablesCompletedT = Aws::Vector<Aws::String>>
100 template<
typename ImportTablesCompletedT = Aws::String>
110 template<
typename ImportTablesInProgressT = Aws::Vector<Aws::String>>
111 void SetImportTablesInProgress(ImportTablesInProgressT&& value) { m_importTablesInProgressHasBeenSet =
true; m_importTablesInProgress = std::forward<ImportTablesInProgressT>(value); }
112 template<
typename ImportTablesInProgressT = Aws::Vector<Aws::String>>
114 template<
typename ImportTablesInProgressT = Aws::String>
124 template<
typename ImportTablesNotStartedT = Aws::Vector<Aws::String>>
125 void SetImportTablesNotStarted(ImportTablesNotStartedT&& value) { m_importTablesNotStartedHasBeenSet =
true; m_importTablesNotStarted = std::forward<ImportTablesNotStartedT>(value); }
126 template<
typename ImportTablesNotStartedT = Aws::Vector<Aws::String>>
128 template<
typename ImportTablesNotStartedT = Aws::String>
162 inline void SetProgressInMegaBytes(
long long value) { m_progressInMegaBytesHasBeenSet =
true; m_progressInMegaBytes = value; }
173 inline void SetElapsedTimeInSeconds(
long long value) { m_elapsedTimeInSecondsHasBeenSet =
true; m_elapsedTimeInSeconds = value; }
196 template<
typename ResizeTypeT = Aws::String>
197 void SetResizeType(ResizeTypeT&& value) { m_resizeTypeHasBeenSet =
true; m_resizeType = std::forward<ResizeTypeT>(value); }
198 template<
typename ResizeTypeT = Aws::String>
207 template<
typename MessageT = Aws::String>
208 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
209 template<
typename MessageT = Aws::String>
219 template<
typename TargetEncryptionTypeT = Aws::String>
220 void SetTargetEncryptionType(TargetEncryptionTypeT&& value) { m_targetEncryptionTypeHasBeenSet =
true; m_targetEncryptionType = std::forward<TargetEncryptionTypeT>(value); }
221 template<
typename TargetEncryptionTypeT = Aws::String>
237 template<
typename ResponseMetadataT = ResponseMetadata>
238 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
239 template<
typename ResponseMetadataT = ResponseMetadata>
245 bool m_targetNodeTypeHasBeenSet =
false;
247 int m_targetNumberOfNodes{0};
248 bool m_targetNumberOfNodesHasBeenSet =
false;
251 bool m_targetClusterTypeHasBeenSet =
false;
254 bool m_statusHasBeenSet =
false;
257 bool m_importTablesCompletedHasBeenSet =
false;
260 bool m_importTablesInProgressHasBeenSet =
false;
263 bool m_importTablesNotStartedHasBeenSet =
false;
265 double m_avgResizeRateInMegaBytesPerSecond{0.0};
266 bool m_avgResizeRateInMegaBytesPerSecondHasBeenSet =
false;
268 long long m_totalResizeDataInMegaBytes{0};
269 bool m_totalResizeDataInMegaBytesHasBeenSet =
false;
271 long long m_progressInMegaBytes{0};
272 bool m_progressInMegaBytesHasBeenSet =
false;
274 long long m_elapsedTimeInSeconds{0};
275 bool m_elapsedTimeInSecondsHasBeenSet =
false;
277 long long m_estimatedTimeToCompletionInSeconds{0};
278 bool m_estimatedTimeToCompletionInSecondsHasBeenSet =
false;
281 bool m_resizeTypeHasBeenSet =
false;
284 bool m_messageHasBeenSet =
false;
287 bool m_targetEncryptionTypeHasBeenSet =
false;
289 double m_dataTransferProgressPercent{0.0};
290 bool m_dataTransferProgressPercentHasBeenSet =
false;
292 ResponseMetadata m_responseMetadata;
293 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