AWS SDK for C++  1.9.159
AWS SDK for C++
InferenceExecutionConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
47  inline const InferenceExecutionMode& GetMode() const{ return m_mode; }
48 
55  inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
56 
63  inline void SetMode(const InferenceExecutionMode& value) { m_modeHasBeenSet = true; m_mode = value; }
64 
71  inline void SetMode(InferenceExecutionMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
72 
79  inline InferenceExecutionConfig& WithMode(const InferenceExecutionMode& value) { SetMode(value); return *this;}
80 
87  inline InferenceExecutionConfig& WithMode(InferenceExecutionMode&& value) { SetMode(std::move(value)); return *this;}
88 
89  private:
90 
92  bool m_modeHasBeenSet;
93  };
94 
95 } // namespace Model
96 } // namespace SageMaker
97 } // namespace Aws
Aws::SageMaker::Model::InferenceExecutionConfig::ModeHasBeenSet
bool ModeHasBeenSet() const
Definition: InferenceExecutionConfig.h:55
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::InferenceExecutionConfig::InferenceExecutionConfig
InferenceExecutionConfig()
Aws::SageMaker::Model::InferenceExecutionMode
InferenceExecutionMode
Definition: InferenceExecutionMode.h:17
Aws::SageMaker::Model::InferenceExecutionConfig::SetMode
void SetMode(const InferenceExecutionMode &value)
Definition: InferenceExecutionConfig.h:63
Aws::SageMaker::Model::InferenceExecutionConfig::GetMode
const InferenceExecutionMode & GetMode() const
Definition: InferenceExecutionConfig.h:47
InferenceExecutionMode.h
Aws::SageMaker::Model::InferenceExecutionConfig::WithMode
InferenceExecutionConfig & WithMode(const InferenceExecutionMode &value)
Definition: InferenceExecutionConfig.h:79
Aws::SageMaker::Model::InferenceExecutionConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::InferenceExecutionConfig
Definition: InferenceExecutionConfig.h:33
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::InferenceExecutionConfig::WithMode
InferenceExecutionConfig & WithMode(InferenceExecutionMode &&value)
Definition: InferenceExecutionConfig.h:87
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::InferenceExecutionConfig::operator=
InferenceExecutionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::InferenceExecutionConfig::InferenceExecutionConfig
InferenceExecutionConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::InferenceExecutionConfig::SetMode
void SetMode(InferenceExecutionMode &&value)
Definition: InferenceExecutionConfig.h:71