AWS SDK for C++  1.9.126
AWS SDK for C++
ModelClientConfig.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 
31  {
32  public:
37 
38 
42  inline int GetInvocationsTimeoutInSeconds() const{ return m_invocationsTimeoutInSeconds; }
43 
47  inline bool InvocationsTimeoutInSecondsHasBeenSet() const { return m_invocationsTimeoutInSecondsHasBeenSet; }
48 
52  inline void SetInvocationsTimeoutInSeconds(int value) { m_invocationsTimeoutInSecondsHasBeenSet = true; m_invocationsTimeoutInSeconds = value; }
53 
57  inline ModelClientConfig& WithInvocationsTimeoutInSeconds(int value) { SetInvocationsTimeoutInSeconds(value); return *this;}
58 
59 
63  inline int GetInvocationsMaxRetries() const{ return m_invocationsMaxRetries; }
64 
68  inline bool InvocationsMaxRetriesHasBeenSet() const { return m_invocationsMaxRetriesHasBeenSet; }
69 
73  inline void SetInvocationsMaxRetries(int value) { m_invocationsMaxRetriesHasBeenSet = true; m_invocationsMaxRetries = value; }
74 
78  inline ModelClientConfig& WithInvocationsMaxRetries(int value) { SetInvocationsMaxRetries(value); return *this;}
79 
80  private:
81 
82  int m_invocationsTimeoutInSeconds;
83  bool m_invocationsTimeoutInSecondsHasBeenSet;
84 
85  int m_invocationsMaxRetries;
86  bool m_invocationsMaxRetriesHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace SageMaker
91 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ModelClientConfig::operator=
ModelClientConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ModelClientConfig::SetInvocationsTimeoutInSeconds
void SetInvocationsTimeoutInSeconds(int value)
Definition: ModelClientConfig.h:52
Aws::SageMaker::Model::ModelClientConfig::InvocationsTimeoutInSecondsHasBeenSet
bool InvocationsTimeoutInSecondsHasBeenSet() const
Definition: ModelClientConfig.h:47
Aws::SageMaker::Model::ModelClientConfig::ModelClientConfig
ModelClientConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ModelClientConfig::WithInvocationsMaxRetries
ModelClientConfig & WithInvocationsMaxRetries(int value)
Definition: ModelClientConfig.h:78
Aws::SageMaker::Model::ModelClientConfig::GetInvocationsTimeoutInSeconds
int GetInvocationsTimeoutInSeconds() const
Definition: ModelClientConfig.h:42
Aws::SageMaker::Model::ModelClientConfig::GetInvocationsMaxRetries
int GetInvocationsMaxRetries() const
Definition: ModelClientConfig.h:63
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ModelClientConfig::InvocationsMaxRetriesHasBeenSet
bool InvocationsMaxRetriesHasBeenSet() const
Definition: ModelClientConfig.h:68
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::ModelClientConfig
Definition: ModelClientConfig.h:31
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ModelClientConfig::WithInvocationsTimeoutInSeconds
ModelClientConfig & WithInvocationsTimeoutInSeconds(int value)
Definition: ModelClientConfig.h:57
Aws::SageMaker::Model::ModelClientConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ModelClientConfig::ModelClientConfig
ModelClientConfig()
Aws::SageMaker::Model::ModelClientConfig::SetInvocationsMaxRetries
void SetInvocationsMaxRetries(int value)
Definition: ModelClientConfig.h:73