AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CustomPlugin.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
33 {
34 public:
35 AWS_KAFKACONNECT_API CustomPlugin() = default;
36 AWS_KAFKACONNECT_API CustomPlugin(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KAFKACONNECT_API CustomPlugin& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCustomPluginArn() const { return m_customPluginArn; }
46 inline bool CustomPluginArnHasBeenSet() const { return m_customPluginArnHasBeenSet; }
47 template<typename CustomPluginArnT = Aws::String>
48 void SetCustomPluginArn(CustomPluginArnT&& value) { m_customPluginArnHasBeenSet = true; m_customPluginArn = std::forward<CustomPluginArnT>(value); }
49 template<typename CustomPluginArnT = Aws::String>
50 CustomPlugin& WithCustomPluginArn(CustomPluginArnT&& value) { SetCustomPluginArn(std::forward<CustomPluginArnT>(value)); return *this;}
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) { m_revisionHasBeenSet = true; m_revision = value; }
60 inline CustomPlugin& WithRevision(long long value) { SetRevision(value); return *this;}
62 private:
63
64 Aws::String m_customPluginArn;
65 bool m_customPluginArnHasBeenSet = false;
66
67 long long m_revision{0};
68 bool m_revisionHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace KafkaConnect
73} // 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