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

The trial that a trial component is associated with and the experiment the * trial is part of. A component might not be associated with a trial. A component * can be associated with multiple trials.

See Also:

AWS * API Reference

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

The name of the trial.

*/ inline const Aws::String& GetTrialName() const{ return m_trialName; } /** *

The name of the trial.

*/ inline bool TrialNameHasBeenSet() const { return m_trialNameHasBeenSet; } /** *

The name of the trial.

*/ inline void SetTrialName(const Aws::String& value) { m_trialNameHasBeenSet = true; m_trialName = value; } /** *

The name of the trial.

*/ inline void SetTrialName(Aws::String&& value) { m_trialNameHasBeenSet = true; m_trialName = std::move(value); } /** *

The name of the trial.

*/ inline void SetTrialName(const char* value) { m_trialNameHasBeenSet = true; m_trialName.assign(value); } /** *

The name of the trial.

*/ inline Parent& WithTrialName(const Aws::String& value) { SetTrialName(value); return *this;} /** *

The name of the trial.

*/ inline Parent& WithTrialName(Aws::String&& value) { SetTrialName(std::move(value)); return *this;} /** *

The name of the trial.

*/ inline Parent& WithTrialName(const char* value) { SetTrialName(value); return *this;} /** *

The name of the experiment.

*/ inline const Aws::String& GetExperimentName() const{ return m_experimentName; } /** *

The name of the experiment.

*/ inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; } /** *

The name of the experiment.

*/ inline void SetExperimentName(const Aws::String& value) { m_experimentNameHasBeenSet = true; m_experimentName = value; } /** *

The name of the experiment.

*/ inline void SetExperimentName(Aws::String&& value) { m_experimentNameHasBeenSet = true; m_experimentName = std::move(value); } /** *

The name of the experiment.

*/ inline void SetExperimentName(const char* value) { m_experimentNameHasBeenSet = true; m_experimentName.assign(value); } /** *

The name of the experiment.

*/ inline Parent& WithExperimentName(const Aws::String& value) { SetExperimentName(value); return *this;} /** *

The name of the experiment.

*/ inline Parent& WithExperimentName(Aws::String&& value) { SetExperimentName(std::move(value)); return *this;} /** *

The name of the experiment.

*/ inline Parent& WithExperimentName(const char* value) { SetExperimentName(value); return *this;} private: Aws::String m_trialName; bool m_trialNameHasBeenSet = false; Aws::String m_experimentName; bool m_experimentNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws