AWS SDK for C++

AWS SDK for C++ Version 1.11.741

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KafkaConnect {
20namespace Model {
21
28class Plugin {
29 public:
30 AWS_KAFKACONNECT_API Plugin() = default;
31 AWS_KAFKACONNECT_API Plugin(Aws::Utils::Json::JsonView jsonValue);
32 AWS_KAFKACONNECT_API Plugin& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const CustomPlugin& GetCustomPlugin() const { return m_customPlugin; }
40 inline bool CustomPluginHasBeenSet() const { return m_customPluginHasBeenSet; }
41 template <typename CustomPluginT = CustomPlugin>
42 void SetCustomPlugin(CustomPluginT&& value) {
43 m_customPluginHasBeenSet = true;
44 m_customPlugin = std::forward<CustomPluginT>(value);
45 }
46 template <typename CustomPluginT = CustomPlugin>
47 Plugin& WithCustomPlugin(CustomPluginT&& value) {
48 SetCustomPlugin(std::forward<CustomPluginT>(value));
49 return *this;
50 }
52 private:
53 CustomPlugin m_customPlugin;
54 bool m_customPluginHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace KafkaConnect
59} // namespace Aws
Plugin & WithCustomPlugin(CustomPluginT &&value)
Definition Plugin.h:47
void SetCustomPlugin(CustomPluginT &&value)
Definition Plugin.h:42
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool CustomPluginHasBeenSet() const
Definition Plugin.h:40
AWS_KAFKACONNECT_API Plugin & operator=(Aws::Utils::Json::JsonView jsonValue)
const CustomPlugin & GetCustomPlugin() const
Definition Plugin.h:39
AWS_KAFKACONNECT_API Plugin(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API Plugin()=default
Aws::Utils::Json::JsonValue JsonValue