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/Parent.h>
14#include <aws/sagemaker/model/Tag.h>
15#include <aws/sagemaker/model/TrialComponentArtifact.h>
16#include <aws/sagemaker/model/TrialComponentMetricSummary.h>
17#include <aws/sagemaker/model/TrialComponentParameterValue.h>
18#include <aws/sagemaker/model/TrialComponentSource.h>
19#include <aws/sagemaker/model/TrialComponentSourceDetail.h>
20#include <aws/sagemaker/model/TrialComponentStatus.h>
21#include <aws/sagemaker/model/UserContext.h>
55 template <
typename TrialComponentNameT = Aws::String>
57 m_trialComponentNameHasBeenSet =
true;
58 m_trialComponentName = std::forward<TrialComponentNameT>(value);
60 template <
typename TrialComponentNameT = Aws::String>
74 template <
typename DisplayNameT = Aws::String>
76 m_displayNameHasBeenSet =
true;
77 m_displayName = std::forward<DisplayNameT>(value);
79 template <
typename DisplayNameT = Aws::String>
92 template <
typename TrialComponentArnT = Aws::String>
94 m_trialComponentArnHasBeenSet =
true;
95 m_trialComponentArn = std::forward<TrialComponentArnT>(value);
97 template <
typename TrialComponentArnT = Aws::String>
111 template <
typename SourceT = TrialComponentSource>
113 m_sourceHasBeenSet =
true;
114 m_source = std::forward<SourceT>(value);
116 template <
typename SourceT = TrialComponentSource>
127 template <
typename StatusT = TrialComponentStatus>
129 m_statusHasBeenSet =
true;
130 m_status = std::forward<StatusT>(value);
132 template <
typename StatusT = TrialComponentStatus>
145 template <
typename StartTimeT = Aws::Utils::DateTime>
147 m_startTimeHasBeenSet =
true;
148 m_startTime = std::forward<StartTimeT>(value);
150 template <
typename StartTimeT = Aws::Utils::DateTime>
163 template <
typename EndTimeT = Aws::Utils::DateTime>
165 m_endTimeHasBeenSet =
true;
166 m_endTime = std::forward<EndTimeT>(value);
168 template <
typename EndTimeT = Aws::Utils::DateTime>
181 template <
typename CreationTimeT = Aws::Utils::DateTime>
183 m_creationTimeHasBeenSet =
true;
184 m_creationTime = std::forward<CreationTimeT>(value);
186 template <
typename CreationTimeT = Aws::Utils::DateTime>
199 template <
typename CreatedByT = UserContext>
201 m_createdByHasBeenSet =
true;
202 m_createdBy = std::forward<CreatedByT>(value);
204 template <
typename CreatedByT = UserContext>
217 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
219 m_lastModifiedTimeHasBeenSet =
true;
220 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
222 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
233 template <
typename LastModifiedByT = UserContext>
235 m_lastModifiedByHasBeenSet =
true;
236 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
238 template <
typename LastModifiedByT = UserContext>
251 template <
typename ParametersT = Aws::Map<Aws::String, TrialComponentParameterValue>>
253 m_parametersHasBeenSet =
true;
254 m_parameters = std::forward<ParametersT>(value);
256 template <
typename ParametersT = Aws::Map<Aws::String, TrialComponentParameterValue>>
261 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = TrialComponentParameterValue>
263 m_parametersHasBeenSet =
true;
264 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
275 template <
typename InputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
277 m_inputArtifactsHasBeenSet =
true;
278 m_inputArtifacts = std::forward<InputArtifactsT>(value);
280 template <
typename InputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
285 template <
typename InputArtifactsKeyT = Aws::String,
typename InputArtifactsValueT = TrialComponentArtifact>
287 m_inputArtifactsHasBeenSet =
true;
288 m_inputArtifacts.emplace(std::forward<InputArtifactsKeyT>(key), std::forward<InputArtifactsValueT>(value));
299 template <
typename OutputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
301 m_outputArtifactsHasBeenSet =
true;
302 m_outputArtifacts = std::forward<OutputArtifactsT>(value);
304 template <
typename OutputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
309 template <
typename OutputArtifactsKeyT = Aws::String,
typename OutputArtifactsValueT = TrialComponentArtifact>
311 m_outputArtifactsHasBeenSet =
true;
312 m_outputArtifacts.emplace(std::forward<OutputArtifactsKeyT>(key), std::forward<OutputArtifactsValueT>(value));
323 template <
typename MetricsT = Aws::Vector<TrialComponentMetricSummary>>
325 m_metricsHasBeenSet =
true;
326 m_metrics = std::forward<MetricsT>(value);
328 template <
typename MetricsT = Aws::Vector<TrialComponentMetricSummary>>
333 template <
typename MetricsT = TrialComponentMetricSummary>
335 m_metricsHasBeenSet =
true;
336 m_metrics.emplace_back(std::forward<MetricsT>(value));
345 template <
typename MetadataPropertiesT = MetadataProperties>
347 m_metadataPropertiesHasBeenSet =
true;
348 m_metadataProperties = std::forward<MetadataPropertiesT>(value);
350 template <
typename MetadataPropertiesT = MetadataProperties>
363 template <
typename SourceDetailT = TrialComponentSourceDetail>
365 m_sourceDetailHasBeenSet =
true;
366 m_sourceDetail = std::forward<SourceDetailT>(value);
368 template <
typename SourceDetailT = TrialComponentSourceDetail>
381 template <
typename LineageGroupArnT = Aws::String>
383 m_lineageGroupArnHasBeenSet =
true;
384 m_lineageGroupArn = std::forward<LineageGroupArnT>(value);
386 template <
typename LineageGroupArnT = Aws::String>
401 template <
typename TagsT = Aws::Vector<Tag>>
403 m_tagsHasBeenSet =
true;
404 m_tags = std::forward<TagsT>(value);
406 template <
typename TagsT = Aws::Vector<Tag>>
408 SetTags(std::forward<TagsT>(value));
411 template <
typename TagsT = Tag>
413 m_tagsHasBeenSet =
true;
414 m_tags.emplace_back(std::forward<TagsT>(value));
427 template <
typename ParentsT = Aws::Vector<Parent>>
429 m_parentsHasBeenSet =
true;
430 m_parents = std::forward<ParentsT>(value);
432 template <
typename ParentsT = Aws::Vector<Parent>>
437 template <
typename ParentsT = Parent>
439 m_parentsHasBeenSet =
true;
440 m_parents.emplace_back(std::forward<ParentsT>(value));
451 template <
typename RunNameT = Aws::String>
453 m_runNameHasBeenSet =
true;
454 m_runName = std::forward<RunNameT>(value);
456 template <
typename RunNameT = Aws::String>
479 UserContext m_createdBy;
483 UserContext m_lastModifiedBy;
493 MetadataProperties m_metadataProperties;
495 TrialComponentSourceDetail m_sourceDetail;
504 bool m_trialComponentNameHasBeenSet =
false;
505 bool m_displayNameHasBeenSet =
false;
506 bool m_trialComponentArnHasBeenSet =
false;
507 bool m_sourceHasBeenSet =
false;
508 bool m_statusHasBeenSet =
false;
509 bool m_startTimeHasBeenSet =
false;
510 bool m_endTimeHasBeenSet =
false;
511 bool m_creationTimeHasBeenSet =
false;
512 bool m_createdByHasBeenSet =
false;
513 bool m_lastModifiedTimeHasBeenSet =
false;
514 bool m_lastModifiedByHasBeenSet =
false;
515 bool m_parametersHasBeenSet =
false;
516 bool m_inputArtifactsHasBeenSet =
false;
517 bool m_outputArtifactsHasBeenSet =
false;
518 bool m_metricsHasBeenSet =
false;
519 bool m_metadataPropertiesHasBeenSet =
false;
520 bool m_sourceDetailHasBeenSet =
false;
521 bool m_lineageGroupArnHasBeenSet =
false;
522 bool m_tagsHasBeenSet =
false;
523 bool m_parentsHasBeenSet =
false;
524 bool m_runNameHasBeenSet =
false;
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, TrialComponentArtifact > & GetInputArtifacts() const
bool OutputArtifactsHasBeenSet() const
TrialComponent & WithStartTime(StartTimeT &&value)
bool SourceDetailHasBeenSet() const
void SetEndTime(EndTimeT &&value)
TrialComponent & WithTrialComponentName(TrialComponentNameT &&value)
bool RunNameHasBeenSet() const
TrialComponent & WithInputArtifacts(InputArtifactsT &&value)
void SetDisplayName(DisplayNameT &&value)
void SetTrialComponentArn(TrialComponentArnT &&value)
TrialComponent & WithCreationTime(CreationTimeT &&value)
void SetCreatedBy(CreatedByT &&value)
const TrialComponentSource & GetSource() const
bool CreationTimeHasBeenSet() const
TrialComponent & AddMetrics(MetricsT &&value)
const Aws::String & GetTrialComponentName() const
void SetInputArtifacts(InputArtifactsT &&value)
TrialComponent & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
void SetStartTime(StartTimeT &&value)
TrialComponent & AddOutputArtifacts(OutputArtifactsKeyT &&key, OutputArtifactsValueT &&value)
TrialComponent & WithLastModifiedBy(LastModifiedByT &&value)
TrialComponent & WithStatus(StatusT &&value)
bool DisplayNameHasBeenSet() const
const Aws::Map< Aws::String, TrialComponentArtifact > & GetOutputArtifacts() const
TrialComponent & WithParameters(ParametersT &&value)
bool LastModifiedTimeHasBeenSet() const
bool TagsHasBeenSet() const
AWS_SAGEMAKER_API TrialComponent()=default
void SetParameters(ParametersT &&value)
TrialComponent & WithCreatedBy(CreatedByT &&value)
bool LastModifiedByHasBeenSet() const
TrialComponent & WithMetadataProperties(MetadataPropertiesT &&value)
void SetLineageGroupArn(LineageGroupArnT &&value)
TrialComponent & WithMetrics(MetricsT &&value)
TrialComponent & WithTrialComponentArn(TrialComponentArnT &&value)
const Aws::String & GetRunName() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrialComponent & WithSource(SourceT &&value)
const Aws::String & GetLineageGroupArn() const
TrialComponent & WithEndTime(EndTimeT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
const Aws::Vector< Tag > & GetTags() const
TrialComponent & AddParents(ParentsT &&value)
bool MetricsHasBeenSet() const
void SetMetrics(MetricsT &&value)
TrialComponent & WithRunName(RunNameT &&value)
const TrialComponentStatus & GetStatus() const
void SetMetadataProperties(MetadataPropertiesT &&value)
bool StatusHasBeenSet() const
const TrialComponentSourceDetail & GetSourceDetail() const
TrialComponent & WithLineageGroupArn(LineageGroupArnT &&value)
bool TrialComponentNameHasBeenSet() const
bool TrialComponentArnHasBeenSet() const
TrialComponent & WithTags(TagsT &&value)
const Aws::String & GetDisplayName() const
TrialComponent & WithParents(ParentsT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
TrialComponent & WithSourceDetail(SourceDetailT &&value)
TrialComponent & WithOutputArtifacts(OutputArtifactsT &&value)
bool ParentsHasBeenSet() const
bool SourceHasBeenSet() const
bool LineageGroupArnHasBeenSet() const
void SetOutputArtifacts(OutputArtifactsT &&value)
bool CreatedByHasBeenSet() const
bool MetadataPropertiesHasBeenSet() const
const Aws::String & GetTrialComponentArn() const
void SetParents(ParentsT &&value)
TrialComponent & AddTags(TagsT &&value)
bool EndTimeHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
TrialComponent & AddInputArtifacts(InputArtifactsKeyT &&key, InputArtifactsValueT &&value)
bool StartTimeHasBeenSet() const
TrialComponent & WithDisplayName(DisplayNameT &&value)
AWS_SAGEMAKER_API TrialComponent & operator=(Aws::Utils::Json::JsonView jsonValue)
TrialComponent & WithLastModifiedTime(LastModifiedTimeT &&value)
const UserContext & GetLastModifiedBy() const
void SetStatus(StatusT &&value)
const Aws::Vector< Parent > & GetParents() const
void SetSourceDetail(SourceDetailT &&value)
const MetadataProperties & GetMetadataProperties() const
const Aws::Map< Aws::String, TrialComponentParameterValue > & GetParameters() const
AWS_SAGEMAKER_API TrialComponent(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartTime() const
bool ParametersHasBeenSet() const
void SetRunName(RunNameT &&value)
void SetSource(SourceT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetCreationTime(CreationTimeT &&value)
bool InputArtifactsHasBeenSet() const
const Aws::Vector< TrialComponentMetricSummary > & GetMetrics() const
const UserContext & GetCreatedBy() const
void SetTrialComponentName(TrialComponentNameT &&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