AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectorSummary.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/kafkaconnect/model/ConnectorState.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/kafkaconnect/model/KafkaClusterDescription.h>
13#include <aws/kafkaconnect/model/KafkaClusterClientAuthenticationDescription.h>
14#include <aws/kafkaconnect/model/KafkaClusterEncryptionInTransitDescription.h>
15#include <aws/kafkaconnect/model/LogDeliveryDescription.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17#include <aws/kafkaconnect/model/WorkerConfigurationDescription.h>
18#include <aws/kafkaconnect/model/PluginDescription.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace KafkaConnect
32{
33namespace Model
34{
35
42 {
43 public:
44 AWS_KAFKACONNECT_API ConnectorSummary();
45 AWS_KAFKACONNECT_API ConnectorSummary(Aws::Utils::Json::JsonView jsonValue);
46 AWS_KAFKACONNECT_API ConnectorSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const CapacityDescription& GetCapacity() const{ return m_capacity; }
55 inline bool CapacityHasBeenSet() const { return m_capacityHasBeenSet; }
56 inline void SetCapacity(const CapacityDescription& value) { m_capacityHasBeenSet = true; m_capacity = value; }
57 inline void SetCapacity(CapacityDescription&& value) { m_capacityHasBeenSet = true; m_capacity = std::move(value); }
58 inline ConnectorSummary& WithCapacity(const CapacityDescription& value) { SetCapacity(value); return *this;}
59 inline ConnectorSummary& WithCapacity(CapacityDescription&& value) { SetCapacity(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetConnectorArn() const{ return m_connectorArn; }
67 inline bool ConnectorArnHasBeenSet() const { return m_connectorArnHasBeenSet; }
68 inline void SetConnectorArn(const Aws::String& value) { m_connectorArnHasBeenSet = true; m_connectorArn = value; }
69 inline void SetConnectorArn(Aws::String&& value) { m_connectorArnHasBeenSet = true; m_connectorArn = std::move(value); }
70 inline void SetConnectorArn(const char* value) { m_connectorArnHasBeenSet = true; m_connectorArn.assign(value); }
71 inline ConnectorSummary& WithConnectorArn(const Aws::String& value) { SetConnectorArn(value); return *this;}
72 inline ConnectorSummary& WithConnectorArn(Aws::String&& value) { SetConnectorArn(std::move(value)); return *this;}
73 inline ConnectorSummary& WithConnectorArn(const char* value) { SetConnectorArn(value); return *this;}
75
77
80 inline const Aws::String& GetConnectorDescription() const{ return m_connectorDescription; }
81 inline bool ConnectorDescriptionHasBeenSet() const { return m_connectorDescriptionHasBeenSet; }
82 inline void SetConnectorDescription(const Aws::String& value) { m_connectorDescriptionHasBeenSet = true; m_connectorDescription = value; }
83 inline void SetConnectorDescription(Aws::String&& value) { m_connectorDescriptionHasBeenSet = true; m_connectorDescription = std::move(value); }
84 inline void SetConnectorDescription(const char* value) { m_connectorDescriptionHasBeenSet = true; m_connectorDescription.assign(value); }
86 inline ConnectorSummary& WithConnectorDescription(Aws::String&& value) { SetConnectorDescription(std::move(value)); return *this;}
87 inline ConnectorSummary& WithConnectorDescription(const char* value) { SetConnectorDescription(value); return *this;}
89
91
94 inline const Aws::String& GetConnectorName() const{ return m_connectorName; }
95 inline bool ConnectorNameHasBeenSet() const { return m_connectorNameHasBeenSet; }
96 inline void SetConnectorName(const Aws::String& value) { m_connectorNameHasBeenSet = true; m_connectorName = value; }
97 inline void SetConnectorName(Aws::String&& value) { m_connectorNameHasBeenSet = true; m_connectorName = std::move(value); }
98 inline void SetConnectorName(const char* value) { m_connectorNameHasBeenSet = true; m_connectorName.assign(value); }
99 inline ConnectorSummary& WithConnectorName(const Aws::String& value) { SetConnectorName(value); return *this;}
100 inline ConnectorSummary& WithConnectorName(Aws::String&& value) { SetConnectorName(std::move(value)); return *this;}
101 inline ConnectorSummary& WithConnectorName(const char* value) { SetConnectorName(value); return *this;}
103
105
108 inline const ConnectorState& GetConnectorState() const{ return m_connectorState; }
109 inline bool ConnectorStateHasBeenSet() const { return m_connectorStateHasBeenSet; }
110 inline void SetConnectorState(const ConnectorState& value) { m_connectorStateHasBeenSet = true; m_connectorState = value; }
111 inline void SetConnectorState(ConnectorState&& value) { m_connectorStateHasBeenSet = true; m_connectorState = std::move(value); }
112 inline ConnectorSummary& WithConnectorState(const ConnectorState& value) { SetConnectorState(value); return *this;}
113 inline ConnectorSummary& WithConnectorState(ConnectorState&& value) { SetConnectorState(std::move(value)); return *this;}
115
117
120 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
121 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
122 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
123 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
124 inline ConnectorSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
125 inline ConnectorSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
127
129
132 inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
133 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
134 inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
135 inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
136 inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
137 inline ConnectorSummary& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
138 inline ConnectorSummary& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
139 inline ConnectorSummary& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
141
143
147 inline const KafkaClusterDescription& GetKafkaCluster() const{ return m_kafkaCluster; }
148 inline bool KafkaClusterHasBeenSet() const { return m_kafkaClusterHasBeenSet; }
149 inline void SetKafkaCluster(const KafkaClusterDescription& value) { m_kafkaClusterHasBeenSet = true; m_kafkaCluster = value; }
150 inline void SetKafkaCluster(KafkaClusterDescription&& value) { m_kafkaClusterHasBeenSet = true; m_kafkaCluster = std::move(value); }
151 inline ConnectorSummary& WithKafkaCluster(const KafkaClusterDescription& value) { SetKafkaCluster(value); return *this;}
152 inline ConnectorSummary& WithKafkaCluster(KafkaClusterDescription&& value) { SetKafkaCluster(std::move(value)); return *this;}
154
156
160 inline const KafkaClusterClientAuthenticationDescription& GetKafkaClusterClientAuthentication() const{ return m_kafkaClusterClientAuthentication; }
161 inline bool KafkaClusterClientAuthenticationHasBeenSet() const { return m_kafkaClusterClientAuthenticationHasBeenSet; }
162 inline void SetKafkaClusterClientAuthentication(const KafkaClusterClientAuthenticationDescription& value) { m_kafkaClusterClientAuthenticationHasBeenSet = true; m_kafkaClusterClientAuthentication = value; }
163 inline void SetKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription&& value) { m_kafkaClusterClientAuthenticationHasBeenSet = true; m_kafkaClusterClientAuthentication = std::move(value); }
167
169
172 inline const KafkaClusterEncryptionInTransitDescription& GetKafkaClusterEncryptionInTransit() const{ return m_kafkaClusterEncryptionInTransit; }
173 inline bool KafkaClusterEncryptionInTransitHasBeenSet() const { return m_kafkaClusterEncryptionInTransitHasBeenSet; }
174 inline void SetKafkaClusterEncryptionInTransit(const KafkaClusterEncryptionInTransitDescription& value) { m_kafkaClusterEncryptionInTransitHasBeenSet = true; m_kafkaClusterEncryptionInTransit = value; }
175 inline void SetKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription&& value) { m_kafkaClusterEncryptionInTransitHasBeenSet = true; m_kafkaClusterEncryptionInTransit = std::move(value); }
179
181
185 inline const Aws::String& GetKafkaConnectVersion() const{ return m_kafkaConnectVersion; }
186 inline bool KafkaConnectVersionHasBeenSet() const { return m_kafkaConnectVersionHasBeenSet; }
187 inline void SetKafkaConnectVersion(const Aws::String& value) { m_kafkaConnectVersionHasBeenSet = true; m_kafkaConnectVersion = value; }
188 inline void SetKafkaConnectVersion(Aws::String&& value) { m_kafkaConnectVersionHasBeenSet = true; m_kafkaConnectVersion = std::move(value); }
189 inline void SetKafkaConnectVersion(const char* value) { m_kafkaConnectVersionHasBeenSet = true; m_kafkaConnectVersion.assign(value); }
190 inline ConnectorSummary& WithKafkaConnectVersion(const Aws::String& value) { SetKafkaConnectVersion(value); return *this;}
191 inline ConnectorSummary& WithKafkaConnectVersion(Aws::String&& value) { SetKafkaConnectVersion(std::move(value)); return *this;}
192 inline ConnectorSummary& WithKafkaConnectVersion(const char* value) { SetKafkaConnectVersion(value); return *this;}
194
196
199 inline const LogDeliveryDescription& GetLogDelivery() const{ return m_logDelivery; }
200 inline bool LogDeliveryHasBeenSet() const { return m_logDeliveryHasBeenSet; }
201 inline void SetLogDelivery(const LogDeliveryDescription& value) { m_logDeliveryHasBeenSet = true; m_logDelivery = value; }
202 inline void SetLogDelivery(LogDeliveryDescription&& value) { m_logDeliveryHasBeenSet = true; m_logDelivery = std::move(value); }
203 inline ConnectorSummary& WithLogDelivery(const LogDeliveryDescription& value) { SetLogDelivery(value); return *this;}
204 inline ConnectorSummary& WithLogDelivery(LogDeliveryDescription&& value) { SetLogDelivery(std::move(value)); return *this;}
206
208
211 inline const Aws::Vector<PluginDescription>& GetPlugins() const{ return m_plugins; }
212 inline bool PluginsHasBeenSet() const { return m_pluginsHasBeenSet; }
213 inline void SetPlugins(const Aws::Vector<PluginDescription>& value) { m_pluginsHasBeenSet = true; m_plugins = value; }
214 inline void SetPlugins(Aws::Vector<PluginDescription>&& value) { m_pluginsHasBeenSet = true; m_plugins = std::move(value); }
215 inline ConnectorSummary& WithPlugins(const Aws::Vector<PluginDescription>& value) { SetPlugins(value); return *this;}
216 inline ConnectorSummary& WithPlugins(Aws::Vector<PluginDescription>&& value) { SetPlugins(std::move(value)); return *this;}
217 inline ConnectorSummary& AddPlugins(const PluginDescription& value) { m_pluginsHasBeenSet = true; m_plugins.push_back(value); return *this; }
218 inline ConnectorSummary& AddPlugins(PluginDescription&& value) { m_pluginsHasBeenSet = true; m_plugins.push_back(std::move(value)); return *this; }
220
222
226 inline const Aws::String& GetServiceExecutionRoleArn() const{ return m_serviceExecutionRoleArn; }
227 inline bool ServiceExecutionRoleArnHasBeenSet() const { return m_serviceExecutionRoleArnHasBeenSet; }
228 inline void SetServiceExecutionRoleArn(const Aws::String& value) { m_serviceExecutionRoleArnHasBeenSet = true; m_serviceExecutionRoleArn = value; }
229 inline void SetServiceExecutionRoleArn(Aws::String&& value) { m_serviceExecutionRoleArnHasBeenSet = true; m_serviceExecutionRoleArn = std::move(value); }
230 inline void SetServiceExecutionRoleArn(const char* value) { m_serviceExecutionRoleArnHasBeenSet = true; m_serviceExecutionRoleArn.assign(value); }
232 inline ConnectorSummary& WithServiceExecutionRoleArn(Aws::String&& value) { SetServiceExecutionRoleArn(std::move(value)); return *this;}
233 inline ConnectorSummary& WithServiceExecutionRoleArn(const char* value) { SetServiceExecutionRoleArn(value); return *this;}
235
237
240 inline const WorkerConfigurationDescription& GetWorkerConfiguration() const{ return m_workerConfiguration; }
241 inline bool WorkerConfigurationHasBeenSet() const { return m_workerConfigurationHasBeenSet; }
242 inline void SetWorkerConfiguration(const WorkerConfigurationDescription& value) { m_workerConfigurationHasBeenSet = true; m_workerConfiguration = value; }
243 inline void SetWorkerConfiguration(WorkerConfigurationDescription&& value) { m_workerConfigurationHasBeenSet = true; m_workerConfiguration = std::move(value); }
247 private:
248
249 CapacityDescription m_capacity;
250 bool m_capacityHasBeenSet = false;
251
252 Aws::String m_connectorArn;
253 bool m_connectorArnHasBeenSet = false;
254
255 Aws::String m_connectorDescription;
256 bool m_connectorDescriptionHasBeenSet = false;
257
258 Aws::String m_connectorName;
259 bool m_connectorNameHasBeenSet = false;
260
261 ConnectorState m_connectorState;
262 bool m_connectorStateHasBeenSet = false;
263
264 Aws::Utils::DateTime m_creationTime;
265 bool m_creationTimeHasBeenSet = false;
266
267 Aws::String m_currentVersion;
268 bool m_currentVersionHasBeenSet = false;
269
270 KafkaClusterDescription m_kafkaCluster;
271 bool m_kafkaClusterHasBeenSet = false;
272
273 KafkaClusterClientAuthenticationDescription m_kafkaClusterClientAuthentication;
274 bool m_kafkaClusterClientAuthenticationHasBeenSet = false;
275
276 KafkaClusterEncryptionInTransitDescription m_kafkaClusterEncryptionInTransit;
277 bool m_kafkaClusterEncryptionInTransitHasBeenSet = false;
278
279 Aws::String m_kafkaConnectVersion;
280 bool m_kafkaConnectVersionHasBeenSet = false;
281
282 LogDeliveryDescription m_logDelivery;
283 bool m_logDeliveryHasBeenSet = false;
284
286 bool m_pluginsHasBeenSet = false;
287
288 Aws::String m_serviceExecutionRoleArn;
289 bool m_serviceExecutionRoleArnHasBeenSet = false;
290
291 WorkerConfigurationDescription m_workerConfiguration;
292 bool m_workerConfigurationHasBeenSet = false;
293 };
294
295} // namespace Model
296} // namespace KafkaConnect
297} // namespace Aws
const Aws::String & GetConnectorArn() const
const KafkaClusterEncryptionInTransitDescription & GetKafkaClusterEncryptionInTransit() const
void SetConnectorState(ConnectorState &&value)
void SetPlugins(Aws::Vector< PluginDescription > &&value)
ConnectorSummary & WithConnectorDescription(const char *value)
void SetKafkaClusterEncryptionInTransit(const KafkaClusterEncryptionInTransitDescription &value)
const Aws::String & GetConnectorName() const
const ConnectorState & GetConnectorState() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetConnectorArn(const Aws::String &value)
ConnectorSummary & WithLogDelivery(LogDeliveryDescription &&value)
ConnectorSummary & WithConnectorState(ConnectorState &&value)
ConnectorSummary & AddPlugins(PluginDescription &&value)
ConnectorSummary & WithServiceExecutionRoleArn(const Aws::String &value)
ConnectorSummary & WithConnectorName(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ConnectorSummary & WithServiceExecutionRoleArn(Aws::String &&value)
void SetServiceExecutionRoleArn(Aws::String &&value)
ConnectorSummary & WithKafkaClusterClientAuthentication(const KafkaClusterClientAuthenticationDescription &value)
void SetPlugins(const Aws::Vector< PluginDescription > &value)
void SetKafkaConnectVersion(Aws::String &&value)
ConnectorSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetKafkaConnectVersion(const Aws::String &value)
const KafkaClusterDescription & GetKafkaCluster() const
ConnectorSummary & WithCurrentVersion(const char *value)
void SetKafkaCluster(const KafkaClusterDescription &value)
ConnectorSummary & WithCapacity(CapacityDescription &&value)
ConnectorSummary & WithWorkerConfiguration(const WorkerConfigurationDescription &value)
const Aws::String & GetConnectorDescription() const
ConnectorSummary & WithKafkaConnectVersion(Aws::String &&value)
ConnectorSummary & WithServiceExecutionRoleArn(const char *value)
void SetKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription &&value)
void SetServiceExecutionRoleArn(const Aws::String &value)
ConnectorSummary & WithKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription &&value)
ConnectorSummary & WithKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationDescription &&value)
ConnectorSummary & WithConnectorArn(const Aws::String &value)
ConnectorSummary & WithLogDelivery(const LogDeliveryDescription &value)
ConnectorSummary & WithConnectorDescription(const Aws::String &value)
ConnectorSummary & WithCurrentVersion(Aws::String &&value)
ConnectorSummary & WithConnectorState(const ConnectorState &value)
void SetConnectorName(const Aws::String &value)
void SetWorkerConfiguration(WorkerConfigurationDescription &&value)
const CapacityDescription & GetCapacity() const
ConnectorSummary & AddPlugins(const PluginDescription &value)
void SetConnectorDescription(Aws::String &&value)
ConnectorSummary & WithKafkaCluster(const KafkaClusterDescription &value)
ConnectorSummary & WithKafkaConnectVersion(const Aws::String &value)
ConnectorSummary & WithPlugins(Aws::Vector< PluginDescription > &&value)
ConnectorSummary & WithKafkaClusterEncryptionInTransit(const KafkaClusterEncryptionInTransitDescription &value)
ConnectorSummary & WithConnectorName(const Aws::String &value)
ConnectorSummary & WithConnectorName(const char *value)
void SetConnectorDescription(const Aws::String &value)
ConnectorSummary & WithCurrentVersion(const Aws::String &value)
void SetCurrentVersion(const Aws::String &value)
ConnectorSummary & WithPlugins(const Aws::Vector< PluginDescription > &value)
void SetKafkaClusterClientAuthentication(const KafkaClusterClientAuthenticationDescription &value)
void SetCapacity(CapacityDescription &&value)
ConnectorSummary & WithKafkaConnectVersion(const char *value)
void SetConnectorState(const ConnectorState &value)
void SetKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitDescription &&value)
const LogDeliveryDescription & GetLogDelivery() const
void SetLogDelivery(LogDeliveryDescription &&value)
void SetWorkerConfiguration(const WorkerConfigurationDescription &value)
const Aws::Vector< PluginDescription > & GetPlugins() const
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectorSummary & WithConnectorDescription(Aws::String &&value)
const Aws::String & GetCurrentVersion() const
AWS_KAFKACONNECT_API ConnectorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetServiceExecutionRoleArn() const
ConnectorSummary & WithConnectorArn(const char *value)
AWS_KAFKACONNECT_API ConnectorSummary(Aws::Utils::Json::JsonView jsonValue)
const WorkerConfigurationDescription & GetWorkerConfiguration() const
ConnectorSummary & WithKafkaCluster(KafkaClusterDescription &&value)
void SetKafkaCluster(KafkaClusterDescription &&value)
void SetLogDelivery(const LogDeliveryDescription &value)
ConnectorSummary & WithCapacity(const CapacityDescription &value)
const KafkaClusterClientAuthenticationDescription & GetKafkaClusterClientAuthentication() const
ConnectorSummary & WithConnectorArn(Aws::String &&value)
void SetCapacity(const CapacityDescription &value)
ConnectorSummary & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetKafkaConnectVersion() const
ConnectorSummary & WithWorkerConfiguration(WorkerConfigurationDescription &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue