AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RetryPolicyConfiguration.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_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 EMRContainers
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_EMRCONTAINERS_API RetryPolicyConfiguration();
34 AWS_EMRCONTAINERS_API RetryPolicyConfiguration(Aws::Utils::Json::JsonView jsonValue);
36 AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetMaxAttempts() const{ return m_maxAttempts; }
44 inline bool MaxAttemptsHasBeenSet() const { return m_maxAttemptsHasBeenSet; }
45 inline void SetMaxAttempts(int value) { m_maxAttemptsHasBeenSet = true; m_maxAttempts = value; }
46 inline RetryPolicyConfiguration& WithMaxAttempts(int value) { SetMaxAttempts(value); return *this;}
48 private:
49
50 int m_maxAttempts;
51 bool m_maxAttemptsHasBeenSet = false;
52 };
53
54} // namespace Model
55} // namespace EMRContainers
56} // namespace Aws
AWS_EMRCONTAINERS_API RetryPolicyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMRCONTAINERS_API RetryPolicyConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue