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>
51 inline void SetEndpointUrl(
const char* value) { m_endpointUrlHasBeenSet =
true; m_endpointUrl.assign(value); }
65 inline void SetStreamName(
const char* value) { m_streamNameHasBeenSet =
true; m_streamName.assign(value); }
79 inline void SetClassification(
const char* value) { m_classificationHasBeenSet =
true; m_classification.assign(value); }
93 inline void SetDelimiter(
const char* value) { m_delimiterHasBeenSet =
true; m_delimiter.assign(value); }
127 inline void SetMaxFetchTimeInMs(
long long value) { m_maxFetchTimeInMsHasBeenSet =
true; m_maxFetchTimeInMs = value; }
153 inline void SetMaxRecordPerRead(
long long value) { m_maxRecordPerReadHasBeenSet =
true; m_maxRecordPerRead = value; }
188 inline void SetDescribeShardInterval(
long long value) { m_describeShardIntervalHasBeenSet =
true; m_describeShardInterval = value; }
199 inline void SetNumRetries(
int value) { m_numRetriesHasBeenSet =
true; m_numRetries = value; }
210 inline void SetRetryIntervalMs(
long long value) { m_retryIntervalMsHasBeenSet =
true; m_retryIntervalMs = value; }
221 inline void SetMaxRetryIntervalMs(
long long value) { m_maxRetryIntervalMsHasBeenSet =
true; m_maxRetryIntervalMs = value; }
233 inline void SetAvoidEmptyBatches(
bool value) { m_avoidEmptyBatchesHasBeenSet =
true; m_avoidEmptyBatches = value; }
245 inline void SetStreamArn(
const char* value) { m_streamArnHasBeenSet =
true; m_streamArn.assign(value); }
263 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
279 inline void SetRoleSessionName(
const char* value) { m_roleSessionNameHasBeenSet =
true; m_roleSessionName.assign(value); }
296 inline void SetAddRecordTimestamp(
const char* value) { m_addRecordTimestampHasBeenSet =
true; m_addRecordTimestamp.assign(value); }
314 inline void SetEmitConsumerLagMetrics(
const char* value) { m_emitConsumerLagMetricsHasBeenSet =
true; m_emitConsumerLagMetrics.assign(value); }
337 bool m_endpointUrlHasBeenSet =
false;
340 bool m_streamNameHasBeenSet =
false;
343 bool m_classificationHasBeenSet =
false;
346 bool m_delimiterHasBeenSet =
false;
349 bool m_startingPositionHasBeenSet =
false;
351 long long m_maxFetchTimeInMs;
352 bool m_maxFetchTimeInMsHasBeenSet =
false;
354 long long m_maxFetchRecordsPerShard;
355 bool m_maxFetchRecordsPerShardHasBeenSet =
false;
357 long long m_maxRecordPerRead;
358 bool m_maxRecordPerReadHasBeenSet =
false;
360 bool m_addIdleTimeBetweenReads;
361 bool m_addIdleTimeBetweenReadsHasBeenSet =
false;
363 long long m_idleTimeBetweenReadsInMs;
364 bool m_idleTimeBetweenReadsInMsHasBeenSet =
false;
366 long long m_describeShardInterval;
367 bool m_describeShardIntervalHasBeenSet =
false;
370 bool m_numRetriesHasBeenSet =
false;
372 long long m_retryIntervalMs;
373 bool m_retryIntervalMsHasBeenSet =
false;
375 long long m_maxRetryIntervalMs;
376 bool m_maxRetryIntervalMsHasBeenSet =
false;
378 bool m_avoidEmptyBatches;
379 bool m_avoidEmptyBatchesHasBeenSet =
false;
382 bool m_streamArnHasBeenSet =
false;
385 bool m_roleArnHasBeenSet =
false;
388 bool m_roleSessionNameHasBeenSet =
false;
391 bool m_addRecordTimestampHasBeenSet =
false;
394 bool m_emitConsumerLagMetricsHasBeenSet =
false;
397 bool m_startingTimestampHasBeenSet =
false;
void SetStartingTimestamp(const Aws::Utils::DateTime &value)
void SetRoleArn(const char *value)
KinesisStreamingSourceOptions & WithStreamArn(const Aws::String &value)
bool RoleSessionNameHasBeenSet() const
bool AddRecordTimestampHasBeenSet() const
long long GetDescribeShardInterval() const
void SetEndpointUrl(Aws::String &&value)
KinesisStreamingSourceOptions & WithRoleSessionName(const Aws::String &value)
const StartingPosition & GetStartingPosition() const
KinesisStreamingSourceOptions & WithStreamArn(const char *value)
bool AvoidEmptyBatchesHasBeenSet() const
bool RoleArnHasBeenSet() const
AWS_GLUE_API KinesisStreamingSourceOptions(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartingTimestamp() const
KinesisStreamingSourceOptions & WithStartingPosition(const StartingPosition &value)
void SetStreamName(Aws::String &&value)
KinesisStreamingSourceOptions & WithNumRetries(int value)
bool MaxRecordPerReadHasBeenSet() const
KinesisStreamingSourceOptions & WithRetryIntervalMs(long long value)
void SetClassification(const Aws::String &value)
const Aws::String & GetStreamArn() const
void SetEmitConsumerLagMetrics(const char *value)
KinesisStreamingSourceOptions & WithStreamName(const Aws::String &value)
void SetStartingTimestamp(Aws::Utils::DateTime &&value)
KinesisStreamingSourceOptions & WithStartingTimestamp(const Aws::Utils::DateTime &value)
void SetAddRecordTimestamp(const char *value)
KinesisStreamingSourceOptions & WithRoleArn(const char *value)
bool MaxRetryIntervalMsHasBeenSet() const
void SetClassification(const char *value)
KinesisStreamingSourceOptions & WithEmitConsumerLagMetrics(Aws::String &&value)
bool StartingTimestampHasBeenSet() const
void SetEmitConsumerLagMetrics(const Aws::String &value)
KinesisStreamingSourceOptions & WithClassification(Aws::String &&value)
KinesisStreamingSourceOptions & WithEmitConsumerLagMetrics(const char *value)
bool MaxFetchTimeInMsHasBeenSet() const
bool MaxFetchRecordsPerShardHasBeenSet() const
long long GetMaxFetchTimeInMs() const
KinesisStreamingSourceOptions & WithStartingTimestamp(Aws::Utils::DateTime &&value)
KinesisStreamingSourceOptions & WithAddRecordTimestamp(const char *value)
bool StreamNameHasBeenSet() const
KinesisStreamingSourceOptions & WithAvoidEmptyBatches(bool value)
long long GetMaxRecordPerRead() const
KinesisStreamingSourceOptions & WithMaxRecordPerRead(long long value)
KinesisStreamingSourceOptions & WithDelimiter(const char *value)
void SetStartingPosition(const StartingPosition &value)
const Aws::String & GetRoleArn() const
void SetStreamArn(const char *value)
bool DelimiterHasBeenSet() const
void SetMaxFetchTimeInMs(long long value)
const Aws::String & GetEndpointUrl() const
void SetStreamName(const char *value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool NumRetriesHasBeenSet() const
KinesisStreamingSourceOptions & WithAddIdleTimeBetweenReads(bool value)
bool GetAddIdleTimeBetweenReads() const
AWS_GLUE_API KinesisStreamingSourceOptions()
void SetAddIdleTimeBetweenReads(bool value)
void SetRoleSessionName(const char *value)
const Aws::String & GetRoleSessionName() const
void SetMaxRetryIntervalMs(long long value)
void SetAddRecordTimestamp(Aws::String &&value)
long long GetMaxFetchRecordsPerShard() const
const Aws::String & GetStreamName() const
bool GetAvoidEmptyBatches() const
void SetAddRecordTimestamp(const Aws::String &value)
KinesisStreamingSourceOptions & WithStartingPosition(StartingPosition &&value)
long long GetMaxRetryIntervalMs() const
KinesisStreamingSourceOptions & WithMaxFetchTimeInMs(long long value)
void SetDescribeShardInterval(long long value)
void SetMaxRecordPerRead(long long value)
void SetClassification(Aws::String &&value)
bool ClassificationHasBeenSet() const
bool DescribeShardIntervalHasBeenSet() const
void SetStreamName(const Aws::String &value)
bool IdleTimeBetweenReadsInMsHasBeenSet() const
KinesisStreamingSourceOptions & WithRoleArn(Aws::String &&value)
void SetDelimiter(Aws::String &&value)
KinesisStreamingSourceOptions & WithEmitConsumerLagMetrics(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
void SetRetryIntervalMs(long long value)
KinesisStreamingSourceOptions & WithRoleArn(const Aws::String &value)
int GetNumRetries() const
KinesisStreamingSourceOptions & WithDescribeShardInterval(long long value)
AWS_GLUE_API KinesisStreamingSourceOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
KinesisStreamingSourceOptions & WithEndpointUrl(const char *value)
void SetRoleSessionName(const Aws::String &value)
bool StreamArnHasBeenSet() const
KinesisStreamingSourceOptions & WithAddRecordTimestamp(Aws::String &&value)
void SetDelimiter(const Aws::String &value)
bool EndpointUrlHasBeenSet() const
KinesisStreamingSourceOptions & WithClassification(const char *value)
void SetEndpointUrl(const char *value)
void SetIdleTimeBetweenReadsInMs(long long value)
const Aws::String & GetDelimiter() const
KinesisStreamingSourceOptions & WithStreamName(const char *value)
bool StartingPositionHasBeenSet() const
const Aws::String & GetClassification() const
long long GetRetryIntervalMs() const
KinesisStreamingSourceOptions & WithRoleSessionName(const char *value)
KinesisStreamingSourceOptions & WithMaxFetchRecordsPerShard(long long value)
const Aws::String & GetAddRecordTimestamp() const
bool RetryIntervalMsHasBeenSet() const
void SetMaxFetchRecordsPerShard(long long value)
KinesisStreamingSourceOptions & WithEndpointUrl(const Aws::String &value)
void SetEndpointUrl(const Aws::String &value)
void SetEmitConsumerLagMetrics(Aws::String &&value)
long long GetIdleTimeBetweenReadsInMs() const
void SetStreamArn(const Aws::String &value)
void SetStreamArn(Aws::String &&value)
bool AddIdleTimeBetweenReadsHasBeenSet() const
KinesisStreamingSourceOptions & WithStreamArn(Aws::String &&value)
KinesisStreamingSourceOptions & WithDelimiter(const Aws::String &value)
KinesisStreamingSourceOptions & WithEndpointUrl(Aws::String &&value)
bool EmitConsumerLagMetricsHasBeenSet() const
KinesisStreamingSourceOptions & WithIdleTimeBetweenReadsInMs(long long value)
KinesisStreamingSourceOptions & WithStreamName(Aws::String &&value)
void SetStartingPosition(StartingPosition &&value)
void SetRoleArn(Aws::String &&value)
KinesisStreamingSourceOptions & WithClassification(const Aws::String &value)
KinesisStreamingSourceOptions & WithAddRecordTimestamp(const Aws::String &value)
KinesisStreamingSourceOptions & WithRoleSessionName(Aws::String &&value)
void SetAvoidEmptyBatches(bool value)
KinesisStreamingSourceOptions & WithDelimiter(Aws::String &&value)
KinesisStreamingSourceOptions & WithMaxRetryIntervalMs(long long value)
void SetDelimiter(const char *value)
void SetNumRetries(int value)
void SetRoleSessionName(Aws::String &&value)
const Aws::String & GetEmitConsumerLagMetrics() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue