AWS SDK for C++

AWS SDK for C++ Version 1.11.909

Loading...
Searching...
No Matches
SearchRecord.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/Endpoint.h>
9#include <aws/sagemaker/model/Experiment.h>
10#include <aws/sagemaker/model/FeatureGroup.h>
11#include <aws/sagemaker/model/FeatureMetadata.h>
12#include <aws/sagemaker/model/HubContent.h>
13#include <aws/sagemaker/model/HyperParameterTuningJobSearchEntity.h>
14#include <aws/sagemaker/model/Job.h>
15#include <aws/sagemaker/model/ModelCard.h>
16#include <aws/sagemaker/model/ModelDashboardModel.h>
17#include <aws/sagemaker/model/ModelPackage.h>
18#include <aws/sagemaker/model/ModelPackageGroup.h>
19#include <aws/sagemaker/model/Pipeline.h>
20#include <aws/sagemaker/model/PipelineExecution.h>
21#include <aws/sagemaker/model/PipelineVersion.h>
22#include <aws/sagemaker/model/Project.h>
23#include <aws/sagemaker/model/TrainingJob.h>
24#include <aws/sagemaker/model/Trial.h>
25#include <aws/sagemaker/model/TrialComponent.h>
26
27#include <utility>
28
29namespace Aws {
30namespace Utils {
31namespace Json {
32class JsonValue;
33class JsonView;
34} // namespace Json
35} // namespace Utils
36namespace SageMaker {
37namespace Model {
38
47 public:
48 AWS_SAGEMAKER_API SearchRecord() = default;
49 AWS_SAGEMAKER_API SearchRecord(Aws::Utils::Json::JsonView jsonValue);
50 AWS_SAGEMAKER_API SearchRecord& operator=(Aws::Utils::Json::JsonView jsonValue);
51 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
52
54
57 inline const TrainingJob& GetTrainingJob() const { return m_trainingJob; }
58 inline bool TrainingJobHasBeenSet() const { return m_trainingJobHasBeenSet; }
59 template <typename TrainingJobT = TrainingJob>
60 void SetTrainingJob(TrainingJobT&& value) {
61 m_trainingJobHasBeenSet = true;
62 m_trainingJob = std::forward<TrainingJobT>(value);
63 }
64 template <typename TrainingJobT = TrainingJob>
65 SearchRecord& WithTrainingJob(TrainingJobT&& value) {
66 SetTrainingJob(std::forward<TrainingJobT>(value));
67 return *this;
68 }
70
72
75 inline const Experiment& GetExperiment() const { return m_experiment; }
76 inline bool ExperimentHasBeenSet() const { return m_experimentHasBeenSet; }
77 template <typename ExperimentT = Experiment>
78 void SetExperiment(ExperimentT&& value) {
79 m_experimentHasBeenSet = true;
80 m_experiment = std::forward<ExperimentT>(value);
81 }
82 template <typename ExperimentT = Experiment>
83 SearchRecord& WithExperiment(ExperimentT&& value) {
84 SetExperiment(std::forward<ExperimentT>(value));
85 return *this;
86 }
88
90
93 inline const Trial& GetTrial() const { return m_trial; }
94 inline bool TrialHasBeenSet() const { return m_trialHasBeenSet; }
95 template <typename TrialT = Trial>
96 void SetTrial(TrialT&& value) {
97 m_trialHasBeenSet = true;
98 m_trial = std::forward<TrialT>(value);
99 }
100 template <typename TrialT = Trial>
101 SearchRecord& WithTrial(TrialT&& value) {
102 SetTrial(std::forward<TrialT>(value));
103 return *this;
104 }
106
108
111 inline const TrialComponent& GetTrialComponent() const { return m_trialComponent; }
112 inline bool TrialComponentHasBeenSet() const { return m_trialComponentHasBeenSet; }
113 template <typename TrialComponentT = TrialComponent>
114 void SetTrialComponent(TrialComponentT&& value) {
115 m_trialComponentHasBeenSet = true;
116 m_trialComponent = std::forward<TrialComponentT>(value);
117 }
118 template <typename TrialComponentT = TrialComponent>
119 SearchRecord& WithTrialComponent(TrialComponentT&& value) {
120 SetTrialComponent(std::forward<TrialComponentT>(value));
121 return *this;
122 }
124
126
127 inline const Endpoint& GetEndpoint() const { return m_endpoint; }
128 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
129 template <typename EndpointT = Endpoint>
130 void SetEndpoint(EndpointT&& value) {
131 m_endpointHasBeenSet = true;
132 m_endpoint = std::forward<EndpointT>(value);
133 }
134 template <typename EndpointT = Endpoint>
135 SearchRecord& WithEndpoint(EndpointT&& value) {
136 SetEndpoint(std::forward<EndpointT>(value));
137 return *this;
138 }
140
142
143 inline const ModelPackage& GetModelPackage() const { return m_modelPackage; }
144 inline bool ModelPackageHasBeenSet() const { return m_modelPackageHasBeenSet; }
145 template <typename ModelPackageT = ModelPackage>
146 void SetModelPackage(ModelPackageT&& value) {
147 m_modelPackageHasBeenSet = true;
148 m_modelPackage = std::forward<ModelPackageT>(value);
149 }
150 template <typename ModelPackageT = ModelPackage>
151 SearchRecord& WithModelPackage(ModelPackageT&& value) {
152 SetModelPackage(std::forward<ModelPackageT>(value));
153 return *this;
154 }
156
158
159 inline const ModelPackageGroup& GetModelPackageGroup() const { return m_modelPackageGroup; }
160 inline bool ModelPackageGroupHasBeenSet() const { return m_modelPackageGroupHasBeenSet; }
161 template <typename ModelPackageGroupT = ModelPackageGroup>
162 void SetModelPackageGroup(ModelPackageGroupT&& value) {
163 m_modelPackageGroupHasBeenSet = true;
164 m_modelPackageGroup = std::forward<ModelPackageGroupT>(value);
165 }
166 template <typename ModelPackageGroupT = ModelPackageGroup>
167 SearchRecord& WithModelPackageGroup(ModelPackageGroupT&& value) {
168 SetModelPackageGroup(std::forward<ModelPackageGroupT>(value));
169 return *this;
170 }
172
174
175 inline const Pipeline& GetPipeline() const { return m_pipeline; }
176 inline bool PipelineHasBeenSet() const { return m_pipelineHasBeenSet; }
177 template <typename PipelineT = Pipeline>
178 void SetPipeline(PipelineT&& value) {
179 m_pipelineHasBeenSet = true;
180 m_pipeline = std::forward<PipelineT>(value);
181 }
182 template <typename PipelineT = Pipeline>
183 SearchRecord& WithPipeline(PipelineT&& value) {
184 SetPipeline(std::forward<PipelineT>(value));
185 return *this;
186 }
188
190
191 inline const PipelineExecution& GetPipelineExecution() const { return m_pipelineExecution; }
192 inline bool PipelineExecutionHasBeenSet() const { return m_pipelineExecutionHasBeenSet; }
193 template <typename PipelineExecutionT = PipelineExecution>
194 void SetPipelineExecution(PipelineExecutionT&& value) {
195 m_pipelineExecutionHasBeenSet = true;
196 m_pipelineExecution = std::forward<PipelineExecutionT>(value);
197 }
198 template <typename PipelineExecutionT = PipelineExecution>
199 SearchRecord& WithPipelineExecution(PipelineExecutionT&& value) {
200 SetPipelineExecution(std::forward<PipelineExecutionT>(value));
201 return *this;
202 }
204
206
209 inline const PipelineVersion& GetPipelineVersion() const { return m_pipelineVersion; }
210 inline bool PipelineVersionHasBeenSet() const { return m_pipelineVersionHasBeenSet; }
211 template <typename PipelineVersionT = PipelineVersion>
212 void SetPipelineVersion(PipelineVersionT&& value) {
213 m_pipelineVersionHasBeenSet = true;
214 m_pipelineVersion = std::forward<PipelineVersionT>(value);
215 }
216 template <typename PipelineVersionT = PipelineVersion>
217 SearchRecord& WithPipelineVersion(PipelineVersionT&& value) {
218 SetPipelineVersion(std::forward<PipelineVersionT>(value));
219 return *this;
220 }
222
224
225 inline const FeatureGroup& GetFeatureGroup() const { return m_featureGroup; }
226 inline bool FeatureGroupHasBeenSet() const { return m_featureGroupHasBeenSet; }
227 template <typename FeatureGroupT = FeatureGroup>
228 void SetFeatureGroup(FeatureGroupT&& value) {
229 m_featureGroupHasBeenSet = true;
230 m_featureGroup = std::forward<FeatureGroupT>(value);
231 }
232 template <typename FeatureGroupT = FeatureGroup>
233 SearchRecord& WithFeatureGroup(FeatureGroupT&& value) {
234 SetFeatureGroup(std::forward<FeatureGroupT>(value));
235 return *this;
236 }
238
240
243 inline const FeatureMetadata& GetFeatureMetadata() const { return m_featureMetadata; }
244 inline bool FeatureMetadataHasBeenSet() const { return m_featureMetadataHasBeenSet; }
245 template <typename FeatureMetadataT = FeatureMetadata>
246 void SetFeatureMetadata(FeatureMetadataT&& value) {
247 m_featureMetadataHasBeenSet = true;
248 m_featureMetadata = std::forward<FeatureMetadataT>(value);
249 }
250 template <typename FeatureMetadataT = FeatureMetadata>
251 SearchRecord& WithFeatureMetadata(FeatureMetadataT&& value) {
252 SetFeatureMetadata(std::forward<FeatureMetadataT>(value));
253 return *this;
254 }
256
258
261 inline const Project& GetProject() const { return m_project; }
262 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
263 template <typename ProjectT = Project>
264 void SetProject(ProjectT&& value) {
265 m_projectHasBeenSet = true;
266 m_project = std::forward<ProjectT>(value);
267 }
268 template <typename ProjectT = Project>
269 SearchRecord& WithProject(ProjectT&& value) {
270 SetProject(std::forward<ProjectT>(value));
271 return *this;
272 }
274
276
279 inline const HyperParameterTuningJobSearchEntity& GetHyperParameterTuningJob() const { return m_hyperParameterTuningJob; }
280 inline bool HyperParameterTuningJobHasBeenSet() const { return m_hyperParameterTuningJobHasBeenSet; }
281 template <typename HyperParameterTuningJobT = HyperParameterTuningJobSearchEntity>
282 void SetHyperParameterTuningJob(HyperParameterTuningJobT&& value) {
283 m_hyperParameterTuningJobHasBeenSet = true;
284 m_hyperParameterTuningJob = std::forward<HyperParameterTuningJobT>(value);
285 }
286 template <typename HyperParameterTuningJobT = HyperParameterTuningJobSearchEntity>
287 SearchRecord& WithHyperParameterTuningJob(HyperParameterTuningJobT&& value) {
288 SetHyperParameterTuningJob(std::forward<HyperParameterTuningJobT>(value));
289 return *this;
290 }
292
294
298 inline const ModelCard& GetModelCard() const { return m_modelCard; }
299 inline bool ModelCardHasBeenSet() const { return m_modelCardHasBeenSet; }
300 template <typename ModelCardT = ModelCard>
301 void SetModelCard(ModelCardT&& value) {
302 m_modelCardHasBeenSet = true;
303 m_modelCard = std::forward<ModelCardT>(value);
304 }
305 template <typename ModelCardT = ModelCard>
306 SearchRecord& WithModelCard(ModelCardT&& value) {
307 SetModelCard(std::forward<ModelCardT>(value));
308 return *this;
309 }
311
313
314 inline const ModelDashboardModel& GetModel() const { return m_model; }
315 inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; }
316 template <typename ModelT = ModelDashboardModel>
317 void SetModel(ModelT&& value) {
318 m_modelHasBeenSet = true;
319 m_model = std::forward<ModelT>(value);
320 }
321 template <typename ModelT = ModelDashboardModel>
322 SearchRecord& WithModel(ModelT&& value) {
323 SetModel(std::forward<ModelT>(value));
324 return *this;
325 }
327
329
332 inline const Job& GetJob() const { return m_job; }
333 inline bool JobHasBeenSet() const { return m_jobHasBeenSet; }
334 template <typename JobT = Job>
335 void SetJob(JobT&& value) {
336 m_jobHasBeenSet = true;
337 m_job = std::forward<JobT>(value);
338 }
339 template <typename JobT = Job>
340 SearchRecord& WithJob(JobT&& value) {
341 SetJob(std::forward<JobT>(value));
342 return *this;
343 }
345
347
350 inline const HubContent& GetHubContent() const { return m_hubContent; }
351 inline bool HubContentHasBeenSet() const { return m_hubContentHasBeenSet; }
352 template <typename HubContentT = HubContent>
353 void SetHubContent(HubContentT&& value) {
354 m_hubContentHasBeenSet = true;
355 m_hubContent = std::forward<HubContentT>(value);
356 }
357 template <typename HubContentT = HubContent>
358 SearchRecord& WithHubContent(HubContentT&& value) {
359 SetHubContent(std::forward<HubContentT>(value));
360 return *this;
361 }
363 private:
364 TrainingJob m_trainingJob;
365
366 Experiment m_experiment;
367
368 Trial m_trial;
369
370 TrialComponent m_trialComponent;
371
372 Endpoint m_endpoint;
373
374 ModelPackage m_modelPackage;
375
376 ModelPackageGroup m_modelPackageGroup;
377
378 Pipeline m_pipeline;
379
380 PipelineExecution m_pipelineExecution;
381
382 PipelineVersion m_pipelineVersion;
383
384 FeatureGroup m_featureGroup;
385
386 FeatureMetadata m_featureMetadata;
387
388 Project m_project;
389
390 HyperParameterTuningJobSearchEntity m_hyperParameterTuningJob;
391
392 ModelCard m_modelCard;
393
394 ModelDashboardModel m_model;
395
396 Job m_job;
397
398 HubContent m_hubContent;
399 bool m_trainingJobHasBeenSet = false;
400 bool m_experimentHasBeenSet = false;
401 bool m_trialHasBeenSet = false;
402 bool m_trialComponentHasBeenSet = false;
403 bool m_endpointHasBeenSet = false;
404 bool m_modelPackageHasBeenSet = false;
405 bool m_modelPackageGroupHasBeenSet = false;
406 bool m_pipelineHasBeenSet = false;
407 bool m_pipelineExecutionHasBeenSet = false;
408 bool m_pipelineVersionHasBeenSet = false;
409 bool m_featureGroupHasBeenSet = false;
410 bool m_featureMetadataHasBeenSet = false;
411 bool m_projectHasBeenSet = false;
412 bool m_hyperParameterTuningJobHasBeenSet = false;
413 bool m_modelCardHasBeenSet = false;
414 bool m_modelHasBeenSet = false;
415 bool m_jobHasBeenSet = false;
416 bool m_hubContentHasBeenSet = false;
417};
418
419} // namespace Model
420} // namespace SageMaker
421} // 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
void SetHubContent(HubContentT &&value)
SearchRecord & WithTrial(TrialT &&value)
AWS_SAGEMAKER_API SearchRecord()=default
SearchRecord & WithJob(JobT &&value)
const Experiment & GetExperiment() const
const TrialComponent & GetTrialComponent() const
SearchRecord & WithPipelineExecution(PipelineExecutionT &&value)
void SetFeatureMetadata(FeatureMetadataT &&value)
SearchRecord & WithModelPackageGroup(ModelPackageGroupT &&value)
const ModelDashboardModel & GetModel() const
SearchRecord & WithHubContent(HubContentT &&value)
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
const HubContent & GetHubContent() const
SearchRecord & WithEndpoint(EndpointT &&value)
Aws::Utils::Json::JsonValue JsonValue