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>
26template <
typename RESULT_TYPE>
27class AmazonWebServiceResult;
34namespace KafkaConnect {
48 template <
typename CapacityT = CapacityDescription>
50 m_capacityHasBeenSet =
true;
51 m_capacity = std::forward<CapacityT>(value);
53 template <
typename CapacityT = CapacityDescription>
65 template <
typename ConnectorArnT = Aws::String>
67 m_connectorArnHasBeenSet =
true;
68 m_connectorArn = std::forward<ConnectorArnT>(value);
70 template <
typename ConnectorArnT = Aws::String>
83 template <
typename ConnectorConfigurationT = Aws::Map<Aws::String, Aws::String>>
85 m_connectorConfigurationHasBeenSet =
true;
86 m_connectorConfiguration = std::forward<ConnectorConfigurationT>(value);
88 template <
typename ConnectorConfigurationT = Aws::Map<Aws::String, Aws::String>>
93 template <
typename ConnectorConfigurationKeyT = Aws::String,
typename ConnectorConfigurationValueT = Aws::String>
95 m_connectorConfigurationHasBeenSet =
true;
96 m_connectorConfiguration.emplace(std::forward<ConnectorConfigurationKeyT>(key), std::forward<ConnectorConfigurationValueT>(value));
106 template <
typename ConnectorDescriptionT = Aws::String>
108 m_connectorDescriptionHasBeenSet =
true;
109 m_connectorDescription = std::forward<ConnectorDescriptionT>(value);
111 template <
typename ConnectorDescriptionT = Aws::String>
123 template <
typename ConnectorNameT = Aws::String>
125 m_connectorNameHasBeenSet =
true;
126 m_connectorName = std::forward<ConnectorNameT>(value);
128 template <
typename ConnectorNameT = Aws::String>
141 m_connectorStateHasBeenSet =
true;
142 m_connectorState = value;
155 template <
typename CreationTimeT = Aws::Utils::DateTime>
157 m_creationTimeHasBeenSet =
true;
158 m_creationTime = std::forward<CreationTimeT>(value);
160 template <
typename CreationTimeT = Aws::Utils::DateTime>
172 template <
typename CurrentVersionT = Aws::String>
174 m_currentVersionHasBeenSet =
true;
175 m_currentVersion = std::forward<CurrentVersionT>(value);
177 template <
typename CurrentVersionT = Aws::String>
189 template <
typename KafkaClusterT = KafkaClusterDescription>
191 m_kafkaClusterHasBeenSet =
true;
192 m_kafkaCluster = std::forward<KafkaClusterT>(value);
194 template <
typename KafkaClusterT = KafkaClusterDescription>
207 return m_kafkaClusterClientAuthentication;
209 template <
typename KafkaClusterClientAuthenticationT = KafkaClusterClientAuthenticationDescription>
211 m_kafkaClusterClientAuthenticationHasBeenSet =
true;
212 m_kafkaClusterClientAuthentication = std::forward<KafkaClusterClientAuthenticationT>(value);
214 template <
typename KafkaClusterClientAuthenticationT = KafkaClusterClientAuthenticationDescription>
226 return m_kafkaClusterEncryptionInTransit;
228 template <
typename KafkaClusterEncryptionInTransitT = KafkaClusterEncryptionInTransitDescription>
230 m_kafkaClusterEncryptionInTransitHasBeenSet =
true;
231 m_kafkaClusterEncryptionInTransit = std::forward<KafkaClusterEncryptionInTransitT>(value);
233 template <
typename KafkaClusterEncryptionInTransitT = KafkaClusterEncryptionInTransitDescription>
246 template <
typename KafkaConnectVersionT = Aws::String>
248 m_kafkaConnectVersionHasBeenSet =
true;
249 m_kafkaConnectVersion = std::forward<KafkaConnectVersionT>(value);
251 template <
typename KafkaConnectVersionT = Aws::String>
263 template <
typename LogDeliveryT = LogDeliveryDescription>
265 m_logDeliveryHasBeenSet =
true;
266 m_logDelivery = std::forward<LogDeliveryT>(value);
268 template <
typename LogDeliveryT = LogDeliveryDescription>
282 m_networkTypeHasBeenSet =
true;
283 m_networkType = value;
296 template <
typename PluginsT = Aws::Vector<PluginDescription>>
298 m_pluginsHasBeenSet =
true;
299 m_plugins = std::forward<PluginsT>(value);
301 template <
typename PluginsT = Aws::Vector<PluginDescription>>
306 template <
typename PluginsT = PluginDescription>
308 m_pluginsHasBeenSet =
true;
309 m_plugins.emplace_back(std::forward<PluginsT>(value));
320 template <
typename ServiceExecutionRoleArnT = Aws::String>
322 m_serviceExecutionRoleArnHasBeenSet =
true;
323 m_serviceExecutionRoleArn = std::forward<ServiceExecutionRoleArnT>(value);
325 template <
typename ServiceExecutionRoleArnT = Aws::String>
337 template <
typename WorkerConfigurationT = WorkerConfigurationDescription>
339 m_workerConfigurationHasBeenSet =
true;
340 m_workerConfiguration = std::forward<WorkerConfigurationT>(value);
342 template <
typename WorkerConfigurationT = WorkerConfigurationDescription>
354 template <
typename StateDescriptionT = StateDescription>
356 m_stateDescriptionHasBeenSet =
true;
357 m_stateDescription = std::forward<StateDescriptionT>(value);
359 template <
typename StateDescriptionT = StateDescription>
369 template <
typename RequestIdT = Aws::String>
371 m_requestIdHasBeenSet =
true;
372 m_requestId = std::forward<RequestIdT>(value);
374 template <
typename RequestIdT = Aws::String>
397 KafkaClusterDescription m_kafkaCluster;
399 KafkaClusterClientAuthenticationDescription m_kafkaClusterClientAuthentication;
401 KafkaClusterEncryptionInTransitDescription m_kafkaClusterEncryptionInTransit;
405 LogDeliveryDescription m_logDelivery;
413 WorkerConfigurationDescription m_workerConfiguration;
415 StateDescription m_stateDescription;
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;
void SetKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationT &&value)
void SetWorkerConfiguration(WorkerConfigurationT &&value)
DescribeConnectorResult & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeConnectorResult & WithKafkaCluster(KafkaClusterT &&value)
const Aws::String & GetConnectorDescription() const
DescribeConnectorResult & AddConnectorConfiguration(ConnectorConfigurationKeyT &&key, ConnectorConfigurationValueT &&value)
DescribeConnectorResult & WithStateDescription(StateDescriptionT &&value)
void SetCreationTime(CreationTimeT &&value)
NetworkType GetNetworkType() const
const Aws::String & GetRequestId() const
const KafkaClusterClientAuthenticationDescription & GetKafkaClusterClientAuthentication() const
void SetNetworkType(NetworkType value)
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 SetConnectorName(ConnectorNameT &&value)
void SetKafkaCluster(KafkaClusterT &&value)
const Aws::String & GetConnectorArn() const
void SetConnectorArn(ConnectorArnT &&value)
void SetKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitT &&value)
void SetCapacity(CapacityT &&value)
const KafkaClusterDescription & GetKafkaCluster() const
ConnectorState GetConnectorState() const
void SetRequestId(RequestIdT &&value)
void SetConnectorDescription(ConnectorDescriptionT &&value)
const StateDescription & GetStateDescription() const
void SetPlugins(PluginsT &&value)
DescribeConnectorResult & WithConnectorArn(ConnectorArnT &&value)
const Aws::String & GetServiceExecutionRoleArn() const
DescribeConnectorResult & WithConnectorConfiguration(ConnectorConfigurationT &&value)
DescribeConnectorResult & WithCapacity(CapacityT &&value)
AWS_KAFKACONNECT_API DescribeConnectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLogDelivery(LogDeliveryT &&value)
const Aws::String & GetKafkaConnectVersion() const
DescribeConnectorResult & WithLogDelivery(LogDeliveryT &&value)
DescribeConnectorResult & WithKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitT &&value)
const Aws::String & GetConnectorName() const
DescribeConnectorResult & WithConnectorDescription(ConnectorDescriptionT &&value)
AWS_KAFKACONNECT_API DescribeConnectorResult()=default
DescribeConnectorResult & WithCurrentVersion(CurrentVersionT &&value)
void SetCurrentVersion(CurrentVersionT &&value)
void SetStateDescription(StateDescriptionT &&value)
DescribeConnectorResult & WithPlugins(PluginsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetConnectorConfiguration() const
void SetConnectorState(ConnectorState value)
void SetConnectorConfiguration(ConnectorConfigurationT &&value)
void SetKafkaConnectVersion(KafkaConnectVersionT &&value)
void SetServiceExecutionRoleArn(ServiceExecutionRoleArnT &&value)
DescribeConnectorResult & WithConnectorState(ConnectorState value)
DescribeConnectorResult & WithNetworkType(NetworkType value)
const KafkaClusterEncryptionInTransitDescription & GetKafkaClusterEncryptionInTransit() const
const CapacityDescription & GetCapacity() const
DescribeConnectorResult & WithConnectorName(ConnectorNameT &&value)
const Aws::String & GetCurrentVersion() const
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