AWS SDK for C++

AWS SDK for C++ Version 1.11.938

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