/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace KafkaConnect { namespace Model { class DescribeConnectorResult { public: AWS_KAFKACONNECT_API DescribeConnectorResult(); AWS_KAFKACONNECT_API DescribeConnectorResult(const Aws::AmazonWebServiceResult& result); AWS_KAFKACONNECT_API DescribeConnectorResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the capacity of the connector, whether it is auto scaled or * provisioned.

*/ inline const CapacityDescription& GetCapacity() const{ return m_capacity; } /** *

Information about the capacity of the connector, whether it is auto scaled or * provisioned.

*/ inline void SetCapacity(const CapacityDescription& value) { m_capacity = value; } /** *

Information about the capacity of the connector, whether it is auto scaled or * provisioned.

*/ inline void SetCapacity(CapacityDescription&& value) { m_capacity = std::move(value); } /** *

Information about the capacity of the connector, whether it is auto scaled or * provisioned.

*/ inline DescribeConnectorResult& WithCapacity(const CapacityDescription& value) { SetCapacity(value); return *this;} /** *

Information about the capacity of the connector, whether it is auto scaled or * provisioned.

*/ inline DescribeConnectorResult& 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 void SetConnectorArn(const Aws::String& value) { m_connectorArn = value; } /** *

The Amazon Resource Name (ARN) of the connector.

*/ inline void SetConnectorArn(Aws::String&& value) { m_connectorArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the connector.

*/ inline void SetConnectorArn(const char* value) { m_connectorArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the connector.

*/ inline DescribeConnectorResult& WithConnectorArn(const Aws::String& value) { SetConnectorArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the connector.

*/ inline DescribeConnectorResult& WithConnectorArn(Aws::String&& value) { SetConnectorArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the connector.

*/ inline DescribeConnectorResult& WithConnectorArn(const char* value) { SetConnectorArn(value); return *this;} /** *

A map of keys to values that represent the configuration for the * connector.

*/ inline const Aws::Map& GetConnectorConfiguration() const{ return m_connectorConfiguration; } /** *

A map of keys to values that represent the configuration for the * connector.

*/ inline void SetConnectorConfiguration(const Aws::Map& value) { m_connectorConfiguration = value; } /** *

A map of keys to values that represent the configuration for the * connector.

*/ inline void SetConnectorConfiguration(Aws::Map&& value) { m_connectorConfiguration = std::move(value); } /** *

A map of keys to values that represent the configuration for the * connector.

*/ inline DescribeConnectorResult& WithConnectorConfiguration(const Aws::Map& value) { SetConnectorConfiguration(value); return *this;} /** *

A map of keys to values that represent the configuration for the * connector.

*/ inline DescribeConnectorResult& WithConnectorConfiguration(Aws::Map&& value) { SetConnectorConfiguration(std::move(value)); return *this;} /** *

A map of keys to values that represent the configuration for the * connector.

*/ inline DescribeConnectorResult& AddConnectorConfiguration(const Aws::String& key, const Aws::String& value) { m_connectorConfiguration.emplace(key, value); return *this; } /** *

A map of keys to values that represent the configuration for the * connector.

*/ inline DescribeConnectorResult& AddConnectorConfiguration(Aws::String&& key, const Aws::String& value) { m_connectorConfiguration.emplace(std::move(key), value); return *this; } /** *

A map of keys to values that represent the configuration for the * connector.

*/ inline DescribeConnectorResult& AddConnectorConfiguration(const Aws::String& key, Aws::String&& value) { m_connectorConfiguration.emplace(key, std::move(value)); return *this; } /** *

A map of keys to values that represent the configuration for the * connector.

*/ inline DescribeConnectorResult& AddConnectorConfiguration(Aws::String&& key, Aws::String&& value) { m_connectorConfiguration.emplace(std::move(key), std::move(value)); return *this; } /** *

A map of keys to values that represent the configuration for the * connector.

*/ inline DescribeConnectorResult& AddConnectorConfiguration(const char* key, Aws::String&& value) { m_connectorConfiguration.emplace(key, std::move(value)); return *this; } /** *

A map of keys to values that represent the configuration for the * connector.

*/ inline DescribeConnectorResult& AddConnectorConfiguration(Aws::String&& key, const char* value) { m_connectorConfiguration.emplace(std::move(key), value); return *this; } /** *

A map of keys to values that represent the configuration for the * connector.

*/ inline DescribeConnectorResult& AddConnectorConfiguration(const char* key, const char* value) { m_connectorConfiguration.emplace(key, value); return *this; } /** *

A summary description of the connector.

*/ inline const Aws::String& GetConnectorDescription() const{ return m_connectorDescription; } /** *

A summary description of the connector.

*/ inline void SetConnectorDescription(const Aws::String& value) { m_connectorDescription = value; } /** *

A summary description of the connector.

*/ inline void SetConnectorDescription(Aws::String&& value) { m_connectorDescription = std::move(value); } /** *

A summary description of the connector.

*/ inline void SetConnectorDescription(const char* value) { m_connectorDescription.assign(value); } /** *

A summary description of the connector.

*/ inline DescribeConnectorResult& WithConnectorDescription(const Aws::String& value) { SetConnectorDescription(value); return *this;} /** *

A summary description of the connector.

*/ inline DescribeConnectorResult& WithConnectorDescription(Aws::String&& value) { SetConnectorDescription(std::move(value)); return *this;} /** *

A summary description of the connector.

*/ inline DescribeConnectorResult& 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 void SetConnectorName(const Aws::String& value) { m_connectorName = value; } /** *

The name of the connector.

*/ inline void SetConnectorName(Aws::String&& value) { m_connectorName = std::move(value); } /** *

The name of the connector.

*/ inline void SetConnectorName(const char* value) { m_connectorName.assign(value); } /** *

The name of the connector.

*/ inline DescribeConnectorResult& WithConnectorName(const Aws::String& value) { SetConnectorName(value); return *this;} /** *

The name of the connector.

*/ inline DescribeConnectorResult& WithConnectorName(Aws::String&& value) { SetConnectorName(std::move(value)); return *this;} /** *

The name of the connector.

*/ inline DescribeConnectorResult& 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 void SetConnectorState(const ConnectorState& value) { m_connectorState = value; } /** *

The state of the connector.

*/ inline void SetConnectorState(ConnectorState&& value) { m_connectorState = std::move(value); } /** *

The state of the connector.

*/ inline DescribeConnectorResult& WithConnectorState(const ConnectorState& value) { SetConnectorState(value); return *this;} /** *

The state of the connector.

*/ inline DescribeConnectorResult& WithConnectorState(ConnectorState&& value) { SetConnectorState(std::move(value)); return *this;} /** *

The time the connector was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time the connector was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The time the connector was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

The time the connector was created.

*/ inline DescribeConnectorResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time the connector was created.

*/ inline DescribeConnectorResult& 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 void SetCurrentVersion(const Aws::String& value) { m_currentVersion = value; } /** *

The current version of the connector.

*/ inline void SetCurrentVersion(Aws::String&& value) { m_currentVersion = std::move(value); } /** *

The current version of the connector.

*/ inline void SetCurrentVersion(const char* value) { m_currentVersion.assign(value); } /** *

The current version of the connector.

*/ inline DescribeConnectorResult& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;} /** *

The current version of the connector.

*/ inline DescribeConnectorResult& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;} /** *

The current version of the connector.

*/ inline DescribeConnectorResult& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;} /** *

The Apache Kafka cluster that the connector is connected to.

*/ inline const KafkaClusterDescription& GetKafkaCluster() const{ return m_kafkaCluster; } /** *

The Apache Kafka cluster that the connector is connected to.

*/ inline void SetKafkaCluster(const KafkaClusterDescription& value) { m_kafkaCluster = value; } /** *

The Apache Kafka cluster that the connector is connected to.

*/ inline void SetKafkaCluster(KafkaClusterDescription&& value) { m_kafkaCluster = std::move(value); } /** *

The Apache Kafka cluster that the connector is connected to.

*/ inline DescribeConnectorResult& WithKafkaCluster(const KafkaClusterDescription& value) { SetKafkaCluster(value); return *this;} /** *

The Apache Kafka cluster that the connector is connected to.

*/ inline DescribeConnectorResult& 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 void SetKafkaClusterClientAuthentication(const KafkaClusterClientAuthenticationDescription& value) { 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_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 DescribeConnectorResult& 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 DescribeConnectorResult& 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 void SetKafkaClusterEncryptionInTransit(const KafkaClusterEncryptionInTransitDescription& value) { m_kafkaClusterEncryptionInTransit = value; } /** *

Details of encryption in transit to the Apache Kafka cluster.

*/ inline void SetKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription&& value) { m_kafkaClusterEncryptionInTransit = std::move(value); } /** *

Details of encryption in transit to the Apache Kafka cluster.

*/ inline DescribeConnectorResult& WithKafkaClusterEncryptionInTransit(const KafkaClusterEncryptionInTransitDescription& value) { SetKafkaClusterEncryptionInTransit(value); return *this;} /** *

Details of encryption in transit to the Apache Kafka cluster.

*/ inline DescribeConnectorResult& 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 void SetKafkaConnectVersion(const Aws::String& value) { 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_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_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 DescribeConnectorResult& 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 DescribeConnectorResult& 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 DescribeConnectorResult& WithKafkaConnectVersion(const char* value) { SetKafkaConnectVersion(value); return *this;} /** *

Details about delivering logs to Amazon CloudWatch Logs.

*/ inline const LogDeliveryDescription& GetLogDelivery() const{ return m_logDelivery; } /** *

Details about delivering logs to Amazon CloudWatch Logs.

*/ inline void SetLogDelivery(const LogDeliveryDescription& value) { m_logDelivery = value; } /** *

Details about delivering logs to Amazon CloudWatch Logs.

*/ inline void SetLogDelivery(LogDeliveryDescription&& value) { m_logDelivery = std::move(value); } /** *

Details about delivering logs to Amazon CloudWatch Logs.

*/ inline DescribeConnectorResult& WithLogDelivery(const LogDeliveryDescription& value) { SetLogDelivery(value); return *this;} /** *

Details about delivering logs to Amazon CloudWatch Logs.

*/ inline DescribeConnectorResult& WithLogDelivery(LogDeliveryDescription&& value) { SetLogDelivery(std::move(value)); return *this;} /** *

Specifies which plugins were used for this connector.

*/ inline const Aws::Vector& GetPlugins() const{ return m_plugins; } /** *

Specifies which plugins were used for this connector.

*/ inline void SetPlugins(const Aws::Vector& value) { m_plugins = value; } /** *

Specifies which plugins were used for this connector.

*/ inline void SetPlugins(Aws::Vector&& value) { m_plugins = std::move(value); } /** *

Specifies which plugins were used for this connector.

*/ inline DescribeConnectorResult& WithPlugins(const Aws::Vector& value) { SetPlugins(value); return *this;} /** *

Specifies which plugins were used for this connector.

*/ inline DescribeConnectorResult& WithPlugins(Aws::Vector&& value) { SetPlugins(std::move(value)); return *this;} /** *

Specifies which plugins were used for this connector.

*/ inline DescribeConnectorResult& AddPlugins(const PluginDescription& value) { m_plugins.push_back(value); return *this; } /** *

Specifies which plugins were used for this connector.

*/ inline DescribeConnectorResult& AddPlugins(PluginDescription&& value) { 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 void SetServiceExecutionRoleArn(const Aws::String& value) { 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_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_serviceExecutionRoleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the IAM role used by the connector to * access Amazon Web Services resources.

*/ inline DescribeConnectorResult& 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 DescribeConnectorResult& 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 DescribeConnectorResult& WithServiceExecutionRoleArn(const char* value) { SetServiceExecutionRoleArn(value); return *this;} /** *

Details about the state of a connector.

*/ inline const StateDescription& GetStateDescription() const{ return m_stateDescription; } /** *

Details about the state of a connector.

*/ inline void SetStateDescription(const StateDescription& value) { m_stateDescription = value; } /** *

Details about the state of a connector.

*/ inline void SetStateDescription(StateDescription&& value) { m_stateDescription = std::move(value); } /** *

Details about the state of a connector.

*/ inline DescribeConnectorResult& WithStateDescription(const StateDescription& value) { SetStateDescription(value); return *this;} /** *

Details about the state of a connector.

*/ inline DescribeConnectorResult& WithStateDescription(StateDescription&& value) { SetStateDescription(std::move(value)); return *this;} /** *

Specifies which worker configuration was used for the connector.

*/ inline const WorkerConfigurationDescription& GetWorkerConfiguration() const{ return m_workerConfiguration; } /** *

Specifies which worker configuration was used for the connector.

*/ inline void SetWorkerConfiguration(const WorkerConfigurationDescription& value) { m_workerConfiguration = value; } /** *

Specifies which worker configuration was used for the connector.

*/ inline void SetWorkerConfiguration(WorkerConfigurationDescription&& value) { m_workerConfiguration = std::move(value); } /** *

Specifies which worker configuration was used for the connector.

*/ inline DescribeConnectorResult& WithWorkerConfiguration(const WorkerConfigurationDescription& value) { SetWorkerConfiguration(value); return *this;} /** *

Specifies which worker configuration was used for the connector.

*/ inline DescribeConnectorResult& WithWorkerConfiguration(WorkerConfigurationDescription&& value) { SetWorkerConfiguration(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeConnectorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeConnectorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeConnectorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: CapacityDescription m_capacity; Aws::String m_connectorArn; Aws::Map m_connectorConfiguration; Aws::String m_connectorDescription; Aws::String m_connectorName; ConnectorState m_connectorState; Aws::Utils::DateTime m_creationTime; Aws::String m_currentVersion; KafkaClusterDescription m_kafkaCluster; KafkaClusterClientAuthenticationDescription m_kafkaClusterClientAuthentication; KafkaClusterEncryptionInTransitDescription m_kafkaClusterEncryptionInTransit; Aws::String m_kafkaConnectVersion; LogDeliveryDescription m_logDelivery; Aws::Vector m_plugins; Aws::String m_serviceExecutionRoleArn; StateDescription m_stateDescription; WorkerConfigurationDescription m_workerConfiguration; Aws::String m_requestId; }; } // namespace Model } // namespace KafkaConnect } // namespace Aws