AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/StateDescription.h>
19#include <aws/kafkaconnect/model/WorkerConfigurationDescription.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();
45
46
48
52 inline const CapacityDescription& GetCapacity() const{ return m_capacity; }
53 inline void SetCapacity(const CapacityDescription& value) { m_capacity = value; }
54 inline void SetCapacity(CapacityDescription&& value) { m_capacity = std::move(value); }
55 inline DescribeConnectorResult& WithCapacity(const CapacityDescription& value) { SetCapacity(value); return *this;}
56 inline DescribeConnectorResult& WithCapacity(CapacityDescription&& value) { SetCapacity(std::move(value)); return *this;}
58
60
63 inline const Aws::String& GetConnectorArn() const{ return m_connectorArn; }
64 inline void SetConnectorArn(const Aws::String& value) { m_connectorArn = value; }
65 inline void SetConnectorArn(Aws::String&& value) { m_connectorArn = std::move(value); }
66 inline void SetConnectorArn(const char* value) { m_connectorArn.assign(value); }
67 inline DescribeConnectorResult& WithConnectorArn(const Aws::String& value) { SetConnectorArn(value); return *this;}
68 inline DescribeConnectorResult& WithConnectorArn(Aws::String&& value) { SetConnectorArn(std::move(value)); return *this;}
69 inline DescribeConnectorResult& WithConnectorArn(const char* value) { SetConnectorArn(value); return *this;}
71
73
77 inline const Aws::Map<Aws::String, Aws::String>& GetConnectorConfiguration() const{ return m_connectorConfiguration; }
78 inline void SetConnectorConfiguration(const Aws::Map<Aws::String, Aws::String>& value) { m_connectorConfiguration = value; }
79 inline void SetConnectorConfiguration(Aws::Map<Aws::String, Aws::String>&& value) { m_connectorConfiguration = std::move(value); }
82 inline DescribeConnectorResult& AddConnectorConfiguration(const Aws::String& key, const Aws::String& value) { m_connectorConfiguration.emplace(key, value); return *this; }
83 inline DescribeConnectorResult& AddConnectorConfiguration(Aws::String&& key, const Aws::String& value) { m_connectorConfiguration.emplace(std::move(key), value); return *this; }
84 inline DescribeConnectorResult& AddConnectorConfiguration(const Aws::String& key, Aws::String&& value) { m_connectorConfiguration.emplace(key, std::move(value)); return *this; }
85 inline DescribeConnectorResult& AddConnectorConfiguration(Aws::String&& key, Aws::String&& value) { m_connectorConfiguration.emplace(std::move(key), std::move(value)); return *this; }
86 inline DescribeConnectorResult& AddConnectorConfiguration(const char* key, Aws::String&& value) { m_connectorConfiguration.emplace(key, std::move(value)); return *this; }
87 inline DescribeConnectorResult& AddConnectorConfiguration(Aws::String&& key, const char* value) { m_connectorConfiguration.emplace(std::move(key), value); return *this; }
88 inline DescribeConnectorResult& AddConnectorConfiguration(const char* key, const char* value) { m_connectorConfiguration.emplace(key, value); return *this; }
90
92
95 inline const Aws::String& GetConnectorDescription() const{ return m_connectorDescription; }
96 inline void SetConnectorDescription(const Aws::String& value) { m_connectorDescription = value; }
97 inline void SetConnectorDescription(Aws::String&& value) { m_connectorDescription = std::move(value); }
98 inline void SetConnectorDescription(const char* value) { m_connectorDescription.assign(value); }
100 inline DescribeConnectorResult& WithConnectorDescription(Aws::String&& value) { SetConnectorDescription(std::move(value)); return *this;}
101 inline DescribeConnectorResult& WithConnectorDescription(const char* value) { SetConnectorDescription(value); return *this;}
103
105
108 inline const Aws::String& GetConnectorName() const{ return m_connectorName; }
109 inline void SetConnectorName(const Aws::String& value) { m_connectorName = value; }
110 inline void SetConnectorName(Aws::String&& value) { m_connectorName = std::move(value); }
111 inline void SetConnectorName(const char* value) { m_connectorName.assign(value); }
112 inline DescribeConnectorResult& WithConnectorName(const Aws::String& value) { SetConnectorName(value); return *this;}
113 inline DescribeConnectorResult& WithConnectorName(Aws::String&& value) { SetConnectorName(std::move(value)); return *this;}
114 inline DescribeConnectorResult& WithConnectorName(const char* value) { SetConnectorName(value); return *this;}
116
118
121 inline const ConnectorState& GetConnectorState() const{ return m_connectorState; }
122 inline void SetConnectorState(const ConnectorState& value) { m_connectorState = value; }
123 inline void SetConnectorState(ConnectorState&& value) { m_connectorState = std::move(value); }
124 inline DescribeConnectorResult& WithConnectorState(const ConnectorState& value) { SetConnectorState(value); return *this;}
125 inline DescribeConnectorResult& WithConnectorState(ConnectorState&& value) { SetConnectorState(std::move(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
133 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
134 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
136 inline DescribeConnectorResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
138
140
143 inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
144 inline void SetCurrentVersion(const Aws::String& value) { m_currentVersion = value; }
145 inline void SetCurrentVersion(Aws::String&& value) { m_currentVersion = std::move(value); }
146 inline void SetCurrentVersion(const char* value) { m_currentVersion.assign(value); }
147 inline DescribeConnectorResult& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
148 inline DescribeConnectorResult& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
149 inline DescribeConnectorResult& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
151
153
156 inline const KafkaClusterDescription& GetKafkaCluster() const{ return m_kafkaCluster; }
157 inline void SetKafkaCluster(const KafkaClusterDescription& value) { m_kafkaCluster = value; }
158 inline void SetKafkaCluster(KafkaClusterDescription&& value) { m_kafkaCluster = std::move(value); }
160 inline DescribeConnectorResult& WithKafkaCluster(KafkaClusterDescription&& value) { SetKafkaCluster(std::move(value)); return *this;}
162
164
168 inline const KafkaClusterClientAuthenticationDescription& GetKafkaClusterClientAuthentication() const{ return m_kafkaClusterClientAuthentication; }
169 inline void SetKafkaClusterClientAuthentication(const KafkaClusterClientAuthenticationDescription& value) { m_kafkaClusterClientAuthentication = value; }
170 inline void SetKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription&& value) { m_kafkaClusterClientAuthentication = std::move(value); }
174
176
179 inline const KafkaClusterEncryptionInTransitDescription& GetKafkaClusterEncryptionInTransit() const{ return m_kafkaClusterEncryptionInTransit; }
180 inline void SetKafkaClusterEncryptionInTransit(const KafkaClusterEncryptionInTransitDescription& value) { m_kafkaClusterEncryptionInTransit = value; }
181 inline void SetKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription&& value) { m_kafkaClusterEncryptionInTransit = std::move(value); }
185
187
191 inline const Aws::String& GetKafkaConnectVersion() const{ return m_kafkaConnectVersion; }
192 inline void SetKafkaConnectVersion(const Aws::String& value) { m_kafkaConnectVersion = value; }
193 inline void SetKafkaConnectVersion(Aws::String&& value) { m_kafkaConnectVersion = std::move(value); }
194 inline void SetKafkaConnectVersion(const char* value) { m_kafkaConnectVersion.assign(value); }
196 inline DescribeConnectorResult& WithKafkaConnectVersion(Aws::String&& value) { SetKafkaConnectVersion(std::move(value)); return *this;}
197 inline DescribeConnectorResult& WithKafkaConnectVersion(const char* value) { SetKafkaConnectVersion(value); return *this;}
199
201
204 inline const LogDeliveryDescription& GetLogDelivery() const{ return m_logDelivery; }
205 inline void SetLogDelivery(const LogDeliveryDescription& value) { m_logDelivery = value; }
206 inline void SetLogDelivery(LogDeliveryDescription&& value) { m_logDelivery = std::move(value); }
208 inline DescribeConnectorResult& WithLogDelivery(LogDeliveryDescription&& value) { SetLogDelivery(std::move(value)); return *this;}
210
212
215 inline const Aws::Vector<PluginDescription>& GetPlugins() const{ return m_plugins; }
216 inline void SetPlugins(const Aws::Vector<PluginDescription>& value) { m_plugins = value; }
217 inline void SetPlugins(Aws::Vector<PluginDescription>&& value) { m_plugins = std::move(value); }
219 inline DescribeConnectorResult& WithPlugins(Aws::Vector<PluginDescription>&& value) { SetPlugins(std::move(value)); return *this;}
220 inline DescribeConnectorResult& AddPlugins(const PluginDescription& value) { m_plugins.push_back(value); return *this; }
221 inline DescribeConnectorResult& AddPlugins(PluginDescription&& value) { m_plugins.push_back(std::move(value)); return *this; }
223
225
229 inline const Aws::String& GetServiceExecutionRoleArn() const{ return m_serviceExecutionRoleArn; }
230 inline void SetServiceExecutionRoleArn(const Aws::String& value) { m_serviceExecutionRoleArn = value; }
231 inline void SetServiceExecutionRoleArn(Aws::String&& value) { m_serviceExecutionRoleArn = std::move(value); }
232 inline void SetServiceExecutionRoleArn(const char* value) { m_serviceExecutionRoleArn.assign(value); }
235 inline DescribeConnectorResult& WithServiceExecutionRoleArn(const char* value) { SetServiceExecutionRoleArn(value); return *this;}
237
239
242 inline const StateDescription& GetStateDescription() const{ return m_stateDescription; }
243 inline void SetStateDescription(const StateDescription& value) { m_stateDescription = value; }
244 inline void SetStateDescription(StateDescription&& value) { m_stateDescription = std::move(value); }
246 inline DescribeConnectorResult& WithStateDescription(StateDescription&& value) { SetStateDescription(std::move(value)); return *this;}
248
250
253 inline const WorkerConfigurationDescription& GetWorkerConfiguration() const{ return m_workerConfiguration; }
254 inline void SetWorkerConfiguration(const WorkerConfigurationDescription& value) { m_workerConfiguration = value; }
255 inline void SetWorkerConfiguration(WorkerConfigurationDescription&& value) { m_workerConfiguration = std::move(value); }
259
261
262 inline const Aws::String& GetRequestId() const{ return m_requestId; }
263 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
264 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
265 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
266 inline DescribeConnectorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
267 inline DescribeConnectorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
268 inline DescribeConnectorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
270 private:
271
272 CapacityDescription m_capacity;
273
274 Aws::String m_connectorArn;
275
276 Aws::Map<Aws::String, Aws::String> m_connectorConfiguration;
277
278 Aws::String m_connectorDescription;
279
280 Aws::String m_connectorName;
281
282 ConnectorState m_connectorState;
283
284 Aws::Utils::DateTime m_creationTime;
285
286 Aws::String m_currentVersion;
287
288 KafkaClusterDescription m_kafkaCluster;
289
290 KafkaClusterClientAuthenticationDescription m_kafkaClusterClientAuthentication;
291
292 KafkaClusterEncryptionInTransitDescription m_kafkaClusterEncryptionInTransit;
293
294 Aws::String m_kafkaConnectVersion;
295
296 LogDeliveryDescription m_logDelivery;
297
299
300 Aws::String m_serviceExecutionRoleArn;
301
302 StateDescription m_stateDescription;
303
304 WorkerConfigurationDescription m_workerConfiguration;
305
306 Aws::String m_requestId;
307 };
308
309} // namespace Model
310} // namespace KafkaConnect
311} // namespace Aws
void SetKafkaCluster(const KafkaClusterDescription &value)
void SetLogDelivery(const LogDeliveryDescription &value)
DescribeConnectorResult & WithServiceExecutionRoleArn(Aws::String &&value)
DescribeConnectorResult & WithServiceExecutionRoleArn(const Aws::String &value)
DescribeConnectorResult & WithKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription &&value)
DescribeConnectorResult & WithConnectorConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
DescribeConnectorResult & WithConnectorDescription(const char *value)
void SetConnectorConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
DescribeConnectorResult & WithKafkaConnectVersion(const char *value)
void SetKafkaClusterEncryptionInTransit(const KafkaClusterEncryptionInTransitDescription &value)
DescribeConnectorResult & AddConnectorConfiguration(Aws::String &&key, const Aws::String &value)
void SetConnectorConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
DescribeConnectorResult & AddConnectorConfiguration(Aws::String &&key, Aws::String &&value)
const KafkaClusterClientAuthenticationDescription & GetKafkaClusterClientAuthentication() const
DescribeConnectorResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeConnectorResult & WithConnectorArn(Aws::String &&value)
DescribeConnectorResult & WithWorkerConfiguration(WorkerConfigurationDescription &&value)
DescribeConnectorResult & WithKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription &&value)
const WorkerConfigurationDescription & GetWorkerConfiguration() const
const LogDeliveryDescription & GetLogDelivery() const
DescribeConnectorResult & WithStateDescription(const StateDescription &value)
DescribeConnectorResult & WithWorkerConfiguration(const WorkerConfigurationDescription &value)
DescribeConnectorResult & WithKafkaConnectVersion(Aws::String &&value)
DescribeConnectorResult & AddConnectorConfiguration(Aws::String &&key, const char *value)
DescribeConnectorResult & WithCapacity(const CapacityDescription &value)
DescribeConnectorResult & WithStateDescription(StateDescription &&value)
DescribeConnectorResult & WithConnectorArn(const char *value)
DescribeConnectorResult & AddPlugins(const PluginDescription &value)
DescribeConnectorResult & AddConnectorConfiguration(const Aws::String &key, Aws::String &&value)
DescribeConnectorResult & WithRequestId(const Aws::String &value)
DescribeConnectorResult & AddConnectorConfiguration(const char *key, Aws::String &&value)
DescribeConnectorResult & WithPlugins(const Aws::Vector< PluginDescription > &value)
const KafkaClusterDescription & GetKafkaCluster() const
DescribeConnectorResult & WithKafkaClusterClientAuthentication(const KafkaClusterClientAuthenticationDescription &value)
DescribeConnectorResult & WithServiceExecutionRoleArn(const char *value)
DescribeConnectorResult & WithCurrentVersion(Aws::String &&value)
DescribeConnectorResult & WithKafkaCluster(const KafkaClusterDescription &value)
DescribeConnectorResult & WithConnectorName(const char *value)
void SetPlugins(const Aws::Vector< PluginDescription > &value)
DescribeConnectorResult & WithConnectorState(ConnectorState &&value)
void SetKafkaClusterClientAuthentication(const KafkaClusterClientAuthenticationDescription &value)
DescribeConnectorResult & WithKafkaClusterEncryptionInTransit(const KafkaClusterEncryptionInTransitDescription &value)
void SetCapacity(const CapacityDescription &value)
DescribeConnectorResult & WithCurrentVersion(const char *value)
DescribeConnectorResult & WithLogDelivery(LogDeliveryDescription &&value)
DescribeConnectorResult & WithRequestId(const char *value)
AWS_KAFKACONNECT_API DescribeConnectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPlugins(Aws::Vector< PluginDescription > &&value)
DescribeConnectorResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeConnectorResult & WithConnectorState(const ConnectorState &value)
DescribeConnectorResult & WithPlugins(Aws::Vector< PluginDescription > &&value)
DescribeConnectorResult & AddConnectorConfiguration(const Aws::String &key, const Aws::String &value)
void SetKafkaCluster(KafkaClusterDescription &&value)
DescribeConnectorResult & WithConnectorName(const Aws::String &value)
void SetStateDescription(const StateDescription &value)
const Aws::Map< Aws::String, Aws::String > & GetConnectorConfiguration() const
DescribeConnectorResult & WithConnectorConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
DescribeConnectorResult & WithConnectorArn(const Aws::String &value)
DescribeConnectorResult & WithRequestId(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const KafkaClusterEncryptionInTransitDescription & GetKafkaClusterEncryptionInTransit() const
void SetKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription &&value)
DescribeConnectorResult & AddPlugins(PluginDescription &&value)
DescribeConnectorResult & WithKafkaConnectVersion(const Aws::String &value)
DescribeConnectorResult & WithConnectorDescription(Aws::String &&value)
void SetWorkerConfiguration(WorkerConfigurationDescription &&value)
DescribeConnectorResult & WithKafkaCluster(KafkaClusterDescription &&value)
void SetWorkerConfiguration(const WorkerConfigurationDescription &value)
DescribeConnectorResult & WithCapacity(CapacityDescription &&value)
DescribeConnectorResult & AddConnectorConfiguration(const char *key, const char *value)
DescribeConnectorResult & WithConnectorName(Aws::String &&value)
DescribeConnectorResult & WithConnectorDescription(const Aws::String &value)
void SetKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription &&value)
DescribeConnectorResult & WithCurrentVersion(const Aws::String &value)
AWS_KAFKACONNECT_API DescribeConnectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConnectorResult & WithLogDelivery(const LogDeliveryDescription &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