AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
InferenceRecommendationsJobStep.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/RecommendationJobInferenceBenchmark.h>
10#include <aws/sagemaker/model/RecommendationJobStatus.h>
11#include <aws/sagemaker/model/RecommendationStepType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker {
23namespace Model {
24
33 public:
34 AWS_SAGEMAKER_API InferenceRecommendationsJobStep() = default;
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline RecommendationStepType GetStepType() const { return m_stepType; }
45 inline bool StepTypeHasBeenSet() const { return m_stepTypeHasBeenSet; }
47 m_stepTypeHasBeenSet = true;
48 m_stepType = value;
49 }
51 SetStepType(value);
52 return *this;
53 }
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) {
64 m_jobNameHasBeenSet = true;
65 m_jobName = std::forward<JobNameT>(value);
66 }
67 template <typename JobNameT = Aws::String>
69 SetJobName(std::forward<JobNameT>(value));
70 return *this;
71 }
73
75
78 inline RecommendationJobStatus GetStatus() const { return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
81 m_statusHasBeenSet = true;
82 m_status = value;
83 }
85 SetStatus(value);
86 return *this;
87 }
89
91
94 inline const RecommendationJobInferenceBenchmark& GetInferenceBenchmark() const { return m_inferenceBenchmark; }
95 inline bool InferenceBenchmarkHasBeenSet() const { return m_inferenceBenchmarkHasBeenSet; }
96 template <typename InferenceBenchmarkT = RecommendationJobInferenceBenchmark>
97 void SetInferenceBenchmark(InferenceBenchmarkT&& value) {
98 m_inferenceBenchmarkHasBeenSet = true;
99 m_inferenceBenchmark = std::forward<InferenceBenchmarkT>(value);
100 }
101 template <typename InferenceBenchmarkT = RecommendationJobInferenceBenchmark>
103 SetInferenceBenchmark(std::forward<InferenceBenchmarkT>(value));
104 return *this;
105 }
107 private:
109
110 Aws::String m_jobName;
111
113
114 RecommendationJobInferenceBenchmark m_inferenceBenchmark;
115 bool m_stepTypeHasBeenSet = false;
116 bool m_jobNameHasBeenSet = false;
117 bool m_statusHasBeenSet = false;
118 bool m_inferenceBenchmarkHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace SageMaker
123} // 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