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

The Amazon Resource Name (ARN) of the connector that you requested to * delete.

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

The Amazon Resource Name (ARN) of the connector that you requested to * delete.

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

The Amazon Resource Name (ARN) of the connector that you requested to * delete.

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

The Amazon Resource Name (ARN) of the connector that you requested to * delete.

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

The Amazon Resource Name (ARN) of the connector that you requested to * delete.

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

The Amazon Resource Name (ARN) of the connector that you requested to * delete.

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

The Amazon Resource Name (ARN) of the connector that you requested to * delete.

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

The state of the connector that you requested to delete.

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

The state of the connector that you requested to delete.

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

The state of the connector that you requested to delete.

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

The state of the connector that you requested to delete.

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

The state of the connector that you requested to delete.

*/ inline DeleteConnectorResult& 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 DeleteConnectorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteConnectorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteConnectorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_connectorArn; ConnectorState m_connectorState; Aws::String m_requestId; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws