AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RetryConfigOutput.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
31 {
32 public:
33 AWS_SYNTHETICS_API RetryConfigOutput() = default;
34 AWS_SYNTHETICS_API RetryConfigOutput(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetMaxRetries() const { return m_maxRetries; }
44 inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; }
45 inline void SetMaxRetries(int value) { m_maxRetriesHasBeenSet = true; m_maxRetries = value; }
46 inline RetryConfigOutput& WithMaxRetries(int value) { SetMaxRetries(value); return *this;}
48 private:
49
50 int m_maxRetries{0};
51 bool m_maxRetriesHasBeenSet = false;
52 };
53
54} // namespace Model
55} // namespace Synthetics
56} // namespace Aws
AWS_SYNTHETICS_API RetryConfigOutput(Aws::Utils::Json::JsonView jsonValue)
RetryConfigOutput & WithMaxRetries(int value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SYNTHETICS_API RetryConfigOutput()=default
AWS_SYNTHETICS_API RetryConfigOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue