/** * 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 CreateTrialComponentResult { public: AWS_SAGEMAKER_API CreateTrialComponentResult(); AWS_SAGEMAKER_API CreateTrialComponentResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API CreateTrialComponentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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 void SetTrialComponentArn(const Aws::String& value) { m_trialComponentArn = value; } /** *

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

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

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

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

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

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

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

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

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

*/ inline CreateTrialComponentResult& WithTrialComponentArn(const char* value) { SetTrialComponentArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateTrialComponentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateTrialComponentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateTrialComponentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_trialComponentArn; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws