AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RetryStrategy.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SageMaker {
17namespace Model {
18
30 public:
31 AWS_SAGEMAKER_API RetryStrategy() = default;
32 AWS_SAGEMAKER_API RetryStrategy(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API RetryStrategy& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline int GetMaximumRetryAttempts() const { return m_maximumRetryAttempts; }
42 inline bool MaximumRetryAttemptsHasBeenSet() const { return m_maximumRetryAttemptsHasBeenSet; }
43 inline void SetMaximumRetryAttempts(int value) {
44 m_maximumRetryAttemptsHasBeenSet = true;
45 m_maximumRetryAttempts = value;
46 }
49 return *this;
50 }
52 private:
53 int m_maximumRetryAttempts{0};
54 bool m_maximumRetryAttemptsHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace SageMaker
59} // namespace Aws
RetryStrategy & WithMaximumRetryAttempts(int value)
AWS_SAGEMAKER_API RetryStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API RetryStrategy()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API RetryStrategy(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue