/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A RetryPolicy
object that includes information about the retry
* policy settings.See Also:
AWS
* API Reference
The maximum number of retry attempts to make before the request fails. Retry
* attempts continue until either the maximum number of attempts is made or until
* the duration of the MaximumEventAgeInSeconds
is met.
The maximum number of retry attempts to make before the request fails. Retry
* attempts continue until either the maximum number of attempts is made or until
* the duration of the MaximumEventAgeInSeconds
is met.
The maximum number of retry attempts to make before the request fails. Retry
* attempts continue until either the maximum number of attempts is made or until
* the duration of the MaximumEventAgeInSeconds
is met.
The maximum number of retry attempts to make before the request fails. Retry
* attempts continue until either the maximum number of attempts is made or until
* the duration of the MaximumEventAgeInSeconds
is met.
The maximum amount of time, in seconds, to continue to make retry * attempts.
*/ inline int GetMaximumEventAgeInSeconds() const{ return m_maximumEventAgeInSeconds; } /** *The maximum amount of time, in seconds, to continue to make retry * attempts.
*/ inline bool MaximumEventAgeInSecondsHasBeenSet() const { return m_maximumEventAgeInSecondsHasBeenSet; } /** *The maximum amount of time, in seconds, to continue to make retry * attempts.
*/ inline void SetMaximumEventAgeInSeconds(int value) { m_maximumEventAgeInSecondsHasBeenSet = true; m_maximumEventAgeInSeconds = value; } /** *The maximum amount of time, in seconds, to continue to make retry * attempts.
*/ inline RetryPolicy& WithMaximumEventAgeInSeconds(int value) { SetMaximumEventAgeInSeconds(value); return *this;} private: int m_maximumRetryAttempts; bool m_maximumRetryAttemptsHasBeenSet = false; int m_maximumEventAgeInSeconds; bool m_maximumEventAgeInSecondsHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchEvents } // namespace Aws