AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
InferenceExecutionConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/InferenceExecutionMode.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API InferenceExecutionConfig() = default;
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline InferenceExecutionMode GetMode() const { return m_mode; }
49 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
50 inline void SetMode(InferenceExecutionMode value) { m_modeHasBeenSet = true; m_mode = value; }
51 inline InferenceExecutionConfig& WithMode(InferenceExecutionMode value) { SetMode(value); return *this;}
53 private:
54
56 bool m_modeHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace SageMaker
61} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceExecutionConfig & WithMode(InferenceExecutionMode value)
AWS_SAGEMAKER_API InferenceExecutionConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API InferenceExecutionConfig()=default
AWS_SAGEMAKER_API InferenceExecutionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue