7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/StartingPosition.h>
43 template <
typename Endpo
intUrlT = Aws::String>
45 m_endpointUrlHasBeenSet =
true;
46 m_endpointUrl = std::forward<EndpointUrlT>(value);
48 template <
typename Endpo
intUrlT = Aws::String>
61 template <
typename StreamNameT = Aws::String>
63 m_streamNameHasBeenSet =
true;
64 m_streamName = std::forward<StreamNameT>(value);
66 template <
typename StreamNameT = Aws::String>
79 template <
typename ClassificationT = Aws::String>
81 m_classificationHasBeenSet =
true;
82 m_classification = std::forward<ClassificationT>(value);
84 template <
typename ClassificationT = Aws::String>
97 template <
typename DelimiterT = Aws::String>
99 m_delimiterHasBeenSet =
true;
100 m_delimiter = std::forward<DelimiterT>(value);
102 template <
typename DelimiterT = Aws::String>
123 m_startingPositionHasBeenSet =
true;
124 m_startingPosition = value;
142 m_maxFetchTimeInMsHasBeenSet =
true;
143 m_maxFetchTimeInMs = value;
163 m_maxFetchRecordsPerShardHasBeenSet =
true;
164 m_maxFetchRecordsPerShard = value;
180 m_maxRecordPerReadHasBeenSet =
true;
181 m_maxRecordPerRead = value;
198 m_addIdleTimeBetweenReadsHasBeenSet =
true;
199 m_addIdleTimeBetweenReads = value;
216 m_idleTimeBetweenReadsInMsHasBeenSet =
true;
217 m_idleTimeBetweenReadsInMs = value;
233 m_describeShardIntervalHasBeenSet =
true;
234 m_describeShardInterval = value;
250 m_numRetriesHasBeenSet =
true;
251 m_numRetries = value;
267 m_retryIntervalMsHasBeenSet =
true;
268 m_retryIntervalMs = value;
284 m_maxRetryIntervalMsHasBeenSet =
true;
285 m_maxRetryIntervalMs = value;
302 m_avoidEmptyBatchesHasBeenSet =
true;
303 m_avoidEmptyBatches = value;
317 template <
typename StreamArnT = Aws::String>
319 m_streamArnHasBeenSet =
true;
320 m_streamArn = std::forward<StreamArnT>(value);
322 template <
typename StreamArnT = Aws::String>
339 template <
typename RoleArnT = Aws::String>
341 m_roleArnHasBeenSet =
true;
342 m_roleArn = std::forward<RoleArnT>(value);
344 template <
typename RoleArnT = Aws::String>
359 template <
typename RoleSessionNameT = Aws::String>
361 m_roleSessionNameHasBeenSet =
true;
362 m_roleSessionName = std::forward<RoleSessionNameT>(value);
364 template <
typename RoleSessionNameT = Aws::String>
380 template <
typename AddRecordTimestampT = Aws::String>
382 m_addRecordTimestampHasBeenSet =
true;
383 m_addRecordTimestamp = std::forward<AddRecordTimestampT>(value);
385 template <
typename AddRecordTimestampT = Aws::String>
402 template <
typename EmitConsumerLagMetricsT = Aws::String>
404 m_emitConsumerLagMetricsHasBeenSet =
true;
405 m_emitConsumerLagMetrics = std::forward<EmitConsumerLagMetricsT>(value);
407 template <
typename EmitConsumerLagMetricsT = Aws::String>
423 template <
typename StartingTimestampT = Aws::Utils::DateTime>
425 m_startingTimestampHasBeenSet =
true;
426 m_startingTimestamp = std::forward<StartingTimestampT>(value);
428 template <
typename StartingTimestampT = Aws::Utils::DateTime>
443 template <
typename FanoutConsumerARNT = Aws::String>
445 m_fanoutConsumerARNHasBeenSet =
true;
446 m_fanoutConsumerARN = std::forward<FanoutConsumerARNT>(value);
448 template <
typename FanoutConsumerARNT = Aws::String>
465 long long m_maxFetchTimeInMs{0};
467 long long m_maxFetchRecordsPerShard{0};
469 long long m_maxRecordPerRead{0};
471 bool m_addIdleTimeBetweenReads{
false};
473 long long m_idleTimeBetweenReadsInMs{0};
475 long long m_describeShardInterval{0};
479 long long m_retryIntervalMs{0};
481 long long m_maxRetryIntervalMs{0};
483 bool m_avoidEmptyBatches{
false};
498 bool m_endpointUrlHasBeenSet =
false;
499 bool m_streamNameHasBeenSet =
false;
500 bool m_classificationHasBeenSet =
false;
501 bool m_delimiterHasBeenSet =
false;
502 bool m_startingPositionHasBeenSet =
false;
503 bool m_maxFetchTimeInMsHasBeenSet =
false;
504 bool m_maxFetchRecordsPerShardHasBeenSet =
false;
505 bool m_maxRecordPerReadHasBeenSet =
false;
506 bool m_addIdleTimeBetweenReadsHasBeenSet =
false;
507 bool m_idleTimeBetweenReadsInMsHasBeenSet =
false;
508 bool m_describeShardIntervalHasBeenSet =
false;
509 bool m_numRetriesHasBeenSet =
false;
510 bool m_retryIntervalMsHasBeenSet =
false;
511 bool m_maxRetryIntervalMsHasBeenSet =
false;
512 bool m_avoidEmptyBatchesHasBeenSet =
false;
513 bool m_streamArnHasBeenSet =
false;
514 bool m_roleArnHasBeenSet =
false;
515 bool m_roleSessionNameHasBeenSet =
false;
516 bool m_addRecordTimestampHasBeenSet =
false;
517 bool m_emitConsumerLagMetricsHasBeenSet =
false;
518 bool m_startingTimestampHasBeenSet =
false;
519 bool m_fanoutConsumerARNHasBeenSet =
false;
KinesisStreamingSourceOptions & WithRoleSessionName(RoleSessionNameT &&value)
bool RoleSessionNameHasBeenSet() const
bool AddRecordTimestampHasBeenSet() const
long long GetDescribeShardInterval() const
void SetEndpointUrl(EndpointUrlT &&value)
bool FanoutConsumerARNHasBeenSet() const
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
const Aws::String & GetFanoutConsumerARN() 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)
KinesisStreamingSourceOptions & WithFanoutConsumerARN(FanoutConsumerARNT &&value)
void SetStartingPosition(StartingPosition value)
bool ClassificationHasBeenSet() const
bool DescribeShardIntervalHasBeenSet() const
KinesisStreamingSourceOptions & WithStreamName(StreamNameT &&value)
void SetFanoutConsumerARN(FanoutConsumerARNT &&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