/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The parameters for using a Amazon SQS stream as a source.See
* Also:
AWS
* API Reference
The maximum number of records to include in each batch.
*/ inline int GetBatchSize() const{ return m_batchSize; } /** *The maximum number of records to include in each batch.
*/ inline bool BatchSizeHasBeenSet() const { return m_batchSizeHasBeenSet; } /** *The maximum number of records to include in each batch.
*/ inline void SetBatchSize(int value) { m_batchSizeHasBeenSet = true; m_batchSize = value; } /** *The maximum number of records to include in each batch.
*/ inline PipeSourceSqsQueueParameters& WithBatchSize(int value) { SetBatchSize(value); return *this;} /** *The maximum length of a time to wait for events.
*/ inline int GetMaximumBatchingWindowInSeconds() const{ return m_maximumBatchingWindowInSeconds; } /** *The maximum length of a time to wait for events.
*/ inline bool MaximumBatchingWindowInSecondsHasBeenSet() const { return m_maximumBatchingWindowInSecondsHasBeenSet; } /** *The maximum length of a time to wait for events.
*/ inline void SetMaximumBatchingWindowInSeconds(int value) { m_maximumBatchingWindowInSecondsHasBeenSet = true; m_maximumBatchingWindowInSeconds = value; } /** *The maximum length of a time to wait for events.
*/ inline PipeSourceSqsQueueParameters& WithMaximumBatchingWindowInSeconds(int value) { SetMaximumBatchingWindowInSeconds(value); return *this;} private: int m_batchSize; bool m_batchSizeHasBeenSet = false; int m_maximumBatchingWindowInSeconds; bool m_maximumBatchingWindowInSecondsHasBeenSet = false; }; } // namespace Model } // namespace Pipes } // namespace Aws