7#include <aws/crt/cbor/Cbor.h>
8#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
16namespace EventBridgeV2 {
27 AWS_EVENTBRIDGEV2_API
BatchConfiguration(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
29 AWS_EVENTBRIDGEV2_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 m_maxBatchSizeHasBeenSet =
true;
44 m_maxBatchSize = value;
63 m_maxBatchWindowInSecondsHasBeenSet =
true;
64 m_maxBatchWindowInSeconds = value;
72 int64_t m_maxBatchSize{0};
74 int64_t m_maxBatchWindowInSeconds{0};
75 bool m_maxBatchSizeHasBeenSet =
false;
76 bool m_maxBatchWindowInSecondsHasBeenSet =
false;
AWS_EVENTBRIDGEV2_API BatchConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
BatchConfiguration & WithMaxBatchWindowInSeconds(int64_t value)
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
BatchConfiguration & WithMaxBatchSize(int64_t value)
bool MaxBatchWindowInSecondsHasBeenSet() const
int64_t GetMaxBatchSize() const
AWS_EVENTBRIDGEV2_API BatchConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
int64_t GetMaxBatchWindowInSeconds() const
void SetMaxBatchWindowInSeconds(int64_t value)
AWS_EVENTBRIDGEV2_API BatchConfiguration()=default
bool MaxBatchSizeHasBeenSet() const
void SetMaxBatchSize(int64_t value)