AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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