/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace KafkaConnect { namespace Model { /** *

A plugin is an AWS resource that contains the code that defines your * connector logic.

See Also:

AWS * API Reference

*/ class Plugin { public: AWS_KAFKACONNECT_API Plugin(); AWS_KAFKACONNECT_API Plugin(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKACONNECT_API Plugin& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Details about a custom plugin.

*/ inline const CustomPlugin& GetCustomPlugin() const{ return m_customPlugin; } /** *

Details about a custom plugin.

*/ inline bool CustomPluginHasBeenSet() const { return m_customPluginHasBeenSet; } /** *

Details about a custom plugin.

*/ inline void SetCustomPlugin(const CustomPlugin& value) { m_customPluginHasBeenSet = true; m_customPlugin = value; } /** *

Details about a custom plugin.

*/ inline void SetCustomPlugin(CustomPlugin&& value) { m_customPluginHasBeenSet = true; m_customPlugin = std::move(value); } /** *

Details about a custom plugin.

*/ inline Plugin& WithCustomPlugin(const CustomPlugin& value) { SetCustomPlugin(value); return *this;} /** *

Details about a custom plugin.

*/ inline Plugin& WithCustomPlugin(CustomPlugin&& value) { SetCustomPlugin(std::move(value)); return *this;} private: CustomPlugin m_customPlugin; bool m_customPluginHasBeenSet = false; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws