AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CustomPluginSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
10#include <aws/kafkaconnect/model/CustomPluginRevisionSummary.h>
11#include <aws/kafkaconnect/model/CustomPluginState.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace KafkaConnect {
23namespace Model {
24
31 public:
32 AWS_KAFKACONNECT_API CustomPluginSummary() = default;
33 AWS_KAFKACONNECT_API CustomPluginSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
42 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
43 template <typename CreationTimeT = Aws::Utils::DateTime>
44 void SetCreationTime(CreationTimeT&& value) {
45 m_creationTimeHasBeenSet = true;
46 m_creationTime = std::forward<CreationTimeT>(value);
47 }
48 template <typename CreationTimeT = Aws::Utils::DateTime>
49 CustomPluginSummary& WithCreationTime(CreationTimeT&& value) {
50 SetCreationTime(std::forward<CreationTimeT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetCustomPluginArn() const { return m_customPluginArn; }
60 inline bool CustomPluginArnHasBeenSet() const { return m_customPluginArnHasBeenSet; }
61 template <typename CustomPluginArnT = Aws::String>
62 void SetCustomPluginArn(CustomPluginArnT&& value) {
63 m_customPluginArnHasBeenSet = true;
64 m_customPluginArn = std::forward<CustomPluginArnT>(value);
65 }
66 template <typename CustomPluginArnT = Aws::String>
67 CustomPluginSummary& WithCustomPluginArn(CustomPluginArnT&& value) {
68 SetCustomPluginArn(std::forward<CustomPluginArnT>(value));
69 return *this;
70 }
72
74
77 inline CustomPluginState GetCustomPluginState() const { return m_customPluginState; }
78 inline bool CustomPluginStateHasBeenSet() const { return m_customPluginStateHasBeenSet; }
80 m_customPluginStateHasBeenSet = true;
81 m_customPluginState = value;
82 }
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template <typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) {
97 m_descriptionHasBeenSet = true;
98 m_description = std::forward<DescriptionT>(value);
99 }
100 template <typename DescriptionT = Aws::String>
101 CustomPluginSummary& WithDescription(DescriptionT&& value) {
102 SetDescription(std::forward<DescriptionT>(value));
103 return *this;
104 }
106
108
111 inline const CustomPluginRevisionSummary& GetLatestRevision() const { return m_latestRevision; }
112 inline bool LatestRevisionHasBeenSet() const { return m_latestRevisionHasBeenSet; }
113 template <typename LatestRevisionT = CustomPluginRevisionSummary>
114 void SetLatestRevision(LatestRevisionT&& value) {
115 m_latestRevisionHasBeenSet = true;
116 m_latestRevision = std::forward<LatestRevisionT>(value);
117 }
118 template <typename LatestRevisionT = CustomPluginRevisionSummary>
119 CustomPluginSummary& WithLatestRevision(LatestRevisionT&& value) {
120 SetLatestRevision(std::forward<LatestRevisionT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetName() const { return m_name; }
130 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
131 template <typename NameT = Aws::String>
132 void SetName(NameT&& value) {
133 m_nameHasBeenSet = true;
134 m_name = std::forward<NameT>(value);
135 }
136 template <typename NameT = Aws::String>
138 SetName(std::forward<NameT>(value));
139 return *this;
140 }
142 private:
143 Aws::Utils::DateTime m_creationTime{};
144
145 Aws::String m_customPluginArn;
146
148
149 Aws::String m_description;
150
151 CustomPluginRevisionSummary m_latestRevision;
152
153 Aws::String m_name;
154 bool m_creationTimeHasBeenSet = false;
155 bool m_customPluginArnHasBeenSet = false;
156 bool m_customPluginStateHasBeenSet = false;
157 bool m_descriptionHasBeenSet = false;
158 bool m_latestRevisionHasBeenSet = false;
159 bool m_nameHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace KafkaConnect
164} // namespace Aws
const Aws::Utils::DateTime & GetCreationTime() const
void SetCustomPluginArn(CustomPluginArnT &&value)
const CustomPluginRevisionSummary & GetLatestRevision() const
CustomPluginSummary & WithCustomPluginArn(CustomPluginArnT &&value)
AWS_KAFKACONNECT_API CustomPluginSummary()=default
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KAFKACONNECT_API CustomPluginSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomPluginSummary & WithCreationTime(CreationTimeT &&value)
CustomPluginSummary & WithLatestRevision(LatestRevisionT &&value)
AWS_KAFKACONNECT_API CustomPluginSummary(Aws::Utils::Json::JsonView jsonValue)
CustomPluginSummary & WithDescription(DescriptionT &&value)
CustomPluginSummary & WithCustomPluginState(CustomPluginState value)
CustomPluginSummary & WithName(NameT &&value)
void SetCustomPluginState(CustomPluginState value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue