7#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
16namespace EMRServerless {
39 m_maxAttemptsHasBeenSet =
true;
40 m_maxAttempts = value;
56 m_maxFailedAttemptsPerHourHasBeenSet =
true;
57 m_maxFailedAttemptsPerHour = value;
67 int m_maxFailedAttemptsPerHour{0};
68 bool m_maxAttemptsHasBeenSet =
false;
69 bool m_maxFailedAttemptsPerHourHasBeenSet =
false;
AWS_EMRSERVERLESS_API RetryPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
RetryPolicy & WithMaxFailedAttemptsPerHour(int value)
AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMRSERVERLESS_API RetryPolicy(Aws::Utils::Json::JsonView jsonValue)
bool MaxFailedAttemptsPerHourHasBeenSet() const
void SetMaxFailedAttemptsPerHour(int value)
int GetMaxAttempts() const
int GetMaxFailedAttemptsPerHour() const
bool MaxAttemptsHasBeenSet() const
AWS_EMRSERVERLESS_API RetryPolicy()=default
RetryPolicy & WithMaxAttempts(int value)
void SetMaxAttempts(int value)
Aws::Utils::Json::JsonValue JsonValue