AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DescribeConnectorResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
12#include <aws/kafkaconnect/model/CapacityDescription.h>
13#include <aws/kafkaconnect/model/ConnectorState.h>
14#include <aws/kafkaconnect/model/KafkaClusterClientAuthenticationDescription.h>
15#include <aws/kafkaconnect/model/KafkaClusterDescription.h>
16#include <aws/kafkaconnect/model/KafkaClusterEncryptionInTransitDescription.h>
17#include <aws/kafkaconnect/model/LogDeliveryDescription.h>
18#include <aws/kafkaconnect/model/NetworkType.h>
19#include <aws/kafkaconnect/model/PluginDescription.h>
20#include <aws/kafkaconnect/model/StateDescription.h>
21#include <aws/kafkaconnect/model/WorkerConfigurationDescription.h>
22
23#include <utility>
24
25namespace Aws {
26template <typename RESULT_TYPE>
27class AmazonWebServiceResult;
28
29namespace Utils {
30namespace Json {
31class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace KafkaConnect {
35namespace Model {
37 public:
38 AWS_KAFKACONNECT_API DescribeConnectorResult() = default;
41
43
47 inline const CapacityDescription& GetCapacity() const { return m_capacity; }
48 template <typename CapacityT = CapacityDescription>
49 void SetCapacity(CapacityT&& value) {
50 m_capacityHasBeenSet = true;
51 m_capacity = std::forward<CapacityT>(value);
52 }
53 template <typename CapacityT = CapacityDescription>
55 SetCapacity(std::forward<CapacityT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetConnectorArn() const { return m_connectorArn; }
65 template <typename ConnectorArnT = Aws::String>
66 void SetConnectorArn(ConnectorArnT&& value) {
67 m_connectorArnHasBeenSet = true;
68 m_connectorArn = std::forward<ConnectorArnT>(value);
69 }
70 template <typename ConnectorArnT = Aws::String>
71 DescribeConnectorResult& WithConnectorArn(ConnectorArnT&& value) {
72 SetConnectorArn(std::forward<ConnectorArnT>(value));
73 return *this;
74 }
76
78
82 inline const Aws::Map<Aws::String, Aws::String>& GetConnectorConfiguration() const { return m_connectorConfiguration; }
83 template <typename ConnectorConfigurationT = Aws::Map<Aws::String, Aws::String>>
84 void SetConnectorConfiguration(ConnectorConfigurationT&& value) {
85 m_connectorConfigurationHasBeenSet = true;
86 m_connectorConfiguration = std::forward<ConnectorConfigurationT>(value);
87 }
88 template <typename ConnectorConfigurationT = Aws::Map<Aws::String, Aws::String>>
89 DescribeConnectorResult& WithConnectorConfiguration(ConnectorConfigurationT&& value) {
90 SetConnectorConfiguration(std::forward<ConnectorConfigurationT>(value));
91 return *this;
92 }
93 template <typename ConnectorConfigurationKeyT = Aws::String, typename ConnectorConfigurationValueT = Aws::String>
94 DescribeConnectorResult& AddConnectorConfiguration(ConnectorConfigurationKeyT&& key, ConnectorConfigurationValueT&& value) {
95 m_connectorConfigurationHasBeenSet = true;
96 m_connectorConfiguration.emplace(std::forward<ConnectorConfigurationKeyT>(key), std::forward<ConnectorConfigurationValueT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetConnectorDescription() const { return m_connectorDescription; }
106 template <typename ConnectorDescriptionT = Aws::String>
107 void SetConnectorDescription(ConnectorDescriptionT&& value) {
108 m_connectorDescriptionHasBeenSet = true;
109 m_connectorDescription = std::forward<ConnectorDescriptionT>(value);
110 }
111 template <typename ConnectorDescriptionT = Aws::String>
112 DescribeConnectorResult& WithConnectorDescription(ConnectorDescriptionT&& value) {
113 SetConnectorDescription(std::forward<ConnectorDescriptionT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetConnectorName() const { return m_connectorName; }
123 template <typename ConnectorNameT = Aws::String>
124 void SetConnectorName(ConnectorNameT&& value) {
125 m_connectorNameHasBeenSet = true;
126 m_connectorName = std::forward<ConnectorNameT>(value);
127 }
128 template <typename ConnectorNameT = Aws::String>
130 SetConnectorName(std::forward<ConnectorNameT>(value));
131 return *this;
132 }
134
136
139 inline ConnectorState GetConnectorState() const { return m_connectorState; }
141 m_connectorStateHasBeenSet = true;
142 m_connectorState = value;
143 }
145 SetConnectorState(value);
146 return *this;
147 }
149
151
154 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
155 template <typename CreationTimeT = Aws::Utils::DateTime>
156 void SetCreationTime(CreationTimeT&& value) {
157 m_creationTimeHasBeenSet = true;
158 m_creationTime = std::forward<CreationTimeT>(value);
159 }
160 template <typename CreationTimeT = Aws::Utils::DateTime>
162 SetCreationTime(std::forward<CreationTimeT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
172 template <typename CurrentVersionT = Aws::String>
173 void SetCurrentVersion(CurrentVersionT&& value) {
174 m_currentVersionHasBeenSet = true;
175 m_currentVersion = std::forward<CurrentVersionT>(value);
176 }
177 template <typename CurrentVersionT = Aws::String>
178 DescribeConnectorResult& WithCurrentVersion(CurrentVersionT&& value) {
179 SetCurrentVersion(std::forward<CurrentVersionT>(value));
180 return *this;
181 }
183
185
188 inline const KafkaClusterDescription& GetKafkaCluster() const { return m_kafkaCluster; }
189 template <typename KafkaClusterT = KafkaClusterDescription>
190 void SetKafkaCluster(KafkaClusterT&& value) {
191 m_kafkaClusterHasBeenSet = true;
192 m_kafkaCluster = std::forward<KafkaClusterT>(value);
193 }
194 template <typename KafkaClusterT = KafkaClusterDescription>
196 SetKafkaCluster(std::forward<KafkaClusterT>(value));
197 return *this;
198 }
200
202
207 return m_kafkaClusterClientAuthentication;
208 }
209 template <typename KafkaClusterClientAuthenticationT = KafkaClusterClientAuthenticationDescription>
210 void SetKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationT&& value) {
211 m_kafkaClusterClientAuthenticationHasBeenSet = true;
212 m_kafkaClusterClientAuthentication = std::forward<KafkaClusterClientAuthenticationT>(value);
213 }
214 template <typename KafkaClusterClientAuthenticationT = KafkaClusterClientAuthenticationDescription>
215 DescribeConnectorResult& WithKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationT&& value) {
216 SetKafkaClusterClientAuthentication(std::forward<KafkaClusterClientAuthenticationT>(value));
217 return *this;
218 }
220
222
226 return m_kafkaClusterEncryptionInTransit;
227 }
228 template <typename KafkaClusterEncryptionInTransitT = KafkaClusterEncryptionInTransitDescription>
229 void SetKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitT&& value) {
230 m_kafkaClusterEncryptionInTransitHasBeenSet = true;
231 m_kafkaClusterEncryptionInTransit = std::forward<KafkaClusterEncryptionInTransitT>(value);
232 }
233 template <typename KafkaClusterEncryptionInTransitT = KafkaClusterEncryptionInTransitDescription>
234 DescribeConnectorResult& WithKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitT&& value) {
235 SetKafkaClusterEncryptionInTransit(std::forward<KafkaClusterEncryptionInTransitT>(value));
236 return *this;
237 }
239
241
245 inline const Aws::String& GetKafkaConnectVersion() const { return m_kafkaConnectVersion; }
246 template <typename KafkaConnectVersionT = Aws::String>
247 void SetKafkaConnectVersion(KafkaConnectVersionT&& value) {
248 m_kafkaConnectVersionHasBeenSet = true;
249 m_kafkaConnectVersion = std::forward<KafkaConnectVersionT>(value);
250 }
251 template <typename KafkaConnectVersionT = Aws::String>
252 DescribeConnectorResult& WithKafkaConnectVersion(KafkaConnectVersionT&& value) {
253 SetKafkaConnectVersion(std::forward<KafkaConnectVersionT>(value));
254 return *this;
255 }
257
259
262 inline const LogDeliveryDescription& GetLogDelivery() const { return m_logDelivery; }
263 template <typename LogDeliveryT = LogDeliveryDescription>
264 void SetLogDelivery(LogDeliveryT&& value) {
265 m_logDeliveryHasBeenSet = true;
266 m_logDelivery = std::forward<LogDeliveryT>(value);
267 }
268 template <typename LogDeliveryT = LogDeliveryDescription>
270 SetLogDelivery(std::forward<LogDeliveryT>(value));
271 return *this;
272 }
274
276
280 inline NetworkType GetNetworkType() const { return m_networkType; }
281 inline void SetNetworkType(NetworkType value) {
282 m_networkTypeHasBeenSet = true;
283 m_networkType = value;
284 }
286 SetNetworkType(value);
287 return *this;
288 }
290
292
295 inline const Aws::Vector<PluginDescription>& GetPlugins() const { return m_plugins; }
296 template <typename PluginsT = Aws::Vector<PluginDescription>>
297 void SetPlugins(PluginsT&& value) {
298 m_pluginsHasBeenSet = true;
299 m_plugins = std::forward<PluginsT>(value);
300 }
301 template <typename PluginsT = Aws::Vector<PluginDescription>>
303 SetPlugins(std::forward<PluginsT>(value));
304 return *this;
305 }
306 template <typename PluginsT = PluginDescription>
308 m_pluginsHasBeenSet = true;
309 m_plugins.emplace_back(std::forward<PluginsT>(value));
310 return *this;
311 }
313
315
319 inline const Aws::String& GetServiceExecutionRoleArn() const { return m_serviceExecutionRoleArn; }
320 template <typename ServiceExecutionRoleArnT = Aws::String>
321 void SetServiceExecutionRoleArn(ServiceExecutionRoleArnT&& value) {
322 m_serviceExecutionRoleArnHasBeenSet = true;
323 m_serviceExecutionRoleArn = std::forward<ServiceExecutionRoleArnT>(value);
324 }
325 template <typename ServiceExecutionRoleArnT = Aws::String>
326 DescribeConnectorResult& WithServiceExecutionRoleArn(ServiceExecutionRoleArnT&& value) {
327 SetServiceExecutionRoleArn(std::forward<ServiceExecutionRoleArnT>(value));
328 return *this;
329 }
331
333
336 inline const WorkerConfigurationDescription& GetWorkerConfiguration() const { return m_workerConfiguration; }
337 template <typename WorkerConfigurationT = WorkerConfigurationDescription>
338 void SetWorkerConfiguration(WorkerConfigurationT&& value) {
339 m_workerConfigurationHasBeenSet = true;
340 m_workerConfiguration = std::forward<WorkerConfigurationT>(value);
341 }
342 template <typename WorkerConfigurationT = WorkerConfigurationDescription>
343 DescribeConnectorResult& WithWorkerConfiguration(WorkerConfigurationT&& value) {
344 SetWorkerConfiguration(std::forward<WorkerConfigurationT>(value));
345 return *this;
346 }
348
350
353 inline const StateDescription& GetStateDescription() const { return m_stateDescription; }
354 template <typename StateDescriptionT = StateDescription>
355 void SetStateDescription(StateDescriptionT&& value) {
356 m_stateDescriptionHasBeenSet = true;
357 m_stateDescription = std::forward<StateDescriptionT>(value);
358 }
359 template <typename StateDescriptionT = StateDescription>
360 DescribeConnectorResult& WithStateDescription(StateDescriptionT&& value) {
361 SetStateDescription(std::forward<StateDescriptionT>(value));
362 return *this;
363 }
365
367
368 inline const Aws::String& GetRequestId() const { return m_requestId; }
369 template <typename RequestIdT = Aws::String>
370 void SetRequestId(RequestIdT&& value) {
371 m_requestIdHasBeenSet = true;
372 m_requestId = std::forward<RequestIdT>(value);
373 }
374 template <typename RequestIdT = Aws::String>
376 SetRequestId(std::forward<RequestIdT>(value));
377 return *this;
378 }
380 private:
381 CapacityDescription m_capacity;
382
383 Aws::String m_connectorArn;
384
385 Aws::Map<Aws::String, Aws::String> m_connectorConfiguration;
386
387 Aws::String m_connectorDescription;
388
389 Aws::String m_connectorName;
390
391 ConnectorState m_connectorState{ConnectorState::NOT_SET};
392
393 Aws::Utils::DateTime m_creationTime{};
394
395 Aws::String m_currentVersion;
396
397 KafkaClusterDescription m_kafkaCluster;
398
399 KafkaClusterClientAuthenticationDescription m_kafkaClusterClientAuthentication;
400
401 KafkaClusterEncryptionInTransitDescription m_kafkaClusterEncryptionInTransit;
402
403 Aws::String m_kafkaConnectVersion;
404
405 LogDeliveryDescription m_logDelivery;
406
407 NetworkType m_networkType{NetworkType::NOT_SET};
408
410
411 Aws::String m_serviceExecutionRoleArn;
412
413 WorkerConfigurationDescription m_workerConfiguration;
414
415 StateDescription m_stateDescription;
416
417 Aws::String m_requestId;
418 bool m_capacityHasBeenSet = false;
419 bool m_connectorArnHasBeenSet = false;
420 bool m_connectorConfigurationHasBeenSet = false;
421 bool m_connectorDescriptionHasBeenSet = false;
422 bool m_connectorNameHasBeenSet = false;
423 bool m_connectorStateHasBeenSet = false;
424 bool m_creationTimeHasBeenSet = false;
425 bool m_currentVersionHasBeenSet = false;
426 bool m_kafkaClusterHasBeenSet = false;
427 bool m_kafkaClusterClientAuthenticationHasBeenSet = false;
428 bool m_kafkaClusterEncryptionInTransitHasBeenSet = false;
429 bool m_kafkaConnectVersionHasBeenSet = false;
430 bool m_logDeliveryHasBeenSet = false;
431 bool m_networkTypeHasBeenSet = false;
432 bool m_pluginsHasBeenSet = false;
433 bool m_serviceExecutionRoleArnHasBeenSet = false;
434 bool m_workerConfigurationHasBeenSet = false;
435 bool m_stateDescriptionHasBeenSet = false;
436 bool m_requestIdHasBeenSet = false;
437};
438
439} // namespace Model
440} // namespace KafkaConnect
441} // namespace Aws
void SetKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationT &&value)
void SetWorkerConfiguration(WorkerConfigurationT &&value)
DescribeConnectorResult & WithCreationTime(CreationTimeT &&value)
DescribeConnectorResult & WithKafkaCluster(KafkaClusterT &&value)
DescribeConnectorResult & AddConnectorConfiguration(ConnectorConfigurationKeyT &&key, ConnectorConfigurationValueT &&value)
DescribeConnectorResult & WithStateDescription(StateDescriptionT &&value)
const KafkaClusterClientAuthenticationDescription & GetKafkaClusterClientAuthentication() const
DescribeConnectorResult & WithKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationT &&value)
DescribeConnectorResult & WithKafkaConnectVersion(KafkaConnectVersionT &&value)
DescribeConnectorResult & WithServiceExecutionRoleArn(ServiceExecutionRoleArnT &&value)
const WorkerConfigurationDescription & GetWorkerConfiguration() const
const LogDeliveryDescription & GetLogDelivery() const
DescribeConnectorResult & AddPlugins(PluginsT &&value)
DescribeConnectorResult & WithRequestId(RequestIdT &&value)
void SetKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitT &&value)
const KafkaClusterDescription & GetKafkaCluster() const
void SetConnectorDescription(ConnectorDescriptionT &&value)
DescribeConnectorResult & WithConnectorArn(ConnectorArnT &&value)
DescribeConnectorResult & WithConnectorConfiguration(ConnectorConfigurationT &&value)
DescribeConnectorResult & WithCapacity(CapacityT &&value)
AWS_KAFKACONNECT_API DescribeConnectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConnectorResult & WithLogDelivery(LogDeliveryT &&value)
DescribeConnectorResult & WithKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitT &&value)
DescribeConnectorResult & WithConnectorDescription(ConnectorDescriptionT &&value)
AWS_KAFKACONNECT_API DescribeConnectorResult()=default
DescribeConnectorResult & WithCurrentVersion(CurrentVersionT &&value)
DescribeConnectorResult & WithPlugins(PluginsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetConnectorConfiguration() const
void SetConnectorConfiguration(ConnectorConfigurationT &&value)
void SetKafkaConnectVersion(KafkaConnectVersionT &&value)
void SetServiceExecutionRoleArn(ServiceExecutionRoleArnT &&value)
DescribeConnectorResult & WithConnectorState(ConnectorState value)
DescribeConnectorResult & WithNetworkType(NetworkType value)
const KafkaClusterEncryptionInTransitDescription & GetKafkaClusterEncryptionInTransit() const
DescribeConnectorResult & WithConnectorName(ConnectorNameT &&value)
AWS_KAFKACONNECT_API DescribeConnectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConnectorResult & WithWorkerConfiguration(WorkerConfigurationT &&value)
const Aws::Vector< PluginDescription > & GetPlugins() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue