AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
RetryConfigInput.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Synthetics {
17namespace Model {
18
34 public:
35 AWS_SYNTHETICS_API RetryConfigInput() = default;
36 AWS_SYNTHETICS_API RetryConfigInput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline int GetMaxRetries() const { return m_maxRetries; }
45 inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; }
46 inline void SetMaxRetries(int value) {
47 m_maxRetriesHasBeenSet = true;
48 m_maxRetries = value;
49 }
50 inline RetryConfigInput& WithMaxRetries(int value) {
51 SetMaxRetries(value);
52 return *this;
53 }
55 private:
56 int m_maxRetries{0};
57 bool m_maxRetriesHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace Synthetics
62} // 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