/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returns information about a cluster operation.See Also:
AWS
* API Reference
The ID of the API request that triggered this operation.
* */ inline const Aws::String& GetClientRequestId() const{ return m_clientRequestId; } /** *The ID of the API request that triggered this operation.
* */ inline bool ClientRequestIdHasBeenSet() const { return m_clientRequestIdHasBeenSet; } /** *The ID of the API request that triggered this operation.
* */ inline void SetClientRequestId(const Aws::String& value) { m_clientRequestIdHasBeenSet = true; m_clientRequestId = value; } /** *The ID of the API request that triggered this operation.
* */ inline void SetClientRequestId(Aws::String&& value) { m_clientRequestIdHasBeenSet = true; m_clientRequestId = std::move(value); } /** *The ID of the API request that triggered this operation.
* */ inline void SetClientRequestId(const char* value) { m_clientRequestIdHasBeenSet = true; m_clientRequestId.assign(value); } /** *The ID of the API request that triggered this operation.
* */ inline ClusterOperationInfo& WithClientRequestId(const Aws::String& value) { SetClientRequestId(value); return *this;} /** *The ID of the API request that triggered this operation.
* */ inline ClusterOperationInfo& WithClientRequestId(Aws::String&& value) { SetClientRequestId(std::move(value)); return *this;} /** *The ID of the API request that triggered this operation.
* */ inline ClusterOperationInfo& WithClientRequestId(const char* value) { SetClientRequestId(value); return *this;} /** *ARN of the cluster.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** *ARN of the cluster.
*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** *ARN of the cluster.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** *ARN of the cluster.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** *ARN of the cluster.
*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** *ARN of the cluster.
*/ inline ClusterOperationInfo& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *ARN of the cluster.
*/ inline ClusterOperationInfo& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** *ARN of the cluster.
*/ inline ClusterOperationInfo& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** *The time that the operation was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The time that the operation was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The time that the operation was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The time that the operation was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The time that the operation was created.
*/ inline ClusterOperationInfo& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time that the operation was created.
*/ inline ClusterOperationInfo& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The time at which the operation finished.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The time at which the operation finished.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The time at which the operation finished.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The time at which the operation finished.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The time at which the operation finished.
*/ inline ClusterOperationInfo& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The time at which the operation finished.
*/ inline ClusterOperationInfo& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *Describes the error if the operation fails.
*/ inline const ErrorInfo& GetErrorInfo() const{ return m_errorInfo; } /** *Describes the error if the operation fails.
*/ inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; } /** *Describes the error if the operation fails.
*/ inline void SetErrorInfo(const ErrorInfo& value) { m_errorInfoHasBeenSet = true; m_errorInfo = value; } /** *Describes the error if the operation fails.
*/ inline void SetErrorInfo(ErrorInfo&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::move(value); } /** *Describes the error if the operation fails.
*/ inline ClusterOperationInfo& WithErrorInfo(const ErrorInfo& value) { SetErrorInfo(value); return *this;} /** *Describes the error if the operation fails.
*/ inline ClusterOperationInfo& WithErrorInfo(ErrorInfo&& value) { SetErrorInfo(std::move(value)); return *this;} /** *ARN of the cluster operation.
*/ inline const Aws::String& GetOperationArn() const{ return m_operationArn; } /** *ARN of the cluster operation.
*/ inline bool OperationArnHasBeenSet() const { return m_operationArnHasBeenSet; } /** *ARN of the cluster operation.
*/ inline void SetOperationArn(const Aws::String& value) { m_operationArnHasBeenSet = true; m_operationArn = value; } /** *ARN of the cluster operation.
*/ inline void SetOperationArn(Aws::String&& value) { m_operationArnHasBeenSet = true; m_operationArn = std::move(value); } /** *ARN of the cluster operation.
*/ inline void SetOperationArn(const char* value) { m_operationArnHasBeenSet = true; m_operationArn.assign(value); } /** *ARN of the cluster operation.
*/ inline ClusterOperationInfo& WithOperationArn(const Aws::String& value) { SetOperationArn(value); return *this;} /** *ARN of the cluster operation.
*/ inline ClusterOperationInfo& WithOperationArn(Aws::String&& value) { SetOperationArn(std::move(value)); return *this;} /** *ARN of the cluster operation.
*/ inline ClusterOperationInfo& WithOperationArn(const char* value) { SetOperationArn(value); return *this;} /** *State of the cluster operation.
*/ inline const Aws::String& GetOperationState() const{ return m_operationState; } /** *State of the cluster operation.
*/ inline bool OperationStateHasBeenSet() const { return m_operationStateHasBeenSet; } /** *State of the cluster operation.
*/ inline void SetOperationState(const Aws::String& value) { m_operationStateHasBeenSet = true; m_operationState = value; } /** *State of the cluster operation.
*/ inline void SetOperationState(Aws::String&& value) { m_operationStateHasBeenSet = true; m_operationState = std::move(value); } /** *State of the cluster operation.
*/ inline void SetOperationState(const char* value) { m_operationStateHasBeenSet = true; m_operationState.assign(value); } /** *State of the cluster operation.
*/ inline ClusterOperationInfo& WithOperationState(const Aws::String& value) { SetOperationState(value); return *this;} /** *State of the cluster operation.
*/ inline ClusterOperationInfo& WithOperationState(Aws::String&& value) { SetOperationState(std::move(value)); return *this;} /** *State of the cluster operation.
*/ inline ClusterOperationInfo& WithOperationState(const char* value) { SetOperationState(value); return *this;} /** *Steps completed during the operation.
*/ inline const Aws::VectorSteps completed during the operation.
*/ inline bool OperationStepsHasBeenSet() const { return m_operationStepsHasBeenSet; } /** *Steps completed during the operation.
*/ inline void SetOperationSteps(const Aws::VectorSteps completed during the operation.
*/ inline void SetOperationSteps(Aws::VectorSteps completed during the operation.
*/ inline ClusterOperationInfo& WithOperationSteps(const Aws::VectorSteps completed during the operation.
*/ inline ClusterOperationInfo& WithOperationSteps(Aws::VectorSteps completed during the operation.
*/ inline ClusterOperationInfo& AddOperationSteps(const ClusterOperationStep& value) { m_operationStepsHasBeenSet = true; m_operationSteps.push_back(value); return *this; } /** *Steps completed during the operation.
*/ inline ClusterOperationInfo& AddOperationSteps(ClusterOperationStep&& value) { m_operationStepsHasBeenSet = true; m_operationSteps.push_back(std::move(value)); return *this; } /** *Type of the cluster operation.
*/ inline const Aws::String& GetOperationType() const{ return m_operationType; } /** *Type of the cluster operation.
*/ inline bool OperationTypeHasBeenSet() const { return m_operationTypeHasBeenSet; } /** *Type of the cluster operation.
*/ inline void SetOperationType(const Aws::String& value) { m_operationTypeHasBeenSet = true; m_operationType = value; } /** *Type of the cluster operation.
*/ inline void SetOperationType(Aws::String&& value) { m_operationTypeHasBeenSet = true; m_operationType = std::move(value); } /** *Type of the cluster operation.
*/ inline void SetOperationType(const char* value) { m_operationTypeHasBeenSet = true; m_operationType.assign(value); } /** *Type of the cluster operation.
*/ inline ClusterOperationInfo& WithOperationType(const Aws::String& value) { SetOperationType(value); return *this;} /** *Type of the cluster operation.
*/ inline ClusterOperationInfo& WithOperationType(Aws::String&& value) { SetOperationType(std::move(value)); return *this;} /** *Type of the cluster operation.
*/ inline ClusterOperationInfo& WithOperationType(const char* value) { SetOperationType(value); return *this;} /** *Information about cluster attributes before a cluster is * updated.
*/ inline const MutableClusterInfo& GetSourceClusterInfo() const{ return m_sourceClusterInfo; } /** *Information about cluster attributes before a cluster is * updated.
*/ inline bool SourceClusterInfoHasBeenSet() const { return m_sourceClusterInfoHasBeenSet; } /** *Information about cluster attributes before a cluster is * updated.
*/ inline void SetSourceClusterInfo(const MutableClusterInfo& value) { m_sourceClusterInfoHasBeenSet = true; m_sourceClusterInfo = value; } /** *Information about cluster attributes before a cluster is * updated.
*/ inline void SetSourceClusterInfo(MutableClusterInfo&& value) { m_sourceClusterInfoHasBeenSet = true; m_sourceClusterInfo = std::move(value); } /** *Information about cluster attributes before a cluster is * updated.
*/ inline ClusterOperationInfo& WithSourceClusterInfo(const MutableClusterInfo& value) { SetSourceClusterInfo(value); return *this;} /** *Information about cluster attributes before a cluster is * updated.
*/ inline ClusterOperationInfo& WithSourceClusterInfo(MutableClusterInfo&& value) { SetSourceClusterInfo(std::move(value)); return *this;} /** *Information about cluster attributes after a cluster is * updated.
*/ inline const MutableClusterInfo& GetTargetClusterInfo() const{ return m_targetClusterInfo; } /** *Information about cluster attributes after a cluster is * updated.
*/ inline bool TargetClusterInfoHasBeenSet() const { return m_targetClusterInfoHasBeenSet; } /** *Information about cluster attributes after a cluster is * updated.
*/ inline void SetTargetClusterInfo(const MutableClusterInfo& value) { m_targetClusterInfoHasBeenSet = true; m_targetClusterInfo = value; } /** *Information about cluster attributes after a cluster is * updated.
*/ inline void SetTargetClusterInfo(MutableClusterInfo&& value) { m_targetClusterInfoHasBeenSet = true; m_targetClusterInfo = std::move(value); } /** *Information about cluster attributes after a cluster is * updated.
*/ inline ClusterOperationInfo& WithTargetClusterInfo(const MutableClusterInfo& value) { SetTargetClusterInfo(value); return *this;} /** *Information about cluster attributes after a cluster is * updated.
*/ inline ClusterOperationInfo& WithTargetClusterInfo(MutableClusterInfo&& value) { SetTargetClusterInfo(std::move(value)); return *this;} /** *Description of the VPC connection for CreateVpcConnection and * DeleteVpcConnection operations.
*/ inline const VpcConnectionInfo& GetVpcConnectionInfo() const{ return m_vpcConnectionInfo; } /** *Description of the VPC connection for CreateVpcConnection and * DeleteVpcConnection operations.
*/ inline bool VpcConnectionInfoHasBeenSet() const { return m_vpcConnectionInfoHasBeenSet; } /** *Description of the VPC connection for CreateVpcConnection and * DeleteVpcConnection operations.
*/ inline void SetVpcConnectionInfo(const VpcConnectionInfo& value) { m_vpcConnectionInfoHasBeenSet = true; m_vpcConnectionInfo = value; } /** *Description of the VPC connection for CreateVpcConnection and * DeleteVpcConnection operations.
*/ inline void SetVpcConnectionInfo(VpcConnectionInfo&& value) { m_vpcConnectionInfoHasBeenSet = true; m_vpcConnectionInfo = std::move(value); } /** *Description of the VPC connection for CreateVpcConnection and * DeleteVpcConnection operations.
*/ inline ClusterOperationInfo& WithVpcConnectionInfo(const VpcConnectionInfo& value) { SetVpcConnectionInfo(value); return *this;} /** *Description of the VPC connection for CreateVpcConnection and * DeleteVpcConnection operations.
*/ inline ClusterOperationInfo& WithVpcConnectionInfo(VpcConnectionInfo&& value) { SetVpcConnectionInfo(std::move(value)); return *this;} private: Aws::String m_clientRequestId; bool m_clientRequestIdHasBeenSet = false; Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; ErrorInfo m_errorInfo; bool m_errorInfoHasBeenSet = false; Aws::String m_operationArn; bool m_operationArnHasBeenSet = false; Aws::String m_operationState; bool m_operationStateHasBeenSet = false; Aws::Vector