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

The name of the experiment.

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

The name of the experiment.

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

The name of the experiment.

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

The name of the experiment.

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

The name of the experiment.

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

The name of the experiment.

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

The name of the experiment.

*/ inline DescribeExperimentResult& WithExperimentName(const char* value) { SetExperimentName(value); return *this;} /** *

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 DescribeExperimentResult& WithExperimentArn(const Aws::String& value) { SetExperimentArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the experiment.

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

The Amazon Resource Name (ARN) of the experiment.

*/ inline DescribeExperimentResult& WithExperimentArn(const char* value) { SetExperimentArn(value); return *this;} /** *

The name of the experiment as displayed. If DisplayName isn't * specified, ExperimentName is displayed.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

The name of the experiment as displayed. If DisplayName isn't * specified, ExperimentName is displayed.

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

The name of the experiment as displayed. If DisplayName isn't * specified, ExperimentName is displayed.

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

The name of the experiment as displayed. If DisplayName isn't * specified, ExperimentName is displayed.

*/ inline void SetDisplayName(const char* value) { m_displayName.assign(value); } /** *

The name of the experiment as displayed. If DisplayName isn't * specified, ExperimentName is displayed.

*/ inline DescribeExperimentResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The name of the experiment as displayed. If DisplayName isn't * specified, ExperimentName is displayed.

*/ inline DescribeExperimentResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

The name of the experiment as displayed. If DisplayName isn't * specified, ExperimentName is displayed.

*/ inline DescribeExperimentResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the source and, optionally, the type.

*/ inline const ExperimentSource& GetSource() const{ return m_source; } /** *

The Amazon Resource Name (ARN) of the source and, optionally, the type.

*/ inline void SetSource(const ExperimentSource& value) { m_source = value; } /** *

The Amazon Resource Name (ARN) of the source and, optionally, the type.

*/ inline void SetSource(ExperimentSource&& value) { m_source = std::move(value); } /** *

The Amazon Resource Name (ARN) of the source and, optionally, the type.

*/ inline DescribeExperimentResult& WithSource(const ExperimentSource& value) { SetSource(value); return *this;} /** *

The Amazon Resource Name (ARN) of the source and, optionally, the type.

*/ inline DescribeExperimentResult& WithSource(ExperimentSource&& value) { SetSource(std::move(value)); return *this;} /** *

The description of the experiment.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the experiment.

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

The description of the experiment.

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

The description of the experiment.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The description of the experiment.

*/ inline DescribeExperimentResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the experiment.

*/ inline DescribeExperimentResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the experiment.

*/ inline DescribeExperimentResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

When the experiment was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

When the experiment was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

When the experiment was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

When the experiment was created.

*/ inline DescribeExperimentResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

When the experiment was created.

*/ inline DescribeExperimentResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

Who created the experiment.

*/ inline const UserContext& GetCreatedBy() const{ return m_createdBy; } /** *

Who created the experiment.

*/ inline void SetCreatedBy(const UserContext& value) { m_createdBy = value; } /** *

Who created the experiment.

*/ inline void SetCreatedBy(UserContext&& value) { m_createdBy = std::move(value); } /** *

Who created the experiment.

*/ inline DescribeExperimentResult& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;} /** *

Who created the experiment.

*/ inline DescribeExperimentResult& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

When the experiment was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

When the experiment was last modified.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; } /** *

When the experiment was last modified.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); } /** *

When the experiment was last modified.

*/ inline DescribeExperimentResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

When the experiment was last modified.

*/ inline DescribeExperimentResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *

Who last modified the experiment.

*/ inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; } /** *

Who last modified the experiment.

*/ inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedBy = value; } /** *

Who last modified the experiment.

*/ inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedBy = std::move(value); } /** *

Who last modified the experiment.

*/ inline DescribeExperimentResult& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;} /** *

Who last modified the experiment.

*/ inline DescribeExperimentResult& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(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 DescribeExperimentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeExperimentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeExperimentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_experimentName; Aws::String m_experimentArn; Aws::String m_displayName; ExperimentSource m_source; Aws::String m_description; Aws::Utils::DateTime m_creationTime; UserContext m_createdBy; Aws::Utils::DateTime m_lastModifiedTime; UserContext m_lastModifiedBy; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws