AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SearchRecord.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/TrainingJob.h>
9#include <aws/sagemaker/model/Experiment.h>
10#include <aws/sagemaker/model/Trial.h>
11#include <aws/sagemaker/model/TrialComponent.h>
12#include <aws/sagemaker/model/Endpoint.h>
13#include <aws/sagemaker/model/ModelPackage.h>
14#include <aws/sagemaker/model/ModelPackageGroup.h>
15#include <aws/sagemaker/model/Pipeline.h>
16#include <aws/sagemaker/model/PipelineExecution.h>
17#include <aws/sagemaker/model/PipelineVersion.h>
18#include <aws/sagemaker/model/FeatureGroup.h>
19#include <aws/sagemaker/model/FeatureMetadata.h>
20#include <aws/sagemaker/model/Project.h>
21#include <aws/sagemaker/model/HyperParameterTuningJobSearchEntity.h>
22#include <aws/sagemaker/model/ModelCard.h>
23#include <aws/sagemaker/model/ModelDashboardModel.h>
24#include <utility>
25
26namespace Aws
27{
28namespace Utils
29{
30namespace Json
31{
32 class JsonValue;
33 class JsonView;
34} // namespace Json
35} // namespace Utils
36namespace SageMaker
37{
38namespace Model
39{
40
49 {
50 public:
51 AWS_SAGEMAKER_API SearchRecord() = default;
52 AWS_SAGEMAKER_API SearchRecord(Aws::Utils::Json::JsonView jsonValue);
53 AWS_SAGEMAKER_API SearchRecord& operator=(Aws::Utils::Json::JsonView jsonValue);
54 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
55
56
58
61 inline const TrainingJob& GetTrainingJob() const { return m_trainingJob; }
62 inline bool TrainingJobHasBeenSet() const { return m_trainingJobHasBeenSet; }
63 template<typename TrainingJobT = TrainingJob>
64 void SetTrainingJob(TrainingJobT&& value) { m_trainingJobHasBeenSet = true; m_trainingJob = std::forward<TrainingJobT>(value); }
65 template<typename TrainingJobT = TrainingJob>
66 SearchRecord& WithTrainingJob(TrainingJobT&& value) { SetTrainingJob(std::forward<TrainingJobT>(value)); return *this;}
68
70
73 inline const Experiment& GetExperiment() const { return m_experiment; }
74 inline bool ExperimentHasBeenSet() const { return m_experimentHasBeenSet; }
75 template<typename ExperimentT = Experiment>
76 void SetExperiment(ExperimentT&& value) { m_experimentHasBeenSet = true; m_experiment = std::forward<ExperimentT>(value); }
77 template<typename ExperimentT = Experiment>
78 SearchRecord& WithExperiment(ExperimentT&& value) { SetExperiment(std::forward<ExperimentT>(value)); return *this;}
80
82
85 inline const Trial& GetTrial() const { return m_trial; }
86 inline bool TrialHasBeenSet() const { return m_trialHasBeenSet; }
87 template<typename TrialT = Trial>
88 void SetTrial(TrialT&& value) { m_trialHasBeenSet = true; m_trial = std::forward<TrialT>(value); }
89 template<typename TrialT = Trial>
90 SearchRecord& WithTrial(TrialT&& value) { SetTrial(std::forward<TrialT>(value)); return *this;}
92
94
97 inline const TrialComponent& GetTrialComponent() const { return m_trialComponent; }
98 inline bool TrialComponentHasBeenSet() const { return m_trialComponentHasBeenSet; }
99 template<typename TrialComponentT = TrialComponent>
100 void SetTrialComponent(TrialComponentT&& value) { m_trialComponentHasBeenSet = true; m_trialComponent = std::forward<TrialComponentT>(value); }
101 template<typename TrialComponentT = TrialComponent>
102 SearchRecord& WithTrialComponent(TrialComponentT&& value) { SetTrialComponent(std::forward<TrialComponentT>(value)); return *this;}
104
106
107 inline const Endpoint& GetEndpoint() const { return m_endpoint; }
108 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
109 template<typename EndpointT = Endpoint>
110 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
111 template<typename EndpointT = Endpoint>
112 SearchRecord& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
114
116
117 inline const ModelPackage& GetModelPackage() const { return m_modelPackage; }
118 inline bool ModelPackageHasBeenSet() const { return m_modelPackageHasBeenSet; }
119 template<typename ModelPackageT = ModelPackage>
120 void SetModelPackage(ModelPackageT&& value) { m_modelPackageHasBeenSet = true; m_modelPackage = std::forward<ModelPackageT>(value); }
121 template<typename ModelPackageT = ModelPackage>
122 SearchRecord& WithModelPackage(ModelPackageT&& value) { SetModelPackage(std::forward<ModelPackageT>(value)); return *this;}
124
126
127 inline const ModelPackageGroup& GetModelPackageGroup() const { return m_modelPackageGroup; }
128 inline bool ModelPackageGroupHasBeenSet() const { return m_modelPackageGroupHasBeenSet; }
129 template<typename ModelPackageGroupT = ModelPackageGroup>
130 void SetModelPackageGroup(ModelPackageGroupT&& value) { m_modelPackageGroupHasBeenSet = true; m_modelPackageGroup = std::forward<ModelPackageGroupT>(value); }
131 template<typename ModelPackageGroupT = ModelPackageGroup>
132 SearchRecord& WithModelPackageGroup(ModelPackageGroupT&& value) { SetModelPackageGroup(std::forward<ModelPackageGroupT>(value)); return *this;}
134
136
137 inline const Pipeline& GetPipeline() const { return m_pipeline; }
138 inline bool PipelineHasBeenSet() const { return m_pipelineHasBeenSet; }
139 template<typename PipelineT = Pipeline>
140 void SetPipeline(PipelineT&& value) { m_pipelineHasBeenSet = true; m_pipeline = std::forward<PipelineT>(value); }
141 template<typename PipelineT = Pipeline>
142 SearchRecord& WithPipeline(PipelineT&& value) { SetPipeline(std::forward<PipelineT>(value)); return *this;}
144
146
147 inline const PipelineExecution& GetPipelineExecution() const { return m_pipelineExecution; }
148 inline bool PipelineExecutionHasBeenSet() const { return m_pipelineExecutionHasBeenSet; }
149 template<typename PipelineExecutionT = PipelineExecution>
150 void SetPipelineExecution(PipelineExecutionT&& value) { m_pipelineExecutionHasBeenSet = true; m_pipelineExecution = std::forward<PipelineExecutionT>(value); }
151 template<typename PipelineExecutionT = PipelineExecution>
152 SearchRecord& WithPipelineExecution(PipelineExecutionT&& value) { SetPipelineExecution(std::forward<PipelineExecutionT>(value)); return *this;}
154
156
159 inline const PipelineVersion& GetPipelineVersion() const { return m_pipelineVersion; }
160 inline bool PipelineVersionHasBeenSet() const { return m_pipelineVersionHasBeenSet; }
161 template<typename PipelineVersionT = PipelineVersion>
162 void SetPipelineVersion(PipelineVersionT&& value) { m_pipelineVersionHasBeenSet = true; m_pipelineVersion = std::forward<PipelineVersionT>(value); }
163 template<typename PipelineVersionT = PipelineVersion>
164 SearchRecord& WithPipelineVersion(PipelineVersionT&& value) { SetPipelineVersion(std::forward<PipelineVersionT>(value)); return *this;}
166
168
169 inline const FeatureGroup& GetFeatureGroup() const { return m_featureGroup; }
170 inline bool FeatureGroupHasBeenSet() const { return m_featureGroupHasBeenSet; }
171 template<typename FeatureGroupT = FeatureGroup>
172 void SetFeatureGroup(FeatureGroupT&& value) { m_featureGroupHasBeenSet = true; m_featureGroup = std::forward<FeatureGroupT>(value); }
173 template<typename FeatureGroupT = FeatureGroup>
174 SearchRecord& WithFeatureGroup(FeatureGroupT&& value) { SetFeatureGroup(std::forward<FeatureGroupT>(value)); return *this;}
176
178
181 inline const FeatureMetadata& GetFeatureMetadata() const { return m_featureMetadata; }
182 inline bool FeatureMetadataHasBeenSet() const { return m_featureMetadataHasBeenSet; }
183 template<typename FeatureMetadataT = FeatureMetadata>
184 void SetFeatureMetadata(FeatureMetadataT&& value) { m_featureMetadataHasBeenSet = true; m_featureMetadata = std::forward<FeatureMetadataT>(value); }
185 template<typename FeatureMetadataT = FeatureMetadata>
186 SearchRecord& WithFeatureMetadata(FeatureMetadataT&& value) { SetFeatureMetadata(std::forward<FeatureMetadataT>(value)); return *this;}
188
190
193 inline const Project& GetProject() const { return m_project; }
194 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
195 template<typename ProjectT = Project>
196 void SetProject(ProjectT&& value) { m_projectHasBeenSet = true; m_project = std::forward<ProjectT>(value); }
197 template<typename ProjectT = Project>
198 SearchRecord& WithProject(ProjectT&& value) { SetProject(std::forward<ProjectT>(value)); return *this;}
200
202
205 inline const HyperParameterTuningJobSearchEntity& GetHyperParameterTuningJob() const { return m_hyperParameterTuningJob; }
206 inline bool HyperParameterTuningJobHasBeenSet() const { return m_hyperParameterTuningJobHasBeenSet; }
207 template<typename HyperParameterTuningJobT = HyperParameterTuningJobSearchEntity>
208 void SetHyperParameterTuningJob(HyperParameterTuningJobT&& value) { m_hyperParameterTuningJobHasBeenSet = true; m_hyperParameterTuningJob = std::forward<HyperParameterTuningJobT>(value); }
209 template<typename HyperParameterTuningJobT = HyperParameterTuningJobSearchEntity>
210 SearchRecord& WithHyperParameterTuningJob(HyperParameterTuningJobT&& value) { SetHyperParameterTuningJob(std::forward<HyperParameterTuningJobT>(value)); return *this;}
212
214
218 inline const ModelCard& GetModelCard() const { return m_modelCard; }
219 inline bool ModelCardHasBeenSet() const { return m_modelCardHasBeenSet; }
220 template<typename ModelCardT = ModelCard>
221 void SetModelCard(ModelCardT&& value) { m_modelCardHasBeenSet = true; m_modelCard = std::forward<ModelCardT>(value); }
222 template<typename ModelCardT = ModelCard>
223 SearchRecord& WithModelCard(ModelCardT&& value) { SetModelCard(std::forward<ModelCardT>(value)); return *this;}
225
227
228 inline const ModelDashboardModel& GetModel() const { return m_model; }
229 inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; }
230 template<typename ModelT = ModelDashboardModel>
231 void SetModel(ModelT&& value) { m_modelHasBeenSet = true; m_model = std::forward<ModelT>(value); }
232 template<typename ModelT = ModelDashboardModel>
233 SearchRecord& WithModel(ModelT&& value) { SetModel(std::forward<ModelT>(value)); return *this;}
235 private:
236
237 TrainingJob m_trainingJob;
238 bool m_trainingJobHasBeenSet = false;
239
240 Experiment m_experiment;
241 bool m_experimentHasBeenSet = false;
242
243 Trial m_trial;
244 bool m_trialHasBeenSet = false;
245
246 TrialComponent m_trialComponent;
247 bool m_trialComponentHasBeenSet = false;
248
249 Endpoint m_endpoint;
250 bool m_endpointHasBeenSet = false;
251
252 ModelPackage m_modelPackage;
253 bool m_modelPackageHasBeenSet = false;
254
255 ModelPackageGroup m_modelPackageGroup;
256 bool m_modelPackageGroupHasBeenSet = false;
257
258 Pipeline m_pipeline;
259 bool m_pipelineHasBeenSet = false;
260
261 PipelineExecution m_pipelineExecution;
262 bool m_pipelineExecutionHasBeenSet = false;
263
264 PipelineVersion m_pipelineVersion;
265 bool m_pipelineVersionHasBeenSet = false;
266
267 FeatureGroup m_featureGroup;
268 bool m_featureGroupHasBeenSet = false;
269
270 FeatureMetadata m_featureMetadata;
271 bool m_featureMetadataHasBeenSet = false;
272
273 Project m_project;
274 bool m_projectHasBeenSet = false;
275
276 HyperParameterTuningJobSearchEntity m_hyperParameterTuningJob;
277 bool m_hyperParameterTuningJobHasBeenSet = false;
278
279 ModelCard m_modelCard;
280 bool m_modelCardHasBeenSet = false;
281
282 ModelDashboardModel m_model;
283 bool m_modelHasBeenSet = false;
284 };
285
286} // namespace Model
287} // namespace SageMaker
288} // namespace Aws
void SetProject(ProjectT &&value)
const FeatureGroup & GetFeatureGroup() const
SearchRecord & WithProject(ProjectT &&value)
SearchRecord & WithExperiment(ExperimentT &&value)
SearchRecord & WithPipelineVersion(PipelineVersionT &&value)
void SetTrialComponent(TrialComponentT &&value)
const TrainingJob & GetTrainingJob() const
SearchRecord & WithTrial(TrialT &&value)
AWS_SAGEMAKER_API SearchRecord()=default
const Experiment & GetExperiment() const
const TrialComponent & GetTrialComponent() const
SearchRecord & WithPipelineExecution(PipelineExecutionT &&value)
void SetFeatureMetadata(FeatureMetadataT &&value)
SearchRecord & WithModelPackageGroup(ModelPackageGroupT &&value)
const ModelDashboardModel & GetModel() const
const Project & GetProject() const
const FeatureMetadata & GetFeatureMetadata() const
SearchRecord & WithModelCard(ModelCardT &&value)
AWS_SAGEMAKER_API SearchRecord(Aws::Utils::Json::JsonView jsonValue)
void SetPipelineVersion(PipelineVersionT &&value)
SearchRecord & WithTrialComponent(TrialComponentT &&value)
const Pipeline & GetPipeline() const
void SetPipelineExecution(PipelineExecutionT &&value)
SearchRecord & WithPipeline(PipelineT &&value)
SearchRecord & WithHyperParameterTuningJob(HyperParameterTuningJobT &&value)
void SetModelCard(ModelCardT &&value)
void SetHyperParameterTuningJob(HyperParameterTuningJobT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
SearchRecord & WithModel(ModelT &&value)
const PipelineVersion & GetPipelineVersion() const
const ModelPackage & GetModelPackage() const
const Endpoint & GetEndpoint() const
void SetPipeline(PipelineT &&value)
const HyperParameterTuningJobSearchEntity & GetHyperParameterTuningJob() const
void SetModelPackageGroup(ModelPackageGroupT &&value)
const ModelPackageGroup & GetModelPackageGroup() const
SearchRecord & WithModelPackage(ModelPackageT &&value)
AWS_SAGEMAKER_API SearchRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
SearchRecord & WithTrainingJob(TrainingJobT &&value)
void SetTrainingJob(TrainingJobT &&value)
const PipelineExecution & GetPipelineExecution() const
void SetModelPackage(ModelPackageT &&value)
SearchRecord & WithFeatureGroup(FeatureGroupT &&value)
void SetExperiment(ExperimentT &&value)
void SetFeatureGroup(FeatureGroupT &&value)
SearchRecord & WithFeatureMetadata(FeatureMetadataT &&value)
void SetEndpoint(EndpointT &&value)
const ModelCard & GetModelCard() const
SearchRecord & WithEndpoint(EndpointT &&value)
Aws::Utils::Json::JsonValue JsonValue