/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace KafkaConnect { namespace Model { /** */ class DeleteConnectorRequest : public KafkaConnectRequest { public: AWS_KAFKACONNECT_API DeleteConnectorRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteConnector"; } AWS_KAFKACONNECT_API Aws::String SerializePayload() const override; AWS_KAFKACONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

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

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

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

*/ inline bool ConnectorArnHasBeenSet() const { return m_connectorArnHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

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

The current version of the connector that you want to delete.

*/ inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; } /** *

The current version of the connector that you want to delete.

*/ inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; } /** *

The current version of the connector that you want to delete.

*/ inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; } /** *

The current version of the connector that you want to delete.

*/ inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); } /** *

The current version of the connector that you want to delete.

*/ inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); } /** *

The current version of the connector that you want to delete.

*/ inline DeleteConnectorRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;} /** *

The current version of the connector that you want to delete.

*/ inline DeleteConnectorRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;} /** *

The current version of the connector that you want to delete.

*/ inline DeleteConnectorRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;} private: Aws::String m_connectorArn; bool m_connectorArnHasBeenSet = false; Aws::String m_currentVersion; bool m_currentVersionHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws