AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RetryStrategy.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_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 SageMaker
20{
21namespace Model
22{
23
35 {
36 public:
37 AWS_SAGEMAKER_API RetryStrategy();
38 AWS_SAGEMAKER_API RetryStrategy(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API RetryStrategy& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline int GetMaximumRetryAttempts() const{ return m_maximumRetryAttempts; }
49 inline bool MaximumRetryAttemptsHasBeenSet() const { return m_maximumRetryAttemptsHasBeenSet; }
50 inline void SetMaximumRetryAttempts(int value) { m_maximumRetryAttemptsHasBeenSet = true; m_maximumRetryAttempts = value; }
51 inline RetryStrategy& WithMaximumRetryAttempts(int value) { SetMaximumRetryAttempts(value); return *this;}
53 private:
54
55 int m_maximumRetryAttempts;
56 bool m_maximumRetryAttemptsHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace SageMaker
61} // namespace Aws
RetryStrategy & WithMaximumRetryAttempts(int value)
AWS_SAGEMAKER_API RetryStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API RetryStrategy(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue