1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/kafkaconnect/KafkaConnect_EXPORTS.h> 8 #include <aws/kafkaconnect/model/CapacityDescription.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <aws/core/utils/memory/stl/AWSMap.h> 11 #include <aws/kafkaconnect/model/ConnectorState.h> 12 #include <aws/core/utils/DateTime.h> 13 #include <aws/kafkaconnect/model/KafkaClusterDescription.h> 14 #include <aws/kafkaconnect/model/KafkaClusterClientAuthenticationDescription.h> 15 #include <aws/kafkaconnect/model/KafkaClusterEncryptionInTransitDescription.h> 16 #include <aws/kafkaconnect/model/LogDeliveryDescription.h> 17 #include <aws/core/utils/memory/stl/AWSVector.h> 18 #include <aws/kafkaconnect/model/WorkerConfigurationDescription.h> 19 #include <aws/kafkaconnect/model/PluginDescription.h> 20 #include <utility> 21 22 namespace Aws 23 { 24 template<typename RESULT_TYPE> 25 class AmazonWebServiceResult; 26 27 namespace Utils 28 { 29 namespace Json 30 { 31 class JsonValue; 32 } // namespace Json 33 } // namespace Utils 34 namespace KafkaConnect 35 { 36 namespace Model 37 { 38 class AWS_KAFKACONNECT_API DescribeConnectorResult 39 { 40 public: 41 DescribeConnectorResult(); 42 DescribeConnectorResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 43 DescribeConnectorResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 44 45 46 /** 47 * <p>Information about the capacity of the connector, whether it is auto scaled or 48 * provisioned.</p> 49 */ GetCapacity()50 inline const CapacityDescription& GetCapacity() const{ return m_capacity; } 51 52 /** 53 * <p>Information about the capacity of the connector, whether it is auto scaled or 54 * provisioned.</p> 55 */ SetCapacity(const CapacityDescription & value)56 inline void SetCapacity(const CapacityDescription& value) { m_capacity = value; } 57 58 /** 59 * <p>Information about the capacity of the connector, whether it is auto scaled or 60 * provisioned.</p> 61 */ SetCapacity(CapacityDescription && value)62 inline void SetCapacity(CapacityDescription&& value) { m_capacity = std::move(value); } 63 64 /** 65 * <p>Information about the capacity of the connector, whether it is auto scaled or 66 * provisioned.</p> 67 */ WithCapacity(const CapacityDescription & value)68 inline DescribeConnectorResult& WithCapacity(const CapacityDescription& value) { SetCapacity(value); return *this;} 69 70 /** 71 * <p>Information about the capacity of the connector, whether it is auto scaled or 72 * provisioned.</p> 73 */ WithCapacity(CapacityDescription && value)74 inline DescribeConnectorResult& WithCapacity(CapacityDescription&& value) { SetCapacity(std::move(value)); return *this;} 75 76 77 /** 78 * <p>The Amazon Resource Name (ARN) of the connector.</p> 79 */ GetConnectorArn()80 inline const Aws::String& GetConnectorArn() const{ return m_connectorArn; } 81 82 /** 83 * <p>The Amazon Resource Name (ARN) of the connector.</p> 84 */ SetConnectorArn(const Aws::String & value)85 inline void SetConnectorArn(const Aws::String& value) { m_connectorArn = value; } 86 87 /** 88 * <p>The Amazon Resource Name (ARN) of the connector.</p> 89 */ SetConnectorArn(Aws::String && value)90 inline void SetConnectorArn(Aws::String&& value) { m_connectorArn = std::move(value); } 91 92 /** 93 * <p>The Amazon Resource Name (ARN) of the connector.</p> 94 */ SetConnectorArn(const char * value)95 inline void SetConnectorArn(const char* value) { m_connectorArn.assign(value); } 96 97 /** 98 * <p>The Amazon Resource Name (ARN) of the connector.</p> 99 */ WithConnectorArn(const Aws::String & value)100 inline DescribeConnectorResult& WithConnectorArn(const Aws::String& value) { SetConnectorArn(value); return *this;} 101 102 /** 103 * <p>The Amazon Resource Name (ARN) of the connector.</p> 104 */ WithConnectorArn(Aws::String && value)105 inline DescribeConnectorResult& WithConnectorArn(Aws::String&& value) { SetConnectorArn(std::move(value)); return *this;} 106 107 /** 108 * <p>The Amazon Resource Name (ARN) of the connector.</p> 109 */ WithConnectorArn(const char * value)110 inline DescribeConnectorResult& WithConnectorArn(const char* value) { SetConnectorArn(value); return *this;} 111 112 113 /** 114 * <p>A map of keys to values that represent the configuration for the 115 * connector.</p> 116 */ GetConnectorConfiguration()117 inline const Aws::Map<Aws::String, Aws::String>& GetConnectorConfiguration() const{ return m_connectorConfiguration; } 118 119 /** 120 * <p>A map of keys to values that represent the configuration for the 121 * connector.</p> 122 */ SetConnectorConfiguration(const Aws::Map<Aws::String,Aws::String> & value)123 inline void SetConnectorConfiguration(const Aws::Map<Aws::String, Aws::String>& value) { m_connectorConfiguration = value; } 124 125 /** 126 * <p>A map of keys to values that represent the configuration for the 127 * connector.</p> 128 */ SetConnectorConfiguration(Aws::Map<Aws::String,Aws::String> && value)129 inline void SetConnectorConfiguration(Aws::Map<Aws::String, Aws::String>&& value) { m_connectorConfiguration = std::move(value); } 130 131 /** 132 * <p>A map of keys to values that represent the configuration for the 133 * connector.</p> 134 */ WithConnectorConfiguration(const Aws::Map<Aws::String,Aws::String> & value)135 inline DescribeConnectorResult& WithConnectorConfiguration(const Aws::Map<Aws::String, Aws::String>& value) { SetConnectorConfiguration(value); return *this;} 136 137 /** 138 * <p>A map of keys to values that represent the configuration for the 139 * connector.</p> 140 */ WithConnectorConfiguration(Aws::Map<Aws::String,Aws::String> && value)141 inline DescribeConnectorResult& WithConnectorConfiguration(Aws::Map<Aws::String, Aws::String>&& value) { SetConnectorConfiguration(std::move(value)); return *this;} 142 143 /** 144 * <p>A map of keys to values that represent the configuration for the 145 * connector.</p> 146 */ AddConnectorConfiguration(const Aws::String & key,const Aws::String & value)147 inline DescribeConnectorResult& AddConnectorConfiguration(const Aws::String& key, const Aws::String& value) { m_connectorConfiguration.emplace(key, value); return *this; } 148 149 /** 150 * <p>A map of keys to values that represent the configuration for the 151 * connector.</p> 152 */ AddConnectorConfiguration(Aws::String && key,const Aws::String & value)153 inline DescribeConnectorResult& AddConnectorConfiguration(Aws::String&& key, const Aws::String& value) { m_connectorConfiguration.emplace(std::move(key), value); return *this; } 154 155 /** 156 * <p>A map of keys to values that represent the configuration for the 157 * connector.</p> 158 */ AddConnectorConfiguration(const Aws::String & key,Aws::String && value)159 inline DescribeConnectorResult& AddConnectorConfiguration(const Aws::String& key, Aws::String&& value) { m_connectorConfiguration.emplace(key, std::move(value)); return *this; } 160 161 /** 162 * <p>A map of keys to values that represent the configuration for the 163 * connector.</p> 164 */ AddConnectorConfiguration(Aws::String && key,Aws::String && value)165 inline DescribeConnectorResult& AddConnectorConfiguration(Aws::String&& key, Aws::String&& value) { m_connectorConfiguration.emplace(std::move(key), std::move(value)); return *this; } 166 167 /** 168 * <p>A map of keys to values that represent the configuration for the 169 * connector.</p> 170 */ AddConnectorConfiguration(const char * key,Aws::String && value)171 inline DescribeConnectorResult& AddConnectorConfiguration(const char* key, Aws::String&& value) { m_connectorConfiguration.emplace(key, std::move(value)); return *this; } 172 173 /** 174 * <p>A map of keys to values that represent the configuration for the 175 * connector.</p> 176 */ AddConnectorConfiguration(Aws::String && key,const char * value)177 inline DescribeConnectorResult& AddConnectorConfiguration(Aws::String&& key, const char* value) { m_connectorConfiguration.emplace(std::move(key), value); return *this; } 178 179 /** 180 * <p>A map of keys to values that represent the configuration for the 181 * connector.</p> 182 */ AddConnectorConfiguration(const char * key,const char * value)183 inline DescribeConnectorResult& AddConnectorConfiguration(const char* key, const char* value) { m_connectorConfiguration.emplace(key, value); return *this; } 184 185 186 /** 187 * <p>A summary description of the connector.</p> 188 */ GetConnectorDescription()189 inline const Aws::String& GetConnectorDescription() const{ return m_connectorDescription; } 190 191 /** 192 * <p>A summary description of the connector.</p> 193 */ SetConnectorDescription(const Aws::String & value)194 inline void SetConnectorDescription(const Aws::String& value) { m_connectorDescription = value; } 195 196 /** 197 * <p>A summary description of the connector.</p> 198 */ SetConnectorDescription(Aws::String && value)199 inline void SetConnectorDescription(Aws::String&& value) { m_connectorDescription = std::move(value); } 200 201 /** 202 * <p>A summary description of the connector.</p> 203 */ SetConnectorDescription(const char * value)204 inline void SetConnectorDescription(const char* value) { m_connectorDescription.assign(value); } 205 206 /** 207 * <p>A summary description of the connector.</p> 208 */ WithConnectorDescription(const Aws::String & value)209 inline DescribeConnectorResult& WithConnectorDescription(const Aws::String& value) { SetConnectorDescription(value); return *this;} 210 211 /** 212 * <p>A summary description of the connector.</p> 213 */ WithConnectorDescription(Aws::String && value)214 inline DescribeConnectorResult& WithConnectorDescription(Aws::String&& value) { SetConnectorDescription(std::move(value)); return *this;} 215 216 /** 217 * <p>A summary description of the connector.</p> 218 */ WithConnectorDescription(const char * value)219 inline DescribeConnectorResult& WithConnectorDescription(const char* value) { SetConnectorDescription(value); return *this;} 220 221 222 /** 223 * <p>The name of the connector.</p> 224 */ GetConnectorName()225 inline const Aws::String& GetConnectorName() const{ return m_connectorName; } 226 227 /** 228 * <p>The name of the connector.</p> 229 */ SetConnectorName(const Aws::String & value)230 inline void SetConnectorName(const Aws::String& value) { m_connectorName = value; } 231 232 /** 233 * <p>The name of the connector.</p> 234 */ SetConnectorName(Aws::String && value)235 inline void SetConnectorName(Aws::String&& value) { m_connectorName = std::move(value); } 236 237 /** 238 * <p>The name of the connector.</p> 239 */ SetConnectorName(const char * value)240 inline void SetConnectorName(const char* value) { m_connectorName.assign(value); } 241 242 /** 243 * <p>The name of the connector.</p> 244 */ WithConnectorName(const Aws::String & value)245 inline DescribeConnectorResult& WithConnectorName(const Aws::String& value) { SetConnectorName(value); return *this;} 246 247 /** 248 * <p>The name of the connector.</p> 249 */ WithConnectorName(Aws::String && value)250 inline DescribeConnectorResult& WithConnectorName(Aws::String&& value) { SetConnectorName(std::move(value)); return *this;} 251 252 /** 253 * <p>The name of the connector.</p> 254 */ WithConnectorName(const char * value)255 inline DescribeConnectorResult& WithConnectorName(const char* value) { SetConnectorName(value); return *this;} 256 257 258 /** 259 * <p>The state of the connector.</p> 260 */ GetConnectorState()261 inline const ConnectorState& GetConnectorState() const{ return m_connectorState; } 262 263 /** 264 * <p>The state of the connector.</p> 265 */ SetConnectorState(const ConnectorState & value)266 inline void SetConnectorState(const ConnectorState& value) { m_connectorState = value; } 267 268 /** 269 * <p>The state of the connector.</p> 270 */ SetConnectorState(ConnectorState && value)271 inline void SetConnectorState(ConnectorState&& value) { m_connectorState = std::move(value); } 272 273 /** 274 * <p>The state of the connector.</p> 275 */ WithConnectorState(const ConnectorState & value)276 inline DescribeConnectorResult& WithConnectorState(const ConnectorState& value) { SetConnectorState(value); return *this;} 277 278 /** 279 * <p>The state of the connector.</p> 280 */ WithConnectorState(ConnectorState && value)281 inline DescribeConnectorResult& WithConnectorState(ConnectorState&& value) { SetConnectorState(std::move(value)); return *this;} 282 283 284 /** 285 * <p>The time the connector was created.</p> 286 */ GetCreationTime()287 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } 288 289 /** 290 * <p>The time the connector was created.</p> 291 */ SetCreationTime(const Aws::Utils::DateTime & value)292 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } 293 294 /** 295 * <p>The time the connector was created.</p> 296 */ SetCreationTime(Aws::Utils::DateTime && value)297 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } 298 299 /** 300 * <p>The time the connector was created.</p> 301 */ WithCreationTime(const Aws::Utils::DateTime & value)302 inline DescribeConnectorResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} 303 304 /** 305 * <p>The time the connector was created.</p> 306 */ WithCreationTime(Aws::Utils::DateTime && value)307 inline DescribeConnectorResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} 308 309 310 /** 311 * <p>The current version of the connector.</p> 312 */ GetCurrentVersion()313 inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; } 314 315 /** 316 * <p>The current version of the connector.</p> 317 */ SetCurrentVersion(const Aws::String & value)318 inline void SetCurrentVersion(const Aws::String& value) { m_currentVersion = value; } 319 320 /** 321 * <p>The current version of the connector.</p> 322 */ SetCurrentVersion(Aws::String && value)323 inline void SetCurrentVersion(Aws::String&& value) { m_currentVersion = std::move(value); } 324 325 /** 326 * <p>The current version of the connector.</p> 327 */ SetCurrentVersion(const char * value)328 inline void SetCurrentVersion(const char* value) { m_currentVersion.assign(value); } 329 330 /** 331 * <p>The current version of the connector.</p> 332 */ WithCurrentVersion(const Aws::String & value)333 inline DescribeConnectorResult& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;} 334 335 /** 336 * <p>The current version of the connector.</p> 337 */ WithCurrentVersion(Aws::String && value)338 inline DescribeConnectorResult& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;} 339 340 /** 341 * <p>The current version of the connector.</p> 342 */ WithCurrentVersion(const char * value)343 inline DescribeConnectorResult& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;} 344 345 346 /** 347 * <p>The Apache Kafka cluster that the connector is connected to.</p> 348 */ GetKafkaCluster()349 inline const KafkaClusterDescription& GetKafkaCluster() const{ return m_kafkaCluster; } 350 351 /** 352 * <p>The Apache Kafka cluster that the connector is connected to.</p> 353 */ SetKafkaCluster(const KafkaClusterDescription & value)354 inline void SetKafkaCluster(const KafkaClusterDescription& value) { m_kafkaCluster = value; } 355 356 /** 357 * <p>The Apache Kafka cluster that the connector is connected to.</p> 358 */ SetKafkaCluster(KafkaClusterDescription && value)359 inline void SetKafkaCluster(KafkaClusterDescription&& value) { m_kafkaCluster = std::move(value); } 360 361 /** 362 * <p>The Apache Kafka cluster that the connector is connected to.</p> 363 */ WithKafkaCluster(const KafkaClusterDescription & value)364 inline DescribeConnectorResult& WithKafkaCluster(const KafkaClusterDescription& value) { SetKafkaCluster(value); return *this;} 365 366 /** 367 * <p>The Apache Kafka cluster that the connector is connected to.</p> 368 */ WithKafkaCluster(KafkaClusterDescription && value)369 inline DescribeConnectorResult& WithKafkaCluster(KafkaClusterDescription&& value) { SetKafkaCluster(std::move(value)); return *this;} 370 371 372 /** 373 * <p>The type of client authentication used to connect to the Apache Kafka 374 * cluster. The value is NONE when no client authentication is used.</p> 375 */ GetKafkaClusterClientAuthentication()376 inline const KafkaClusterClientAuthenticationDescription& GetKafkaClusterClientAuthentication() const{ return m_kafkaClusterClientAuthentication; } 377 378 /** 379 * <p>The type of client authentication used to connect to the Apache Kafka 380 * cluster. The value is NONE when no client authentication is used.</p> 381 */ SetKafkaClusterClientAuthentication(const KafkaClusterClientAuthenticationDescription & value)382 inline void SetKafkaClusterClientAuthentication(const KafkaClusterClientAuthenticationDescription& value) { m_kafkaClusterClientAuthentication = value; } 383 384 /** 385 * <p>The type of client authentication used to connect to the Apache Kafka 386 * cluster. The value is NONE when no client authentication is used.</p> 387 */ SetKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription && value)388 inline void SetKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription&& value) { m_kafkaClusterClientAuthentication = std::move(value); } 389 390 /** 391 * <p>The type of client authentication used to connect to the Apache Kafka 392 * cluster. The value is NONE when no client authentication is used.</p> 393 */ WithKafkaClusterClientAuthentication(const KafkaClusterClientAuthenticationDescription & value)394 inline DescribeConnectorResult& WithKafkaClusterClientAuthentication(const KafkaClusterClientAuthenticationDescription& value) { SetKafkaClusterClientAuthentication(value); return *this;} 395 396 /** 397 * <p>The type of client authentication used to connect to the Apache Kafka 398 * cluster. The value is NONE when no client authentication is used.</p> 399 */ WithKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription && value)400 inline DescribeConnectorResult& WithKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription&& value) { SetKafkaClusterClientAuthentication(std::move(value)); return *this;} 401 402 403 /** 404 * <p>Details of encryption in transit to the Apache Kafka cluster.</p> 405 */ GetKafkaClusterEncryptionInTransit()406 inline const KafkaClusterEncryptionInTransitDescription& GetKafkaClusterEncryptionInTransit() const{ return m_kafkaClusterEncryptionInTransit; } 407 408 /** 409 * <p>Details of encryption in transit to the Apache Kafka cluster.</p> 410 */ SetKafkaClusterEncryptionInTransit(const KafkaClusterEncryptionInTransitDescription & value)411 inline void SetKafkaClusterEncryptionInTransit(const KafkaClusterEncryptionInTransitDescription& value) { m_kafkaClusterEncryptionInTransit = value; } 412 413 /** 414 * <p>Details of encryption in transit to the Apache Kafka cluster.</p> 415 */ SetKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription && value)416 inline void SetKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription&& value) { m_kafkaClusterEncryptionInTransit = std::move(value); } 417 418 /** 419 * <p>Details of encryption in transit to the Apache Kafka cluster.</p> 420 */ WithKafkaClusterEncryptionInTransit(const KafkaClusterEncryptionInTransitDescription & value)421 inline DescribeConnectorResult& WithKafkaClusterEncryptionInTransit(const KafkaClusterEncryptionInTransitDescription& value) { SetKafkaClusterEncryptionInTransit(value); return *this;} 422 423 /** 424 * <p>Details of encryption in transit to the Apache Kafka cluster.</p> 425 */ WithKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription && value)426 inline DescribeConnectorResult& WithKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription&& value) { SetKafkaClusterEncryptionInTransit(std::move(value)); return *this;} 427 428 429 /** 430 * <p>The version of Kafka Connect. It has to be compatible with both the Apache 431 * Kafka cluster's version and the plugins.</p> 432 */ GetKafkaConnectVersion()433 inline const Aws::String& GetKafkaConnectVersion() const{ return m_kafkaConnectVersion; } 434 435 /** 436 * <p>The version of Kafka Connect. It has to be compatible with both the Apache 437 * Kafka cluster's version and the plugins.</p> 438 */ SetKafkaConnectVersion(const Aws::String & value)439 inline void SetKafkaConnectVersion(const Aws::String& value) { m_kafkaConnectVersion = value; } 440 441 /** 442 * <p>The version of Kafka Connect. It has to be compatible with both the Apache 443 * Kafka cluster's version and the plugins.</p> 444 */ SetKafkaConnectVersion(Aws::String && value)445 inline void SetKafkaConnectVersion(Aws::String&& value) { m_kafkaConnectVersion = std::move(value); } 446 447 /** 448 * <p>The version of Kafka Connect. It has to be compatible with both the Apache 449 * Kafka cluster's version and the plugins.</p> 450 */ SetKafkaConnectVersion(const char * value)451 inline void SetKafkaConnectVersion(const char* value) { m_kafkaConnectVersion.assign(value); } 452 453 /** 454 * <p>The version of Kafka Connect. It has to be compatible with both the Apache 455 * Kafka cluster's version and the plugins.</p> 456 */ WithKafkaConnectVersion(const Aws::String & value)457 inline DescribeConnectorResult& WithKafkaConnectVersion(const Aws::String& value) { SetKafkaConnectVersion(value); return *this;} 458 459 /** 460 * <p>The version of Kafka Connect. It has to be compatible with both the Apache 461 * Kafka cluster's version and the plugins.</p> 462 */ WithKafkaConnectVersion(Aws::String && value)463 inline DescribeConnectorResult& WithKafkaConnectVersion(Aws::String&& value) { SetKafkaConnectVersion(std::move(value)); return *this;} 464 465 /** 466 * <p>The version of Kafka Connect. It has to be compatible with both the Apache 467 * Kafka cluster's version and the plugins.</p> 468 */ WithKafkaConnectVersion(const char * value)469 inline DescribeConnectorResult& WithKafkaConnectVersion(const char* value) { SetKafkaConnectVersion(value); return *this;} 470 471 472 /** 473 * <p>Details about delivering logs to Amazon CloudWatch Logs.</p> 474 */ GetLogDelivery()475 inline const LogDeliveryDescription& GetLogDelivery() const{ return m_logDelivery; } 476 477 /** 478 * <p>Details about delivering logs to Amazon CloudWatch Logs.</p> 479 */ SetLogDelivery(const LogDeliveryDescription & value)480 inline void SetLogDelivery(const LogDeliveryDescription& value) { m_logDelivery = value; } 481 482 /** 483 * <p>Details about delivering logs to Amazon CloudWatch Logs.</p> 484 */ SetLogDelivery(LogDeliveryDescription && value)485 inline void SetLogDelivery(LogDeliveryDescription&& value) { m_logDelivery = std::move(value); } 486 487 /** 488 * <p>Details about delivering logs to Amazon CloudWatch Logs.</p> 489 */ WithLogDelivery(const LogDeliveryDescription & value)490 inline DescribeConnectorResult& WithLogDelivery(const LogDeliveryDescription& value) { SetLogDelivery(value); return *this;} 491 492 /** 493 * <p>Details about delivering logs to Amazon CloudWatch Logs.</p> 494 */ WithLogDelivery(LogDeliveryDescription && value)495 inline DescribeConnectorResult& WithLogDelivery(LogDeliveryDescription&& value) { SetLogDelivery(std::move(value)); return *this;} 496 497 498 /** 499 * <p>Specifies which plugins were used for this connector.</p> 500 */ GetPlugins()501 inline const Aws::Vector<PluginDescription>& GetPlugins() const{ return m_plugins; } 502 503 /** 504 * <p>Specifies which plugins were used for this connector.</p> 505 */ SetPlugins(const Aws::Vector<PluginDescription> & value)506 inline void SetPlugins(const Aws::Vector<PluginDescription>& value) { m_plugins = value; } 507 508 /** 509 * <p>Specifies which plugins were used for this connector.</p> 510 */ SetPlugins(Aws::Vector<PluginDescription> && value)511 inline void SetPlugins(Aws::Vector<PluginDescription>&& value) { m_plugins = std::move(value); } 512 513 /** 514 * <p>Specifies which plugins were used for this connector.</p> 515 */ WithPlugins(const Aws::Vector<PluginDescription> & value)516 inline DescribeConnectorResult& WithPlugins(const Aws::Vector<PluginDescription>& value) { SetPlugins(value); return *this;} 517 518 /** 519 * <p>Specifies which plugins were used for this connector.</p> 520 */ WithPlugins(Aws::Vector<PluginDescription> && value)521 inline DescribeConnectorResult& WithPlugins(Aws::Vector<PluginDescription>&& value) { SetPlugins(std::move(value)); return *this;} 522 523 /** 524 * <p>Specifies which plugins were used for this connector.</p> 525 */ AddPlugins(const PluginDescription & value)526 inline DescribeConnectorResult& AddPlugins(const PluginDescription& value) { m_plugins.push_back(value); return *this; } 527 528 /** 529 * <p>Specifies which plugins were used for this connector.</p> 530 */ AddPlugins(PluginDescription && value)531 inline DescribeConnectorResult& AddPlugins(PluginDescription&& value) { m_plugins.push_back(std::move(value)); return *this; } 532 533 534 /** 535 * <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to 536 * access Amazon Web Services resources.</p> 537 */ GetServiceExecutionRoleArn()538 inline const Aws::String& GetServiceExecutionRoleArn() const{ return m_serviceExecutionRoleArn; } 539 540 /** 541 * <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to 542 * access Amazon Web Services resources.</p> 543 */ SetServiceExecutionRoleArn(const Aws::String & value)544 inline void SetServiceExecutionRoleArn(const Aws::String& value) { m_serviceExecutionRoleArn = value; } 545 546 /** 547 * <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to 548 * access Amazon Web Services resources.</p> 549 */ SetServiceExecutionRoleArn(Aws::String && value)550 inline void SetServiceExecutionRoleArn(Aws::String&& value) { m_serviceExecutionRoleArn = std::move(value); } 551 552 /** 553 * <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to 554 * access Amazon Web Services resources.</p> 555 */ SetServiceExecutionRoleArn(const char * value)556 inline void SetServiceExecutionRoleArn(const char* value) { m_serviceExecutionRoleArn.assign(value); } 557 558 /** 559 * <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to 560 * access Amazon Web Services resources.</p> 561 */ WithServiceExecutionRoleArn(const Aws::String & value)562 inline DescribeConnectorResult& WithServiceExecutionRoleArn(const Aws::String& value) { SetServiceExecutionRoleArn(value); return *this;} 563 564 /** 565 * <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to 566 * access Amazon Web Services resources.</p> 567 */ WithServiceExecutionRoleArn(Aws::String && value)568 inline DescribeConnectorResult& WithServiceExecutionRoleArn(Aws::String&& value) { SetServiceExecutionRoleArn(std::move(value)); return *this;} 569 570 /** 571 * <p>The Amazon Resource Name (ARN) of the IAM role used by the connector to 572 * access Amazon Web Services resources.</p> 573 */ WithServiceExecutionRoleArn(const char * value)574 inline DescribeConnectorResult& WithServiceExecutionRoleArn(const char* value) { SetServiceExecutionRoleArn(value); return *this;} 575 576 577 /** 578 * <p>Specifies which worker configuration was used for the connector.</p> 579 */ GetWorkerConfiguration()580 inline const WorkerConfigurationDescription& GetWorkerConfiguration() const{ return m_workerConfiguration; } 581 582 /** 583 * <p>Specifies which worker configuration was used for the connector.</p> 584 */ SetWorkerConfiguration(const WorkerConfigurationDescription & value)585 inline void SetWorkerConfiguration(const WorkerConfigurationDescription& value) { m_workerConfiguration = value; } 586 587 /** 588 * <p>Specifies which worker configuration was used for the connector.</p> 589 */ SetWorkerConfiguration(WorkerConfigurationDescription && value)590 inline void SetWorkerConfiguration(WorkerConfigurationDescription&& value) { m_workerConfiguration = std::move(value); } 591 592 /** 593 * <p>Specifies which worker configuration was used for the connector.</p> 594 */ WithWorkerConfiguration(const WorkerConfigurationDescription & value)595 inline DescribeConnectorResult& WithWorkerConfiguration(const WorkerConfigurationDescription& value) { SetWorkerConfiguration(value); return *this;} 596 597 /** 598 * <p>Specifies which worker configuration was used for the connector.</p> 599 */ WithWorkerConfiguration(WorkerConfigurationDescription && value)600 inline DescribeConnectorResult& WithWorkerConfiguration(WorkerConfigurationDescription&& value) { SetWorkerConfiguration(std::move(value)); return *this;} 601 602 private: 603 604 CapacityDescription m_capacity; 605 606 Aws::String m_connectorArn; 607 608 Aws::Map<Aws::String, Aws::String> m_connectorConfiguration; 609 610 Aws::String m_connectorDescription; 611 612 Aws::String m_connectorName; 613 614 ConnectorState m_connectorState; 615 616 Aws::Utils::DateTime m_creationTime; 617 618 Aws::String m_currentVersion; 619 620 KafkaClusterDescription m_kafkaCluster; 621 622 KafkaClusterClientAuthenticationDescription m_kafkaClusterClientAuthentication; 623 624 KafkaClusterEncryptionInTransitDescription m_kafkaClusterEncryptionInTransit; 625 626 Aws::String m_kafkaConnectVersion; 627 628 LogDeliveryDescription m_logDelivery; 629 630 Aws::Vector<PluginDescription> m_plugins; 631 632 Aws::String m_serviceExecutionRoleArn; 633 634 WorkerConfigurationDescription m_workerConfiguration; 635 }; 636 637 } // namespace Model 638 } // namespace KafkaConnect 639 } // namespace Aws 640