7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
44 template <
typename BootstrapServersT = Aws::String>
46 m_bootstrapServersHasBeenSet =
true;
47 m_bootstrapServers = std::forward<BootstrapServersT>(value);
49 template <
typename BootstrapServersT = Aws::String>
63 template <
typename SecurityProtocolT = Aws::String>
65 m_securityProtocolHasBeenSet =
true;
66 m_securityProtocol = std::forward<SecurityProtocolT>(value);
68 template <
typename SecurityProtocolT = Aws::String>
81 template <
typename ConnectionNameT = Aws::String>
83 m_connectionNameHasBeenSet =
true;
84 m_connectionName = std::forward<ConnectionNameT>(value);
86 template <
typename ConnectionNameT = Aws::String>
101 template <
typename TopicNameT = Aws::String>
103 m_topicNameHasBeenSet =
true;
104 m_topicName = std::forward<TopicNameT>(value);
106 template <
typename TopicNameT = Aws::String>
121 template <
typename AssignT = Aws::String>
123 m_assignHasBeenSet =
true;
124 m_assign = std::forward<AssignT>(value);
126 template <
typename AssignT = Aws::String>
141 template <
typename SubscribePatternT = Aws::String>
143 m_subscribePatternHasBeenSet =
true;
144 m_subscribePattern = std::forward<SubscribePatternT>(value);
146 template <
typename SubscribePatternT = Aws::String>
159 template <
typename ClassificationT = Aws::String>
161 m_classificationHasBeenSet =
true;
162 m_classification = std::forward<ClassificationT>(value);
164 template <
typename ClassificationT = Aws::String>
177 template <
typename DelimiterT = Aws::String>
179 m_delimiterHasBeenSet =
true;
180 m_delimiter = std::forward<DelimiterT>(value);
182 template <
typename DelimiterT = Aws::String>
197 template <
typename StartingOffsetsT = Aws::String>
199 m_startingOffsetsHasBeenSet =
true;
200 m_startingOffsets = std::forward<StartingOffsetsT>(value);
202 template <
typename StartingOffsetsT = Aws::String>
217 template <
typename EndingOffsetsT = Aws::String>
219 m_endingOffsetsHasBeenSet =
true;
220 m_endingOffsets = std::forward<EndingOffsetsT>(value);
222 template <
typename EndingOffsetsT = Aws::String>
237 m_pollTimeoutMsHasBeenSet =
true;
238 m_pollTimeoutMs = value;
254 m_numRetriesHasBeenSet =
true;
255 m_numRetries = value;
271 m_retryIntervalMsHasBeenSet =
true;
272 m_retryIntervalMs = value;
291 m_maxOffsetsPerTriggerHasBeenSet =
true;
292 m_maxOffsetsPerTrigger = value;
309 m_minPartitionsHasBeenSet =
true;
310 m_minPartitions = value;
329 m_includeHeadersHasBeenSet =
true;
330 m_includeHeaders = value;
347 template <
typename AddRecordTimestampT = Aws::String>
349 m_addRecordTimestampHasBeenSet =
true;
350 m_addRecordTimestamp = std::forward<AddRecordTimestampT>(value);
352 template <
typename AddRecordTimestampT = Aws::String>
369 template <
typename EmitConsumerLagMetricsT = Aws::String>
371 m_emitConsumerLagMetricsHasBeenSet =
true;
372 m_emitConsumerLagMetrics = std::forward<EmitConsumerLagMetricsT>(value);
374 template <
typename EmitConsumerLagMetricsT = Aws::String>
391 template <
typename StartingTimestampT = Aws::Utils::DateTime>
393 m_startingTimestampHasBeenSet =
true;
394 m_startingTimestamp = std::forward<StartingTimestampT>(value);
396 template <
typename StartingTimestampT = Aws::Utils::DateTime>
423 long long m_pollTimeoutMs{0};
427 long long m_retryIntervalMs{0};
429 long long m_maxOffsetsPerTrigger{0};
431 int m_minPartitions{0};
433 bool m_includeHeaders{
false};
440 bool m_bootstrapServersHasBeenSet =
false;
441 bool m_securityProtocolHasBeenSet =
false;
442 bool m_connectionNameHasBeenSet =
false;
443 bool m_topicNameHasBeenSet =
false;
444 bool m_assignHasBeenSet =
false;
445 bool m_subscribePatternHasBeenSet =
false;
446 bool m_classificationHasBeenSet =
false;
447 bool m_delimiterHasBeenSet =
false;
448 bool m_startingOffsetsHasBeenSet =
false;
449 bool m_endingOffsetsHasBeenSet =
false;
450 bool m_pollTimeoutMsHasBeenSet =
false;
451 bool m_numRetriesHasBeenSet =
false;
452 bool m_retryIntervalMsHasBeenSet =
false;
453 bool m_maxOffsetsPerTriggerHasBeenSet =
false;
454 bool m_minPartitionsHasBeenSet =
false;
455 bool m_includeHeadersHasBeenSet =
false;
456 bool m_addRecordTimestampHasBeenSet =
false;
457 bool m_emitConsumerLagMetricsHasBeenSet =
false;
458 bool m_startingTimestampHasBeenSet =
false;
KafkaStreamingSourceOptions & WithTopicName(TopicNameT &&value)
bool PollTimeoutMsHasBeenSet() const
KafkaStreamingSourceOptions & WithIncludeHeaders(bool value)
const Aws::Utils::DateTime & GetStartingTimestamp() const
KafkaStreamingSourceOptions & WithMaxOffsetsPerTrigger(long long value)
bool SecurityProtocolHasBeenSet() const
int GetNumRetries() const
AWS_GLUE_API KafkaStreamingSourceOptions()=default
void SetClassification(ClassificationT &&value)
KafkaStreamingSourceOptions & WithSubscribePattern(SubscribePatternT &&value)
bool MinPartitionsHasBeenSet() const
void SetRetryIntervalMs(long long value)
const Aws::String & GetSecurityProtocol() const
void SetMinPartitions(int value)
void SetBootstrapServers(BootstrapServersT &&value)
KafkaStreamingSourceOptions & WithAssign(AssignT &&value)
void SetNumRetries(int value)
bool AssignHasBeenSet() const
void SetAddRecordTimestamp(AddRecordTimestampT &&value)
void SetSecurityProtocol(SecurityProtocolT &&value)
bool BootstrapServersHasBeenSet() const
long long GetPollTimeoutMs() const
KafkaStreamingSourceOptions & WithStartingTimestamp(StartingTimestampT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
KafkaStreamingSourceOptions & WithConnectionName(ConnectionNameT &&value)
bool EmitConsumerLagMetricsHasBeenSet() const
void SetPollTimeoutMs(long long value)
AWS_GLUE_API KafkaStreamingSourceOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetClassification() const
int GetMinPartitions() const
const Aws::String & GetConnectionName() const
void SetStartingTimestamp(StartingTimestampT &&value)
bool IncludeHeadersHasBeenSet() const
KafkaStreamingSourceOptions & WithSecurityProtocol(SecurityProtocolT &&value)
void SetTopicName(TopicNameT &&value)
const Aws::String & GetEmitConsumerLagMetrics() const
const Aws::String & GetAddRecordTimestamp() const
bool SubscribePatternHasBeenSet() const
const Aws::String & GetBootstrapServers() const
KafkaStreamingSourceOptions & WithDelimiter(DelimiterT &&value)
void SetConnectionName(ConnectionNameT &&value)
void SetSubscribePattern(SubscribePatternT &&value)
void SetAssign(AssignT &&value)
KafkaStreamingSourceOptions & WithStartingOffsets(StartingOffsetsT &&value)
AWS_GLUE_API KafkaStreamingSourceOptions(Aws::Utils::Json::JsonView jsonValue)
KafkaStreamingSourceOptions & WithRetryIntervalMs(long long value)
const Aws::String & GetTopicName() const
bool ConnectionNameHasBeenSet() const
bool AddRecordTimestampHasBeenSet() const
bool EndingOffsetsHasBeenSet() const
const Aws::String & GetEndingOffsets() const
void SetEndingOffsets(EndingOffsetsT &&value)
bool DelimiterHasBeenSet() const
const Aws::String & GetDelimiter() const
bool StartingOffsetsHasBeenSet() const
bool ClassificationHasBeenSet() const
bool RetryIntervalMsHasBeenSet() const
void SetEmitConsumerLagMetrics(EmitConsumerLagMetricsT &&value)
const Aws::String & GetStartingOffsets() const
long long GetRetryIntervalMs() const
void SetMaxOffsetsPerTrigger(long long value)
const Aws::String & GetAssign() const
bool StartingTimestampHasBeenSet() const
long long GetMaxOffsetsPerTrigger() const
bool TopicNameHasBeenSet() const
KafkaStreamingSourceOptions & WithEmitConsumerLagMetrics(EmitConsumerLagMetricsT &&value)
void SetStartingOffsets(StartingOffsetsT &&value)
bool NumRetriesHasBeenSet() const
const Aws::String & GetSubscribePattern() const
KafkaStreamingSourceOptions & WithClassification(ClassificationT &&value)
KafkaStreamingSourceOptions & WithEndingOffsets(EndingOffsetsT &&value)
bool GetIncludeHeaders() const
void SetDelimiter(DelimiterT &&value)
KafkaStreamingSourceOptions & WithBootstrapServers(BootstrapServersT &&value)
bool MaxOffsetsPerTriggerHasBeenSet() const
KafkaStreamingSourceOptions & WithPollTimeoutMs(long long value)
void SetIncludeHeaders(bool value)
KafkaStreamingSourceOptions & WithMinPartitions(int value)
KafkaStreamingSourceOptions & WithAddRecordTimestamp(AddRecordTimestampT &&value)
KafkaStreamingSourceOptions & WithNumRetries(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue