/**
* 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 component. To get all the properties,
* call the DescribeTrialComponent
* API and provide the TrialComponentName
.See Also:
* AWS
* API Reference
The name of the trial component.
*/ inline const Aws::String& GetTrialComponentName() const{ return m_trialComponentName; } /** *The name of the trial component.
*/ inline bool TrialComponentNameHasBeenSet() const { return m_trialComponentNameHasBeenSet; } /** *The name of the trial component.
*/ inline void SetTrialComponentName(const Aws::String& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = value; } /** *The name of the trial component.
*/ inline void SetTrialComponentName(Aws::String&& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = std::move(value); } /** *The name of the trial component.
*/ inline void SetTrialComponentName(const char* value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName.assign(value); } /** *The name of the trial component.
*/ inline TrialComponentSummary& WithTrialComponentName(const Aws::String& value) { SetTrialComponentName(value); return *this;} /** *The name of the trial component.
*/ inline TrialComponentSummary& WithTrialComponentName(Aws::String&& value) { SetTrialComponentName(std::move(value)); return *this;} /** *The name of the trial component.
*/ inline TrialComponentSummary& WithTrialComponentName(const char* value) { SetTrialComponentName(value); return *this;} /** *The Amazon Resource Name (ARN) of the trial component.
*/ inline const Aws::String& GetTrialComponentArn() const{ return m_trialComponentArn; } /** *The Amazon Resource Name (ARN) of the trial component.
*/ inline bool TrialComponentArnHasBeenSet() const { return m_trialComponentArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the trial component.
*/ inline void SetTrialComponentArn(const Aws::String& value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn = value; } /** *The Amazon Resource Name (ARN) of the trial component.
*/ inline void SetTrialComponentArn(Aws::String&& value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the trial component.
*/ inline void SetTrialComponentArn(const char* value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn.assign(value); } /** *The Amazon Resource Name (ARN) of the trial component.
*/ inline TrialComponentSummary& WithTrialComponentArn(const Aws::String& value) { SetTrialComponentArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the trial component.
*/ inline TrialComponentSummary& WithTrialComponentArn(Aws::String&& value) { SetTrialComponentArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the trial component.
*/ inline TrialComponentSummary& WithTrialComponentArn(const char* value) { SetTrialComponentArn(value); return *this;} /** *The name of the component as displayed. If DisplayName
isn't
* specified, TrialComponentName
is displayed.
The name of the component as displayed. If DisplayName
isn't
* specified, TrialComponentName
is displayed.
The name of the component as displayed. If DisplayName
isn't
* specified, TrialComponentName
is displayed.
The name of the component as displayed. If DisplayName
isn't
* specified, TrialComponentName
is displayed.
The name of the component as displayed. If DisplayName
isn't
* specified, TrialComponentName
is displayed.
The name of the component as displayed. If DisplayName
isn't
* specified, TrialComponentName
is displayed.
The name of the component as displayed. If DisplayName
isn't
* specified, TrialComponentName
is displayed.
The name of the component as displayed. If DisplayName
isn't
* specified, TrialComponentName
is displayed.
The status of the component. States include:
InProgress
*Completed
Failed
The status of the component. States include:
InProgress
*Completed
Failed
The status of the component. States include:
InProgress
*Completed
Failed
The status of the component. States include:
InProgress
*Completed
Failed
The status of the component. States include:
InProgress
*Completed
Failed
The status of the component. States include:
InProgress
*Completed
Failed
When the component started.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *When the component started.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *When the component started.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *When the component started.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *When the component started.
*/ inline TrialComponentSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *When the component started.
*/ inline TrialComponentSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *When the component ended.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *When the component ended.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *When the component ended.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *When the component ended.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *When the component ended.
*/ inline TrialComponentSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *When the component ended.
*/ inline TrialComponentSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *When the component was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *When the component was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *When the component was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *When the component was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *When the component was created.
*/ inline TrialComponentSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *When the component was created.
*/ inline TrialComponentSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *Who created the trial component.
*/ inline const UserContext& GetCreatedBy() const{ return m_createdBy; } /** *Who created the trial component.
*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *Who created the trial component.
*/ inline void SetCreatedBy(const UserContext& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *Who created the trial component.
*/ inline void SetCreatedBy(UserContext&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *Who created the trial component.
*/ inline TrialComponentSummary& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;} /** *Who created the trial component.
*/ inline TrialComponentSummary& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;} /** *When the component was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *When the component was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *When the component was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *When the component was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *When the component was last modified.
*/ inline TrialComponentSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *When the component was last modified.
*/ inline TrialComponentSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *Who last modified the component.
*/ inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; } /** *Who last modified the component.
*/ inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; } /** *Who last modified the component.
*/ inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; } /** *Who last modified the component.
*/ inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); } /** *Who last modified the component.
*/ inline TrialComponentSummary& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;} /** *Who last modified the component.
*/ inline TrialComponentSummary& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;} private: Aws::String m_trialComponentName; bool m_trialComponentNameHasBeenSet = false; Aws::String m_trialComponentArn; bool m_trialComponentArnHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; TrialComponentSource m_trialComponentSource; bool m_trialComponentSourceHasBeenSet = false; TrialComponentStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; UserContext m_createdBy; bool m_createdByHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; UserContext m_lastModifiedBy; bool m_lastModifiedByHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws