/* * 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 glue-2017-03-31.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.Glue.Model { /// /// This is the response object from the GetDataQualityRuleset operation. /// public partial class GetDataQualityRulesetResponse : AmazonWebServiceResponse { private DateTime? _createdOn; private string _description; private DateTime? _lastModifiedOn; private string _name; private string _recommendationRunId; private string _ruleset; private DataQualityTargetTable _targetTable; /// /// Gets and sets the property CreatedOn. /// /// A timestamp. The time and date that this data quality ruleset was created. /// /// public DateTime CreatedOn { get { return this._createdOn.GetValueOrDefault(); } set { this._createdOn = value; } } // Check to see if CreatedOn property is set internal bool IsSetCreatedOn() { return this._createdOn.HasValue; } /// /// Gets and sets the property Description. /// /// A description of the ruleset. /// /// [AWSProperty(Min=0, Max=2048)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property LastModifiedOn. /// /// A timestamp. The last point in time when this data quality ruleset was modified. /// /// public DateTime LastModifiedOn { get { return this._lastModifiedOn.GetValueOrDefault(); } set { this._lastModifiedOn = value; } } // Check to see if LastModifiedOn property is set internal bool IsSetLastModifiedOn() { return this._lastModifiedOn.HasValue; } /// /// Gets and sets the property Name. /// /// The name of the ruleset. /// /// [AWSProperty(Min=1, Max=255)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property RecommendationRunId. /// /// When a ruleset was created from a recommendation run, this run ID is generated to /// link the two together. /// /// [AWSProperty(Min=1, Max=255)] public string RecommendationRunId { get { return this._recommendationRunId; } set { this._recommendationRunId = value; } } // Check to see if RecommendationRunId property is set internal bool IsSetRecommendationRunId() { return this._recommendationRunId != null; } /// /// Gets and sets the property Ruleset. /// /// A Data Quality Definition Language (DQDL) ruleset. For more information, see the Glue /// developer guide. /// /// [AWSProperty(Min=1, Max=65536)] public string Ruleset { get { return this._ruleset; } set { this._ruleset = value; } } // Check to see if Ruleset property is set internal bool IsSetRuleset() { return this._ruleset != null; } /// /// Gets and sets the property TargetTable. /// /// The name and database name of the target table. /// /// public DataQualityTargetTable TargetTable { get { return this._targetTable; } set { this._targetTable = value; } } // Check to see if TargetTable property is set internal bool IsSetTargetTable() { return this._targetTable != null; } } }