AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeTrialComponentResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/MetadataProperties.h>
13#include <aws/sagemaker/model/TrialComponentArtifact.h>
14#include <aws/sagemaker/model/TrialComponentMetricSummary.h>
15#include <aws/sagemaker/model/TrialComponentParameterValue.h>
16#include <aws/sagemaker/model/TrialComponentSource.h>
17#include <aws/sagemaker/model/TrialComponentStatus.h>
18#include <aws/sagemaker/model/UserContext.h>
19
20#include <utility>
21
22namespace Aws {
23template <typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils {
27namespace Json {
28class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace SageMaker {
32namespace Model {
34 public:
35 AWS_SAGEMAKER_API DescribeTrialComponentResult() = default;
38
40
43 inline const Aws::String& GetTrialComponentName() const { return m_trialComponentName; }
44 template <typename TrialComponentNameT = Aws::String>
45 void SetTrialComponentName(TrialComponentNameT&& value) {
46 m_trialComponentNameHasBeenSet = true;
47 m_trialComponentName = std::forward<TrialComponentNameT>(value);
48 }
49 template <typename TrialComponentNameT = Aws::String>
51 SetTrialComponentName(std::forward<TrialComponentNameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetTrialComponentArn() const { return m_trialComponentArn; }
61 template <typename TrialComponentArnT = Aws::String>
62 void SetTrialComponentArn(TrialComponentArnT&& value) {
63 m_trialComponentArnHasBeenSet = true;
64 m_trialComponentArn = std::forward<TrialComponentArnT>(value);
65 }
66 template <typename TrialComponentArnT = Aws::String>
68 SetTrialComponentArn(std::forward<TrialComponentArnT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetDisplayName() const { return m_displayName; }
79 template <typename DisplayNameT = Aws::String>
80 void SetDisplayName(DisplayNameT&& value) {
81 m_displayNameHasBeenSet = true;
82 m_displayName = std::forward<DisplayNameT>(value);
83 }
84 template <typename DisplayNameT = Aws::String>
86 SetDisplayName(std::forward<DisplayNameT>(value));
87 return *this;
88 }
90
92
96 inline const TrialComponentSource& GetSource() const { return m_source; }
97 template <typename SourceT = TrialComponentSource>
98 void SetSource(SourceT&& value) {
99 m_sourceHasBeenSet = true;
100 m_source = std::forward<SourceT>(value);
101 }
102 template <typename SourceT = TrialComponentSource>
104 SetSource(std::forward<SourceT>(value));
105 return *this;
106 }
108
110
114 inline const TrialComponentStatus& GetStatus() const { return m_status; }
115 template <typename StatusT = TrialComponentStatus>
116 void SetStatus(StatusT&& value) {
117 m_statusHasBeenSet = true;
118 m_status = std::forward<StatusT>(value);
119 }
120 template <typename StatusT = TrialComponentStatus>
122 SetStatus(std::forward<StatusT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
132 template <typename StartTimeT = Aws::Utils::DateTime>
133 void SetStartTime(StartTimeT&& value) {
134 m_startTimeHasBeenSet = true;
135 m_startTime = std::forward<StartTimeT>(value);
136 }
137 template <typename StartTimeT = Aws::Utils::DateTime>
139 SetStartTime(std::forward<StartTimeT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
149 template <typename EndTimeT = Aws::Utils::DateTime>
150 void SetEndTime(EndTimeT&& value) {
151 m_endTimeHasBeenSet = true;
152 m_endTime = std::forward<EndTimeT>(value);
153 }
154 template <typename EndTimeT = Aws::Utils::DateTime>
156 SetEndTime(std::forward<EndTimeT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
166 template <typename CreationTimeT = Aws::Utils::DateTime>
167 void SetCreationTime(CreationTimeT&& value) {
168 m_creationTimeHasBeenSet = true;
169 m_creationTime = std::forward<CreationTimeT>(value);
170 }
171 template <typename CreationTimeT = Aws::Utils::DateTime>
173 SetCreationTime(std::forward<CreationTimeT>(value));
174 return *this;
175 }
177
179
182 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
183 template <typename CreatedByT = UserContext>
184 void SetCreatedBy(CreatedByT&& value) {
185 m_createdByHasBeenSet = true;
186 m_createdBy = std::forward<CreatedByT>(value);
187 }
188 template <typename CreatedByT = UserContext>
190 SetCreatedBy(std::forward<CreatedByT>(value));
191 return *this;
192 }
194
196
199 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
200 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
201 void SetLastModifiedTime(LastModifiedTimeT&& value) {
202 m_lastModifiedTimeHasBeenSet = true;
203 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
204 }
205 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
207 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
208 return *this;
209 }
211
213
216 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
217 template <typename LastModifiedByT = UserContext>
218 void SetLastModifiedBy(LastModifiedByT&& value) {
219 m_lastModifiedByHasBeenSet = true;
220 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
221 }
222 template <typename LastModifiedByT = UserContext>
224 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
225 return *this;
226 }
228
230
233 inline const Aws::Map<Aws::String, TrialComponentParameterValue>& GetParameters() const { return m_parameters; }
234 template <typename ParametersT = Aws::Map<Aws::String, TrialComponentParameterValue>>
235 void SetParameters(ParametersT&& value) {
236 m_parametersHasBeenSet = true;
237 m_parameters = std::forward<ParametersT>(value);
238 }
239 template <typename ParametersT = Aws::Map<Aws::String, TrialComponentParameterValue>>
241 SetParameters(std::forward<ParametersT>(value));
242 return *this;
243 }
244 template <typename ParametersKeyT = Aws::String, typename ParametersValueT = TrialComponentParameterValue>
245 DescribeTrialComponentResult& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
246 m_parametersHasBeenSet = true;
247 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
248 return *this;
249 }
251
253
256 inline const Aws::Map<Aws::String, TrialComponentArtifact>& GetInputArtifacts() const { return m_inputArtifacts; }
257 template <typename InputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
258 void SetInputArtifacts(InputArtifactsT&& value) {
259 m_inputArtifactsHasBeenSet = true;
260 m_inputArtifacts = std::forward<InputArtifactsT>(value);
261 }
262 template <typename InputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
264 SetInputArtifacts(std::forward<InputArtifactsT>(value));
265 return *this;
266 }
267 template <typename InputArtifactsKeyT = Aws::String, typename InputArtifactsValueT = TrialComponentArtifact>
268 DescribeTrialComponentResult& AddInputArtifacts(InputArtifactsKeyT&& key, InputArtifactsValueT&& value) {
269 m_inputArtifactsHasBeenSet = true;
270 m_inputArtifacts.emplace(std::forward<InputArtifactsKeyT>(key), std::forward<InputArtifactsValueT>(value));
271 return *this;
272 }
274
276
279 inline const Aws::Map<Aws::String, TrialComponentArtifact>& GetOutputArtifacts() const { return m_outputArtifacts; }
280 template <typename OutputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
281 void SetOutputArtifacts(OutputArtifactsT&& value) {
282 m_outputArtifactsHasBeenSet = true;
283 m_outputArtifacts = std::forward<OutputArtifactsT>(value);
284 }
285 template <typename OutputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
287 SetOutputArtifacts(std::forward<OutputArtifactsT>(value));
288 return *this;
289 }
290 template <typename OutputArtifactsKeyT = Aws::String, typename OutputArtifactsValueT = TrialComponentArtifact>
291 DescribeTrialComponentResult& AddOutputArtifacts(OutputArtifactsKeyT&& key, OutputArtifactsValueT&& value) {
292 m_outputArtifactsHasBeenSet = true;
293 m_outputArtifacts.emplace(std::forward<OutputArtifactsKeyT>(key), std::forward<OutputArtifactsValueT>(value));
294 return *this;
295 }
297
299
300 inline const MetadataProperties& GetMetadataProperties() const { return m_metadataProperties; }
301 template <typename MetadataPropertiesT = MetadataProperties>
302 void SetMetadataProperties(MetadataPropertiesT&& value) {
303 m_metadataPropertiesHasBeenSet = true;
304 m_metadataProperties = std::forward<MetadataPropertiesT>(value);
305 }
306 template <typename MetadataPropertiesT = MetadataProperties>
308 SetMetadataProperties(std::forward<MetadataPropertiesT>(value));
309 return *this;
310 }
312
314
317 inline const Aws::Vector<TrialComponentMetricSummary>& GetMetrics() const { return m_metrics; }
318 template <typename MetricsT = Aws::Vector<TrialComponentMetricSummary>>
319 void SetMetrics(MetricsT&& value) {
320 m_metricsHasBeenSet = true;
321 m_metrics = std::forward<MetricsT>(value);
322 }
323 template <typename MetricsT = Aws::Vector<TrialComponentMetricSummary>>
325 SetMetrics(std::forward<MetricsT>(value));
326 return *this;
327 }
328 template <typename MetricsT = TrialComponentMetricSummary>
330 m_metricsHasBeenSet = true;
331 m_metrics.emplace_back(std::forward<MetricsT>(value));
332 return *this;
333 }
335
337
340 inline const Aws::String& GetLineageGroupArn() const { return m_lineageGroupArn; }
341 template <typename LineageGroupArnT = Aws::String>
342 void SetLineageGroupArn(LineageGroupArnT&& value) {
343 m_lineageGroupArnHasBeenSet = true;
344 m_lineageGroupArn = std::forward<LineageGroupArnT>(value);
345 }
346 template <typename LineageGroupArnT = Aws::String>
348 SetLineageGroupArn(std::forward<LineageGroupArnT>(value));
349 return *this;
350 }
352
354
358 inline const Aws::Vector<TrialComponentSource>& GetSources() const { return m_sources; }
359 template <typename SourcesT = Aws::Vector<TrialComponentSource>>
360 void SetSources(SourcesT&& value) {
361 m_sourcesHasBeenSet = true;
362 m_sources = std::forward<SourcesT>(value);
363 }
364 template <typename SourcesT = Aws::Vector<TrialComponentSource>>
366 SetSources(std::forward<SourcesT>(value));
367 return *this;
368 }
369 template <typename SourcesT = TrialComponentSource>
371 m_sourcesHasBeenSet = true;
372 m_sources.emplace_back(std::forward<SourcesT>(value));
373 return *this;
374 }
376
378
379 inline const Aws::String& GetRequestId() const { return m_requestId; }
380 template <typename RequestIdT = Aws::String>
381 void SetRequestId(RequestIdT&& value) {
382 m_requestIdHasBeenSet = true;
383 m_requestId = std::forward<RequestIdT>(value);
384 }
385 template <typename RequestIdT = Aws::String>
387 SetRequestId(std::forward<RequestIdT>(value));
388 return *this;
389 }
391 private:
392 Aws::String m_trialComponentName;
393
394 Aws::String m_trialComponentArn;
395
396 Aws::String m_displayName;
397
398 TrialComponentSource m_source;
399
400 TrialComponentStatus m_status;
401
402 Aws::Utils::DateTime m_startTime{};
403
404 Aws::Utils::DateTime m_endTime{};
405
406 Aws::Utils::DateTime m_creationTime{};
407
408 UserContext m_createdBy;
409
410 Aws::Utils::DateTime m_lastModifiedTime{};
411
412 UserContext m_lastModifiedBy;
413
415
417
419
420 MetadataProperties m_metadataProperties;
421
423
424 Aws::String m_lineageGroupArn;
425
427
428 Aws::String m_requestId;
429 bool m_trialComponentNameHasBeenSet = false;
430 bool m_trialComponentArnHasBeenSet = false;
431 bool m_displayNameHasBeenSet = false;
432 bool m_sourceHasBeenSet = false;
433 bool m_statusHasBeenSet = false;
434 bool m_startTimeHasBeenSet = false;
435 bool m_endTimeHasBeenSet = false;
436 bool m_creationTimeHasBeenSet = false;
437 bool m_createdByHasBeenSet = false;
438 bool m_lastModifiedTimeHasBeenSet = false;
439 bool m_lastModifiedByHasBeenSet = false;
440 bool m_parametersHasBeenSet = false;
441 bool m_inputArtifactsHasBeenSet = false;
442 bool m_outputArtifactsHasBeenSet = false;
443 bool m_metadataPropertiesHasBeenSet = false;
444 bool m_metricsHasBeenSet = false;
445 bool m_lineageGroupArnHasBeenSet = false;
446 bool m_sourcesHasBeenSet = false;
447 bool m_requestIdHasBeenSet = false;
448};
449
450} // namespace Model
451} // namespace SageMaker
452} // namespace Aws
DescribeTrialComponentResult & WithLastModifiedBy(LastModifiedByT &&value)
DescribeTrialComponentResult & WithSources(SourcesT &&value)
DescribeTrialComponentResult & WithOutputArtifacts(OutputArtifactsT &&value)
DescribeTrialComponentResult & WithParameters(ParametersT &&value)
const Aws::Map< Aws::String, TrialComponentArtifact > & GetInputArtifacts() const
const Aws::Vector< TrialComponentSource > & GetSources() const
DescribeTrialComponentResult & WithStartTime(StartTimeT &&value)
DescribeTrialComponentResult & AddInputArtifacts(InputArtifactsKeyT &&key, InputArtifactsValueT &&value)
DescribeTrialComponentResult & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
DescribeTrialComponentResult & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API DescribeTrialComponentResult()=default
const Aws::Vector< TrialComponentMetricSummary > & GetMetrics() const
DescribeTrialComponentResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, TrialComponentArtifact > & GetOutputArtifacts() const
const Aws::Map< Aws::String, TrialComponentParameterValue > & GetParameters() const
DescribeTrialComponentResult & WithCreationTime(CreationTimeT &&value)
DescribeTrialComponentResult & AddSources(SourcesT &&value)
DescribeTrialComponentResult & WithTrialComponentArn(TrialComponentArnT &&value)
DescribeTrialComponentResult & WithMetrics(MetricsT &&value)
DescribeTrialComponentResult & WithStatus(StatusT &&value)
DescribeTrialComponentResult & WithCreatedBy(CreatedByT &&value)
DescribeTrialComponentResult & WithInputArtifacts(InputArtifactsT &&value)
DescribeTrialComponentResult & WithTrialComponentName(TrialComponentNameT &&value)
AWS_SAGEMAKER_API DescribeTrialComponentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTrialComponentResult & AddMetrics(MetricsT &&value)
DescribeTrialComponentResult & WithSource(SourceT &&value)
DescribeTrialComponentResult & WithLineageGroupArn(LineageGroupArnT &&value)
DescribeTrialComponentResult & WithEndTime(EndTimeT &&value)
DescribeTrialComponentResult & AddOutputArtifacts(OutputArtifactsKeyT &&key, OutputArtifactsValueT &&value)
AWS_SAGEMAKER_API DescribeTrialComponentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTrialComponentResult & WithMetadataProperties(MetadataPropertiesT &&value)
DescribeTrialComponentResult & WithDisplayName(DisplayNameT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue