/* * 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 { /// /// Lists a summary of the properties of an association. An association is an entity that /// links other lineage or experiment entities. An example would be an association between /// a training job and a model. /// public partial class AssociationSummary { private AssociationEdgeType _associationType; private UserContext _createdBy; private DateTime? _creationTime; private string _destinationArn; private string _destinationName; private string _destinationType; private string _sourceArn; private string _sourceName; private string _sourceType; /// /// Gets and sets the property AssociationType. /// /// The type of the association. /// /// public AssociationEdgeType AssociationType { get { return this._associationType; } set { this._associationType = value; } } // Check to see if AssociationType property is set internal bool IsSetAssociationType() { return this._associationType != null; } /// /// Gets and sets the property CreatedBy. /// public UserContext CreatedBy { get { return this._createdBy; } set { this._createdBy = value; } } // Check to see if CreatedBy property is set internal bool IsSetCreatedBy() { return this._createdBy != null; } /// /// Gets and sets the property CreationTime. /// /// When the association was created. /// /// 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 DestinationArn. /// /// The Amazon Resource Name (ARN) of the destination. /// /// [AWSProperty(Max=256)] public string DestinationArn { get { return this._destinationArn; } set { this._destinationArn = value; } } // Check to see if DestinationArn property is set internal bool IsSetDestinationArn() { return this._destinationArn != null; } /// /// Gets and sets the property DestinationName. /// /// The name of the destination. /// /// [AWSProperty(Min=1, Max=120)] public string DestinationName { get { return this._destinationName; } set { this._destinationName = value; } } // Check to see if DestinationName property is set internal bool IsSetDestinationName() { return this._destinationName != null; } /// /// Gets and sets the property DestinationType. /// /// The destination type. /// /// [AWSProperty(Max=256)] public string DestinationType { get { return this._destinationType; } set { this._destinationType = value; } } // Check to see if DestinationType property is set internal bool IsSetDestinationType() { return this._destinationType != null; } /// /// Gets and sets the property SourceArn. /// /// The ARN of the source. /// /// [AWSProperty(Max=256)] public string SourceArn { get { return this._sourceArn; } set { this._sourceArn = value; } } // Check to see if SourceArn property is set internal bool IsSetSourceArn() { return this._sourceArn != null; } /// /// Gets and sets the property SourceName. /// /// The name of the source. /// /// [AWSProperty(Min=1, Max=120)] public string SourceName { get { return this._sourceName; } set { this._sourceName = value; } } // Check to see if SourceName property is set internal bool IsSetSourceName() { return this._sourceName != null; } /// /// Gets and sets the property SourceType. /// /// The source type. /// /// [AWSProperty(Max=256)] public string SourceType { get { return this._sourceType; } set { this._sourceType = value; } } // Check to see if SourceType property is set internal bool IsSetSourceType() { return this._sourceType != null; } } }