AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
PluginDescription.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/kafkaconnect/model/CustomPluginDescription.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
28 public:
29 AWS_KAFKACONNECT_API PluginDescription() = default;
30 AWS_KAFKACONNECT_API PluginDescription(Aws::Utils::Json::JsonView jsonValue);
31 AWS_KAFKACONNECT_API PluginDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const CustomPluginDescription& GetCustomPlugin() const { return m_customPlugin; }
39 inline bool CustomPluginHasBeenSet() const { return m_customPluginHasBeenSet; }
40 template <typename CustomPluginT = CustomPluginDescription>
41 void SetCustomPlugin(CustomPluginT&& value) {
42 m_customPluginHasBeenSet = true;
43 m_customPlugin = std::forward<CustomPluginT>(value);
44 }
45 template <typename CustomPluginT = CustomPluginDescription>
46 PluginDescription& WithCustomPlugin(CustomPluginT&& value) {
47 SetCustomPlugin(std::forward<CustomPluginT>(value));
48 return *this;
49 }
51 private:
52 CustomPluginDescription m_customPlugin;
53 bool m_customPluginHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace KafkaConnect
58} // namespace Aws
PluginDescription & WithCustomPlugin(CustomPluginT &&value)
AWS_KAFKACONNECT_API PluginDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API PluginDescription()=default
const CustomPluginDescription & GetCustomPlugin() const
AWS_KAFKACONNECT_API PluginDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue