/** * 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 KafkaConnect { namespace Model { class CreateConnectorResult { public: AWS_KAFKACONNECT_API CreateConnectorResult(); AWS_KAFKACONNECT_API CreateConnectorResult(const Aws::AmazonWebServiceResult& result); AWS_KAFKACONNECT_API CreateConnectorResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) that Amazon assigned to the connector.

*/ inline const Aws::String& GetConnectorArn() const{ return m_connectorArn; } /** *

The Amazon Resource Name (ARN) that Amazon assigned to the connector.

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

The Amazon Resource Name (ARN) that Amazon assigned to the connector.

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

The Amazon Resource Name (ARN) that Amazon assigned to the connector.

*/ inline void SetConnectorArn(const char* value) { m_connectorArn.assign(value); } /** *

The Amazon Resource Name (ARN) that Amazon assigned to the connector.

*/ inline CreateConnectorResult& WithConnectorArn(const Aws::String& value) { SetConnectorArn(value); return *this;} /** *

The Amazon Resource Name (ARN) that Amazon assigned to the connector.

*/ inline CreateConnectorResult& WithConnectorArn(Aws::String&& value) { SetConnectorArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) that Amazon assigned to the connector.

*/ inline CreateConnectorResult& WithConnectorArn(const char* value) { SetConnectorArn(value); return *this;} /** *

The name of the connector.

*/ inline const Aws::String& GetConnectorName() const{ return m_connectorName; } /** *

The name of the connector.

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

The name of the connector.

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

The name of the connector.

*/ inline void SetConnectorName(const char* value) { m_connectorName.assign(value); } /** *

The name of the connector.

*/ inline CreateConnectorResult& WithConnectorName(const Aws::String& value) { SetConnectorName(value); return *this;} /** *

The name of the connector.

*/ inline CreateConnectorResult& WithConnectorName(Aws::String&& value) { SetConnectorName(std::move(value)); return *this;} /** *

The name of the connector.

*/ inline CreateConnectorResult& WithConnectorName(const char* value) { SetConnectorName(value); return *this;} /** *

The state of the connector.

*/ inline const ConnectorState& GetConnectorState() const{ return m_connectorState; } /** *

The state of the connector.

*/ inline void SetConnectorState(const ConnectorState& value) { m_connectorState = value; } /** *

The state of the connector.

*/ inline void SetConnectorState(ConnectorState&& value) { m_connectorState = std::move(value); } /** *

The state of the connector.

*/ inline CreateConnectorResult& WithConnectorState(const ConnectorState& value) { SetConnectorState(value); return *this;} /** *

The state of the connector.

*/ inline CreateConnectorResult& WithConnectorState(ConnectorState&& value) { SetConnectorState(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateConnectorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateConnectorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateConnectorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_connectorArn; Aws::String m_connectorName; ConnectorState m_connectorState; Aws::String m_requestId; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws