7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/StartingPosition.h>
10#include <aws/core/utils/DateTime.h>
49 template<
typename Endpo
intUrlT = Aws::String>
50 void SetEndpointUrl(EndpointUrlT&& value) { m_endpointUrlHasBeenSet =
true; m_endpointUrl = std::forward<EndpointUrlT>(value); }
51 template<
typename Endpo
intUrlT = Aws::String>
61 template<
typename StreamNameT = Aws::String>
62 void SetStreamName(StreamNameT&& value) { m_streamNameHasBeenSet =
true; m_streamName = std::forward<StreamNameT>(value); }
63 template<
typename StreamNameT = Aws::String>
73 template<
typename ClassificationT = Aws::String>
74 void SetClassification(ClassificationT&& value) { m_classificationHasBeenSet =
true; m_classification = std::forward<ClassificationT>(value); }
75 template<
typename ClassificationT = Aws::String>
85 template<
typename DelimiterT = Aws::String>
86 void SetDelimiter(DelimiterT&& value) { m_delimiterHasBeenSet =
true; m_delimiter = std::forward<DelimiterT>(value); }
87 template<
typename DelimiterT = Aws::String>
117 inline void SetMaxFetchTimeInMs(
long long value) { m_maxFetchTimeInMsHasBeenSet =
true; m_maxFetchTimeInMs = value; }
143 inline void SetMaxRecordPerRead(
long long value) { m_maxRecordPerReadHasBeenSet =
true; m_maxRecordPerRead = value; }
178 inline void SetDescribeShardInterval(
long long value) { m_describeShardIntervalHasBeenSet =
true; m_describeShardInterval = value; }
189 inline void SetNumRetries(
int value) { m_numRetriesHasBeenSet =
true; m_numRetries = value; }
200 inline void SetRetryIntervalMs(
long long value) { m_retryIntervalMsHasBeenSet =
true; m_retryIntervalMs = value; }
211 inline void SetMaxRetryIntervalMs(
long long value) { m_maxRetryIntervalMsHasBeenSet =
true; m_maxRetryIntervalMs = value; }
223 inline void SetAvoidEmptyBatches(
bool value) { m_avoidEmptyBatchesHasBeenSet =
true; m_avoidEmptyBatches = value; }
233 template<
typename StreamArnT = Aws::String>
234 void SetStreamArn(StreamArnT&& value) { m_streamArnHasBeenSet =
true; m_streamArn = std::forward<StreamArnT>(value); }
235 template<
typename StreamArnT = Aws::String>
249 template<
typename RoleArnT = Aws::String>
250 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
251 template<
typename RoleArnT = Aws::String>
263 template<
typename RoleSessionNameT = Aws::String>
264 void SetRoleSessionName(RoleSessionNameT&& value) { m_roleSessionNameHasBeenSet =
true; m_roleSessionName = std::forward<RoleSessionNameT>(value); }
265 template<
typename RoleSessionNameT = Aws::String>
278 template<
typename AddRecordTimestampT = Aws::String>
279 void SetAddRecordTimestamp(AddRecordTimestampT&& value) { m_addRecordTimestampHasBeenSet =
true; m_addRecordTimestamp = std::forward<AddRecordTimestampT>(value); }
280 template<
typename AddRecordTimestampT = Aws::String>
294 template<
typename EmitConsumerLagMetricsT = Aws::String>
295 void SetEmitConsumerLagMetrics(EmitConsumerLagMetricsT&& value) { m_emitConsumerLagMetricsHasBeenSet =
true; m_emitConsumerLagMetrics = std::forward<EmitConsumerLagMetricsT>(value); }
296 template<
typename EmitConsumerLagMetricsT = Aws::String>
309 template<
typename StartingTimestampT = Aws::Utils::DateTime>
310 void SetStartingTimestamp(StartingTimestampT&& value) { m_startingTimestampHasBeenSet =
true; m_startingTimestamp = std::forward<StartingTimestampT>(value); }
311 template<
typename StartingTimestampT = Aws::Utils::DateTime>
317 bool m_endpointUrlHasBeenSet =
false;
320 bool m_streamNameHasBeenSet =
false;
323 bool m_classificationHasBeenSet =
false;
326 bool m_delimiterHasBeenSet =
false;
329 bool m_startingPositionHasBeenSet =
false;
331 long long m_maxFetchTimeInMs{0};
332 bool m_maxFetchTimeInMsHasBeenSet =
false;
334 long long m_maxFetchRecordsPerShard{0};
335 bool m_maxFetchRecordsPerShardHasBeenSet =
false;
337 long long m_maxRecordPerRead{0};
338 bool m_maxRecordPerReadHasBeenSet =
false;
340 bool m_addIdleTimeBetweenReads{
false};
341 bool m_addIdleTimeBetweenReadsHasBeenSet =
false;
343 long long m_idleTimeBetweenReadsInMs{0};
344 bool m_idleTimeBetweenReadsInMsHasBeenSet =
false;
346 long long m_describeShardInterval{0};
347 bool m_describeShardIntervalHasBeenSet =
false;
350 bool m_numRetriesHasBeenSet =
false;
352 long long m_retryIntervalMs{0};
353 bool m_retryIntervalMsHasBeenSet =
false;
355 long long m_maxRetryIntervalMs{0};
356 bool m_maxRetryIntervalMsHasBeenSet =
false;
358 bool m_avoidEmptyBatches{
false};
359 bool m_avoidEmptyBatchesHasBeenSet =
false;
362 bool m_streamArnHasBeenSet =
false;
365 bool m_roleArnHasBeenSet =
false;
368 bool m_roleSessionNameHasBeenSet =
false;
371 bool m_addRecordTimestampHasBeenSet =
false;
374 bool m_emitConsumerLagMetricsHasBeenSet =
false;
377 bool m_startingTimestampHasBeenSet =
false;
KinesisStreamingSourceOptions & WithRoleSessionName(RoleSessionNameT &&value)
bool RoleSessionNameHasBeenSet() const
bool AddRecordTimestampHasBeenSet() const
long long GetDescribeShardInterval() const
void SetEndpointUrl(EndpointUrlT &&value)
bool AvoidEmptyBatchesHasBeenSet() const
bool RoleArnHasBeenSet() const
AWS_GLUE_API KinesisStreamingSourceOptions(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartingTimestamp() const
KinesisStreamingSourceOptions & WithNumRetries(int value)
bool MaxRecordPerReadHasBeenSet() const
KinesisStreamingSourceOptions & WithRoleArn(RoleArnT &&value)
KinesisStreamingSourceOptions & WithRetryIntervalMs(long long value)
const Aws::String & GetStreamArn() const
bool MaxRetryIntervalMsHasBeenSet() const
bool StartingTimestampHasBeenSet() const
void SetAddRecordTimestamp(AddRecordTimestampT &&value)
bool MaxFetchTimeInMsHasBeenSet() const
bool MaxFetchRecordsPerShardHasBeenSet() const
long long GetMaxFetchTimeInMs() const
void SetStartingTimestamp(StartingTimestampT &&value)
bool StreamNameHasBeenSet() const
KinesisStreamingSourceOptions & WithAvoidEmptyBatches(bool value)
long long GetMaxRecordPerRead() const
KinesisStreamingSourceOptions & WithMaxRecordPerRead(long long value)
const Aws::String & GetRoleArn() const
void SetDelimiter(DelimiterT &&value)
KinesisStreamingSourceOptions & WithDelimiter(DelimiterT &&value)
bool DelimiterHasBeenSet() const
void SetMaxFetchTimeInMs(long long value)
const Aws::String & GetEndpointUrl() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool NumRetriesHasBeenSet() const
KinesisStreamingSourceOptions & WithStartingTimestamp(StartingTimestampT &&value)
KinesisStreamingSourceOptions & WithAddIdleTimeBetweenReads(bool value)
bool GetAddIdleTimeBetweenReads() const
void SetAddIdleTimeBetweenReads(bool value)
const Aws::String & GetRoleSessionName() const
void SetMaxRetryIntervalMs(long long value)
long long GetMaxFetchRecordsPerShard() const
const Aws::String & GetStreamName() const
bool GetAvoidEmptyBatches() const
long long GetMaxRetryIntervalMs() const
KinesisStreamingSourceOptions & WithMaxFetchTimeInMs(long long value)
void SetDescribeShardInterval(long long value)
void SetMaxRecordPerRead(long long value)
KinesisStreamingSourceOptions & WithStreamArn(StreamArnT &&value)
void SetStartingPosition(StartingPosition value)
bool ClassificationHasBeenSet() const
bool DescribeShardIntervalHasBeenSet() const
KinesisStreamingSourceOptions & WithStreamName(StreamNameT &&value)
bool IdleTimeBetweenReadsInMsHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
void SetRetryIntervalMs(long long value)
int GetNumRetries() const
void SetStreamArn(StreamArnT &&value)
KinesisStreamingSourceOptions & WithDescribeShardInterval(long long value)
AWS_GLUE_API KinesisStreamingSourceOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
KinesisStreamingSourceOptions & WithEndpointUrl(EndpointUrlT &&value)
bool StreamArnHasBeenSet() const
KinesisStreamingSourceOptions & WithAddRecordTimestamp(AddRecordTimestampT &&value)
KinesisStreamingSourceOptions & WithStartingPosition(StartingPosition value)
bool EndpointUrlHasBeenSet() const
void SetIdleTimeBetweenReadsInMs(long long value)
const Aws::String & GetDelimiter() const
void SetClassification(ClassificationT &&value)
AWS_GLUE_API KinesisStreamingSourceOptions()=default
bool StartingPositionHasBeenSet() const
const Aws::String & GetClassification() const
long long GetRetryIntervalMs() const
KinesisStreamingSourceOptions & WithMaxFetchRecordsPerShard(long long value)
KinesisStreamingSourceOptions & WithClassification(ClassificationT &&value)
void SetEmitConsumerLagMetrics(EmitConsumerLagMetricsT &&value)
void SetRoleSessionName(RoleSessionNameT &&value)
const Aws::String & GetAddRecordTimestamp() const
bool RetryIntervalMsHasBeenSet() const
void SetMaxFetchRecordsPerShard(long long value)
StartingPosition GetStartingPosition() const
KinesisStreamingSourceOptions & WithEmitConsumerLagMetrics(EmitConsumerLagMetricsT &&value)
long long GetIdleTimeBetweenReadsInMs() const
bool AddIdleTimeBetweenReadsHasBeenSet() const
bool EmitConsumerLagMetricsHasBeenSet() const
KinesisStreamingSourceOptions & WithIdleTimeBetweenReadsInMs(long long value)
void SetAvoidEmptyBatches(bool value)
KinesisStreamingSourceOptions & WithMaxRetryIntervalMs(long long value)
void SetNumRetries(int value)
const Aws::String & GetEmitConsumerLagMetrics() const
void SetStreamName(StreamNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue