AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CustomPlugin.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafkaconnect/KafkaConnect_EXPORTS.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 CustomPlugin() = default;
31 AWS_KAFKACONNECT_API CustomPlugin(Aws::Utils::Json::JsonView jsonValue);
32 AWS_KAFKACONNECT_API CustomPlugin& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetCustomPluginArn() const { return m_customPluginArn; }
40 inline bool CustomPluginArnHasBeenSet() const { return m_customPluginArnHasBeenSet; }
41 template <typename CustomPluginArnT = Aws::String>
42 void SetCustomPluginArn(CustomPluginArnT&& value) {
43 m_customPluginArnHasBeenSet = true;
44 m_customPluginArn = std::forward<CustomPluginArnT>(value);
45 }
46 template <typename CustomPluginArnT = Aws::String>
47 CustomPlugin& WithCustomPluginArn(CustomPluginArnT&& value) {
48 SetCustomPluginArn(std::forward<CustomPluginArnT>(value));
49 return *this;
50 }
52
54
57 inline long long GetRevision() const { return m_revision; }
58 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
59 inline void SetRevision(long long value) {
60 m_revisionHasBeenSet = true;
61 m_revision = value;
62 }
63 inline CustomPlugin& WithRevision(long long value) {
64 SetRevision(value);
65 return *this;
66 }
68 private:
69 Aws::String m_customPluginArn;
70
71 long long m_revision{0};
72 bool m_customPluginArnHasBeenSet = false;
73 bool m_revisionHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace KafkaConnect
78} // namespace Aws
CustomPlugin & WithCustomPluginArn(CustomPluginArnT &&value)
const Aws::String & GetCustomPluginArn() const
AWS_KAFKACONNECT_API CustomPlugin()=default
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCustomPluginArn(CustomPluginArnT &&value)
AWS_KAFKACONNECT_API CustomPlugin(Aws::Utils::Json::JsonView jsonValue)
CustomPlugin & WithRevision(long long value)
AWS_KAFKACONNECT_API CustomPlugin & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue