AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CustomPluginDescription.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
28 public:
29 AWS_KAFKACONNECT_API CustomPluginDescription() = default;
30 AWS_KAFKACONNECT_API CustomPluginDescription(Aws::Utils::Json::JsonView jsonValue);
32 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetCustomPluginArn() const { return m_customPluginArn; }
39 inline bool CustomPluginArnHasBeenSet() const { return m_customPluginArnHasBeenSet; }
40 template <typename CustomPluginArnT = Aws::String>
41 void SetCustomPluginArn(CustomPluginArnT&& value) {
42 m_customPluginArnHasBeenSet = true;
43 m_customPluginArn = std::forward<CustomPluginArnT>(value);
44 }
45 template <typename CustomPluginArnT = Aws::String>
46 CustomPluginDescription& WithCustomPluginArn(CustomPluginArnT&& value) {
47 SetCustomPluginArn(std::forward<CustomPluginArnT>(value));
48 return *this;
49 }
51
53
56 inline long long GetRevision() const { return m_revision; }
57 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
58 inline void SetRevision(long long value) {
59 m_revisionHasBeenSet = true;
60 m_revision = value;
61 }
62 inline CustomPluginDescription& WithRevision(long long value) {
63 SetRevision(value);
64 return *this;
65 }
67 private:
68 Aws::String m_customPluginArn;
69
70 long long m_revision{0};
71 bool m_customPluginArnHasBeenSet = false;
72 bool m_revisionHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace KafkaConnect
77} // namespace Aws
AWS_KAFKACONNECT_API CustomPluginDescription()=default
AWS_KAFKACONNECT_API CustomPluginDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomPluginDescription & WithRevision(long long value)
AWS_KAFKACONNECT_API CustomPluginDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
CustomPluginDescription & WithCustomPluginArn(CustomPluginArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue