/** * 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 CreateClusterResult { public: CreateClusterResult(); CreateClusterResult(const Aws::AmazonWebServiceResult& result); CreateClusterResult& 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 CreateClusterResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the cluster.

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

The Amazon Resource Name (ARN) of the cluster.

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

The name of the MSK cluster.

*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** *

The name of the MSK cluster.

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

The name of the MSK cluster.

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

The name of the MSK cluster.

*/ inline void SetClusterName(const char* value) { m_clusterName.assign(value); } /** *

The name of the MSK cluster.

*/ inline CreateClusterResult& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** *

The name of the MSK cluster.

*/ inline CreateClusterResult& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** *

The name of the MSK cluster.

*/ inline CreateClusterResult& WithClusterName(const char* value) { SetClusterName(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 CreateClusterResult& WithState(const ClusterState& value) { SetState(value); return *this;} /** *

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

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