/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include 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
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.
The name of the trial as displayed. If DisplayName
isn't
* specified, TrialName
is displayed.
The name of the trial as displayed. If DisplayName
isn't
* specified, TrialName
is displayed.
The name of the trial as displayed. If DisplayName
isn't
* specified, TrialName
is displayed.
The name of the trial as displayed. If DisplayName
isn't
* specified, TrialName
is displayed.
The name of the trial as displayed. If DisplayName
isn't
* specified, TrialName
is displayed.
The name of the trial as displayed. If DisplayName
isn't
* specified, TrialName
is displayed.
The name of the trial as displayed. If DisplayName
isn't
* specified, TrialName
is displayed.
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