/** * 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 a trial. To get the complete set of * properties, call the DescribeTrial * API and provide the TrialName.

See Also:

AWS * API Reference

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

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

The Amazon Resource Name (ARN) of the trial.

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

The Amazon Resource Name (ARN) of the trial.

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

The Amazon Resource Name (ARN) of the trial.

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

The Amazon Resource Name (ARN) of the trial.

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

The Amazon Resource Name (ARN) of the trial.

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

The Amazon Resource Name (ARN) of the trial.

*/ inline TrialSummary& WithTrialArn(const char* value) { SetTrialArn(value); return *this;} /** *

The name of the trial.

*/ inline const Aws::String& GetTrialName() const{ return m_trialName; } /** *

The name of the trial.

*/ inline bool TrialNameHasBeenSet() const { return m_trialNameHasBeenSet; } /** *

The name of the trial.

*/ inline void SetTrialName(const Aws::String& value) { m_trialNameHasBeenSet = true; m_trialName = value; } /** *

The name of the trial.

*/ inline void SetTrialName(Aws::String&& value) { m_trialNameHasBeenSet = true; m_trialName = std::move(value); } /** *

The name of the trial.

*/ inline void SetTrialName(const char* value) { m_trialNameHasBeenSet = true; m_trialName.assign(value); } /** *

The name of the trial.

*/ inline TrialSummary& WithTrialName(const Aws::String& value) { SetTrialName(value); return *this;} /** *

The name of the trial.

*/ inline TrialSummary& WithTrialName(Aws::String&& value) { SetTrialName(std::move(value)); return *this;} /** *

The name of the trial.

*/ inline TrialSummary& WithTrialName(const char* value) { SetTrialName(value); return *this;} /** *

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

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

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

*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

*/ inline TrialSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} inline const TrialSource& GetTrialSource() const{ return m_trialSource; } inline bool TrialSourceHasBeenSet() const { return m_trialSourceHasBeenSet; } inline void SetTrialSource(const TrialSource& value) { m_trialSourceHasBeenSet = true; m_trialSource = value; } inline void SetTrialSource(TrialSource&& value) { m_trialSourceHasBeenSet = true; m_trialSource = std::move(value); } inline TrialSummary& WithTrialSource(const TrialSource& value) { SetTrialSource(value); return *this;} inline TrialSummary& WithTrialSource(TrialSource&& value) { SetTrialSource(std::move(value)); return *this;} /** *

When the trial was created.

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

When the trial was created.

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

When the trial was created.

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

When the trial was created.

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

When the trial was created.

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

When the trial was created.

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

When the trial was last modified.

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

When the trial was last modified.

*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

When the trial was last modified.

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

When the trial was last modified.

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

When the trial was last modified.

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

When the trial was last modified.

*/ inline TrialSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} private: Aws::String m_trialArn; bool m_trialArnHasBeenSet = false; Aws::String m_trialName; bool m_trialNameHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; TrialSource m_trialSource; bool m_trialSourceHasBeenSet = 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