/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

A summary of the properties of an experiment. To get the complete set of * properties, call the DescribeExperiment * API and provide the ExperimentName.

See Also:

AWS * API Reference

*/ class ExperimentSummary { public: AWS_SAGEMAKER_API ExperimentSummary(); AWS_SAGEMAKER_API ExperimentSummary(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API ExperimentSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 bool ExperimentArnHasBeenSet() const { return m_experimentArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the experiment.

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

The Amazon Resource Name (ARN) of the experiment.

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

The Amazon Resource Name (ARN) of the experiment.

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

The Amazon Resource Name (ARN) of the experiment.

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

The Amazon Resource Name (ARN) of the experiment.

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

The Amazon Resource Name (ARN) of the experiment.

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

The name of the experiment.

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

The name of the experiment.

*/ inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; } /** *

The name of the experiment.

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

The name of the experiment.

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

The name of the experiment.

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

The name of the experiment.

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

The name of the experiment.

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

The name of the experiment.

*/ inline ExperimentSummary& WithExperimentName(const char* value) { SetExperimentName(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 bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *

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

*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; 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_displayNameHasBeenSet = true; 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_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *

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

*/ inline ExperimentSummary& 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 ExperimentSummary& 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 ExperimentSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} inline const ExperimentSource& GetExperimentSource() const{ return m_experimentSource; } inline bool ExperimentSourceHasBeenSet() const { return m_experimentSourceHasBeenSet; } inline void SetExperimentSource(const ExperimentSource& value) { m_experimentSourceHasBeenSet = true; m_experimentSource = value; } inline void SetExperimentSource(ExperimentSource&& value) { m_experimentSourceHasBeenSet = true; m_experimentSource = std::move(value); } inline ExperimentSummary& WithExperimentSource(const ExperimentSource& value) { SetExperimentSource(value); return *this;} inline ExperimentSummary& WithExperimentSource(ExperimentSource&& value) { SetExperimentSource(std::move(value)); return *this;} /** *

When the experiment was created.

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

When the experiment was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

When the experiment was created.

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

When the experiment was created.

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

When the experiment was created.

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

When the experiment was created.

*/ inline ExperimentSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(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 bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

When the experiment was last modified.

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

When the experiment was last modified.

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

When the experiment was last modified.

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

When the experiment was last modified.

*/ inline ExperimentSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} private: Aws::String m_experimentArn; bool m_experimentArnHasBeenSet = false; Aws::String m_experimentName; bool m_experimentNameHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; ExperimentSource m_experimentSource; bool m_experimentSourceHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws