7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
50 template<
typename BootstrapServersT = Aws::String>
51 void SetBootstrapServers(BootstrapServersT&& value) { m_bootstrapServersHasBeenSet =
true; m_bootstrapServers = std::forward<BootstrapServersT>(value); }
52 template<
typename BootstrapServersT = Aws::String>
63 template<
typename SecurityProtocolT = Aws::String>
64 void SetSecurityProtocol(SecurityProtocolT&& value) { m_securityProtocolHasBeenSet =
true; m_securityProtocol = std::forward<SecurityProtocolT>(value); }
65 template<
typename SecurityProtocolT = Aws::String>
75 template<
typename ConnectionNameT = Aws::String>
76 void SetConnectionName(ConnectionNameT&& value) { m_connectionNameHasBeenSet =
true; m_connectionName = std::forward<ConnectionNameT>(value); }
77 template<
typename ConnectionNameT = Aws::String>
89 template<
typename TopicNameT = Aws::String>
90 void SetTopicName(TopicNameT&& value) { m_topicNameHasBeenSet =
true; m_topicName = std::forward<TopicNameT>(value); }
91 template<
typename TopicNameT = Aws::String>
103 template<
typename AssignT = Aws::String>
104 void SetAssign(AssignT&& value) { m_assignHasBeenSet =
true; m_assign = std::forward<AssignT>(value); }
105 template<
typename AssignT = Aws::String>
117 template<
typename SubscribePatternT = Aws::String>
118 void SetSubscribePattern(SubscribePatternT&& value) { m_subscribePatternHasBeenSet =
true; m_subscribePattern = std::forward<SubscribePatternT>(value); }
119 template<
typename SubscribePatternT = Aws::String>
129 template<
typename ClassificationT = Aws::String>
130 void SetClassification(ClassificationT&& value) { m_classificationHasBeenSet =
true; m_classification = std::forward<ClassificationT>(value); }
131 template<
typename ClassificationT = Aws::String>
141 template<
typename DelimiterT = Aws::String>
142 void SetDelimiter(DelimiterT&& value) { m_delimiterHasBeenSet =
true; m_delimiter = std::forward<DelimiterT>(value); }
143 template<
typename DelimiterT = Aws::String>
155 template<
typename StartingOffsetsT = Aws::String>
156 void SetStartingOffsets(StartingOffsetsT&& value) { m_startingOffsetsHasBeenSet =
true; m_startingOffsets = std::forward<StartingOffsetsT>(value); }
157 template<
typename StartingOffsetsT = Aws::String>
169 template<
typename EndingOffsetsT = Aws::String>
170 void SetEndingOffsets(EndingOffsetsT&& value) { m_endingOffsetsHasBeenSet =
true; m_endingOffsets = std::forward<EndingOffsetsT>(value); }
171 template<
typename EndingOffsetsT = Aws::String>
182 inline void SetPollTimeoutMs(
long long value) { m_pollTimeoutMsHasBeenSet =
true; m_pollTimeoutMs = value; }
193 inline void SetNumRetries(
int value) { m_numRetriesHasBeenSet =
true; m_numRetries = value; }
204 inline void SetRetryIntervalMs(
long long value) { m_retryIntervalMsHasBeenSet =
true; m_retryIntervalMs = value; }
218 inline void SetMaxOffsetsPerTrigger(
long long value) { m_maxOffsetsPerTriggerHasBeenSet =
true; m_maxOffsetsPerTrigger = value; }
230 inline void SetMinPartitions(
int value) { m_minPartitionsHasBeenSet =
true; m_minPartitions = value; }
244 inline void SetIncludeHeaders(
bool value) { m_includeHeadersHasBeenSet =
true; m_includeHeaders = value; }
257 template<
typename AddRecordTimestampT = Aws::String>
258 void SetAddRecordTimestamp(AddRecordTimestampT&& value) { m_addRecordTimestampHasBeenSet =
true; m_addRecordTimestamp = std::forward<AddRecordTimestampT>(value); }
259 template<
typename AddRecordTimestampT = Aws::String>
273 template<
typename EmitConsumerLagMetricsT = Aws::String>
274 void SetEmitConsumerLagMetrics(EmitConsumerLagMetricsT&& value) { m_emitConsumerLagMetricsHasBeenSet =
true; m_emitConsumerLagMetrics = std::forward<EmitConsumerLagMetricsT>(value); }
275 template<
typename EmitConsumerLagMetricsT = Aws::String>
289 template<
typename StartingTimestampT = Aws::Utils::DateTime>
290 void SetStartingTimestamp(StartingTimestampT&& value) { m_startingTimestampHasBeenSet =
true; m_startingTimestamp = std::forward<StartingTimestampT>(value); }
291 template<
typename StartingTimestampT = Aws::Utils::DateTime>
297 bool m_bootstrapServersHasBeenSet =
false;
300 bool m_securityProtocolHasBeenSet =
false;
303 bool m_connectionNameHasBeenSet =
false;
306 bool m_topicNameHasBeenSet =
false;
309 bool m_assignHasBeenSet =
false;
312 bool m_subscribePatternHasBeenSet =
false;
315 bool m_classificationHasBeenSet =
false;
318 bool m_delimiterHasBeenSet =
false;
321 bool m_startingOffsetsHasBeenSet =
false;
324 bool m_endingOffsetsHasBeenSet =
false;
326 long long m_pollTimeoutMs{0};
327 bool m_pollTimeoutMsHasBeenSet =
false;
330 bool m_numRetriesHasBeenSet =
false;
332 long long m_retryIntervalMs{0};
333 bool m_retryIntervalMsHasBeenSet =
false;
335 long long m_maxOffsetsPerTrigger{0};
336 bool m_maxOffsetsPerTriggerHasBeenSet =
false;
338 int m_minPartitions{0};
339 bool m_minPartitionsHasBeenSet =
false;
341 bool m_includeHeaders{
false};
342 bool m_includeHeadersHasBeenSet =
false;
345 bool m_addRecordTimestampHasBeenSet =
false;
348 bool m_emitConsumerLagMetricsHasBeenSet =
false;
351 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