AWS SDK for C++  1.9.154
AWS SDK for C++
RetryStrategy.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace SageMaker
20 {
21 namespace Model
22 {
23 
35  {
36  public:
41 
42 
47  inline int GetMaximumRetryAttempts() const{ return m_maximumRetryAttempts; }
48 
53  inline bool MaximumRetryAttemptsHasBeenSet() const { return m_maximumRetryAttemptsHasBeenSet; }
54 
59  inline void SetMaximumRetryAttempts(int value) { m_maximumRetryAttemptsHasBeenSet = true; m_maximumRetryAttempts = value; }
60 
65  inline RetryStrategy& WithMaximumRetryAttempts(int value) { SetMaximumRetryAttempts(value); return *this;}
66 
67  private:
68 
69  int m_maximumRetryAttempts;
70  bool m_maximumRetryAttemptsHasBeenSet;
71  };
72 
73 } // namespace Model
74 } // namespace SageMaker
75 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::RetryStrategy::RetryStrategy
RetryStrategy()
Aws::SageMaker::Model::RetryStrategy::SetMaximumRetryAttempts
void SetMaximumRetryAttempts(int value)
Definition: RetryStrategy.h:59
Aws::SageMaker::Model::RetryStrategy::GetMaximumRetryAttempts
int GetMaximumRetryAttempts() const
Definition: RetryStrategy.h:47
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::RetryStrategy
Definition: RetryStrategy.h:35
Aws::SageMaker::Model::RetryStrategy::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::RetryStrategy::WithMaximumRetryAttempts
RetryStrategy & WithMaximumRetryAttempts(int value)
Definition: RetryStrategy.h:65
Aws::SageMaker::Model::RetryStrategy::RetryStrategy
RetryStrategy(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::RetryStrategy::MaximumRetryAttemptsHasBeenSet
bool MaximumRetryAttemptsHasBeenSet() const
Definition: RetryStrategy.h:53
Aws::SageMaker::Model::RetryStrategy::operator=
RetryStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)