AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const RecommendationStepType& GetStepType() const{ return m_stepType; }
51 inline bool StepTypeHasBeenSet() const { return m_stepTypeHasBeenSet; }
52 inline void SetStepType(const RecommendationStepType& value) { m_stepTypeHasBeenSet = true; m_stepType = value; }
53 inline void SetStepType(RecommendationStepType&& value) { m_stepTypeHasBeenSet = true; m_stepType = std::move(value); }
55 inline InferenceRecommendationsJobStep& WithStepType(RecommendationStepType&& value) { SetStepType(std::move(value)); return *this;}
57
59
62 inline const Aws::String& GetJobName() const{ return m_jobName; }
63 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
64 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
65 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
66 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
67 inline InferenceRecommendationsJobStep& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
68 inline InferenceRecommendationsJobStep& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
69 inline InferenceRecommendationsJobStep& WithJobName(const char* value) { SetJobName(value); return *this;}
71
73
76 inline const RecommendationJobStatus& GetStatus() const{ return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(const RecommendationJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
79 inline void SetStatus(RecommendationJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
80 inline InferenceRecommendationsJobStep& WithStatus(const RecommendationJobStatus& value) { SetStatus(value); return *this;}
81 inline InferenceRecommendationsJobStep& WithStatus(RecommendationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
83
85
88 inline const RecommendationJobInferenceBenchmark& GetInferenceBenchmark() const{ return m_inferenceBenchmark; }
89 inline bool InferenceBenchmarkHasBeenSet() const { return m_inferenceBenchmarkHasBeenSet; }
90 inline void SetInferenceBenchmark(const RecommendationJobInferenceBenchmark& value) { m_inferenceBenchmarkHasBeenSet = true; m_inferenceBenchmark = value; }
91 inline void SetInferenceBenchmark(RecommendationJobInferenceBenchmark&& value) { m_inferenceBenchmarkHasBeenSet = true; m_inferenceBenchmark = std::move(value); }
95 private:
96
97 RecommendationStepType m_stepType;
98 bool m_stepTypeHasBeenSet = false;
99
100 Aws::String m_jobName;
101 bool m_jobNameHasBeenSet = false;
102
104 bool m_statusHasBeenSet = false;
105
106 RecommendationJobInferenceBenchmark m_inferenceBenchmark;
107 bool m_inferenceBenchmarkHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace SageMaker
112} // namespace Aws
const RecommendationJobInferenceBenchmark & GetInferenceBenchmark() const
InferenceRecommendationsJobStep & WithStepType(RecommendationStepType &&value)
AWS_SAGEMAKER_API InferenceRecommendationsJobStep(Aws::Utils::Json::JsonView jsonValue)
InferenceRecommendationsJobStep & WithStatus(const RecommendationJobStatus &value)
InferenceRecommendationsJobStep & WithInferenceBenchmark(const RecommendationJobInferenceBenchmark &value)
InferenceRecommendationsJobStep & WithStatus(RecommendationJobStatus &&value)
AWS_SAGEMAKER_API InferenceRecommendationsJobStep & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceRecommendationsJobStep & WithJobName(const char *value)
InferenceRecommendationsJobStep & WithJobName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceRecommendationsJobStep & WithInferenceBenchmark(RecommendationJobInferenceBenchmark &&value)
InferenceRecommendationsJobStep & WithJobName(Aws::String &&value)
void SetInferenceBenchmark(const RecommendationJobInferenceBenchmark &value)
void SetInferenceBenchmark(RecommendationJobInferenceBenchmark &&value)
InferenceRecommendationsJobStep & WithStepType(const RecommendationStepType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue