/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The batch condition that started the workflow run. Either the number of
* events in the batch size arrived, in which case the BatchSize member is
* non-zero, or the batch window expired, in which case the BatchWindow member is
* non-zero.See Also:
AWS
* API Reference
Number of events in the batch.
*/ inline int GetBatchSize() const{ return m_batchSize; } /** *Number of events in the batch.
*/ inline bool BatchSizeHasBeenSet() const { return m_batchSizeHasBeenSet; } /** *Number of events in the batch.
*/ inline void SetBatchSize(int value) { m_batchSizeHasBeenSet = true; m_batchSize = value; } /** *Number of events in the batch.
*/ inline StartingEventBatchCondition& WithBatchSize(int value) { SetBatchSize(value); return *this;} /** *Duration of the batch window in seconds.
*/ inline int GetBatchWindow() const{ return m_batchWindow; } /** *Duration of the batch window in seconds.
*/ inline bool BatchWindowHasBeenSet() const { return m_batchWindowHasBeenSet; } /** *Duration of the batch window in seconds.
*/ inline void SetBatchWindow(int value) { m_batchWindowHasBeenSet = true; m_batchWindow = value; } /** *Duration of the batch window in seconds.
*/ inline StartingEventBatchCondition& WithBatchWindow(int value) { SetBatchWindow(value); return *this;} private: int m_batchSize; bool m_batchSizeHasBeenSet = false; int m_batchWindow; bool m_batchWindowHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws