1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8 #include <aws/kafkaconnect/model/CustomPluginDescription.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17   class JsonValue;
18   class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace KafkaConnect
22 {
23 namespace Model
24 {
25 
26   /**
27    * <p>The description of the plugin.</p><p><h3>See Also:</h3>   <a
28    * href="http://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/PluginDescription">AWS
29    * API Reference</a></p>
30    */
31   class AWS_KAFKACONNECT_API PluginDescription
32   {
33   public:
34     PluginDescription();
35     PluginDescription(Aws::Utils::Json::JsonView jsonValue);
36     PluginDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
37     Aws::Utils::Json::JsonValue Jsonize() const;
38 
39 
40     /**
41      * <p>Details about a custom plugin.</p>
42      */
GetCustomPlugin()43     inline const CustomPluginDescription& GetCustomPlugin() const{ return m_customPlugin; }
44 
45     /**
46      * <p>Details about a custom plugin.</p>
47      */
CustomPluginHasBeenSet()48     inline bool CustomPluginHasBeenSet() const { return m_customPluginHasBeenSet; }
49 
50     /**
51      * <p>Details about a custom plugin.</p>
52      */
SetCustomPlugin(const CustomPluginDescription & value)53     inline void SetCustomPlugin(const CustomPluginDescription& value) { m_customPluginHasBeenSet = true; m_customPlugin = value; }
54 
55     /**
56      * <p>Details about a custom plugin.</p>
57      */
SetCustomPlugin(CustomPluginDescription && value)58     inline void SetCustomPlugin(CustomPluginDescription&& value) { m_customPluginHasBeenSet = true; m_customPlugin = std::move(value); }
59 
60     /**
61      * <p>Details about a custom plugin.</p>
62      */
WithCustomPlugin(const CustomPluginDescription & value)63     inline PluginDescription& WithCustomPlugin(const CustomPluginDescription& value) { SetCustomPlugin(value); return *this;}
64 
65     /**
66      * <p>Details about a custom plugin.</p>
67      */
WithCustomPlugin(CustomPluginDescription && value)68     inline PluginDescription& WithCustomPlugin(CustomPluginDescription&& value) { SetCustomPlugin(std::move(value)); return *this;}
69 
70   private:
71 
72     CustomPluginDescription m_customPlugin;
73     bool m_customPluginHasBeenSet;
74   };
75 
76 } // namespace Model
77 } // namespace KafkaConnect
78 } // namespace Aws
79