AWS SDK for C++  1.9.159
AWS SDK for C++
AsyncInferenceClientConfig.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 
32  {
33  public:
38 
39 
45  inline int GetMaxConcurrentInvocationsPerInstance() const{ return m_maxConcurrentInvocationsPerInstance; }
46 
52  inline bool MaxConcurrentInvocationsPerInstanceHasBeenSet() const { return m_maxConcurrentInvocationsPerInstanceHasBeenSet; }
53 
59  inline void SetMaxConcurrentInvocationsPerInstance(int value) { m_maxConcurrentInvocationsPerInstanceHasBeenSet = true; m_maxConcurrentInvocationsPerInstance = value; }
60 
66  inline AsyncInferenceClientConfig& WithMaxConcurrentInvocationsPerInstance(int value) { SetMaxConcurrentInvocationsPerInstance(value); return *this;}
67 
68  private:
69 
70  int m_maxConcurrentInvocationsPerInstance;
71  bool m_maxConcurrentInvocationsPerInstanceHasBeenSet;
72  };
73 
74 } // namespace Model
75 } // namespace SageMaker
76 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::AsyncInferenceClientConfig::AsyncInferenceClientConfig
AsyncInferenceClientConfig()
Aws::SageMaker::Model::AsyncInferenceClientConfig::SetMaxConcurrentInvocationsPerInstance
void SetMaxConcurrentInvocationsPerInstance(int value)
Definition: AsyncInferenceClientConfig.h:59
Aws::SageMaker::Model::AsyncInferenceClientConfig::GetMaxConcurrentInvocationsPerInstance
int GetMaxConcurrentInvocationsPerInstance() const
Definition: AsyncInferenceClientConfig.h:45
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::AsyncInferenceClientConfig::MaxConcurrentInvocationsPerInstanceHasBeenSet
bool MaxConcurrentInvocationsPerInstanceHasBeenSet() const
Definition: AsyncInferenceClientConfig.h:52
Aws::SageMaker::Model::AsyncInferenceClientConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::AsyncInferenceClientConfig::operator=
AsyncInferenceClientConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AsyncInferenceClientConfig::AsyncInferenceClientConfig
AsyncInferenceClientConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::AsyncInferenceClientConfig::WithMaxConcurrentInvocationsPerInstance
AsyncInferenceClientConfig & WithMaxConcurrentInvocationsPerInstance(int value)
Definition: AsyncInferenceClientConfig.h:66
Aws::SageMaker::Model::AsyncInferenceClientConfig
Definition: AsyncInferenceClientConfig.h:32