AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RetryPolicy.h
1
6#pragma once
7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudWatchEvents
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_CLOUDWATCHEVENTS_API RetryPolicy();
34 AWS_CLOUDWATCHEVENTS_API RetryPolicy(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CLOUDWATCHEVENTS_API RetryPolicy& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
45 inline int GetMaximumRetryAttempts() const{ return m_maximumRetryAttempts; }
46 inline bool MaximumRetryAttemptsHasBeenSet() const { return m_maximumRetryAttemptsHasBeenSet; }
47 inline void SetMaximumRetryAttempts(int value) { m_maximumRetryAttemptsHasBeenSet = true; m_maximumRetryAttempts = value; }
48 inline RetryPolicy& WithMaximumRetryAttempts(int value) { SetMaximumRetryAttempts(value); return *this;}
50
52
56 inline int GetMaximumEventAgeInSeconds() const{ return m_maximumEventAgeInSeconds; }
57 inline bool MaximumEventAgeInSecondsHasBeenSet() const { return m_maximumEventAgeInSecondsHasBeenSet; }
58 inline void SetMaximumEventAgeInSeconds(int value) { m_maximumEventAgeInSecondsHasBeenSet = true; m_maximumEventAgeInSeconds = value; }
59 inline RetryPolicy& WithMaximumEventAgeInSeconds(int value) { SetMaximumEventAgeInSeconds(value); return *this;}
61 private:
62
63 int m_maximumRetryAttempts;
64 bool m_maximumRetryAttemptsHasBeenSet = false;
65
66 int m_maximumEventAgeInSeconds;
67 bool m_maximumEventAgeInSecondsHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace CloudWatchEvents
72} // namespace Aws
RetryPolicy & WithMaximumEventAgeInSeconds(int value)
Definition RetryPolicy.h:59
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHEVENTS_API RetryPolicy()
RetryPolicy & WithMaximumRetryAttempts(int value)
Definition RetryPolicy.h:48
AWS_CLOUDWATCHEVENTS_API RetryPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVENTS_API RetryPolicy(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue