AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchRetryStrategy.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
32 {
33 public:
34 AWS_CLOUDWATCHEVENTS_API BatchRetryStrategy();
35 AWS_CLOUDWATCHEVENTS_API BatchRetryStrategy(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLOUDWATCHEVENTS_API BatchRetryStrategy& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline int GetAttempts() const{ return m_attempts; }
46 inline bool AttemptsHasBeenSet() const { return m_attemptsHasBeenSet; }
47 inline void SetAttempts(int value) { m_attemptsHasBeenSet = true; m_attempts = value; }
48 inline BatchRetryStrategy& WithAttempts(int value) { SetAttempts(value); return *this;}
50 private:
51
52 int m_attempts;
53 bool m_attemptsHasBeenSet = false;
54 };
55
56} // namespace Model
57} // namespace CloudWatchEvents
58} // namespace Aws
AWS_CLOUDWATCHEVENTS_API BatchRetryStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVENTS_API BatchRetryStrategy(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue