7#include <aws/events/CloudWatchEvents_EXPORTS.h>
16namespace CloudWatchEvents {
41 m_maximumRetryAttemptsHasBeenSet =
true;
42 m_maximumRetryAttempts = value;
58 m_maximumEventAgeInSecondsHasBeenSet =
true;
59 m_maximumEventAgeInSeconds = value;
67 int m_maximumRetryAttempts{0};
69 int m_maximumEventAgeInSeconds{0};
70 bool m_maximumRetryAttemptsHasBeenSet =
false;
71 bool m_maximumEventAgeInSecondsHasBeenSet =
false;
RetryPolicy & WithMaximumEventAgeInSeconds(int value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
int GetMaximumRetryAttempts() const
AWS_CLOUDWATCHEVENTS_API RetryPolicy()=default
bool MaximumRetryAttemptsHasBeenSet() const
RetryPolicy & WithMaximumRetryAttempts(int value)
void SetMaximumEventAgeInSeconds(int value)
bool MaximumEventAgeInSecondsHasBeenSet() const
void SetMaximumRetryAttempts(int value)
AWS_CLOUDWATCHEVENTS_API RetryPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVENTS_API RetryPolicy(Aws::Utils::Json::JsonView jsonValue)
int GetMaximumEventAgeInSeconds() const
Aws::Utils::Json::JsonValue JsonValue