/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the result of a cluster resize operation.See Also:
* AWS
* API Reference
The node type that the cluster will have after the resize operation is * complete.
*/ inline const Aws::String& GetTargetNodeType() const{ return m_targetNodeType; } /** *The node type that the cluster will have after the resize operation is * complete.
*/ inline void SetTargetNodeType(const Aws::String& value) { m_targetNodeType = value; } /** *The node type that the cluster will have after the resize operation is * complete.
*/ inline void SetTargetNodeType(Aws::String&& value) { m_targetNodeType = std::move(value); } /** *The node type that the cluster will have after the resize operation is * complete.
*/ inline void SetTargetNodeType(const char* value) { m_targetNodeType.assign(value); } /** *The node type that the cluster will have after the resize operation is * complete.
*/ inline DescribeResizeResult& WithTargetNodeType(const Aws::String& value) { SetTargetNodeType(value); return *this;} /** *The node type that the cluster will have after the resize operation is * complete.
*/ inline DescribeResizeResult& WithTargetNodeType(Aws::String&& value) { SetTargetNodeType(std::move(value)); return *this;} /** *The node type that the cluster will have after the resize operation is * complete.
*/ inline DescribeResizeResult& WithTargetNodeType(const char* value) { SetTargetNodeType(value); return *this;} /** *The number of nodes that the cluster will have after the resize operation is * complete.
*/ inline int GetTargetNumberOfNodes() const{ return m_targetNumberOfNodes; } /** *The number of nodes that the cluster will have after the resize operation is * complete.
*/ inline void SetTargetNumberOfNodes(int value) { m_targetNumberOfNodes = value; } /** *The number of nodes that the cluster will have after the resize operation is * complete.
*/ inline DescribeResizeResult& WithTargetNumberOfNodes(int value) { SetTargetNumberOfNodes(value); return *this;} /** *The cluster type after the resize operation is complete.
Valid Values:
* multi-node
| single-node
The cluster type after the resize operation is complete.
Valid Values:
* multi-node
| single-node
The cluster type after the resize operation is complete.
Valid Values:
* multi-node
| single-node
The cluster type after the resize operation is complete.
Valid Values:
* multi-node
| single-node
The cluster type after the resize operation is complete.
Valid Values:
* multi-node
| single-node
The cluster type after the resize operation is complete.
Valid Values:
* multi-node
| single-node
The cluster type after the resize operation is complete.
Valid Values:
* multi-node
| single-node
The status of the resize operation.
Valid Values: NONE
|
* IN_PROGRESS
| FAILED
| SUCCEEDED
|
* CANCELLING
The status of the resize operation.
Valid Values: NONE
|
* IN_PROGRESS
| FAILED
| SUCCEEDED
|
* CANCELLING
The status of the resize operation.
Valid Values: NONE
|
* IN_PROGRESS
| FAILED
| SUCCEEDED
|
* CANCELLING
The status of the resize operation.
Valid Values: NONE
|
* IN_PROGRESS
| FAILED
| SUCCEEDED
|
* CANCELLING
The status of the resize operation.
Valid Values: NONE
|
* IN_PROGRESS
| FAILED
| SUCCEEDED
|
* CANCELLING
The status of the resize operation.
Valid Values: NONE
|
* IN_PROGRESS
| FAILED
| SUCCEEDED
|
* CANCELLING
The status of the resize operation.
Valid Values: NONE
|
* IN_PROGRESS
| FAILED
| SUCCEEDED
|
* CANCELLING
The names of tables that have been completely imported .
Valid Values: * List of table names.
*/ inline const Aws::VectorThe names of tables that have been completely imported .
Valid Values: * List of table names.
*/ inline void SetImportTablesCompleted(const Aws::VectorThe names of tables that have been completely imported .
Valid Values: * List of table names.
*/ inline void SetImportTablesCompleted(Aws::VectorThe names of tables that have been completely imported .
Valid Values: * List of table names.
*/ inline DescribeResizeResult& WithImportTablesCompleted(const Aws::VectorThe names of tables that have been completely imported .
Valid Values: * List of table names.
*/ inline DescribeResizeResult& WithImportTablesCompleted(Aws::VectorThe names of tables that have been completely imported .
Valid Values: * List of table names.
*/ inline DescribeResizeResult& AddImportTablesCompleted(const Aws::String& value) { m_importTablesCompleted.push_back(value); return *this; } /** *The names of tables that have been completely imported .
Valid Values: * List of table names.
*/ inline DescribeResizeResult& AddImportTablesCompleted(Aws::String&& value) { m_importTablesCompleted.push_back(std::move(value)); return *this; } /** *The names of tables that have been completely imported .
Valid Values: * List of table names.
*/ inline DescribeResizeResult& AddImportTablesCompleted(const char* value) { m_importTablesCompleted.push_back(value); return *this; } /** *The names of tables that are being currently imported.
Valid Values: * List of table names.
*/ inline const Aws::VectorThe names of tables that are being currently imported.
Valid Values: * List of table names.
*/ inline void SetImportTablesInProgress(const Aws::VectorThe names of tables that are being currently imported.
Valid Values: * List of table names.
*/ inline void SetImportTablesInProgress(Aws::VectorThe names of tables that are being currently imported.
Valid Values: * List of table names.
*/ inline DescribeResizeResult& WithImportTablesInProgress(const Aws::VectorThe names of tables that are being currently imported.
Valid Values: * List of table names.
*/ inline DescribeResizeResult& WithImportTablesInProgress(Aws::VectorThe names of tables that are being currently imported.
Valid Values: * List of table names.
*/ inline DescribeResizeResult& AddImportTablesInProgress(const Aws::String& value) { m_importTablesInProgress.push_back(value); return *this; } /** *The names of tables that are being currently imported.
Valid Values: * List of table names.
*/ inline DescribeResizeResult& AddImportTablesInProgress(Aws::String&& value) { m_importTablesInProgress.push_back(std::move(value)); return *this; } /** *The names of tables that are being currently imported.
Valid Values: * List of table names.
*/ inline DescribeResizeResult& AddImportTablesInProgress(const char* value) { m_importTablesInProgress.push_back(value); return *this; } /** *The names of tables that have not been yet imported.
Valid Values: * List of table names
*/ inline const Aws::VectorThe names of tables that have not been yet imported.
Valid Values: * List of table names
*/ inline void SetImportTablesNotStarted(const Aws::VectorThe names of tables that have not been yet imported.
Valid Values: * List of table names
*/ inline void SetImportTablesNotStarted(Aws::VectorThe names of tables that have not been yet imported.
Valid Values: * List of table names
*/ inline DescribeResizeResult& WithImportTablesNotStarted(const Aws::VectorThe names of tables that have not been yet imported.
Valid Values: * List of table names
*/ inline DescribeResizeResult& WithImportTablesNotStarted(Aws::VectorThe names of tables that have not been yet imported.
Valid Values: * List of table names
*/ inline DescribeResizeResult& AddImportTablesNotStarted(const Aws::String& value) { m_importTablesNotStarted.push_back(value); return *this; } /** *The names of tables that have not been yet imported.
Valid Values: * List of table names
*/ inline DescribeResizeResult& AddImportTablesNotStarted(Aws::String&& value) { m_importTablesNotStarted.push_back(std::move(value)); return *this; } /** *The names of tables that have not been yet imported.
Valid Values: * List of table names
*/ inline DescribeResizeResult& AddImportTablesNotStarted(const char* value) { m_importTablesNotStarted.push_back(value); return *this; } /** *The average rate of the resize operation over the last few minutes, measured * in megabytes per second. After the resize operation completes, this value shows * the average rate of the entire resize operation.
*/ inline double GetAvgResizeRateInMegaBytesPerSecond() const{ return m_avgResizeRateInMegaBytesPerSecond; } /** *The average rate of the resize operation over the last few minutes, measured * in megabytes per second. After the resize operation completes, this value shows * the average rate of the entire resize operation.
*/ inline void SetAvgResizeRateInMegaBytesPerSecond(double value) { m_avgResizeRateInMegaBytesPerSecond = value; } /** *The average rate of the resize operation over the last few minutes, measured * in megabytes per second. After the resize operation completes, this value shows * the average rate of the entire resize operation.
*/ inline DescribeResizeResult& WithAvgResizeRateInMegaBytesPerSecond(double value) { SetAvgResizeRateInMegaBytesPerSecond(value); return *this;} /** *The estimated total amount of data, in megabytes, on the cluster before the * resize operation began.
*/ inline long long GetTotalResizeDataInMegaBytes() const{ return m_totalResizeDataInMegaBytes; } /** *The estimated total amount of data, in megabytes, on the cluster before the * resize operation began.
*/ inline void SetTotalResizeDataInMegaBytes(long long value) { m_totalResizeDataInMegaBytes = value; } /** *The estimated total amount of data, in megabytes, on the cluster before the * resize operation began.
*/ inline DescribeResizeResult& WithTotalResizeDataInMegaBytes(long long value) { SetTotalResizeDataInMegaBytes(value); return *this;} /** *While the resize operation is in progress, this value shows the current * amount of data, in megabytes, that has been processed so far. When the resize * operation is complete, this value shows the total amount of data, in megabytes, * on the cluster, which may be more or less than TotalResizeDataInMegaBytes (the * estimated total amount of data before resize).
*/ inline long long GetProgressInMegaBytes() const{ return m_progressInMegaBytes; } /** *While the resize operation is in progress, this value shows the current * amount of data, in megabytes, that has been processed so far. When the resize * operation is complete, this value shows the total amount of data, in megabytes, * on the cluster, which may be more or less than TotalResizeDataInMegaBytes (the * estimated total amount of data before resize).
*/ inline void SetProgressInMegaBytes(long long value) { m_progressInMegaBytes = value; } /** *While the resize operation is in progress, this value shows the current * amount of data, in megabytes, that has been processed so far. When the resize * operation is complete, this value shows the total amount of data, in megabytes, * on the cluster, which may be more or less than TotalResizeDataInMegaBytes (the * estimated total amount of data before resize).
*/ inline DescribeResizeResult& WithProgressInMegaBytes(long long value) { SetProgressInMegaBytes(value); return *this;} /** *The amount of seconds that have elapsed since the resize operation began. * After the resize operation completes, this value shows the total actual time, in * seconds, for the resize operation.
*/ inline long long GetElapsedTimeInSeconds() const{ return m_elapsedTimeInSeconds; } /** *The amount of seconds that have elapsed since the resize operation began. * After the resize operation completes, this value shows the total actual time, in * seconds, for the resize operation.
*/ inline void SetElapsedTimeInSeconds(long long value) { m_elapsedTimeInSeconds = value; } /** *The amount of seconds that have elapsed since the resize operation began. * After the resize operation completes, this value shows the total actual time, in * seconds, for the resize operation.
*/ inline DescribeResizeResult& WithElapsedTimeInSeconds(long long value) { SetElapsedTimeInSeconds(value); return *this;} /** *The estimated time remaining, in seconds, until the resize operation is * complete. This value is calculated based on the average resize rate and the * estimated amount of data remaining to be processed. Once the resize operation is * complete, this value will be 0.
*/ inline long long GetEstimatedTimeToCompletionInSeconds() const{ return m_estimatedTimeToCompletionInSeconds; } /** *The estimated time remaining, in seconds, until the resize operation is * complete. This value is calculated based on the average resize rate and the * estimated amount of data remaining to be processed. Once the resize operation is * complete, this value will be 0.
*/ inline void SetEstimatedTimeToCompletionInSeconds(long long value) { m_estimatedTimeToCompletionInSeconds = value; } /** *The estimated time remaining, in seconds, until the resize operation is * complete. This value is calculated based on the average resize rate and the * estimated amount of data remaining to be processed. Once the resize operation is * complete, this value will be 0.
*/ inline DescribeResizeResult& WithEstimatedTimeToCompletionInSeconds(long long value) { SetEstimatedTimeToCompletionInSeconds(value); return *this;} /** *An enum with possible values of ClassicResize
and
* ElasticResize
. These values describe the type of resize operation
* being performed.
An enum with possible values of ClassicResize
and
* ElasticResize
. These values describe the type of resize operation
* being performed.
An enum with possible values of ClassicResize
and
* ElasticResize
. These values describe the type of resize operation
* being performed.
An enum with possible values of ClassicResize
and
* ElasticResize
. These values describe the type of resize operation
* being performed.
An enum with possible values of ClassicResize
and
* ElasticResize
. These values describe the type of resize operation
* being performed.
An enum with possible values of ClassicResize
and
* ElasticResize
. These values describe the type of resize operation
* being performed.
An enum with possible values of ClassicResize
and
* ElasticResize
. These values describe the type of resize operation
* being performed.
An optional string to provide additional details about the resize action.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *An optional string to provide additional details about the resize action.
*/ inline void SetMessage(const Aws::String& value) { m_message = value; } /** *An optional string to provide additional details about the resize action.
*/ inline void SetMessage(Aws::String&& value) { m_message = std::move(value); } /** *An optional string to provide additional details about the resize action.
*/ inline void SetMessage(const char* value) { m_message.assign(value); } /** *An optional string to provide additional details about the resize action.
*/ inline DescribeResizeResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *An optional string to provide additional details about the resize action.
*/ inline DescribeResizeResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *An optional string to provide additional details about the resize action.
*/ inline DescribeResizeResult& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The type of encryption for the cluster after the resize is complete.
*Possible values are KMS
and None
.
The type of encryption for the cluster after the resize is complete.
*Possible values are KMS
and None
.
The type of encryption for the cluster after the resize is complete.
*Possible values are KMS
and None
.
The type of encryption for the cluster after the resize is complete.
*Possible values are KMS
and None
.
The type of encryption for the cluster after the resize is complete.
*Possible values are KMS
and None
.
The type of encryption for the cluster after the resize is complete.
*Possible values are KMS
and None
.
The type of encryption for the cluster after the resize is complete.
*Possible values are KMS
and None
.
The percent of data transferred from source cluster to target cluster.
*/ inline double GetDataTransferProgressPercent() const{ return m_dataTransferProgressPercent; } /** *The percent of data transferred from source cluster to target cluster.
*/ inline void SetDataTransferProgressPercent(double value) { m_dataTransferProgressPercent = value; } /** *The percent of data transferred from source cluster to target cluster.
*/ inline DescribeResizeResult& WithDataTransferProgressPercent(double value) { SetDataTransferProgressPercent(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeResizeResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeResizeResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_targetNodeType; int m_targetNumberOfNodes; Aws::String m_targetClusterType; Aws::String m_status; Aws::Vector