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

The Amazon Resource Name (ARN) of the experiment.

*/ inline const Aws::String& GetExperimentArn() const{ return m_experimentArn; } /** *

The Amazon Resource Name (ARN) of the experiment.

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

The Amazon Resource Name (ARN) of the experiment.

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

The Amazon Resource Name (ARN) of the experiment.

*/ inline void SetExperimentArn(const char* value) { m_experimentArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the experiment.

*/ inline CreateExperimentResult& WithExperimentArn(const Aws::String& value) { SetExperimentArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the experiment.

*/ inline CreateExperimentResult& WithExperimentArn(Aws::String&& value) { SetExperimentArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the experiment.

*/ inline CreateExperimentResult& WithExperimentArn(const char* value) { SetExperimentArn(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 CreateExperimentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateExperimentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateExperimentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_experimentArn; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws