/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the sagemaker-2017-07-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SageMaker.Model { /// /// An execution of a step in a pipeline. /// public partial class PipelineExecutionStep { private int? _attemptCount; private CacheHitResult _cacheHitResult; private DateTime? _endTime; private string _failureReason; private PipelineExecutionStepMetadata _metadata; private SelectiveExecutionResult _selectiveExecutionResult; private DateTime? _startTime; private string _stepDescription; private string _stepDisplayName; private string _stepName; private StepStatus _stepStatus; /// /// Gets and sets the property AttemptCount. /// /// The current attempt of the execution step. For more information, see Retry /// Policy for SageMaker Pipelines steps. /// /// public int AttemptCount { get { return this._attemptCount.GetValueOrDefault(); } set { this._attemptCount = value; } } // Check to see if AttemptCount property is set internal bool IsSetAttemptCount() { return this._attemptCount.HasValue; } /// /// Gets and sets the property CacheHitResult. /// /// If this pipeline execution step was cached, details on the cache hit. /// /// public CacheHitResult CacheHitResult { get { return this._cacheHitResult; } set { this._cacheHitResult = value; } } // Check to see if CacheHitResult property is set internal bool IsSetCacheHitResult() { return this._cacheHitResult != null; } /// /// Gets and sets the property EndTime. /// /// The time that the step stopped executing. /// /// public DateTime EndTime { get { return this._endTime.GetValueOrDefault(); } set { this._endTime = value; } } // Check to see if EndTime property is set internal bool IsSetEndTime() { return this._endTime.HasValue; } /// /// Gets and sets the property FailureReason. /// /// The reason why the step failed execution. This is only returned if the step failed /// its execution. /// /// [AWSProperty(Max=1024)] public string FailureReason { get { return this._failureReason; } set { this._failureReason = value; } } // Check to see if FailureReason property is set internal bool IsSetFailureReason() { return this._failureReason != null; } /// /// Gets and sets the property Metadata. /// /// Metadata to run the pipeline step. /// /// public PipelineExecutionStepMetadata Metadata { get { return this._metadata; } set { this._metadata = value; } } // Check to see if Metadata property is set internal bool IsSetMetadata() { return this._metadata != null; } /// /// Gets and sets the property SelectiveExecutionResult. /// /// The ARN from an execution of the current pipeline from which results are reused for /// this step. /// /// public SelectiveExecutionResult SelectiveExecutionResult { get { return this._selectiveExecutionResult; } set { this._selectiveExecutionResult = value; } } // Check to see if SelectiveExecutionResult property is set internal bool IsSetSelectiveExecutionResult() { return this._selectiveExecutionResult != null; } /// /// Gets and sets the property StartTime. /// /// The time that the step started executing. /// /// public DateTime StartTime { get { return this._startTime.GetValueOrDefault(); } set { this._startTime = value; } } // Check to see if StartTime property is set internal bool IsSetStartTime() { return this._startTime.HasValue; } /// /// Gets and sets the property StepDescription. /// /// The description of the step. /// /// [AWSProperty(Min=0, Max=3072)] public string StepDescription { get { return this._stepDescription; } set { this._stepDescription = value; } } // Check to see if StepDescription property is set internal bool IsSetStepDescription() { return this._stepDescription != null; } /// /// Gets and sets the property StepDisplayName. /// /// The display name of the step. /// /// [AWSProperty(Min=0, Max=256)] public string StepDisplayName { get { return this._stepDisplayName; } set { this._stepDisplayName = value; } } // Check to see if StepDisplayName property is set internal bool IsSetStepDisplayName() { return this._stepDisplayName != null; } /// /// Gets and sets the property StepName. /// /// The name of the step that is executed. /// /// [AWSProperty(Max=64)] public string StepName { get { return this._stepName; } set { this._stepName = value; } } // Check to see if StepName property is set internal bool IsSetStepName() { return this._stepName != null; } /// /// Gets and sets the property StepStatus. /// /// The status of the step execution. /// /// public StepStatus StepStatus { get { return this._stepStatus; } set { this._stepStatus = value; } } // Check to see if StepStatus property is set internal bool IsSetStepStatus() { return this._stepStatus != null; } } }