AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
InferenceRecommendationsJobStep.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/RecommendationStepType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/RecommendationJobStatus.h>
11#include <aws/sagemaker/model/RecommendationJobInferenceBenchmark.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_SAGEMAKER_API InferenceRecommendationsJobStep() = default;
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline RecommendationStepType GetStepType() const { return m_stepType; }
51 inline bool StepTypeHasBeenSet() const { return m_stepTypeHasBeenSet; }
52 inline void SetStepType(RecommendationStepType value) { m_stepTypeHasBeenSet = true; m_stepType = value; }
55
57
60 inline const Aws::String& GetJobName() const { return m_jobName; }
61 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
62 template<typename JobNameT = Aws::String>
63 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
64 template<typename JobNameT = Aws::String>
65 InferenceRecommendationsJobStep& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
67
69
72 inline RecommendationJobStatus GetStatus() const { return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 inline void SetStatus(RecommendationJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
77
79
82 inline const RecommendationJobInferenceBenchmark& GetInferenceBenchmark() const { return m_inferenceBenchmark; }
83 inline bool InferenceBenchmarkHasBeenSet() const { return m_inferenceBenchmarkHasBeenSet; }
84 template<typename InferenceBenchmarkT = RecommendationJobInferenceBenchmark>
85 void SetInferenceBenchmark(InferenceBenchmarkT&& value) { m_inferenceBenchmarkHasBeenSet = true; m_inferenceBenchmark = std::forward<InferenceBenchmarkT>(value); }
86 template<typename InferenceBenchmarkT = RecommendationJobInferenceBenchmark>
87 InferenceRecommendationsJobStep& WithInferenceBenchmark(InferenceBenchmarkT&& value) { SetInferenceBenchmark(std::forward<InferenceBenchmarkT>(value)); return *this;}
89 private:
90
92 bool m_stepTypeHasBeenSet = false;
93
94 Aws::String m_jobName;
95 bool m_jobNameHasBeenSet = false;
96
98 bool m_statusHasBeenSet = false;
99
100 RecommendationJobInferenceBenchmark m_inferenceBenchmark;
101 bool m_inferenceBenchmarkHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace SageMaker
106} // namespace Aws
const RecommendationJobInferenceBenchmark & GetInferenceBenchmark() const
AWS_SAGEMAKER_API InferenceRecommendationsJobStep(Aws::Utils::Json::JsonView jsonValue)
InferenceRecommendationsJobStep & WithInferenceBenchmark(InferenceBenchmarkT &&value)
AWS_SAGEMAKER_API InferenceRecommendationsJobStep()=default
InferenceRecommendationsJobStep & WithStepType(RecommendationStepType value)
AWS_SAGEMAKER_API InferenceRecommendationsJobStep & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceRecommendationsJobStep & WithJobName(JobNameT &&value)
InferenceRecommendationsJobStep & WithStatus(RecommendationJobStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue