/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration of the retry policy that the job runs on.See
* Also:
AWS
* API Reference
The maximum number of attempts on the job's driver.
*/ inline int GetMaxAttempts() const{ return m_maxAttempts; } /** *The maximum number of attempts on the job's driver.
*/ inline bool MaxAttemptsHasBeenSet() const { return m_maxAttemptsHasBeenSet; } /** *The maximum number of attempts on the job's driver.
*/ inline void SetMaxAttempts(int value) { m_maxAttemptsHasBeenSet = true; m_maxAttempts = value; } /** *The maximum number of attempts on the job's driver.
*/ inline RetryPolicyConfiguration& WithMaxAttempts(int value) { SetMaxAttempts(value); return *this;} private: int m_maxAttempts; bool m_maxAttemptsHasBeenSet = false; }; } // namespace Model } // namespace EMRContainers } // namespace Aws