/*
* 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
{
///
/// Container for the parameters to the QueryLineage operation.
/// Use this action to inspect your lineage and discover relationships between entities.
/// For more information, see
/// Querying Lineage Entities in the Amazon SageMaker Developer Guide.
///
public partial class QueryLineageRequest : AmazonSageMakerRequest
{
private Direction _direction;
private QueryFilters _filters;
private bool? _includeEdges;
private int? _maxDepth;
private int? _maxResults;
private string _nextToken;
private List _startArns = new List();
///
/// Gets and sets the property Direction.
///
/// Associations between lineage entities have a direction. This parameter determines
/// the direction from the StartArn(s) that the query traverses.
///
///
public Direction Direction
{
get { return this._direction; }
set { this._direction = value; }
}
// Check to see if Direction property is set
internal bool IsSetDirection()
{
return this._direction != null;
}
///
/// Gets and sets the property Filters.
///
/// A set of filtering parameters that allow you to specify which entities should be returned.
///
/// -
///
/// Properties - Key-value pairs to match on the lineage entities' properties.
///
///
-
///
/// LineageTypes - A set of lineage entity types to match on. For example:
TrialComponent
,
/// Artifact
, or Context
.
///
/// -
///
/// CreatedBefore - Filter entities created before this date.
///
///
-
///
/// ModifiedBefore - Filter entities modified before this date.
///
///
-
///
/// ModifiedAfter - Filter entities modified after this date.
///
///
///
public QueryFilters Filters
{
get { return this._filters; }
set { this._filters = value; }
}
// Check to see if Filters property is set
internal bool IsSetFilters()
{
return this._filters != null;
}
///
/// Gets and sets the property IncludeEdges.
///
/// Setting this value to True
retrieves not only the entities of interest
/// but also the Associations
/// and lineage entities on the path. Set to False
to only return lineage
/// entities that match your query.
///
///
public bool IncludeEdges
{
get { return this._includeEdges.GetValueOrDefault(); }
set { this._includeEdges = value; }
}
// Check to see if IncludeEdges property is set
internal bool IsSetIncludeEdges()
{
return this._includeEdges.HasValue;
}
///
/// Gets and sets the property MaxDepth.
///
/// The maximum depth in lineage relationships from the StartArns
that are
/// traversed. Depth is a measure of the number of Associations
from the
/// StartArn
entity to the matched results.
///
///
[AWSProperty(Max=10)]
public int MaxDepth
{
get { return this._maxDepth.GetValueOrDefault(); }
set { this._maxDepth = value; }
}
// Check to see if MaxDepth property is set
internal bool IsSetMaxDepth()
{
return this._maxDepth.HasValue;
}
///
/// Gets and sets the property MaxResults.
///
/// Limits the number of vertices in the results. Use the NextToken
in a
/// response to to retrieve the next page of results.
///
///
[AWSProperty(Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
///
/// Gets and sets the property NextToken.
///
/// Limits the number of vertices in the request. Use the NextToken
in a
/// response to to retrieve the next page of results.
///
///
[AWSProperty(Max=8192)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
///
/// Gets and sets the property StartArns.
///
/// A list of resource Amazon Resource Name (ARN) that represent the starting point for
/// your lineage query.
///
///
[AWSProperty(Min=0, Max=1)]
public List StartArns
{
get { return this._startArns; }
set { this._startArns = value; }
}
// Check to see if StartArns property is set
internal bool IsSetStartArns()
{
return this._startArns != null && this._startArns.Count > 0;
}
}
}