/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class AWS_SAGEMAKER_API AssociateTrialComponentResult { public: AssociateTrialComponentResult(); AssociateTrialComponentResult(const Aws::AmazonWebServiceResult& result); AssociateTrialComponentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the trial component.

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

The ARN of the trial component.

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

The ARN of the trial component.

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

The ARN of the trial component.

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

The ARN of the trial component.

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

The ARN of the trial component.

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

The ARN of the trial component.

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

The Amazon Resource Name (ARN) of the trial.

*/ inline const Aws::String& GetTrialArn() const{ return m_trialArn; } /** *

The Amazon Resource Name (ARN) of the trial.

*/ inline void SetTrialArn(const Aws::String& value) { m_trialArn = value; } /** *

The Amazon Resource Name (ARN) of the trial.

*/ inline void SetTrialArn(Aws::String&& value) { m_trialArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the trial.

*/ inline void SetTrialArn(const char* value) { m_trialArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the trial.

*/ inline AssociateTrialComponentResult& WithTrialArn(const Aws::String& value) { SetTrialArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the trial.

*/ inline AssociateTrialComponentResult& WithTrialArn(Aws::String&& value) { SetTrialArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the trial.

*/ inline AssociateTrialComponentResult& WithTrialArn(const char* value) { SetTrialArn(value); return *this;} private: Aws::String m_trialComponentArn; Aws::String m_trialArn; }; } // namespace Model } // namespace SageMaker } // namespace Aws