AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCustomPluginArn(const Aws::String& value) { m_customPluginArnHasBeenSet = true; m_customPluginArn = value; }
48 inline void SetCustomPluginArn(Aws::String&& value) { m_customPluginArnHasBeenSet = true; m_customPluginArn = std::move(value); }
49 inline void SetCustomPluginArn(const char* value) { m_customPluginArnHasBeenSet = true; m_customPluginArn.assign(value); }
50 inline CustomPlugin& WithCustomPluginArn(const Aws::String& value) { SetCustomPluginArn(value); return *this;}
51 inline CustomPlugin& WithCustomPluginArn(Aws::String&& value) { SetCustomPluginArn(std::move(value)); return *this;}
52 inline CustomPlugin& WithCustomPluginArn(const char* value) { SetCustomPluginArn(value); return *this;}
54
56
59 inline long long GetRevision() const{ return m_revision; }
60 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
61 inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; }
62 inline CustomPlugin& WithRevision(long long value) { SetRevision(value); return *this;}
64 private:
65
66 Aws::String m_customPluginArn;
67 bool m_customPluginArnHasBeenSet = false;
68
69 long long m_revision;
70 bool m_revisionHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace KafkaConnect
75} // namespace Aws
const Aws::String & GetCustomPluginArn() const
CustomPlugin & WithCustomPluginArn(const char *value)
void SetCustomPluginArn(Aws::String &&value)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API CustomPlugin(Aws::Utils::Json::JsonView jsonValue)
CustomPlugin & WithCustomPluginArn(const Aws::String &value)
void SetCustomPluginArn(const char *value)
CustomPlugin & WithRevision(long long value)
AWS_KAFKACONNECT_API CustomPlugin()
CustomPlugin & WithCustomPluginArn(Aws::String &&value)
void SetCustomPluginArn(const Aws::String &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