/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Associates a SageMaker job as a trial component with an experiment and trial.
* Specified when you call the following APIs:See Also:
* AWS
* API Reference
The name of an existing experiment to associate the trial component with.
*/ inline const Aws::String& GetExperimentName() const{ return m_experimentName; } /** *The name of an existing experiment to associate the trial component with.
*/ inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; } /** *The name of an existing experiment to associate the trial component with.
*/ inline void SetExperimentName(const Aws::String& value) { m_experimentNameHasBeenSet = true; m_experimentName = value; } /** *The name of an existing experiment to associate the trial component with.
*/ inline void SetExperimentName(Aws::String&& value) { m_experimentNameHasBeenSet = true; m_experimentName = std::move(value); } /** *The name of an existing experiment to associate the trial component with.
*/ inline void SetExperimentName(const char* value) { m_experimentNameHasBeenSet = true; m_experimentName.assign(value); } /** *The name of an existing experiment to associate the trial component with.
*/ inline ExperimentConfig& WithExperimentName(const Aws::String& value) { SetExperimentName(value); return *this;} /** *The name of an existing experiment to associate the trial component with.
*/ inline ExperimentConfig& WithExperimentName(Aws::String&& value) { SetExperimentName(std::move(value)); return *this;} /** *The name of an existing experiment to associate the trial component with.
*/ inline ExperimentConfig& WithExperimentName(const char* value) { SetExperimentName(value); return *this;} /** *The name of an existing trial to associate the trial component with. If not * specified, a new trial is created.
*/ inline const Aws::String& GetTrialName() const{ return m_trialName; } /** *The name of an existing trial to associate the trial component with. If not * specified, a new trial is created.
*/ inline bool TrialNameHasBeenSet() const { return m_trialNameHasBeenSet; } /** *The name of an existing trial to associate the trial component with. If not * specified, a new trial is created.
*/ inline void SetTrialName(const Aws::String& value) { m_trialNameHasBeenSet = true; m_trialName = value; } /** *The name of an existing trial to associate the trial component with. If not * specified, a new trial is created.
*/ inline void SetTrialName(Aws::String&& value) { m_trialNameHasBeenSet = true; m_trialName = std::move(value); } /** *The name of an existing trial to associate the trial component with. If not * specified, a new trial is created.
*/ inline void SetTrialName(const char* value) { m_trialNameHasBeenSet = true; m_trialName.assign(value); } /** *The name of an existing trial to associate the trial component with. If not * specified, a new trial is created.
*/ inline ExperimentConfig& WithTrialName(const Aws::String& value) { SetTrialName(value); return *this;} /** *The name of an existing trial to associate the trial component with. If not * specified, a new trial is created.
*/ inline ExperimentConfig& WithTrialName(Aws::String&& value) { SetTrialName(std::move(value)); return *this;} /** *The name of an existing trial to associate the trial component with. If not * specified, a new trial is created.
*/ inline ExperimentConfig& WithTrialName(const char* value) { SetTrialName(value); return *this;} /** *The display name for the trial component. If this key isn't specified, the * display name is the trial component name.
*/ inline const Aws::String& GetTrialComponentDisplayName() const{ return m_trialComponentDisplayName; } /** *The display name for the trial component. If this key isn't specified, the * display name is the trial component name.
*/ inline bool TrialComponentDisplayNameHasBeenSet() const { return m_trialComponentDisplayNameHasBeenSet; } /** *The display name for the trial component. If this key isn't specified, the * display name is the trial component name.
*/ inline void SetTrialComponentDisplayName(const Aws::String& value) { m_trialComponentDisplayNameHasBeenSet = true; m_trialComponentDisplayName = value; } /** *The display name for the trial component. If this key isn't specified, the * display name is the trial component name.
*/ inline void SetTrialComponentDisplayName(Aws::String&& value) { m_trialComponentDisplayNameHasBeenSet = true; m_trialComponentDisplayName = std::move(value); } /** *The display name for the trial component. If this key isn't specified, the * display name is the trial component name.
*/ inline void SetTrialComponentDisplayName(const char* value) { m_trialComponentDisplayNameHasBeenSet = true; m_trialComponentDisplayName.assign(value); } /** *The display name for the trial component. If this key isn't specified, the * display name is the trial component name.
*/ inline ExperimentConfig& WithTrialComponentDisplayName(const Aws::String& value) { SetTrialComponentDisplayName(value); return *this;} /** *The display name for the trial component. If this key isn't specified, the * display name is the trial component name.
*/ inline ExperimentConfig& WithTrialComponentDisplayName(Aws::String&& value) { SetTrialComponentDisplayName(std::move(value)); return *this;} /** *The display name for the trial component. If this key isn't specified, the * display name is the trial component name.
*/ inline ExperimentConfig& WithTrialComponentDisplayName(const char* value) { SetTrialComponentDisplayName(value); return *this;} private: Aws::String m_experimentName; bool m_experimentNameHasBeenSet; Aws::String m_trialName; bool m_trialNameHasBeenSet; Aws::String m_trialComponentDisplayName; bool m_trialComponentDisplayNameHasBeenSet; }; } // namespace Model } // namespace SageMaker } // namespace Aws