AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API InferenceExecutionConfig() = default;
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline InferenceExecutionMode GetMode() const { return m_mode; }
43 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
44 inline void SetMode(InferenceExecutionMode value) {
45 m_modeHasBeenSet = true;
46 m_mode = value;
47 }
49 SetMode(value);
50 return *this;
51 }
53 private:
55 bool m_modeHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace SageMaker
60} // 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