AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeConnectorResult.h
1
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/StateDescription.h>
20#include <aws/kafkaconnect/model/PluginDescription.h>
21#include <utility>
22
23namespace Aws
24{
25template<typename RESULT_TYPE>
26class AmazonWebServiceResult;
27
28namespace Utils
29{
30namespace Json
31{
32 class JsonValue;
33} // namespace Json
34} // namespace Utils
35namespace KafkaConnect
36{
37namespace Model
38{
40 {
41 public:
42 AWS_KAFKACONNECT_API DescribeConnectorResult() = default;
45
46
48
52 inline const CapacityDescription& GetCapacity() const { return m_capacity; }
53 template<typename CapacityT = CapacityDescription>
54 void SetCapacity(CapacityT&& value) { m_capacityHasBeenSet = true; m_capacity = std::forward<CapacityT>(value); }
55 template<typename CapacityT = CapacityDescription>
56 DescribeConnectorResult& WithCapacity(CapacityT&& value) { SetCapacity(std::forward<CapacityT>(value)); return *this;}
58
60
63 inline const Aws::String& GetConnectorArn() const { return m_connectorArn; }
64 template<typename ConnectorArnT = Aws::String>
65 void SetConnectorArn(ConnectorArnT&& value) { m_connectorArnHasBeenSet = true; m_connectorArn = std::forward<ConnectorArnT>(value); }
66 template<typename ConnectorArnT = Aws::String>
67 DescribeConnectorResult& WithConnectorArn(ConnectorArnT&& value) { SetConnectorArn(std::forward<ConnectorArnT>(value)); return *this;}
69
71
75 inline const Aws::Map<Aws::String, Aws::String>& GetConnectorConfiguration() const { return m_connectorConfiguration; }
76 template<typename ConnectorConfigurationT = Aws::Map<Aws::String, Aws::String>>
77 void SetConnectorConfiguration(ConnectorConfigurationT&& value) { m_connectorConfigurationHasBeenSet = true; m_connectorConfiguration = std::forward<ConnectorConfigurationT>(value); }
78 template<typename ConnectorConfigurationT = Aws::Map<Aws::String, Aws::String>>
79 DescribeConnectorResult& WithConnectorConfiguration(ConnectorConfigurationT&& value) { SetConnectorConfiguration(std::forward<ConnectorConfigurationT>(value)); return *this;}
80 template<typename ConnectorConfigurationKeyT = Aws::String, typename ConnectorConfigurationValueT = Aws::String>
81 DescribeConnectorResult& AddConnectorConfiguration(ConnectorConfigurationKeyT&& key, ConnectorConfigurationValueT&& value) {
82 m_connectorConfigurationHasBeenSet = true; m_connectorConfiguration.emplace(std::forward<ConnectorConfigurationKeyT>(key), std::forward<ConnectorConfigurationValueT>(value)); return *this;
83 }
85
87
90 inline const Aws::String& GetConnectorDescription() const { return m_connectorDescription; }
91 template<typename ConnectorDescriptionT = Aws::String>
92 void SetConnectorDescription(ConnectorDescriptionT&& value) { m_connectorDescriptionHasBeenSet = true; m_connectorDescription = std::forward<ConnectorDescriptionT>(value); }
93 template<typename ConnectorDescriptionT = Aws::String>
94 DescribeConnectorResult& WithConnectorDescription(ConnectorDescriptionT&& value) { SetConnectorDescription(std::forward<ConnectorDescriptionT>(value)); return *this;}
96
98
101 inline const Aws::String& GetConnectorName() const { return m_connectorName; }
102 template<typename ConnectorNameT = Aws::String>
103 void SetConnectorName(ConnectorNameT&& value) { m_connectorNameHasBeenSet = true; m_connectorName = std::forward<ConnectorNameT>(value); }
104 template<typename ConnectorNameT = Aws::String>
105 DescribeConnectorResult& WithConnectorName(ConnectorNameT&& value) { SetConnectorName(std::forward<ConnectorNameT>(value)); return *this;}
107
109
112 inline ConnectorState GetConnectorState() const { return m_connectorState; }
113 inline void SetConnectorState(ConnectorState value) { m_connectorStateHasBeenSet = true; m_connectorState = value; }
116
118
121 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
122 template<typename CreationTimeT = Aws::Utils::DateTime>
123 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
124 template<typename CreationTimeT = Aws::Utils::DateTime>
125 DescribeConnectorResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
127
129
132 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
133 template<typename CurrentVersionT = Aws::String>
134 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::forward<CurrentVersionT>(value); }
135 template<typename CurrentVersionT = Aws::String>
136 DescribeConnectorResult& WithCurrentVersion(CurrentVersionT&& value) { SetCurrentVersion(std::forward<CurrentVersionT>(value)); return *this;}
138
140
143 inline const KafkaClusterDescription& GetKafkaCluster() const { return m_kafkaCluster; }
144 template<typename KafkaClusterT = KafkaClusterDescription>
145 void SetKafkaCluster(KafkaClusterT&& value) { m_kafkaClusterHasBeenSet = true; m_kafkaCluster = std::forward<KafkaClusterT>(value); }
146 template<typename KafkaClusterT = KafkaClusterDescription>
147 DescribeConnectorResult& WithKafkaCluster(KafkaClusterT&& value) { SetKafkaCluster(std::forward<KafkaClusterT>(value)); return *this;}
149
151
155 inline const KafkaClusterClientAuthenticationDescription& GetKafkaClusterClientAuthentication() const { return m_kafkaClusterClientAuthentication; }
156 template<typename KafkaClusterClientAuthenticationT = KafkaClusterClientAuthenticationDescription>
157 void SetKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationT&& value) { m_kafkaClusterClientAuthenticationHasBeenSet = true; m_kafkaClusterClientAuthentication = std::forward<KafkaClusterClientAuthenticationT>(value); }
158 template<typename KafkaClusterClientAuthenticationT = KafkaClusterClientAuthenticationDescription>
159 DescribeConnectorResult& WithKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationT&& value) { SetKafkaClusterClientAuthentication(std::forward<KafkaClusterClientAuthenticationT>(value)); return *this;}
161
163
166 inline const KafkaClusterEncryptionInTransitDescription& GetKafkaClusterEncryptionInTransit() const { return m_kafkaClusterEncryptionInTransit; }
167 template<typename KafkaClusterEncryptionInTransitT = KafkaClusterEncryptionInTransitDescription>
168 void SetKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitT&& value) { m_kafkaClusterEncryptionInTransitHasBeenSet = true; m_kafkaClusterEncryptionInTransit = std::forward<KafkaClusterEncryptionInTransitT>(value); }
169 template<typename KafkaClusterEncryptionInTransitT = KafkaClusterEncryptionInTransitDescription>
170 DescribeConnectorResult& WithKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitT&& value) { SetKafkaClusterEncryptionInTransit(std::forward<KafkaClusterEncryptionInTransitT>(value)); return *this;}
172
174
178 inline const Aws::String& GetKafkaConnectVersion() const { return m_kafkaConnectVersion; }
179 template<typename KafkaConnectVersionT = Aws::String>
180 void SetKafkaConnectVersion(KafkaConnectVersionT&& value) { m_kafkaConnectVersionHasBeenSet = true; m_kafkaConnectVersion = std::forward<KafkaConnectVersionT>(value); }
181 template<typename KafkaConnectVersionT = Aws::String>
182 DescribeConnectorResult& WithKafkaConnectVersion(KafkaConnectVersionT&& value) { SetKafkaConnectVersion(std::forward<KafkaConnectVersionT>(value)); return *this;}
184
186
189 inline const LogDeliveryDescription& GetLogDelivery() const { return m_logDelivery; }
190 template<typename LogDeliveryT = LogDeliveryDescription>
191 void SetLogDelivery(LogDeliveryT&& value) { m_logDeliveryHasBeenSet = true; m_logDelivery = std::forward<LogDeliveryT>(value); }
192 template<typename LogDeliveryT = LogDeliveryDescription>
193 DescribeConnectorResult& WithLogDelivery(LogDeliveryT&& value) { SetLogDelivery(std::forward<LogDeliveryT>(value)); return *this;}
195
197
200 inline const Aws::Vector<PluginDescription>& GetPlugins() const { return m_plugins; }
201 template<typename PluginsT = Aws::Vector<PluginDescription>>
202 void SetPlugins(PluginsT&& value) { m_pluginsHasBeenSet = true; m_plugins = std::forward<PluginsT>(value); }
203 template<typename PluginsT = Aws::Vector<PluginDescription>>
204 DescribeConnectorResult& WithPlugins(PluginsT&& value) { SetPlugins(std::forward<PluginsT>(value)); return *this;}
205 template<typename PluginsT = PluginDescription>
206 DescribeConnectorResult& AddPlugins(PluginsT&& value) { m_pluginsHasBeenSet = true; m_plugins.emplace_back(std::forward<PluginsT>(value)); return *this; }
208
210
214 inline const Aws::String& GetServiceExecutionRoleArn() const { return m_serviceExecutionRoleArn; }
215 template<typename ServiceExecutionRoleArnT = Aws::String>
216 void SetServiceExecutionRoleArn(ServiceExecutionRoleArnT&& value) { m_serviceExecutionRoleArnHasBeenSet = true; m_serviceExecutionRoleArn = std::forward<ServiceExecutionRoleArnT>(value); }
217 template<typename ServiceExecutionRoleArnT = Aws::String>
218 DescribeConnectorResult& WithServiceExecutionRoleArn(ServiceExecutionRoleArnT&& value) { SetServiceExecutionRoleArn(std::forward<ServiceExecutionRoleArnT>(value)); return *this;}
220
222
225 inline const WorkerConfigurationDescription& GetWorkerConfiguration() const { return m_workerConfiguration; }
226 template<typename WorkerConfigurationT = WorkerConfigurationDescription>
227 void SetWorkerConfiguration(WorkerConfigurationT&& value) { m_workerConfigurationHasBeenSet = true; m_workerConfiguration = std::forward<WorkerConfigurationT>(value); }
228 template<typename WorkerConfigurationT = WorkerConfigurationDescription>
229 DescribeConnectorResult& WithWorkerConfiguration(WorkerConfigurationT&& value) { SetWorkerConfiguration(std::forward<WorkerConfigurationT>(value)); return *this;}
231
233
236 inline const StateDescription& GetStateDescription() const { return m_stateDescription; }
237 template<typename StateDescriptionT = StateDescription>
238 void SetStateDescription(StateDescriptionT&& value) { m_stateDescriptionHasBeenSet = true; m_stateDescription = std::forward<StateDescriptionT>(value); }
239 template<typename StateDescriptionT = StateDescription>
240 DescribeConnectorResult& WithStateDescription(StateDescriptionT&& value) { SetStateDescription(std::forward<StateDescriptionT>(value)); return *this;}
242
244
245 inline const Aws::String& GetRequestId() const { return m_requestId; }
246 template<typename RequestIdT = Aws::String>
247 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
248 template<typename RequestIdT = Aws::String>
249 DescribeConnectorResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
251 private:
252
253 CapacityDescription m_capacity;
254 bool m_capacityHasBeenSet = false;
255
256 Aws::String m_connectorArn;
257 bool m_connectorArnHasBeenSet = false;
258
259 Aws::Map<Aws::String, Aws::String> m_connectorConfiguration;
260 bool m_connectorConfigurationHasBeenSet = false;
261
262 Aws::String m_connectorDescription;
263 bool m_connectorDescriptionHasBeenSet = false;
264
265 Aws::String m_connectorName;
266 bool m_connectorNameHasBeenSet = false;
267
268 ConnectorState m_connectorState{ConnectorState::NOT_SET};
269 bool m_connectorStateHasBeenSet = false;
270
271 Aws::Utils::DateTime m_creationTime{};
272 bool m_creationTimeHasBeenSet = false;
273
274 Aws::String m_currentVersion;
275 bool m_currentVersionHasBeenSet = false;
276
277 KafkaClusterDescription m_kafkaCluster;
278 bool m_kafkaClusterHasBeenSet = false;
279
280 KafkaClusterClientAuthenticationDescription m_kafkaClusterClientAuthentication;
281 bool m_kafkaClusterClientAuthenticationHasBeenSet = false;
282
283 KafkaClusterEncryptionInTransitDescription m_kafkaClusterEncryptionInTransit;
284 bool m_kafkaClusterEncryptionInTransitHasBeenSet = false;
285
286 Aws::String m_kafkaConnectVersion;
287 bool m_kafkaConnectVersionHasBeenSet = false;
288
289 LogDeliveryDescription m_logDelivery;
290 bool m_logDeliveryHasBeenSet = false;
291
293 bool m_pluginsHasBeenSet = false;
294
295 Aws::String m_serviceExecutionRoleArn;
296 bool m_serviceExecutionRoleArnHasBeenSet = false;
297
298 WorkerConfigurationDescription m_workerConfiguration;
299 bool m_workerConfigurationHasBeenSet = false;
300
301 StateDescription m_stateDescription;
302 bool m_stateDescriptionHasBeenSet = false;
303
304 Aws::String m_requestId;
305 bool m_requestIdHasBeenSet = false;
306 };
307
308} // namespace Model
309} // namespace KafkaConnect
310} // 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)
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