7#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
19namespace EMRServerless
45 inline void SetMaxAttempts(
int value) { m_maxAttemptsHasBeenSet =
true; m_maxAttempts = value; }
62 bool m_maxAttemptsHasBeenSet =
false;
64 int m_maxFailedAttemptsPerHour{0};
65 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