7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
52 inline void SetBootstrapServers(
const char* value) { m_bootstrapServersHasBeenSet =
true; m_bootstrapServers.assign(value); }
67 inline void SetSecurityProtocol(
const char* value) { m_securityProtocolHasBeenSet =
true; m_securityProtocol.assign(value); }
81 inline void SetConnectionName(
const char* value) { m_connectionNameHasBeenSet =
true; m_connectionName.assign(value); }
97 inline void SetTopicName(
const char* value) { m_topicNameHasBeenSet =
true; m_topicName.assign(value); }
113 inline void SetAssign(
const char* value) { m_assignHasBeenSet =
true; m_assign.assign(value); }
129 inline void SetSubscribePattern(
const char* value) { m_subscribePatternHasBeenSet =
true; m_subscribePattern.assign(value); }
143 inline void SetClassification(
const char* value) { m_classificationHasBeenSet =
true; m_classification.assign(value); }
157 inline void SetDelimiter(
const char* value) { m_delimiterHasBeenSet =
true; m_delimiter.assign(value); }
173 inline void SetStartingOffsets(
const char* value) { m_startingOffsetsHasBeenSet =
true; m_startingOffsets.assign(value); }
189 inline void SetEndingOffsets(
const char* value) { m_endingOffsetsHasBeenSet =
true; m_endingOffsets.assign(value); }
202 inline void SetPollTimeoutMs(
long long value) { m_pollTimeoutMsHasBeenSet =
true; m_pollTimeoutMs = value; }
213 inline void SetNumRetries(
int value) { m_numRetriesHasBeenSet =
true; m_numRetries = value; }
224 inline void SetRetryIntervalMs(
long long value) { m_retryIntervalMsHasBeenSet =
true; m_retryIntervalMs = value; }
238 inline void SetMaxOffsetsPerTrigger(
long long value) { m_maxOffsetsPerTriggerHasBeenSet =
true; m_maxOffsetsPerTrigger = value; }
250 inline void SetMinPartitions(
int value) { m_minPartitionsHasBeenSet =
true; m_minPartitions = value; }
264 inline void SetIncludeHeaders(
bool value) { m_includeHeadersHasBeenSet =
true; m_includeHeaders = value; }
279 inline void SetAddRecordTimestamp(
const char* value) { m_addRecordTimestampHasBeenSet =
true; m_addRecordTimestamp.assign(value); }
297 inline void SetEmitConsumerLagMetrics(
const char* value) { m_emitConsumerLagMetricsHasBeenSet =
true; m_emitConsumerLagMetrics.assign(value); }
321 bool m_bootstrapServersHasBeenSet =
false;
324 bool m_securityProtocolHasBeenSet =
false;
327 bool m_connectionNameHasBeenSet =
false;
330 bool m_topicNameHasBeenSet =
false;
333 bool m_assignHasBeenSet =
false;
336 bool m_subscribePatternHasBeenSet =
false;
339 bool m_classificationHasBeenSet =
false;
342 bool m_delimiterHasBeenSet =
false;
345 bool m_startingOffsetsHasBeenSet =
false;
348 bool m_endingOffsetsHasBeenSet =
false;
350 long long m_pollTimeoutMs;
351 bool m_pollTimeoutMsHasBeenSet =
false;
354 bool m_numRetriesHasBeenSet =
false;
356 long long m_retryIntervalMs;
357 bool m_retryIntervalMsHasBeenSet =
false;
359 long long m_maxOffsetsPerTrigger;
360 bool m_maxOffsetsPerTriggerHasBeenSet =
false;
363 bool m_minPartitionsHasBeenSet =
false;
365 bool m_includeHeaders;
366 bool m_includeHeadersHasBeenSet =
false;
369 bool m_addRecordTimestampHasBeenSet =
false;
372 bool m_emitConsumerLagMetricsHasBeenSet =
false;
375 bool m_startingTimestampHasBeenSet =
false;
bool PollTimeoutMsHasBeenSet() const
void SetEmitConsumerLagMetrics(const char *value)
KafkaStreamingSourceOptions & WithStartingOffsets(const Aws::String &value)
KafkaStreamingSourceOptions & WithConnectionName(const Aws::String &value)
KafkaStreamingSourceOptions & WithSecurityProtocol(const Aws::String &value)
KafkaStreamingSourceOptions & WithIncludeHeaders(bool value)
const Aws::Utils::DateTime & GetStartingTimestamp() const
KafkaStreamingSourceOptions & WithMaxOffsetsPerTrigger(long long value)
bool SecurityProtocolHasBeenSet() const
int GetNumRetries() const
void SetSecurityProtocol(Aws::String &&value)
KafkaStreamingSourceOptions & WithSecurityProtocol(const char *value)
KafkaStreamingSourceOptions & WithAddRecordTimestamp(const Aws::String &value)
void SetAssign(const Aws::String &value)
bool MinPartitionsHasBeenSet() const
void SetRetryIntervalMs(long long value)
const Aws::String & GetSecurityProtocol() const
void SetMinPartitions(int value)
KafkaStreamingSourceOptions & WithClassification(Aws::String &&value)
KafkaStreamingSourceOptions & WithDelimiter(Aws::String &&value)
void SetNumRetries(int value)
KafkaStreamingSourceOptions & WithSecurityProtocol(Aws::String &&value)
KafkaStreamingSourceOptions & WithAssign(const char *value)
AWS_GLUE_API KafkaStreamingSourceOptions()
KafkaStreamingSourceOptions & WithTopicName(const Aws::String &value)
bool AssignHasBeenSet() const
KafkaStreamingSourceOptions & WithEndingOffsets(const char *value)
KafkaStreamingSourceOptions & WithStartingTimestamp(Aws::Utils::DateTime &&value)
KafkaStreamingSourceOptions & WithEmitConsumerLagMetrics(const char *value)
KafkaStreamingSourceOptions & WithStartingOffsets(const char *value)
KafkaStreamingSourceOptions & WithBootstrapServers(Aws::String &&value)
void SetTopicName(Aws::String &&value)
bool BootstrapServersHasBeenSet() const
long long GetPollTimeoutMs() const
void SetAssign(const char *value)
KafkaStreamingSourceOptions & WithConnectionName(Aws::String &&value)
void SetClassification(const Aws::String &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool EmitConsumerLagMetricsHasBeenSet() const
void SetBootstrapServers(Aws::String &&value)
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
KafkaStreamingSourceOptions & WithStartingOffsets(Aws::String &&value)
void SetEndingOffsets(Aws::String &&value)
void SetClassification(const char *value)
void SetTopicName(const char *value)
bool IncludeHeadersHasBeenSet() const
KafkaStreamingSourceOptions & WithEmitConsumerLagMetrics(const Aws::String &value)
KafkaStreamingSourceOptions & WithBootstrapServers(const Aws::String &value)
void SetSubscribePattern(const Aws::String &value)
void SetAddRecordTimestamp(Aws::String &&value)
KafkaStreamingSourceOptions & WithBootstrapServers(const char *value)
const Aws::String & GetEmitConsumerLagMetrics() const
void SetConnectionName(const Aws::String &value)
KafkaStreamingSourceOptions & WithAssign(const Aws::String &value)
const Aws::String & GetAddRecordTimestamp() const
bool SubscribePatternHasBeenSet() const
const Aws::String & GetBootstrapServers() const
void SetStartingOffsets(Aws::String &&value)
KafkaStreamingSourceOptions & WithSubscribePattern(const char *value)
void SetSubscribePattern(Aws::String &&value)
void SetBootstrapServers(const Aws::String &value)
AWS_GLUE_API KafkaStreamingSourceOptions(Aws::Utils::Json::JsonView jsonValue)
void SetEmitConsumerLagMetrics(const Aws::String &value)
KafkaStreamingSourceOptions & WithRetryIntervalMs(long long value)
KafkaStreamingSourceOptions & WithTopicName(Aws::String &&value)
void SetTopicName(const Aws::String &value)
const Aws::String & GetTopicName() const
void SetClassification(Aws::String &&value)
bool ConnectionNameHasBeenSet() const
bool AddRecordTimestampHasBeenSet() const
KafkaStreamingSourceOptions & WithEndingOffsets(Aws::String &&value)
KafkaStreamingSourceOptions & WithSubscribePattern(Aws::String &&value)
bool EndingOffsetsHasBeenSet() const
void SetEndingOffsets(const Aws::String &value)
KafkaStreamingSourceOptions & WithAssign(Aws::String &&value)
const Aws::String & GetEndingOffsets() const
bool DelimiterHasBeenSet() const
void SetConnectionName(const char *value)
void SetConnectionName(Aws::String &&value)
const Aws::String & GetDelimiter() const
void SetAddRecordTimestamp(const char *value)
bool StartingOffsetsHasBeenSet() const
bool ClassificationHasBeenSet() const
void SetBootstrapServers(const char *value)
KafkaStreamingSourceOptions & WithStartingTimestamp(const Aws::Utils::DateTime &value)
KafkaStreamingSourceOptions & WithClassification(const Aws::String &value)
bool RetryIntervalMsHasBeenSet() const
const Aws::String & GetStartingOffsets() const
long long GetRetryIntervalMs() const
void SetEmitConsumerLagMetrics(Aws::String &&value)
KafkaStreamingSourceOptions & WithAddRecordTimestamp(const char *value)
void SetMaxOffsetsPerTrigger(long long value)
void SetSecurityProtocol(const char *value)
const Aws::String & GetAssign() const
void SetDelimiter(const Aws::String &value)
bool StartingTimestampHasBeenSet() const
void SetSubscribePattern(const char *value)
long long GetMaxOffsetsPerTrigger() const
KafkaStreamingSourceOptions & WithClassification(const char *value)
bool TopicNameHasBeenSet() const
void SetEndingOffsets(const char *value)
KafkaStreamingSourceOptions & WithConnectionName(const char *value)
bool NumRetriesHasBeenSet() const
const Aws::String & GetSubscribePattern() const
void SetDelimiter(const char *value)
bool GetIncludeHeaders() const
KafkaStreamingSourceOptions & WithEndingOffsets(const Aws::String &value)
KafkaStreamingSourceOptions & WithEmitConsumerLagMetrics(Aws::String &&value)
bool MaxOffsetsPerTriggerHasBeenSet() const
KafkaStreamingSourceOptions & WithDelimiter(const Aws::String &value)
void SetStartingTimestamp(Aws::Utils::DateTime &&value)
void SetStartingTimestamp(const Aws::Utils::DateTime &value)
KafkaStreamingSourceOptions & WithPollTimeoutMs(long long value)
void SetIncludeHeaders(bool value)
KafkaStreamingSourceOptions & WithSubscribePattern(const Aws::String &value)
KafkaStreamingSourceOptions & WithMinPartitions(int value)
KafkaStreamingSourceOptions & WithDelimiter(const char *value)
KafkaStreamingSourceOptions & WithAddRecordTimestamp(Aws::String &&value)
void SetAssign(Aws::String &&value)
void SetSecurityProtocol(const Aws::String &value)
void SetStartingOffsets(const Aws::String &value)
void SetStartingOffsets(const char *value)
void SetAddRecordTimestamp(const Aws::String &value)
void SetDelimiter(Aws::String &&value)
KafkaStreamingSourceOptions & WithNumRetries(int value)
KafkaStreamingSourceOptions & WithTopicName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue