AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RetryConfigInput.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_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 Synthetics
20{
21namespace Model
22{
23
39 {
40 public:
41 AWS_SYNTHETICS_API RetryConfigInput() = default;
42 AWS_SYNTHETICS_API RetryConfigInput(Aws::Utils::Json::JsonView jsonValue);
44 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline int GetMaxRetries() const { return m_maxRetries; }
52 inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; }
53 inline void SetMaxRetries(int value) { m_maxRetriesHasBeenSet = true; m_maxRetries = value; }
54 inline RetryConfigInput& WithMaxRetries(int value) { SetMaxRetries(value); return *this;}
56 private:
57
58 int m_maxRetries{0};
59 bool m_maxRetriesHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Synthetics
64} // namespace Aws
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SYNTHETICS_API RetryConfigInput(Aws::Utils::Json::JsonView jsonValue)
AWS_SYNTHETICS_API RetryConfigInput()=default
AWS_SYNTHETICS_API RetryConfigInput & operator=(Aws::Utils::Json::JsonView jsonValue)
RetryConfigInput & WithMaxRetries(int value)
Aws::Utils::Json::JsonValue JsonValue