/*
* 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
{
///
/// Contains summary information about the flow definition.
///
public partial class FlowDefinitionSummary
{
private DateTime? _creationTime;
private string _failureReason;
private string _flowDefinitionArn;
private string _flowDefinitionName;
private FlowDefinitionStatus _flowDefinitionStatus;
///
/// Gets and sets the property CreationTime.
///
/// The timestamp when SageMaker created the flow definition.
///
///
[AWSProperty(Required=true)]
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property FailureReason.
///
/// The reason why the flow definition creation failed. A failure reason is returned only
/// when the flow definition status is Failed
.
///
///
[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 FlowDefinitionArn.
///
/// The Amazon Resource Name (ARN) of the flow definition.
///
///
[AWSProperty(Required=true, Max=1024)]
public string FlowDefinitionArn
{
get { return this._flowDefinitionArn; }
set { this._flowDefinitionArn = value; }
}
// Check to see if FlowDefinitionArn property is set
internal bool IsSetFlowDefinitionArn()
{
return this._flowDefinitionArn != null;
}
///
/// Gets and sets the property FlowDefinitionName.
///
/// The name of the flow definition.
///
///
[AWSProperty(Required=true, Min=1, Max=63)]
public string FlowDefinitionName
{
get { return this._flowDefinitionName; }
set { this._flowDefinitionName = value; }
}
// Check to see if FlowDefinitionName property is set
internal bool IsSetFlowDefinitionName()
{
return this._flowDefinitionName != null;
}
///
/// Gets and sets the property FlowDefinitionStatus.
///
/// The status of the flow definition. Valid values:
///
///
[AWSProperty(Required=true)]
public FlowDefinitionStatus FlowDefinitionStatus
{
get { return this._flowDefinitionStatus; }
set { this._flowDefinitionStatus = value; }
}
// Check to see if FlowDefinitionStatus property is set
internal bool IsSetFlowDefinitionStatus()
{
return this._flowDefinitionStatus != null;
}
}
}