7#include <aws/crt/cbor/Cbor.h>
8#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
9#include <aws/eventbridgev2/model/RetryStrategy.h>
19namespace EventBridgeV2 {
30 AWS_EVENTBRIDGEV2_API
RetryPolicy(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_EVENTBRIDGEV2_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 m_maxRetryAttemptsHasBeenSet =
true;
42 m_maxRetryAttempts = value;
58 m_maxEventAgeInSecondsHasBeenSet =
true;
59 m_maxEventAgeInSeconds = value;
74 m_retryStrategyHasBeenSet =
true;
75 m_retryStrategy = value;
83 int64_t m_maxRetryAttempts{0};
85 int64_t m_maxEventAgeInSeconds{0};
88 bool m_maxRetryAttemptsHasBeenSet =
false;
89 bool m_maxEventAgeInSecondsHasBeenSet =
false;
90 bool m_retryStrategyHasBeenSet =
false;
bool RetryStrategyHasBeenSet() const
AWS_EVENTBRIDGEV2_API RetryPolicy(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_EVENTBRIDGEV2_API RetryPolicy()=default
int64_t GetMaxEventAgeInSeconds() const
bool MaxEventAgeInSecondsHasBeenSet() const
RetryPolicy & WithMaxEventAgeInSeconds(int64_t value)
RetryPolicy & WithMaxRetryAttempts(int64_t value)
AWS_EVENTBRIDGEV2_API RetryPolicy & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetRetryStrategy(RetryStrategy value)
void SetMaxEventAgeInSeconds(int64_t value)
void SetMaxRetryAttempts(int64_t value)
RetryStrategy GetRetryStrategy() const
bool MaxRetryAttemptsHasBeenSet() const
RetryPolicy & WithRetryStrategy(RetryStrategy value)
int64_t GetMaxRetryAttempts() const