/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary of a connector.See Also:
AWS
* API Reference
The connector's compute capacity settings.
*/ inline const CapacityDescription& GetCapacity() const{ return m_capacity; } /** *The connector's compute capacity settings.
*/ inline bool CapacityHasBeenSet() const { return m_capacityHasBeenSet; } /** *The connector's compute capacity settings.
*/ inline void SetCapacity(const CapacityDescription& value) { m_capacityHasBeenSet = true; m_capacity = value; } /** *The connector's compute capacity settings.
*/ inline void SetCapacity(CapacityDescription&& value) { m_capacityHasBeenSet = true; m_capacity = std::move(value); } /** *The connector's compute capacity settings.
*/ inline ConnectorSummary& WithCapacity(const CapacityDescription& value) { SetCapacity(value); return *this;} /** *The connector's compute capacity settings.
*/ inline ConnectorSummary& WithCapacity(CapacityDescription&& value) { SetCapacity(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the connector.
*/ inline const Aws::String& GetConnectorArn() const{ return m_connectorArn; } /** *The Amazon Resource Name (ARN) of the connector.
*/ inline bool ConnectorArnHasBeenSet() const { return m_connectorArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the connector.
*/ inline void SetConnectorArn(const Aws::String& value) { m_connectorArnHasBeenSet = true; m_connectorArn = value; } /** *The Amazon Resource Name (ARN) of the connector.
*/ inline void SetConnectorArn(Aws::String&& value) { m_connectorArnHasBeenSet = true; m_connectorArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the connector.
*/ inline void SetConnectorArn(const char* value) { m_connectorArnHasBeenSet = true; m_connectorArn.assign(value); } /** *The Amazon Resource Name (ARN) of the connector.
*/ inline ConnectorSummary& WithConnectorArn(const Aws::String& value) { SetConnectorArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the connector.
*/ inline ConnectorSummary& WithConnectorArn(Aws::String&& value) { SetConnectorArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the connector.
*/ inline ConnectorSummary& WithConnectorArn(const char* value) { SetConnectorArn(value); return *this;} /** *The description of the connector.
*/ inline const Aws::String& GetConnectorDescription() const{ return m_connectorDescription; } /** *The description of the connector.
*/ inline bool ConnectorDescriptionHasBeenSet() const { return m_connectorDescriptionHasBeenSet; } /** *The description of the connector.
*/ inline void SetConnectorDescription(const Aws::String& value) { m_connectorDescriptionHasBeenSet = true; m_connectorDescription = value; } /** *The description of the connector.
*/ inline void SetConnectorDescription(Aws::String&& value) { m_connectorDescriptionHasBeenSet = true; m_connectorDescription = std::move(value); } /** *The description of the connector.
*/ inline void SetConnectorDescription(const char* value) { m_connectorDescriptionHasBeenSet = true; m_connectorDescription.assign(value); } /** *The description of the connector.
*/ inline ConnectorSummary& WithConnectorDescription(const Aws::String& value) { SetConnectorDescription(value); return *this;} /** *The description of the connector.
*/ inline ConnectorSummary& WithConnectorDescription(Aws::String&& value) { SetConnectorDescription(std::move(value)); return *this;} /** *The description of the connector.
*/ inline ConnectorSummary& WithConnectorDescription(const char* value) { SetConnectorDescription(value); return *this;} /** *The name of the connector.
*/ inline const Aws::String& GetConnectorName() const{ return m_connectorName; } /** *The name of the connector.
*/ inline bool ConnectorNameHasBeenSet() const { return m_connectorNameHasBeenSet; } /** *The name of the connector.
*/ inline void SetConnectorName(const Aws::String& value) { m_connectorNameHasBeenSet = true; m_connectorName = value; } /** *The name of the connector.
*/ inline void SetConnectorName(Aws::String&& value) { m_connectorNameHasBeenSet = true; m_connectorName = std::move(value); } /** *The name of the connector.
*/ inline void SetConnectorName(const char* value) { m_connectorNameHasBeenSet = true; m_connectorName.assign(value); } /** *The name of the connector.
*/ inline ConnectorSummary& WithConnectorName(const Aws::String& value) { SetConnectorName(value); return *this;} /** *The name of the connector.
*/ inline ConnectorSummary& WithConnectorName(Aws::String&& value) { SetConnectorName(std::move(value)); return *this;} /** *The name of the connector.
*/ inline ConnectorSummary& WithConnectorName(const char* value) { SetConnectorName(value); return *this;} /** *The state of the connector.
*/ inline const ConnectorState& GetConnectorState() const{ return m_connectorState; } /** *The state of the connector.
*/ inline bool ConnectorStateHasBeenSet() const { return m_connectorStateHasBeenSet; } /** *The state of the connector.
*/ inline void SetConnectorState(const ConnectorState& value) { m_connectorStateHasBeenSet = true; m_connectorState = value; } /** *The state of the connector.
*/ inline void SetConnectorState(ConnectorState&& value) { m_connectorStateHasBeenSet = true; m_connectorState = std::move(value); } /** *The state of the connector.
*/ inline ConnectorSummary& WithConnectorState(const ConnectorState& value) { SetConnectorState(value); return *this;} /** *The state of the connector.
*/ inline ConnectorSummary& WithConnectorState(ConnectorState&& value) { SetConnectorState(std::move(value)); return *this;} /** *The time that the connector was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The time that the connector was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The time that the connector was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The time that the connector was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The time that the connector was created.
*/ inline ConnectorSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time that the connector was created.
*/ inline ConnectorSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The current version of the connector.
*/ inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; } /** *The current version of the connector.
*/ inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; } /** *The current version of the connector.
*/ inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; } /** *The current version of the connector.
*/ inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); } /** *The current version of the connector.
*/ inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); } /** *The current version of the connector.
*/ inline ConnectorSummary& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;} /** *The current version of the connector.
*/ inline ConnectorSummary& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;} /** *The current version of the connector.
*/ inline ConnectorSummary& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;} /** *The details of the Apache Kafka cluster to which the connector is * connected.
*/ inline const KafkaClusterDescription& GetKafkaCluster() const{ return m_kafkaCluster; } /** *The details of the Apache Kafka cluster to which the connector is * connected.
*/ inline bool KafkaClusterHasBeenSet() const { return m_kafkaClusterHasBeenSet; } /** *The details of the Apache Kafka cluster to which the connector is * connected.
*/ inline void SetKafkaCluster(const KafkaClusterDescription& value) { m_kafkaClusterHasBeenSet = true; m_kafkaCluster = value; } /** *The details of the Apache Kafka cluster to which the connector is * connected.
*/ inline void SetKafkaCluster(KafkaClusterDescription&& value) { m_kafkaClusterHasBeenSet = true; m_kafkaCluster = std::move(value); } /** *The details of the Apache Kafka cluster to which the connector is * connected.
*/ inline ConnectorSummary& WithKafkaCluster(const KafkaClusterDescription& value) { SetKafkaCluster(value); return *this;} /** *The details of the Apache Kafka cluster to which the connector is * connected.
*/ inline ConnectorSummary& WithKafkaCluster(KafkaClusterDescription&& value) { SetKafkaCluster(std::move(value)); return *this;} /** *The type of client authentication used to connect to the Apache Kafka * cluster. The value is NONE when no client authentication is used.
*/ inline const KafkaClusterClientAuthenticationDescription& GetKafkaClusterClientAuthentication() const{ return m_kafkaClusterClientAuthentication; } /** *The type of client authentication used to connect to the Apache Kafka * cluster. The value is NONE when no client authentication is used.
*/ inline bool KafkaClusterClientAuthenticationHasBeenSet() const { return m_kafkaClusterClientAuthenticationHasBeenSet; } /** *The type of client authentication used to connect to the Apache Kafka * cluster. The value is NONE when no client authentication is used.
*/ inline void SetKafkaClusterClientAuthentication(const KafkaClusterClientAuthenticationDescription& value) { m_kafkaClusterClientAuthenticationHasBeenSet = true; m_kafkaClusterClientAuthentication = value; } /** *The type of client authentication used to connect to the Apache Kafka * cluster. The value is NONE when no client authentication is used.
*/ inline void SetKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription&& value) { m_kafkaClusterClientAuthenticationHasBeenSet = true; m_kafkaClusterClientAuthentication = std::move(value); } /** *The type of client authentication used to connect to the Apache Kafka * cluster. The value is NONE when no client authentication is used.
*/ inline ConnectorSummary& WithKafkaClusterClientAuthentication(const KafkaClusterClientAuthenticationDescription& value) { SetKafkaClusterClientAuthentication(value); return *this;} /** *The type of client authentication used to connect to the Apache Kafka * cluster. The value is NONE when no client authentication is used.
*/ inline ConnectorSummary& WithKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription&& value) { SetKafkaClusterClientAuthentication(std::move(value)); return *this;} /** *Details of encryption in transit to the Apache Kafka cluster.
*/ inline const KafkaClusterEncryptionInTransitDescription& GetKafkaClusterEncryptionInTransit() const{ return m_kafkaClusterEncryptionInTransit; } /** *Details of encryption in transit to the Apache Kafka cluster.
*/ inline bool KafkaClusterEncryptionInTransitHasBeenSet() const { return m_kafkaClusterEncryptionInTransitHasBeenSet; } /** *Details of encryption in transit to the Apache Kafka cluster.
*/ inline void SetKafkaClusterEncryptionInTransit(const KafkaClusterEncryptionInTransitDescription& value) { m_kafkaClusterEncryptionInTransitHasBeenSet = true; m_kafkaClusterEncryptionInTransit = value; } /** *Details of encryption in transit to the Apache Kafka cluster.
*/ inline void SetKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription&& value) { m_kafkaClusterEncryptionInTransitHasBeenSet = true; m_kafkaClusterEncryptionInTransit = std::move(value); } /** *Details of encryption in transit to the Apache Kafka cluster.
*/ inline ConnectorSummary& WithKafkaClusterEncryptionInTransit(const KafkaClusterEncryptionInTransitDescription& value) { SetKafkaClusterEncryptionInTransit(value); return *this;} /** *Details of encryption in transit to the Apache Kafka cluster.
*/ inline ConnectorSummary& WithKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription&& value) { SetKafkaClusterEncryptionInTransit(std::move(value)); return *this;} /** *The version of Kafka Connect. It has to be compatible with both the Apache * Kafka cluster's version and the plugins.
*/ inline const Aws::String& GetKafkaConnectVersion() const{ return m_kafkaConnectVersion; } /** *The version of Kafka Connect. It has to be compatible with both the Apache * Kafka cluster's version and the plugins.
*/ inline bool KafkaConnectVersionHasBeenSet() const { return m_kafkaConnectVersionHasBeenSet; } /** *The version of Kafka Connect. It has to be compatible with both the Apache * Kafka cluster's version and the plugins.
*/ inline void SetKafkaConnectVersion(const Aws::String& value) { m_kafkaConnectVersionHasBeenSet = true; m_kafkaConnectVersion = value; } /** *The version of Kafka Connect. It has to be compatible with both the Apache * Kafka cluster's version and the plugins.
*/ inline void SetKafkaConnectVersion(Aws::String&& value) { m_kafkaConnectVersionHasBeenSet = true; m_kafkaConnectVersion = std::move(value); } /** *The version of Kafka Connect. It has to be compatible with both the Apache * Kafka cluster's version and the plugins.
*/ inline void SetKafkaConnectVersion(const char* value) { m_kafkaConnectVersionHasBeenSet = true; m_kafkaConnectVersion.assign(value); } /** *The version of Kafka Connect. It has to be compatible with both the Apache * Kafka cluster's version and the plugins.
*/ inline ConnectorSummary& WithKafkaConnectVersion(const Aws::String& value) { SetKafkaConnectVersion(value); return *this;} /** *The version of Kafka Connect. It has to be compatible with both the Apache * Kafka cluster's version and the plugins.
*/ inline ConnectorSummary& WithKafkaConnectVersion(Aws::String&& value) { SetKafkaConnectVersion(std::move(value)); return *this;} /** *The version of Kafka Connect. It has to be compatible with both the Apache * Kafka cluster's version and the plugins.
*/ inline ConnectorSummary& WithKafkaConnectVersion(const char* value) { SetKafkaConnectVersion(value); return *this;} /** *The settings for delivering connector logs to Amazon CloudWatch Logs.
*/ inline const LogDeliveryDescription& GetLogDelivery() const{ return m_logDelivery; } /** *The settings for delivering connector logs to Amazon CloudWatch Logs.
*/ inline bool LogDeliveryHasBeenSet() const { return m_logDeliveryHasBeenSet; } /** *The settings for delivering connector logs to Amazon CloudWatch Logs.
*/ inline void SetLogDelivery(const LogDeliveryDescription& value) { m_logDeliveryHasBeenSet = true; m_logDelivery = value; } /** *The settings for delivering connector logs to Amazon CloudWatch Logs.
*/ inline void SetLogDelivery(LogDeliveryDescription&& value) { m_logDeliveryHasBeenSet = true; m_logDelivery = std::move(value); } /** *The settings for delivering connector logs to Amazon CloudWatch Logs.
*/ inline ConnectorSummary& WithLogDelivery(const LogDeliveryDescription& value) { SetLogDelivery(value); return *this;} /** *The settings for delivering connector logs to Amazon CloudWatch Logs.
*/ inline ConnectorSummary& WithLogDelivery(LogDeliveryDescription&& value) { SetLogDelivery(std::move(value)); return *this;} /** *Specifies which plugins were used for this connector.
*/ inline const Aws::VectorSpecifies which plugins were used for this connector.
*/ inline bool PluginsHasBeenSet() const { return m_pluginsHasBeenSet; } /** *Specifies which plugins were used for this connector.
*/ inline void SetPlugins(const Aws::VectorSpecifies which plugins were used for this connector.
*/ inline void SetPlugins(Aws::VectorSpecifies which plugins were used for this connector.
*/ inline ConnectorSummary& WithPlugins(const Aws::VectorSpecifies which plugins were used for this connector.
*/ inline ConnectorSummary& WithPlugins(Aws::VectorSpecifies which plugins were used for this connector.
*/ inline ConnectorSummary& AddPlugins(const PluginDescription& value) { m_pluginsHasBeenSet = true; m_plugins.push_back(value); return *this; } /** *Specifies which plugins were used for this connector.
*/ inline ConnectorSummary& AddPlugins(PluginDescription&& value) { m_pluginsHasBeenSet = true; m_plugins.push_back(std::move(value)); return *this; } /** *The Amazon Resource Name (ARN) of the IAM role used by the connector to * access Amazon Web Services resources.
*/ inline const Aws::String& GetServiceExecutionRoleArn() const{ return m_serviceExecutionRoleArn; } /** *The Amazon Resource Name (ARN) of the IAM role used by the connector to * access Amazon Web Services resources.
*/ inline bool ServiceExecutionRoleArnHasBeenSet() const { return m_serviceExecutionRoleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the IAM role used by the connector to * access Amazon Web Services resources.
*/ inline void SetServiceExecutionRoleArn(const Aws::String& value) { m_serviceExecutionRoleArnHasBeenSet = true; m_serviceExecutionRoleArn = value; } /** *The Amazon Resource Name (ARN) of the IAM role used by the connector to * access Amazon Web Services resources.
*/ inline void SetServiceExecutionRoleArn(Aws::String&& value) { m_serviceExecutionRoleArnHasBeenSet = true; m_serviceExecutionRoleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the IAM role used by the connector to * access Amazon Web Services resources.
*/ inline void SetServiceExecutionRoleArn(const char* value) { m_serviceExecutionRoleArnHasBeenSet = true; m_serviceExecutionRoleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the IAM role used by the connector to * access Amazon Web Services resources.
*/ inline ConnectorSummary& WithServiceExecutionRoleArn(const Aws::String& value) { SetServiceExecutionRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role used by the connector to * access Amazon Web Services resources.
*/ inline ConnectorSummary& WithServiceExecutionRoleArn(Aws::String&& value) { SetServiceExecutionRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role used by the connector to * access Amazon Web Services resources.
*/ inline ConnectorSummary& WithServiceExecutionRoleArn(const char* value) { SetServiceExecutionRoleArn(value); return *this;} /** *The worker configurations that are in use with the connector.
*/ inline const WorkerConfigurationDescription& GetWorkerConfiguration() const{ return m_workerConfiguration; } /** *The worker configurations that are in use with the connector.
*/ inline bool WorkerConfigurationHasBeenSet() const { return m_workerConfigurationHasBeenSet; } /** *The worker configurations that are in use with the connector.
*/ inline void SetWorkerConfiguration(const WorkerConfigurationDescription& value) { m_workerConfigurationHasBeenSet = true; m_workerConfiguration = value; } /** *The worker configurations that are in use with the connector.
*/ inline void SetWorkerConfiguration(WorkerConfigurationDescription&& value) { m_workerConfigurationHasBeenSet = true; m_workerConfiguration = std::move(value); } /** *The worker configurations that are in use with the connector.
*/ inline ConnectorSummary& WithWorkerConfiguration(const WorkerConfigurationDescription& value) { SetWorkerConfiguration(value); return *this;} /** *The worker configurations that are in use with the connector.
*/ inline ConnectorSummary& WithWorkerConfiguration(WorkerConfigurationDescription&& value) { SetWorkerConfiguration(std::move(value)); return *this;} private: CapacityDescription m_capacity; bool m_capacityHasBeenSet = false; Aws::String m_connectorArn; bool m_connectorArnHasBeenSet = false; Aws::String m_connectorDescription; bool m_connectorDescriptionHasBeenSet = false; Aws::String m_connectorName; bool m_connectorNameHasBeenSet = false; ConnectorState m_connectorState; bool m_connectorStateHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_currentVersion; bool m_currentVersionHasBeenSet = false; KafkaClusterDescription m_kafkaCluster; bool m_kafkaClusterHasBeenSet = false; KafkaClusterClientAuthenticationDescription m_kafkaClusterClientAuthentication; bool m_kafkaClusterClientAuthenticationHasBeenSet = false; KafkaClusterEncryptionInTransitDescription m_kafkaClusterEncryptionInTransit; bool m_kafkaClusterEncryptionInTransitHasBeenSet = false; Aws::String m_kafkaConnectVersion; bool m_kafkaConnectVersionHasBeenSet = false; LogDeliveryDescription m_logDelivery; bool m_logDeliveryHasBeenSet = false; Aws::Vector