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/pipes/Pipes_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 Pipes
20{
21namespace Model
22{
23
33 {
34 public:
35 AWS_PIPES_API BatchRetryStrategy();
38 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline int GetAttempts() const{ return m_attempts; }
48 inline bool AttemptsHasBeenSet() const { return m_attemptsHasBeenSet; }
49 inline void SetAttempts(int value) { m_attemptsHasBeenSet = true; m_attempts = value; }
50 inline BatchRetryStrategy& WithAttempts(int value) { SetAttempts(value); return *this;}
52 private:
53
54 int m_attempts;
55 bool m_attemptsHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace Pipes
60} // namespace Aws
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PIPES_API BatchRetryStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchRetryStrategy & WithAttempts(int value)
AWS_PIPES_API BatchRetryStrategy(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue