AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Plugin.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/kafkaconnect/model/CustomPlugin.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace KafkaConnect
22{
23namespace Model
24{
25
32 class Plugin
33 {
34 public:
35 AWS_KAFKACONNECT_API Plugin() = default;
36 AWS_KAFKACONNECT_API Plugin(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KAFKACONNECT_API Plugin& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const CustomPlugin& GetCustomPlugin() const { return m_customPlugin; }
46 inline bool CustomPluginHasBeenSet() const { return m_customPluginHasBeenSet; }
47 template<typename CustomPluginT = CustomPlugin>
48 void SetCustomPlugin(CustomPluginT&& value) { m_customPluginHasBeenSet = true; m_customPlugin = std::forward<CustomPluginT>(value); }
49 template<typename CustomPluginT = CustomPlugin>
50 Plugin& WithCustomPlugin(CustomPluginT&& value) { SetCustomPlugin(std::forward<CustomPluginT>(value)); return *this;}
52 private:
53
54 CustomPlugin m_customPlugin;
55 bool m_customPluginHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace KafkaConnect
60} // namespace Aws
Plugin & WithCustomPlugin(CustomPluginT &&value)
Definition Plugin.h:50
void SetCustomPlugin(CustomPluginT &&value)
Definition Plugin.h:48
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool CustomPluginHasBeenSet() const
Definition Plugin.h:46
AWS_KAFKACONNECT_API Plugin & operator=(Aws::Utils::Json::JsonView jsonValue)
const CustomPlugin & GetCustomPlugin() const
Definition Plugin.h:45
AWS_KAFKACONNECT_API Plugin(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API Plugin()=default
Aws::Utils::Json::JsonValue JsonValue