/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

The properties of a trial component as returned by the Search * API.

See Also:

AWS * API Reference

*/ class TrialComponent { public: AWS_SAGEMAKER_API TrialComponent(); AWS_SAGEMAKER_API TrialComponent(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API TrialComponent& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the trial component.

*/ inline const Aws::String& GetTrialComponentName() const{ return m_trialComponentName; } /** *

The name of the trial component.

*/ inline bool TrialComponentNameHasBeenSet() const { return m_trialComponentNameHasBeenSet; } /** *

The name of the trial component.

*/ inline void SetTrialComponentName(const Aws::String& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = value; } /** *

The name of the trial component.

*/ inline void SetTrialComponentName(Aws::String&& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = std::move(value); } /** *

The name of the trial component.

*/ inline void SetTrialComponentName(const char* value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName.assign(value); } /** *

The name of the trial component.

*/ inline TrialComponent& WithTrialComponentName(const Aws::String& value) { SetTrialComponentName(value); return *this;} /** *

The name of the trial component.

*/ inline TrialComponent& WithTrialComponentName(Aws::String&& value) { SetTrialComponentName(std::move(value)); return *this;} /** *

The name of the trial component.

*/ inline TrialComponent& WithTrialComponentName(const char* value) { SetTrialComponentName(value); return *this;} /** *

The name of the component as displayed. If DisplayName isn't * specified, TrialComponentName is displayed.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

The name of the component as displayed. If DisplayName isn't * specified, TrialComponentName is displayed.

*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *

The name of the component as displayed. If DisplayName isn't * specified, TrialComponentName is displayed.

*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *

The name of the component as displayed. If DisplayName isn't * specified, TrialComponentName is displayed.

*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *

The name of the component as displayed. If DisplayName isn't * specified, TrialComponentName is displayed.

*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *

The name of the component as displayed. If DisplayName isn't * specified, TrialComponentName is displayed.

*/ inline TrialComponent& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The name of the component as displayed. If DisplayName isn't * specified, TrialComponentName is displayed.

*/ inline TrialComponent& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

The name of the component as displayed. If DisplayName isn't * specified, TrialComponentName is displayed.

*/ inline TrialComponent& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the trial component.

*/ inline const Aws::String& GetTrialComponentArn() const{ return m_trialComponentArn; } /** *

The Amazon Resource Name (ARN) of the trial component.

*/ inline bool TrialComponentArnHasBeenSet() const { return m_trialComponentArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the trial component.

*/ inline void SetTrialComponentArn(const Aws::String& value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn = value; } /** *

The Amazon Resource Name (ARN) of the trial component.

*/ inline void SetTrialComponentArn(Aws::String&& value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the trial component.

*/ inline void SetTrialComponentArn(const char* value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the trial component.

*/ inline TrialComponent& WithTrialComponentArn(const Aws::String& value) { SetTrialComponentArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the trial component.

*/ inline TrialComponent& WithTrialComponentArn(Aws::String&& value) { SetTrialComponentArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the trial component.

*/ inline TrialComponent& WithTrialComponentArn(const char* value) { SetTrialComponentArn(value); return *this;} /** *

The Amazon Resource Name (ARN) and job type of the source of the * component.

*/ inline const TrialComponentSource& GetSource() const{ return m_source; } /** *

The Amazon Resource Name (ARN) and job type of the source of the * component.

*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *

The Amazon Resource Name (ARN) and job type of the source of the * component.

*/ inline void SetSource(const TrialComponentSource& value) { m_sourceHasBeenSet = true; m_source = value; } /** *

The Amazon Resource Name (ARN) and job type of the source of the * component.

*/ inline void SetSource(TrialComponentSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *

The Amazon Resource Name (ARN) and job type of the source of the * component.

*/ inline TrialComponent& WithSource(const TrialComponentSource& value) { SetSource(value); return *this;} /** *

The Amazon Resource Name (ARN) and job type of the source of the * component.

*/ inline TrialComponent& WithSource(TrialComponentSource&& value) { SetSource(std::move(value)); return *this;} inline const TrialComponentStatus& GetStatus() const{ return m_status; } inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } inline void SetStatus(const TrialComponentStatus& value) { m_statusHasBeenSet = true; m_status = value; } inline void SetStatus(TrialComponentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } inline TrialComponent& WithStatus(const TrialComponentStatus& value) { SetStatus(value); return *this;} inline TrialComponent& WithStatus(TrialComponentStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

When the component started.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

When the component started.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

When the component started.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

When the component started.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

When the component started.

*/ inline TrialComponent& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

When the component started.

*/ inline TrialComponent& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

When the component ended.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

When the component ended.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

When the component ended.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

When the component ended.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

When the component ended.

*/ inline TrialComponent& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

When the component ended.

*/ inline TrialComponent& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

When the component was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

When the component was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

When the component was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

When the component was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

When the component was created.

*/ inline TrialComponent& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

When the component was created.

*/ inline TrialComponent& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

Who created the trial component.

*/ inline const UserContext& GetCreatedBy() const{ return m_createdBy; } /** *

Who created the trial component.

*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *

Who created the trial component.

*/ inline void SetCreatedBy(const UserContext& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *

Who created the trial component.

*/ inline void SetCreatedBy(UserContext&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *

Who created the trial component.

*/ inline TrialComponent& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;} /** *

Who created the trial component.

*/ inline TrialComponent& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

When the component was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

When the component was last modified.

*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

When the component was last modified.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *

When the component was last modified.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *

When the component was last modified.

*/ inline TrialComponent& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

When the component was last modified.

*/ inline TrialComponent& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; } inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; } inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; } inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); } inline TrialComponent& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;} inline TrialComponent& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;} /** *

The hyperparameters of the component.

*/ inline const Aws::Map& GetParameters() const{ return m_parameters; } /** *

The hyperparameters of the component.

*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *

The hyperparameters of the component.

*/ inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } /** *

The hyperparameters of the component.

*/ inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } /** *

The hyperparameters of the component.

*/ inline TrialComponent& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} /** *

The hyperparameters of the component.

*/ inline TrialComponent& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} /** *

The hyperparameters of the component.

*/ inline TrialComponent& AddParameters(const Aws::String& key, const TrialComponentParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } /** *

The hyperparameters of the component.

*/ inline TrialComponent& AddParameters(Aws::String&& key, const TrialComponentParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } /** *

The hyperparameters of the component.

*/ inline TrialComponent& AddParameters(const Aws::String& key, TrialComponentParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } /** *

The hyperparameters of the component.

*/ inline TrialComponent& AddParameters(Aws::String&& key, TrialComponentParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } /** *

The hyperparameters of the component.

*/ inline TrialComponent& AddParameters(const char* key, TrialComponentParameterValue&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } /** *

The hyperparameters of the component.

*/ inline TrialComponent& AddParameters(const char* key, const TrialComponentParameterValue& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } /** *

The input artifacts of the component.

*/ inline const Aws::Map& GetInputArtifacts() const{ return m_inputArtifacts; } /** *

The input artifacts of the component.

*/ inline bool InputArtifactsHasBeenSet() const { return m_inputArtifactsHasBeenSet; } /** *

The input artifacts of the component.

*/ inline void SetInputArtifacts(const Aws::Map& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts = value; } /** *

The input artifacts of the component.

*/ inline void SetInputArtifacts(Aws::Map&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts = std::move(value); } /** *

The input artifacts of the component.

*/ inline TrialComponent& WithInputArtifacts(const Aws::Map& value) { SetInputArtifacts(value); return *this;} /** *

The input artifacts of the component.

*/ inline TrialComponent& WithInputArtifacts(Aws::Map&& value) { SetInputArtifacts(std::move(value)); return *this;} /** *

The input artifacts of the component.

*/ inline TrialComponent& AddInputArtifacts(const Aws::String& key, const TrialComponentArtifact& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(key, value); return *this; } /** *

The input artifacts of the component.

*/ inline TrialComponent& AddInputArtifacts(Aws::String&& key, const TrialComponentArtifact& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(std::move(key), value); return *this; } /** *

The input artifacts of the component.

*/ inline TrialComponent& AddInputArtifacts(const Aws::String& key, TrialComponentArtifact&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(key, std::move(value)); return *this; } /** *

The input artifacts of the component.

*/ inline TrialComponent& AddInputArtifacts(Aws::String&& key, TrialComponentArtifact&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(std::move(key), std::move(value)); return *this; } /** *

The input artifacts of the component.

*/ inline TrialComponent& AddInputArtifacts(const char* key, TrialComponentArtifact&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(key, std::move(value)); return *this; } /** *

The input artifacts of the component.

*/ inline TrialComponent& AddInputArtifacts(const char* key, const TrialComponentArtifact& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(key, value); return *this; } /** *

The output artifacts of the component.

*/ inline const Aws::Map& GetOutputArtifacts() const{ return m_outputArtifacts; } /** *

The output artifacts of the component.

*/ inline bool OutputArtifactsHasBeenSet() const { return m_outputArtifactsHasBeenSet; } /** *

The output artifacts of the component.

*/ inline void SetOutputArtifacts(const Aws::Map& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts = value; } /** *

The output artifacts of the component.

*/ inline void SetOutputArtifacts(Aws::Map&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts = std::move(value); } /** *

The output artifacts of the component.

*/ inline TrialComponent& WithOutputArtifacts(const Aws::Map& value) { SetOutputArtifacts(value); return *this;} /** *

The output artifacts of the component.

*/ inline TrialComponent& WithOutputArtifacts(Aws::Map&& value) { SetOutputArtifacts(std::move(value)); return *this;} /** *

The output artifacts of the component.

*/ inline TrialComponent& AddOutputArtifacts(const Aws::String& key, const TrialComponentArtifact& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(key, value); return *this; } /** *

The output artifacts of the component.

*/ inline TrialComponent& AddOutputArtifacts(Aws::String&& key, const TrialComponentArtifact& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(std::move(key), value); return *this; } /** *

The output artifacts of the component.

*/ inline TrialComponent& AddOutputArtifacts(const Aws::String& key, TrialComponentArtifact&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(key, std::move(value)); return *this; } /** *

The output artifacts of the component.

*/ inline TrialComponent& AddOutputArtifacts(Aws::String&& key, TrialComponentArtifact&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(std::move(key), std::move(value)); return *this; } /** *

The output artifacts of the component.

*/ inline TrialComponent& AddOutputArtifacts(const char* key, TrialComponentArtifact&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(key, std::move(value)); return *this; } /** *

The output artifacts of the component.

*/ inline TrialComponent& AddOutputArtifacts(const char* key, const TrialComponentArtifact& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(key, value); return *this; } /** *

The metrics for the component.

*/ inline const Aws::Vector& GetMetrics() const{ return m_metrics; } /** *

The metrics for the component.

*/ inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; } /** *

The metrics for the component.

*/ inline void SetMetrics(const Aws::Vector& value) { m_metricsHasBeenSet = true; m_metrics = value; } /** *

The metrics for the component.

*/ inline void SetMetrics(Aws::Vector&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); } /** *

The metrics for the component.

*/ inline TrialComponent& WithMetrics(const Aws::Vector& value) { SetMetrics(value); return *this;} /** *

The metrics for the component.

*/ inline TrialComponent& WithMetrics(Aws::Vector&& value) { SetMetrics(std::move(value)); return *this;} /** *

The metrics for the component.

*/ inline TrialComponent& AddMetrics(const TrialComponentMetricSummary& value) { m_metricsHasBeenSet = true; m_metrics.push_back(value); return *this; } /** *

The metrics for the component.

*/ inline TrialComponent& AddMetrics(TrialComponentMetricSummary&& value) { m_metricsHasBeenSet = true; m_metrics.push_back(std::move(value)); return *this; } inline const MetadataProperties& GetMetadataProperties() const{ return m_metadataProperties; } inline bool MetadataPropertiesHasBeenSet() const { return m_metadataPropertiesHasBeenSet; } inline void SetMetadataProperties(const MetadataProperties& value) { m_metadataPropertiesHasBeenSet = true; m_metadataProperties = value; } inline void SetMetadataProperties(MetadataProperties&& value) { m_metadataPropertiesHasBeenSet = true; m_metadataProperties = std::move(value); } inline TrialComponent& WithMetadataProperties(const MetadataProperties& value) { SetMetadataProperties(value); return *this;} inline TrialComponent& WithMetadataProperties(MetadataProperties&& value) { SetMetadataProperties(std::move(value)); return *this;} /** *

Details of the source of the component.

*/ inline const TrialComponentSourceDetail& GetSourceDetail() const{ return m_sourceDetail; } /** *

Details of the source of the component.

*/ inline bool SourceDetailHasBeenSet() const { return m_sourceDetailHasBeenSet; } /** *

Details of the source of the component.

*/ inline void SetSourceDetail(const TrialComponentSourceDetail& value) { m_sourceDetailHasBeenSet = true; m_sourceDetail = value; } /** *

Details of the source of the component.

*/ inline void SetSourceDetail(TrialComponentSourceDetail&& value) { m_sourceDetailHasBeenSet = true; m_sourceDetail = std::move(value); } /** *

Details of the source of the component.

*/ inline TrialComponent& WithSourceDetail(const TrialComponentSourceDetail& value) { SetSourceDetail(value); return *this;} /** *

Details of the source of the component.

*/ inline TrialComponent& WithSourceDetail(TrialComponentSourceDetail&& value) { SetSourceDetail(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the lineage group resource.

*/ inline const Aws::String& GetLineageGroupArn() const{ return m_lineageGroupArn; } /** *

The Amazon Resource Name (ARN) of the lineage group resource.

*/ inline bool LineageGroupArnHasBeenSet() const { return m_lineageGroupArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the lineage group resource.

*/ inline void SetLineageGroupArn(const Aws::String& value) { m_lineageGroupArnHasBeenSet = true; m_lineageGroupArn = value; } /** *

The Amazon Resource Name (ARN) of the lineage group resource.

*/ inline void SetLineageGroupArn(Aws::String&& value) { m_lineageGroupArnHasBeenSet = true; m_lineageGroupArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the lineage group resource.

*/ inline void SetLineageGroupArn(const char* value) { m_lineageGroupArnHasBeenSet = true; m_lineageGroupArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the lineage group resource.

*/ inline TrialComponent& WithLineageGroupArn(const Aws::String& value) { SetLineageGroupArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the lineage group resource.

*/ inline TrialComponent& WithLineageGroupArn(Aws::String&& value) { SetLineageGroupArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the lineage group resource.

*/ inline TrialComponent& WithLineageGroupArn(const char* value) { SetLineageGroupArn(value); return *this;} /** *

The list of tags that are associated with the component. You can use Search * API to search on the tags.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

The list of tags that are associated with the component. You can use Search * API to search on the tags.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The list of tags that are associated with the component. You can use Search * API to search on the tags.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The list of tags that are associated with the component. You can use Search * API to search on the tags.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The list of tags that are associated with the component. You can use Search * API to search on the tags.

*/ inline TrialComponent& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

The list of tags that are associated with the component. You can use Search * API to search on the tags.

*/ inline TrialComponent& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

The list of tags that are associated with the component. You can use Search * API to search on the tags.

*/ inline TrialComponent& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

The list of tags that are associated with the component. You can use Search * API to search on the tags.

*/ inline TrialComponent& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *

An array of the parents of the component. A parent is a trial the component * is associated with and the experiment the trial is part of. A component might * not have any parents.

*/ inline const Aws::Vector& GetParents() const{ return m_parents; } /** *

An array of the parents of the component. A parent is a trial the component * is associated with and the experiment the trial is part of. A component might * not have any parents.

*/ inline bool ParentsHasBeenSet() const { return m_parentsHasBeenSet; } /** *

An array of the parents of the component. A parent is a trial the component * is associated with and the experiment the trial is part of. A component might * not have any parents.

*/ inline void SetParents(const Aws::Vector& value) { m_parentsHasBeenSet = true; m_parents = value; } /** *

An array of the parents of the component. A parent is a trial the component * is associated with and the experiment the trial is part of. A component might * not have any parents.

*/ inline void SetParents(Aws::Vector&& value) { m_parentsHasBeenSet = true; m_parents = std::move(value); } /** *

An array of the parents of the component. A parent is a trial the component * is associated with and the experiment the trial is part of. A component might * not have any parents.

*/ inline TrialComponent& WithParents(const Aws::Vector& value) { SetParents(value); return *this;} /** *

An array of the parents of the component. A parent is a trial the component * is associated with and the experiment the trial is part of. A component might * not have any parents.

*/ inline TrialComponent& WithParents(Aws::Vector&& value) { SetParents(std::move(value)); return *this;} /** *

An array of the parents of the component. A parent is a trial the component * is associated with and the experiment the trial is part of. A component might * not have any parents.

*/ inline TrialComponent& AddParents(const Parent& value) { m_parentsHasBeenSet = true; m_parents.push_back(value); return *this; } /** *

An array of the parents of the component. A parent is a trial the component * is associated with and the experiment the trial is part of. A component might * not have any parents.

*/ inline TrialComponent& AddParents(Parent&& value) { m_parentsHasBeenSet = true; m_parents.push_back(std::move(value)); return *this; } /** *

The name of the experiment run.

*/ inline const Aws::String& GetRunName() const{ return m_runName; } /** *

The name of the experiment run.

*/ inline bool RunNameHasBeenSet() const { return m_runNameHasBeenSet; } /** *

The name of the experiment run.

*/ inline void SetRunName(const Aws::String& value) { m_runNameHasBeenSet = true; m_runName = value; } /** *

The name of the experiment run.

*/ inline void SetRunName(Aws::String&& value) { m_runNameHasBeenSet = true; m_runName = std::move(value); } /** *

The name of the experiment run.

*/ inline void SetRunName(const char* value) { m_runNameHasBeenSet = true; m_runName.assign(value); } /** *

The name of the experiment run.

*/ inline TrialComponent& WithRunName(const Aws::String& value) { SetRunName(value); return *this;} /** *

The name of the experiment run.

*/ inline TrialComponent& WithRunName(Aws::String&& value) { SetRunName(std::move(value)); return *this;} /** *

The name of the experiment run.

*/ inline TrialComponent& WithRunName(const char* value) { SetRunName(value); return *this;} private: Aws::String m_trialComponentName; bool m_trialComponentNameHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_trialComponentArn; bool m_trialComponentArnHasBeenSet = false; TrialComponentSource m_source; bool m_sourceHasBeenSet = false; TrialComponentStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; UserContext m_createdBy; bool m_createdByHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; UserContext m_lastModifiedBy; bool m_lastModifiedByHasBeenSet = false; Aws::Map m_parameters; bool m_parametersHasBeenSet = false; Aws::Map m_inputArtifacts; bool m_inputArtifactsHasBeenSet = false; Aws::Map m_outputArtifacts; bool m_outputArtifactsHasBeenSet = false; Aws::Vector m_metrics; bool m_metricsHasBeenSet = false; MetadataProperties m_metadataProperties; bool m_metadataPropertiesHasBeenSet = false; TrialComponentSourceDetail m_sourceDetail; bool m_sourceDetailHasBeenSet = false; Aws::String m_lineageGroupArn; bool m_lineageGroupArnHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; Aws::Vector m_parents; bool m_parentsHasBeenSet = false; Aws::String m_runName; bool m_runNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws