AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/FeatureGroup.h>
18#include <aws/sagemaker/model/FeatureMetadata.h>
19#include <aws/sagemaker/model/Project.h>
20#include <aws/sagemaker/model/HyperParameterTuningJobSearchEntity.h>
21#include <aws/sagemaker/model/ModelCard.h>
22#include <aws/sagemaker/model/ModelDashboardModel.h>
23#include <utility>
24
25namespace Aws
26{
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32 class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace SageMaker
36{
37namespace Model
38{
39
48 {
49 public:
50 AWS_SAGEMAKER_API SearchRecord();
51 AWS_SAGEMAKER_API SearchRecord(Aws::Utils::Json::JsonView jsonValue);
52 AWS_SAGEMAKER_API SearchRecord& operator=(Aws::Utils::Json::JsonView jsonValue);
53 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
60 inline const TrainingJob& GetTrainingJob() const{ return m_trainingJob; }
61 inline bool TrainingJobHasBeenSet() const { return m_trainingJobHasBeenSet; }
62 inline void SetTrainingJob(const TrainingJob& value) { m_trainingJobHasBeenSet = true; m_trainingJob = value; }
63 inline void SetTrainingJob(TrainingJob&& value) { m_trainingJobHasBeenSet = true; m_trainingJob = std::move(value); }
64 inline SearchRecord& WithTrainingJob(const TrainingJob& value) { SetTrainingJob(value); return *this;}
65 inline SearchRecord& WithTrainingJob(TrainingJob&& value) { SetTrainingJob(std::move(value)); return *this;}
67
69
72 inline const Experiment& GetExperiment() const{ return m_experiment; }
73 inline bool ExperimentHasBeenSet() const { return m_experimentHasBeenSet; }
74 inline void SetExperiment(const Experiment& value) { m_experimentHasBeenSet = true; m_experiment = value; }
75 inline void SetExperiment(Experiment&& value) { m_experimentHasBeenSet = true; m_experiment = std::move(value); }
76 inline SearchRecord& WithExperiment(const Experiment& value) { SetExperiment(value); return *this;}
77 inline SearchRecord& WithExperiment(Experiment&& value) { SetExperiment(std::move(value)); return *this;}
79
81
84 inline const Trial& GetTrial() const{ return m_trial; }
85 inline bool TrialHasBeenSet() const { return m_trialHasBeenSet; }
86 inline void SetTrial(const Trial& value) { m_trialHasBeenSet = true; m_trial = value; }
87 inline void SetTrial(Trial&& value) { m_trialHasBeenSet = true; m_trial = std::move(value); }
88 inline SearchRecord& WithTrial(const Trial& value) { SetTrial(value); return *this;}
89 inline SearchRecord& WithTrial(Trial&& value) { SetTrial(std::move(value)); return *this;}
91
93
96 inline const TrialComponent& GetTrialComponent() const{ return m_trialComponent; }
97 inline bool TrialComponentHasBeenSet() const { return m_trialComponentHasBeenSet; }
98 inline void SetTrialComponent(const TrialComponent& value) { m_trialComponentHasBeenSet = true; m_trialComponent = value; }
99 inline void SetTrialComponent(TrialComponent&& value) { m_trialComponentHasBeenSet = true; m_trialComponent = std::move(value); }
100 inline SearchRecord& WithTrialComponent(const TrialComponent& value) { SetTrialComponent(value); return *this;}
101 inline SearchRecord& WithTrialComponent(TrialComponent&& value) { SetTrialComponent(std::move(value)); return *this;}
103
105
106 inline const Endpoint& GetEndpoint() const{ return m_endpoint; }
107 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
108 inline void SetEndpoint(const Endpoint& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
109 inline void SetEndpoint(Endpoint&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
110 inline SearchRecord& WithEndpoint(const Endpoint& value) { SetEndpoint(value); return *this;}
111 inline SearchRecord& WithEndpoint(Endpoint&& value) { SetEndpoint(std::move(value)); return *this;}
113
115
116 inline const ModelPackage& GetModelPackage() const{ return m_modelPackage; }
117 inline bool ModelPackageHasBeenSet() const { return m_modelPackageHasBeenSet; }
118 inline void SetModelPackage(const ModelPackage& value) { m_modelPackageHasBeenSet = true; m_modelPackage = value; }
119 inline void SetModelPackage(ModelPackage&& value) { m_modelPackageHasBeenSet = true; m_modelPackage = std::move(value); }
120 inline SearchRecord& WithModelPackage(const ModelPackage& value) { SetModelPackage(value); return *this;}
121 inline SearchRecord& WithModelPackage(ModelPackage&& value) { SetModelPackage(std::move(value)); return *this;}
123
125
126 inline const ModelPackageGroup& GetModelPackageGroup() const{ return m_modelPackageGroup; }
127 inline bool ModelPackageGroupHasBeenSet() const { return m_modelPackageGroupHasBeenSet; }
128 inline void SetModelPackageGroup(const ModelPackageGroup& value) { m_modelPackageGroupHasBeenSet = true; m_modelPackageGroup = value; }
129 inline void SetModelPackageGroup(ModelPackageGroup&& value) { m_modelPackageGroupHasBeenSet = true; m_modelPackageGroup = std::move(value); }
130 inline SearchRecord& WithModelPackageGroup(const ModelPackageGroup& value) { SetModelPackageGroup(value); return *this;}
131 inline SearchRecord& WithModelPackageGroup(ModelPackageGroup&& value) { SetModelPackageGroup(std::move(value)); return *this;}
133
135
136 inline const Pipeline& GetPipeline() const{ return m_pipeline; }
137 inline bool PipelineHasBeenSet() const { return m_pipelineHasBeenSet; }
138 inline void SetPipeline(const Pipeline& value) { m_pipelineHasBeenSet = true; m_pipeline = value; }
139 inline void SetPipeline(Pipeline&& value) { m_pipelineHasBeenSet = true; m_pipeline = std::move(value); }
140 inline SearchRecord& WithPipeline(const Pipeline& value) { SetPipeline(value); return *this;}
141 inline SearchRecord& WithPipeline(Pipeline&& value) { SetPipeline(std::move(value)); return *this;}
143
145
146 inline const PipelineExecution& GetPipelineExecution() const{ return m_pipelineExecution; }
147 inline bool PipelineExecutionHasBeenSet() const { return m_pipelineExecutionHasBeenSet; }
148 inline void SetPipelineExecution(const PipelineExecution& value) { m_pipelineExecutionHasBeenSet = true; m_pipelineExecution = value; }
149 inline void SetPipelineExecution(PipelineExecution&& value) { m_pipelineExecutionHasBeenSet = true; m_pipelineExecution = std::move(value); }
150 inline SearchRecord& WithPipelineExecution(const PipelineExecution& value) { SetPipelineExecution(value); return *this;}
151 inline SearchRecord& WithPipelineExecution(PipelineExecution&& value) { SetPipelineExecution(std::move(value)); return *this;}
153
155
156 inline const FeatureGroup& GetFeatureGroup() const{ return m_featureGroup; }
157 inline bool FeatureGroupHasBeenSet() const { return m_featureGroupHasBeenSet; }
158 inline void SetFeatureGroup(const FeatureGroup& value) { m_featureGroupHasBeenSet = true; m_featureGroup = value; }
159 inline void SetFeatureGroup(FeatureGroup&& value) { m_featureGroupHasBeenSet = true; m_featureGroup = std::move(value); }
160 inline SearchRecord& WithFeatureGroup(const FeatureGroup& value) { SetFeatureGroup(value); return *this;}
161 inline SearchRecord& WithFeatureGroup(FeatureGroup&& value) { SetFeatureGroup(std::move(value)); return *this;}
163
165
168 inline const FeatureMetadata& GetFeatureMetadata() const{ return m_featureMetadata; }
169 inline bool FeatureMetadataHasBeenSet() const { return m_featureMetadataHasBeenSet; }
170 inline void SetFeatureMetadata(const FeatureMetadata& value) { m_featureMetadataHasBeenSet = true; m_featureMetadata = value; }
171 inline void SetFeatureMetadata(FeatureMetadata&& value) { m_featureMetadataHasBeenSet = true; m_featureMetadata = std::move(value); }
172 inline SearchRecord& WithFeatureMetadata(const FeatureMetadata& value) { SetFeatureMetadata(value); return *this;}
173 inline SearchRecord& WithFeatureMetadata(FeatureMetadata&& value) { SetFeatureMetadata(std::move(value)); return *this;}
175
177
180 inline const Project& GetProject() const{ return m_project; }
181 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
182 inline void SetProject(const Project& value) { m_projectHasBeenSet = true; m_project = value; }
183 inline void SetProject(Project&& value) { m_projectHasBeenSet = true; m_project = std::move(value); }
184 inline SearchRecord& WithProject(const Project& value) { SetProject(value); return *this;}
185 inline SearchRecord& WithProject(Project&& value) { SetProject(std::move(value)); return *this;}
187
189
192 inline const HyperParameterTuningJobSearchEntity& GetHyperParameterTuningJob() const{ return m_hyperParameterTuningJob; }
193 inline bool HyperParameterTuningJobHasBeenSet() const { return m_hyperParameterTuningJobHasBeenSet; }
194 inline void SetHyperParameterTuningJob(const HyperParameterTuningJobSearchEntity& value) { m_hyperParameterTuningJobHasBeenSet = true; m_hyperParameterTuningJob = value; }
195 inline void SetHyperParameterTuningJob(HyperParameterTuningJobSearchEntity&& value) { m_hyperParameterTuningJobHasBeenSet = true; m_hyperParameterTuningJob = std::move(value); }
199
201
205 inline const ModelCard& GetModelCard() const{ return m_modelCard; }
206 inline bool ModelCardHasBeenSet() const { return m_modelCardHasBeenSet; }
207 inline void SetModelCard(const ModelCard& value) { m_modelCardHasBeenSet = true; m_modelCard = value; }
208 inline void SetModelCard(ModelCard&& value) { m_modelCardHasBeenSet = true; m_modelCard = std::move(value); }
209 inline SearchRecord& WithModelCard(const ModelCard& value) { SetModelCard(value); return *this;}
210 inline SearchRecord& WithModelCard(ModelCard&& value) { SetModelCard(std::move(value)); return *this;}
212
214
215 inline const ModelDashboardModel& GetModel() const{ return m_model; }
216 inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; }
217 inline void SetModel(const ModelDashboardModel& value) { m_modelHasBeenSet = true; m_model = value; }
218 inline void SetModel(ModelDashboardModel&& value) { m_modelHasBeenSet = true; m_model = std::move(value); }
219 inline SearchRecord& WithModel(const ModelDashboardModel& value) { SetModel(value); return *this;}
220 inline SearchRecord& WithModel(ModelDashboardModel&& value) { SetModel(std::move(value)); return *this;}
222 private:
223
224 TrainingJob m_trainingJob;
225 bool m_trainingJobHasBeenSet = false;
226
227 Experiment m_experiment;
228 bool m_experimentHasBeenSet = false;
229
230 Trial m_trial;
231 bool m_trialHasBeenSet = false;
232
233 TrialComponent m_trialComponent;
234 bool m_trialComponentHasBeenSet = false;
235
236 Endpoint m_endpoint;
237 bool m_endpointHasBeenSet = false;
238
239 ModelPackage m_modelPackage;
240 bool m_modelPackageHasBeenSet = false;
241
242 ModelPackageGroup m_modelPackageGroup;
243 bool m_modelPackageGroupHasBeenSet = false;
244
245 Pipeline m_pipeline;
246 bool m_pipelineHasBeenSet = false;
247
248 PipelineExecution m_pipelineExecution;
249 bool m_pipelineExecutionHasBeenSet = false;
250
251 FeatureGroup m_featureGroup;
252 bool m_featureGroupHasBeenSet = false;
253
254 FeatureMetadata m_featureMetadata;
255 bool m_featureMetadataHasBeenSet = false;
256
257 Project m_project;
258 bool m_projectHasBeenSet = false;
259
260 HyperParameterTuningJobSearchEntity m_hyperParameterTuningJob;
261 bool m_hyperParameterTuningJobHasBeenSet = false;
262
263 ModelCard m_modelCard;
264 bool m_modelCardHasBeenSet = false;
265
266 ModelDashboardModel m_model;
267 bool m_modelHasBeenSet = false;
268 };
269
270} // namespace Model
271} // namespace SageMaker
272} // namespace Aws
SearchRecord & WithEndpoint(Endpoint &&value)
SearchRecord & WithTrialComponent(TrialComponent &&value)
SearchRecord & WithTrial(Trial &&value)
SearchRecord & WithModelCard(const ModelCard &value)
SearchRecord & WithTrialComponent(const TrialComponent &value)
SearchRecord & WithFeatureMetadata(FeatureMetadata &&value)
const FeatureGroup & GetFeatureGroup() const
const TrainingJob & GetTrainingJob() const
SearchRecord & WithHyperParameterTuningJob(HyperParameterTuningJobSearchEntity &&value)
SearchRecord & WithModelPackage(ModelPackage &&value)
void SetTrialComponent(TrialComponent &&value)
SearchRecord & WithPipeline(Pipeline &&value)
void SetFeatureGroup(const FeatureGroup &value)
const Experiment & GetExperiment() const
const TrialComponent & GetTrialComponent() const
const ModelDashboardModel & GetModel() const
SearchRecord & WithTrainingJob(const TrainingJob &value)
void SetExperiment(Experiment &&value)
const Project & GetProject() const
void SetEndpoint(const Endpoint &value)
SearchRecord & WithTrial(const Trial &value)
void SetModelPackageGroup(ModelPackageGroup &&value)
void SetProject(const Project &value)
const FeatureMetadata & GetFeatureMetadata() const
void SetTrialComponent(const TrialComponent &value)
AWS_SAGEMAKER_API SearchRecord(Aws::Utils::Json::JsonView jsonValue)
const Pipeline & GetPipeline() const
void SetTrial(const Trial &value)
void SetPipeline(Pipeline &&value)
SearchRecord & WithModelPackageGroup(ModelPackageGroup &&value)
void SetModelCard(const ModelCard &value)
SearchRecord & WithModelPackage(const ModelPackage &value)
SearchRecord & WithEndpoint(const Endpoint &value)
SearchRecord & WithHyperParameterTuningJob(const HyperParameterTuningJobSearchEntity &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelPackageGroup(const ModelPackageGroup &value)
void SetHyperParameterTuningJob(const HyperParameterTuningJobSearchEntity &value)
SearchRecord & WithTrainingJob(TrainingJob &&value)
void SetModelPackage(const ModelPackage &value)
const ModelPackage & GetModelPackage() const
SearchRecord & WithModel(const ModelDashboardModel &value)
const Endpoint & GetEndpoint() const
void SetTrainingJob(TrainingJob &&value)
const HyperParameterTuningJobSearchEntity & GetHyperParameterTuningJob() const
void SetExperiment(const Experiment &value)
void SetPipelineExecution(const PipelineExecution &value)
SearchRecord & WithPipeline(const Pipeline &value)
SearchRecord & WithPipelineExecution(const PipelineExecution &value)
SearchRecord & WithPipelineExecution(PipelineExecution &&value)
void SetEndpoint(Endpoint &&value)
const ModelPackageGroup & GetModelPackageGroup() const
SearchRecord & WithFeatureMetadata(const FeatureMetadata &value)
void SetHyperParameterTuningJob(HyperParameterTuningJobSearchEntity &&value)
AWS_SAGEMAKER_API SearchRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetModelCard(ModelCard &&value)
const PipelineExecution & GetPipelineExecution() const
SearchRecord & WithExperiment(const Experiment &value)
void SetModelPackage(ModelPackage &&value)
SearchRecord & WithFeatureGroup(FeatureGroup &&value)
void SetFeatureGroup(FeatureGroup &&value)
SearchRecord & WithProject(const Project &value)
void SetModel(ModelDashboardModel &&value)
SearchRecord & WithModelCard(ModelCard &&value)
SearchRecord & WithExperiment(Experiment &&value)
void SetFeatureMetadata(const FeatureMetadata &value)
SearchRecord & WithModel(ModelDashboardModel &&value)
const ModelCard & GetModelCard() const
SearchRecord & WithProject(Project &&value)
void SetTrainingJob(const TrainingJob &value)
void SetPipeline(const Pipeline &value)
void SetFeatureMetadata(FeatureMetadata &&value)
void SetModel(const ModelDashboardModel &value)
void SetPipelineExecution(PipelineExecution &&value)
SearchRecord & WithFeatureGroup(const FeatureGroup &value)
SearchRecord & WithModelPackageGroup(const ModelPackageGroup &value)
Aws::Utils::Json::JsonValue JsonValue