AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const InferenceExecutionMode& GetMode() const{ return m_mode; }
49 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
50 inline void SetMode(const InferenceExecutionMode& value) { m_modeHasBeenSet = true; m_mode = value; }
51 inline void SetMode(InferenceExecutionMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
52 inline InferenceExecutionConfig& WithMode(const InferenceExecutionMode& value) { SetMode(value); return *this;}
53 inline InferenceExecutionConfig& WithMode(InferenceExecutionMode&& value) { SetMode(std::move(value)); return *this;}
55 private:
56
58 bool m_modeHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace SageMaker
63} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const InferenceExecutionMode & GetMode() const
AWS_SAGEMAKER_API InferenceExecutionConfig(Aws::Utils::Json::JsonView jsonValue)
void SetMode(const InferenceExecutionMode &value)
InferenceExecutionConfig & WithMode(const InferenceExecutionMode &value)
InferenceExecutionConfig & WithMode(InferenceExecutionMode &&value)
AWS_SAGEMAKER_API InferenceExecutionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue