/** * 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 { /** *

The description of the plugin.

See Also:

AWS * API Reference

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

Details about a custom plugin.

*/ inline const CustomPluginDescription& 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 CustomPluginDescription& value) { m_customPluginHasBeenSet = true; m_customPlugin = value; } /** *

Details about a custom plugin.

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

Details about a custom plugin.

*/ inline PluginDescription& WithCustomPlugin(const CustomPluginDescription& value) { SetCustomPlugin(value); return *this;} /** *

Details about a custom plugin.

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