AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ConnectorSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
11#include <aws/kafkaconnect/model/CapacityDescription.h>
12#include <aws/kafkaconnect/model/ConnectorState.h>
13#include <aws/kafkaconnect/model/KafkaClusterClientAuthenticationDescription.h>
14#include <aws/kafkaconnect/model/KafkaClusterDescription.h>
15#include <aws/kafkaconnect/model/KafkaClusterEncryptionInTransitDescription.h>
16#include <aws/kafkaconnect/model/LogDeliveryDescription.h>
17#include <aws/kafkaconnect/model/NetworkType.h>
18#include <aws/kafkaconnect/model/PluginDescription.h>
19#include <aws/kafkaconnect/model/WorkerConfigurationDescription.h>
20
21#include <utility>
22
23namespace Aws {
24namespace Utils {
25namespace Json {
26class JsonValue;
27class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace KafkaConnect {
31namespace Model {
32
39 public:
40 AWS_KAFKACONNECT_API ConnectorSummary() = default;
41 AWS_KAFKACONNECT_API ConnectorSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KAFKACONNECT_API ConnectorSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
46
49 inline const CapacityDescription& GetCapacity() const { return m_capacity; }
50 inline bool CapacityHasBeenSet() const { return m_capacityHasBeenSet; }
51 template <typename CapacityT = CapacityDescription>
52 void SetCapacity(CapacityT&& value) {
53 m_capacityHasBeenSet = true;
54 m_capacity = std::forward<CapacityT>(value);
55 }
56 template <typename CapacityT = CapacityDescription>
57 ConnectorSummary& WithCapacity(CapacityT&& value) {
58 SetCapacity(std::forward<CapacityT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetConnectorArn() const { return m_connectorArn; }
68 inline bool ConnectorArnHasBeenSet() const { return m_connectorArnHasBeenSet; }
69 template <typename ConnectorArnT = Aws::String>
70 void SetConnectorArn(ConnectorArnT&& value) {
71 m_connectorArnHasBeenSet = true;
72 m_connectorArn = std::forward<ConnectorArnT>(value);
73 }
74 template <typename ConnectorArnT = Aws::String>
75 ConnectorSummary& WithConnectorArn(ConnectorArnT&& value) {
76 SetConnectorArn(std::forward<ConnectorArnT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetConnectorDescription() const { return m_connectorDescription; }
86 inline bool ConnectorDescriptionHasBeenSet() const { return m_connectorDescriptionHasBeenSet; }
87 template <typename ConnectorDescriptionT = Aws::String>
88 void SetConnectorDescription(ConnectorDescriptionT&& value) {
89 m_connectorDescriptionHasBeenSet = true;
90 m_connectorDescription = std::forward<ConnectorDescriptionT>(value);
91 }
92 template <typename ConnectorDescriptionT = Aws::String>
93 ConnectorSummary& WithConnectorDescription(ConnectorDescriptionT&& value) {
94 SetConnectorDescription(std::forward<ConnectorDescriptionT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetConnectorName() const { return m_connectorName; }
104 inline bool ConnectorNameHasBeenSet() const { return m_connectorNameHasBeenSet; }
105 template <typename ConnectorNameT = Aws::String>
106 void SetConnectorName(ConnectorNameT&& value) {
107 m_connectorNameHasBeenSet = true;
108 m_connectorName = std::forward<ConnectorNameT>(value);
109 }
110 template <typename ConnectorNameT = Aws::String>
111 ConnectorSummary& WithConnectorName(ConnectorNameT&& value) {
112 SetConnectorName(std::forward<ConnectorNameT>(value));
113 return *this;
114 }
116
118
121 inline ConnectorState GetConnectorState() const { return m_connectorState; }
122 inline bool ConnectorStateHasBeenSet() const { return m_connectorStateHasBeenSet; }
124 m_connectorStateHasBeenSet = true;
125 m_connectorState = value;
126 }
128 SetConnectorState(value);
129 return *this;
130 }
132
134
137 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
138 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
139 template <typename CreationTimeT = Aws::Utils::DateTime>
140 void SetCreationTime(CreationTimeT&& value) {
141 m_creationTimeHasBeenSet = true;
142 m_creationTime = std::forward<CreationTimeT>(value);
143 }
144 template <typename CreationTimeT = Aws::Utils::DateTime>
145 ConnectorSummary& WithCreationTime(CreationTimeT&& value) {
146 SetCreationTime(std::forward<CreationTimeT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
156 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
157 template <typename CurrentVersionT = Aws::String>
158 void SetCurrentVersion(CurrentVersionT&& value) {
159 m_currentVersionHasBeenSet = true;
160 m_currentVersion = std::forward<CurrentVersionT>(value);
161 }
162 template <typename CurrentVersionT = Aws::String>
163 ConnectorSummary& WithCurrentVersion(CurrentVersionT&& value) {
164 SetCurrentVersion(std::forward<CurrentVersionT>(value));
165 return *this;
166 }
168
170
174 inline const KafkaClusterDescription& GetKafkaCluster() const { return m_kafkaCluster; }
175 inline bool KafkaClusterHasBeenSet() const { return m_kafkaClusterHasBeenSet; }
176 template <typename KafkaClusterT = KafkaClusterDescription>
177 void SetKafkaCluster(KafkaClusterT&& value) {
178 m_kafkaClusterHasBeenSet = true;
179 m_kafkaCluster = std::forward<KafkaClusterT>(value);
180 }
181 template <typename KafkaClusterT = KafkaClusterDescription>
182 ConnectorSummary& WithKafkaCluster(KafkaClusterT&& value) {
183 SetKafkaCluster(std::forward<KafkaClusterT>(value));
184 return *this;
185 }
187
189
194 return m_kafkaClusterClientAuthentication;
195 }
196 inline bool KafkaClusterClientAuthenticationHasBeenSet() const { return m_kafkaClusterClientAuthenticationHasBeenSet; }
197 template <typename KafkaClusterClientAuthenticationT = KafkaClusterClientAuthenticationDescription>
198 void SetKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationT&& value) {
199 m_kafkaClusterClientAuthenticationHasBeenSet = true;
200 m_kafkaClusterClientAuthentication = std::forward<KafkaClusterClientAuthenticationT>(value);
201 }
202 template <typename KafkaClusterClientAuthenticationT = KafkaClusterClientAuthenticationDescription>
203 ConnectorSummary& WithKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationT&& value) {
204 SetKafkaClusterClientAuthentication(std::forward<KafkaClusterClientAuthenticationT>(value));
205 return *this;
206 }
208
210
214 return m_kafkaClusterEncryptionInTransit;
215 }
216 inline bool KafkaClusterEncryptionInTransitHasBeenSet() const { return m_kafkaClusterEncryptionInTransitHasBeenSet; }
217 template <typename KafkaClusterEncryptionInTransitT = KafkaClusterEncryptionInTransitDescription>
218 void SetKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitT&& value) {
219 m_kafkaClusterEncryptionInTransitHasBeenSet = true;
220 m_kafkaClusterEncryptionInTransit = std::forward<KafkaClusterEncryptionInTransitT>(value);
221 }
222 template <typename KafkaClusterEncryptionInTransitT = KafkaClusterEncryptionInTransitDescription>
223 ConnectorSummary& WithKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitT&& value) {
224 SetKafkaClusterEncryptionInTransit(std::forward<KafkaClusterEncryptionInTransitT>(value));
225 return *this;
226 }
228
230
234 inline const Aws::String& GetKafkaConnectVersion() const { return m_kafkaConnectVersion; }
235 inline bool KafkaConnectVersionHasBeenSet() const { return m_kafkaConnectVersionHasBeenSet; }
236 template <typename KafkaConnectVersionT = Aws::String>
237 void SetKafkaConnectVersion(KafkaConnectVersionT&& value) {
238 m_kafkaConnectVersionHasBeenSet = true;
239 m_kafkaConnectVersion = std::forward<KafkaConnectVersionT>(value);
240 }
241 template <typename KafkaConnectVersionT = Aws::String>
242 ConnectorSummary& WithKafkaConnectVersion(KafkaConnectVersionT&& value) {
243 SetKafkaConnectVersion(std::forward<KafkaConnectVersionT>(value));
244 return *this;
245 }
247
249
252 inline const LogDeliveryDescription& GetLogDelivery() const { return m_logDelivery; }
253 inline bool LogDeliveryHasBeenSet() const { return m_logDeliveryHasBeenSet; }
254 template <typename LogDeliveryT = LogDeliveryDescription>
255 void SetLogDelivery(LogDeliveryT&& value) {
256 m_logDeliveryHasBeenSet = true;
257 m_logDelivery = std::forward<LogDeliveryT>(value);
258 }
259 template <typename LogDeliveryT = LogDeliveryDescription>
260 ConnectorSummary& WithLogDelivery(LogDeliveryT&& value) {
261 SetLogDelivery(std::forward<LogDeliveryT>(value));
262 return *this;
263 }
265
267
271 inline NetworkType GetNetworkType() const { return m_networkType; }
272 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
273 inline void SetNetworkType(NetworkType value) {
274 m_networkTypeHasBeenSet = true;
275 m_networkType = value;
276 }
278 SetNetworkType(value);
279 return *this;
280 }
282
284
287 inline const Aws::Vector<PluginDescription>& GetPlugins() const { return m_plugins; }
288 inline bool PluginsHasBeenSet() const { return m_pluginsHasBeenSet; }
289 template <typename PluginsT = Aws::Vector<PluginDescription>>
290 void SetPlugins(PluginsT&& value) {
291 m_pluginsHasBeenSet = true;
292 m_plugins = std::forward<PluginsT>(value);
293 }
294 template <typename PluginsT = Aws::Vector<PluginDescription>>
295 ConnectorSummary& WithPlugins(PluginsT&& value) {
296 SetPlugins(std::forward<PluginsT>(value));
297 return *this;
298 }
299 template <typename PluginsT = PluginDescription>
300 ConnectorSummary& AddPlugins(PluginsT&& value) {
301 m_pluginsHasBeenSet = true;
302 m_plugins.emplace_back(std::forward<PluginsT>(value));
303 return *this;
304 }
306
308
312 inline const Aws::String& GetServiceExecutionRoleArn() const { return m_serviceExecutionRoleArn; }
313 inline bool ServiceExecutionRoleArnHasBeenSet() const { return m_serviceExecutionRoleArnHasBeenSet; }
314 template <typename ServiceExecutionRoleArnT = Aws::String>
315 void SetServiceExecutionRoleArn(ServiceExecutionRoleArnT&& value) {
316 m_serviceExecutionRoleArnHasBeenSet = true;
317 m_serviceExecutionRoleArn = std::forward<ServiceExecutionRoleArnT>(value);
318 }
319 template <typename ServiceExecutionRoleArnT = Aws::String>
320 ConnectorSummary& WithServiceExecutionRoleArn(ServiceExecutionRoleArnT&& value) {
321 SetServiceExecutionRoleArn(std::forward<ServiceExecutionRoleArnT>(value));
322 return *this;
323 }
325
327
330 inline const WorkerConfigurationDescription& GetWorkerConfiguration() const { return m_workerConfiguration; }
331 inline bool WorkerConfigurationHasBeenSet() const { return m_workerConfigurationHasBeenSet; }
332 template <typename WorkerConfigurationT = WorkerConfigurationDescription>
333 void SetWorkerConfiguration(WorkerConfigurationT&& value) {
334 m_workerConfigurationHasBeenSet = true;
335 m_workerConfiguration = std::forward<WorkerConfigurationT>(value);
336 }
337 template <typename WorkerConfigurationT = WorkerConfigurationDescription>
338 ConnectorSummary& WithWorkerConfiguration(WorkerConfigurationT&& value) {
339 SetWorkerConfiguration(std::forward<WorkerConfigurationT>(value));
340 return *this;
341 }
343 private:
344 CapacityDescription m_capacity;
345
346 Aws::String m_connectorArn;
347
348 Aws::String m_connectorDescription;
349
350 Aws::String m_connectorName;
351
352 ConnectorState m_connectorState{ConnectorState::NOT_SET};
353
354 Aws::Utils::DateTime m_creationTime{};
355
356 Aws::String m_currentVersion;
357
358 KafkaClusterDescription m_kafkaCluster;
359
360 KafkaClusterClientAuthenticationDescription m_kafkaClusterClientAuthentication;
361
362 KafkaClusterEncryptionInTransitDescription m_kafkaClusterEncryptionInTransit;
363
364 Aws::String m_kafkaConnectVersion;
365
366 LogDeliveryDescription m_logDelivery;
367
368 NetworkType m_networkType{NetworkType::NOT_SET};
369
371
372 Aws::String m_serviceExecutionRoleArn;
373
374 WorkerConfigurationDescription m_workerConfiguration;
375 bool m_capacityHasBeenSet = false;
376 bool m_connectorArnHasBeenSet = false;
377 bool m_connectorDescriptionHasBeenSet = false;
378 bool m_connectorNameHasBeenSet = false;
379 bool m_connectorStateHasBeenSet = false;
380 bool m_creationTimeHasBeenSet = false;
381 bool m_currentVersionHasBeenSet = false;
382 bool m_kafkaClusterHasBeenSet = false;
383 bool m_kafkaClusterClientAuthenticationHasBeenSet = false;
384 bool m_kafkaClusterEncryptionInTransitHasBeenSet = false;
385 bool m_kafkaConnectVersionHasBeenSet = false;
386 bool m_logDeliveryHasBeenSet = false;
387 bool m_networkTypeHasBeenSet = false;
388 bool m_pluginsHasBeenSet = false;
389 bool m_serviceExecutionRoleArnHasBeenSet = false;
390 bool m_workerConfigurationHasBeenSet = false;
391};
392
393} // namespace Model
394} // namespace KafkaConnect
395} // namespace Aws
const Aws::String & GetConnectorArn() const
const KafkaClusterEncryptionInTransitDescription & GetKafkaClusterEncryptionInTransit() const
void SetServiceExecutionRoleArn(ServiceExecutionRoleArnT &&value)
ConnectorSummary & WithPlugins(PluginsT &&value)
const Aws::String & GetConnectorName() const
ConnectorSummary & WithCurrentVersion(CurrentVersionT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ConnectorSummary & WithCreationTime(CreationTimeT &&value)
ConnectorSummary & WithConnectorName(ConnectorNameT &&value)
void SetCreationTime(CreationTimeT &&value)
ConnectorSummary & WithKafkaConnectVersion(KafkaConnectVersionT &&value)
const KafkaClusterDescription & GetKafkaCluster() const
ConnectorSummary & WithLogDelivery(LogDeliveryT &&value)
void SetKafkaCluster(KafkaClusterT &&value)
const Aws::String & GetConnectorDescription() const
ConnectorSummary & WithConnectorDescription(ConnectorDescriptionT &&value)
ConnectorSummary & WithKafkaCluster(KafkaClusterT &&value)
ConnectorSummary & WithConnectorArn(ConnectorArnT &&value)
void SetConnectorName(ConnectorNameT &&value)
AWS_KAFKACONNECT_API ConnectorSummary()=default
void SetKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationT &&value)
void SetKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitT &&value)
ConnectorSummary & WithWorkerConfiguration(WorkerConfigurationT &&value)
const CapacityDescription & GetCapacity() const
void SetCurrentVersion(CurrentVersionT &&value)
ConnectorSummary & WithKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationT &&value)
void SetWorkerConfiguration(WorkerConfigurationT &&value)
void SetKafkaConnectVersion(KafkaConnectVersionT &&value)
void SetConnectorArn(ConnectorArnT &&value)
const LogDeliveryDescription & GetLogDelivery() const
const Aws::Vector< PluginDescription > & GetPlugins() const
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectorSummary & WithCapacity(CapacityT &&value)
const Aws::String & GetCurrentVersion() const
ConnectorSummary & AddPlugins(PluginsT &&value)
ConnectorSummary & WithNetworkType(NetworkType value)
AWS_KAFKACONNECT_API ConnectorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectorSummary & WithConnectorState(ConnectorState value)
const Aws::String & GetServiceExecutionRoleArn() const
AWS_KAFKACONNECT_API ConnectorSummary(Aws::Utils::Json::JsonView jsonValue)
const WorkerConfigurationDescription & GetWorkerConfiguration() const
const KafkaClusterClientAuthenticationDescription & GetKafkaClusterClientAuthentication() const
ConnectorSummary & WithServiceExecutionRoleArn(ServiceExecutionRoleArnT &&value)
const Aws::String & GetKafkaConnectVersion() const
void SetConnectorDescription(ConnectorDescriptionT &&value)
ConnectorSummary & WithKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue