/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Kafka { namespace Model { class AWS_KAFKA_API DeleteClusterResult { public: DeleteClusterResult(); DeleteClusterResult(const Aws::AmazonWebServiceResult& result); DeleteClusterResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the cluster.

*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** *

The Amazon Resource Name (ARN) of the cluster.

*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArn = value; } /** *

The Amazon Resource Name (ARN) of the cluster.

*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the cluster.

*/ inline void SetClusterArn(const char* value) { m_clusterArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the cluster.

*/ inline DeleteClusterResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the cluster.

*/ inline DeleteClusterResult& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the cluster.

*/ inline DeleteClusterResult& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** *

The state of the cluster. The possible states are CREATING, * ACTIVE, and FAILED.

*/ inline const ClusterState& GetState() const{ return m_state; } /** *

The state of the cluster. The possible states are CREATING, * ACTIVE, and FAILED.

*/ inline void SetState(const ClusterState& value) { m_state = value; } /** *

The state of the cluster. The possible states are CREATING, * ACTIVE, and FAILED.

*/ inline void SetState(ClusterState&& value) { m_state = std::move(value); } /** *

The state of the cluster. The possible states are CREATING, * ACTIVE, and FAILED.

*/ inline DeleteClusterResult& WithState(const ClusterState& value) { SetState(value); return *this;} /** *

The state of the cluster. The possible states are CREATING, * ACTIVE, and FAILED.

*/ inline DeleteClusterResult& WithState(ClusterState&& value) { SetState(std::move(value)); return *this;} private: Aws::String m_clusterArn; ClusterState m_state; }; } // namespace Model } // namespace Kafka } // namespace Aws