AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CapacityT = CapacityDescription>
57 void SetCapacity(CapacityT&& value) { m_capacityHasBeenSet = true; m_capacity = std::forward<CapacityT>(value); }
58 template<typename CapacityT = CapacityDescription>
59 ConnectorSummary& WithCapacity(CapacityT&& value) { SetCapacity(std::forward<CapacityT>(value)); return *this;}
61
63
66 inline const Aws::String& GetConnectorArn() const { return m_connectorArn; }
67 inline bool ConnectorArnHasBeenSet() const { return m_connectorArnHasBeenSet; }
68 template<typename ConnectorArnT = Aws::String>
69 void SetConnectorArn(ConnectorArnT&& value) { m_connectorArnHasBeenSet = true; m_connectorArn = std::forward<ConnectorArnT>(value); }
70 template<typename ConnectorArnT = Aws::String>
71 ConnectorSummary& WithConnectorArn(ConnectorArnT&& value) { SetConnectorArn(std::forward<ConnectorArnT>(value)); return *this;}
73
75
78 inline const Aws::String& GetConnectorDescription() const { return m_connectorDescription; }
79 inline bool ConnectorDescriptionHasBeenSet() const { return m_connectorDescriptionHasBeenSet; }
80 template<typename ConnectorDescriptionT = Aws::String>
81 void SetConnectorDescription(ConnectorDescriptionT&& value) { m_connectorDescriptionHasBeenSet = true; m_connectorDescription = std::forward<ConnectorDescriptionT>(value); }
82 template<typename ConnectorDescriptionT = Aws::String>
83 ConnectorSummary& WithConnectorDescription(ConnectorDescriptionT&& value) { SetConnectorDescription(std::forward<ConnectorDescriptionT>(value)); return *this;}
85
87
90 inline const Aws::String& GetConnectorName() const { return m_connectorName; }
91 inline bool ConnectorNameHasBeenSet() const { return m_connectorNameHasBeenSet; }
92 template<typename ConnectorNameT = Aws::String>
93 void SetConnectorName(ConnectorNameT&& value) { m_connectorNameHasBeenSet = true; m_connectorName = std::forward<ConnectorNameT>(value); }
94 template<typename ConnectorNameT = Aws::String>
95 ConnectorSummary& WithConnectorName(ConnectorNameT&& value) { SetConnectorName(std::forward<ConnectorNameT>(value)); return *this;}
97
99
102 inline ConnectorState GetConnectorState() const { return m_connectorState; }
103 inline bool ConnectorStateHasBeenSet() const { return m_connectorStateHasBeenSet; }
104 inline void SetConnectorState(ConnectorState value) { m_connectorStateHasBeenSet = true; m_connectorState = value; }
107
109
112 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
113 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
114 template<typename CreationTimeT = Aws::Utils::DateTime>
115 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
116 template<typename CreationTimeT = Aws::Utils::DateTime>
117 ConnectorSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
119
121
124 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
125 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
126 template<typename CurrentVersionT = Aws::String>
127 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::forward<CurrentVersionT>(value); }
128 template<typename CurrentVersionT = Aws::String>
129 ConnectorSummary& WithCurrentVersion(CurrentVersionT&& value) { SetCurrentVersion(std::forward<CurrentVersionT>(value)); return *this;}
131
133
137 inline const KafkaClusterDescription& GetKafkaCluster() const { return m_kafkaCluster; }
138 inline bool KafkaClusterHasBeenSet() const { return m_kafkaClusterHasBeenSet; }
139 template<typename KafkaClusterT = KafkaClusterDescription>
140 void SetKafkaCluster(KafkaClusterT&& value) { m_kafkaClusterHasBeenSet = true; m_kafkaCluster = std::forward<KafkaClusterT>(value); }
141 template<typename KafkaClusterT = KafkaClusterDescription>
142 ConnectorSummary& WithKafkaCluster(KafkaClusterT&& value) { SetKafkaCluster(std::forward<KafkaClusterT>(value)); return *this;}
144
146
150 inline const KafkaClusterClientAuthenticationDescription& GetKafkaClusterClientAuthentication() const { return m_kafkaClusterClientAuthentication; }
151 inline bool KafkaClusterClientAuthenticationHasBeenSet() const { return m_kafkaClusterClientAuthenticationHasBeenSet; }
152 template<typename KafkaClusterClientAuthenticationT = KafkaClusterClientAuthenticationDescription>
153 void SetKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationT&& value) { m_kafkaClusterClientAuthenticationHasBeenSet = true; m_kafkaClusterClientAuthentication = std::forward<KafkaClusterClientAuthenticationT>(value); }
154 template<typename KafkaClusterClientAuthenticationT = KafkaClusterClientAuthenticationDescription>
155 ConnectorSummary& WithKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationT&& value) { SetKafkaClusterClientAuthentication(std::forward<KafkaClusterClientAuthenticationT>(value)); return *this;}
157
159
162 inline const KafkaClusterEncryptionInTransitDescription& GetKafkaClusterEncryptionInTransit() const { return m_kafkaClusterEncryptionInTransit; }
163 inline bool KafkaClusterEncryptionInTransitHasBeenSet() const { return m_kafkaClusterEncryptionInTransitHasBeenSet; }
164 template<typename KafkaClusterEncryptionInTransitT = KafkaClusterEncryptionInTransitDescription>
165 void SetKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitT&& value) { m_kafkaClusterEncryptionInTransitHasBeenSet = true; m_kafkaClusterEncryptionInTransit = std::forward<KafkaClusterEncryptionInTransitT>(value); }
166 template<typename KafkaClusterEncryptionInTransitT = KafkaClusterEncryptionInTransitDescription>
167 ConnectorSummary& WithKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitT&& value) { SetKafkaClusterEncryptionInTransit(std::forward<KafkaClusterEncryptionInTransitT>(value)); return *this;}
169
171
175 inline const Aws::String& GetKafkaConnectVersion() const { return m_kafkaConnectVersion; }
176 inline bool KafkaConnectVersionHasBeenSet() const { return m_kafkaConnectVersionHasBeenSet; }
177 template<typename KafkaConnectVersionT = Aws::String>
178 void SetKafkaConnectVersion(KafkaConnectVersionT&& value) { m_kafkaConnectVersionHasBeenSet = true; m_kafkaConnectVersion = std::forward<KafkaConnectVersionT>(value); }
179 template<typename KafkaConnectVersionT = Aws::String>
180 ConnectorSummary& WithKafkaConnectVersion(KafkaConnectVersionT&& value) { SetKafkaConnectVersion(std::forward<KafkaConnectVersionT>(value)); return *this;}
182
184
187 inline const LogDeliveryDescription& GetLogDelivery() const { return m_logDelivery; }
188 inline bool LogDeliveryHasBeenSet() const { return m_logDeliveryHasBeenSet; }
189 template<typename LogDeliveryT = LogDeliveryDescription>
190 void SetLogDelivery(LogDeliveryT&& value) { m_logDeliveryHasBeenSet = true; m_logDelivery = std::forward<LogDeliveryT>(value); }
191 template<typename LogDeliveryT = LogDeliveryDescription>
192 ConnectorSummary& WithLogDelivery(LogDeliveryT&& value) { SetLogDelivery(std::forward<LogDeliveryT>(value)); return *this;}
194
196
199 inline const Aws::Vector<PluginDescription>& GetPlugins() const { return m_plugins; }
200 inline bool PluginsHasBeenSet() const { return m_pluginsHasBeenSet; }
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 ConnectorSummary& WithPlugins(PluginsT&& value) { SetPlugins(std::forward<PluginsT>(value)); return *this;}
205 template<typename PluginsT = PluginDescription>
206 ConnectorSummary& 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 inline bool ServiceExecutionRoleArnHasBeenSet() const { return m_serviceExecutionRoleArnHasBeenSet; }
216 template<typename ServiceExecutionRoleArnT = Aws::String>
217 void SetServiceExecutionRoleArn(ServiceExecutionRoleArnT&& value) { m_serviceExecutionRoleArnHasBeenSet = true; m_serviceExecutionRoleArn = std::forward<ServiceExecutionRoleArnT>(value); }
218 template<typename ServiceExecutionRoleArnT = Aws::String>
219 ConnectorSummary& WithServiceExecutionRoleArn(ServiceExecutionRoleArnT&& value) { SetServiceExecutionRoleArn(std::forward<ServiceExecutionRoleArnT>(value)); return *this;}
221
223
226 inline const WorkerConfigurationDescription& GetWorkerConfiguration() const { return m_workerConfiguration; }
227 inline bool WorkerConfigurationHasBeenSet() const { return m_workerConfigurationHasBeenSet; }
228 template<typename WorkerConfigurationT = WorkerConfigurationDescription>
229 void SetWorkerConfiguration(WorkerConfigurationT&& value) { m_workerConfigurationHasBeenSet = true; m_workerConfiguration = std::forward<WorkerConfigurationT>(value); }
230 template<typename WorkerConfigurationT = WorkerConfigurationDescription>
231 ConnectorSummary& WithWorkerConfiguration(WorkerConfigurationT&& value) { SetWorkerConfiguration(std::forward<WorkerConfigurationT>(value)); return *this;}
233 private:
234
235 CapacityDescription m_capacity;
236 bool m_capacityHasBeenSet = false;
237
238 Aws::String m_connectorArn;
239 bool m_connectorArnHasBeenSet = false;
240
241 Aws::String m_connectorDescription;
242 bool m_connectorDescriptionHasBeenSet = false;
243
244 Aws::String m_connectorName;
245 bool m_connectorNameHasBeenSet = false;
246
247 ConnectorState m_connectorState{ConnectorState::NOT_SET};
248 bool m_connectorStateHasBeenSet = false;
249
250 Aws::Utils::DateTime m_creationTime{};
251 bool m_creationTimeHasBeenSet = false;
252
253 Aws::String m_currentVersion;
254 bool m_currentVersionHasBeenSet = false;
255
256 KafkaClusterDescription m_kafkaCluster;
257 bool m_kafkaClusterHasBeenSet = false;
258
259 KafkaClusterClientAuthenticationDescription m_kafkaClusterClientAuthentication;
260 bool m_kafkaClusterClientAuthenticationHasBeenSet = false;
261
262 KafkaClusterEncryptionInTransitDescription m_kafkaClusterEncryptionInTransit;
263 bool m_kafkaClusterEncryptionInTransitHasBeenSet = false;
264
265 Aws::String m_kafkaConnectVersion;
266 bool m_kafkaConnectVersionHasBeenSet = false;
267
268 LogDeliveryDescription m_logDelivery;
269 bool m_logDeliveryHasBeenSet = false;
270
272 bool m_pluginsHasBeenSet = false;
273
274 Aws::String m_serviceExecutionRoleArn;
275 bool m_serviceExecutionRoleArnHasBeenSet = false;
276
277 WorkerConfigurationDescription m_workerConfiguration;
278 bool m_workerConfigurationHasBeenSet = false;
279 };
280
281} // namespace Model
282} // namespace KafkaConnect
283} // namespace Aws
const Aws::String & GetConnectorArn() const
const KafkaClusterEncryptionInTransitDescription & GetKafkaClusterEncryptionInTransit() const
void SetServiceExecutionRoleArn(ServiceExecutionRoleArnT &&value)
ConnectorSummary & WithPlugins(PluginsT &&value)
const Aws::String & GetConnectorName() const
ConnectorSummary & WithCurrentVersion(CurrentVersionT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ConnectorSummary & WithCreationTime(CreationTimeT &&value)
ConnectorSummary & WithConnectorName(ConnectorNameT &&value)
void SetCreationTime(CreationTimeT &&value)
ConnectorSummary & WithKafkaConnectVersion(KafkaConnectVersionT &&value)
const KafkaClusterDescription & GetKafkaCluster() const
ConnectorSummary & WithLogDelivery(LogDeliveryT &&value)
void SetKafkaCluster(KafkaClusterT &&value)
const Aws::String & GetConnectorDescription() const
ConnectorSummary & WithConnectorDescription(ConnectorDescriptionT &&value)
ConnectorSummary & WithKafkaCluster(KafkaClusterT &&value)
ConnectorSummary & WithConnectorArn(ConnectorArnT &&value)
void SetConnectorName(ConnectorNameT &&value)
AWS_KAFKACONNECT_API ConnectorSummary()=default
void SetKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationT &&value)
void SetKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitT &&value)
ConnectorSummary & WithWorkerConfiguration(WorkerConfigurationT &&value)
const CapacityDescription & GetCapacity() const
void SetCurrentVersion(CurrentVersionT &&value)
ConnectorSummary & WithKafkaClusterClientAuthentication(KafkaClusterClientAuthenticationT &&value)
void SetWorkerConfiguration(WorkerConfigurationT &&value)
void SetKafkaConnectVersion(KafkaConnectVersionT &&value)
void SetConnectorArn(ConnectorArnT &&value)
const LogDeliveryDescription & GetLogDelivery() const
const Aws::Vector< PluginDescription > & GetPlugins() const
AWS_KAFKACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectorSummary & WithCapacity(CapacityT &&value)
const Aws::String & GetCurrentVersion() const
ConnectorSummary & AddPlugins(PluginsT &&value)
AWS_KAFKACONNECT_API ConnectorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectorSummary & WithConnectorState(ConnectorState value)
const Aws::String & GetServiceExecutionRoleArn() const
AWS_KAFKACONNECT_API ConnectorSummary(Aws::Utils::Json::JsonView jsonValue)
const WorkerConfigurationDescription & GetWorkerConfiguration() const
const KafkaClusterClientAuthenticationDescription & GetKafkaClusterClientAuthentication() const
ConnectorSummary & WithServiceExecutionRoleArn(ServiceExecutionRoleArnT &&value)
const Aws::String & GetKafkaConnectVersion() const
void SetConnectorDescription(ConnectorDescriptionT &&value)
ConnectorSummary & WithKafkaClusterEncryptionInTransit(KafkaClusterEncryptionInTransitT &&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