AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
BatchRetryStrategy.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Pipes {
17namespace Model {
18
28 public:
29 AWS_PIPES_API BatchRetryStrategy() = default;
32 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
40 inline int GetAttempts() const { return m_attempts; }
41 inline bool AttemptsHasBeenSet() const { return m_attemptsHasBeenSet; }
42 inline void SetAttempts(int value) {
43 m_attemptsHasBeenSet = true;
44 m_attempts = value;
45 }
46 inline BatchRetryStrategy& WithAttempts(int value) {
47 SetAttempts(value);
48 return *this;
49 }
51 private:
52 int m_attempts{0};
53 bool m_attemptsHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace Pipes
58} // namespace Aws
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PIPES_API BatchRetryStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PIPES_API BatchRetryStrategy()=default
BatchRetryStrategy & WithAttempts(int value)
AWS_PIPES_API BatchRetryStrategy(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue