/* * 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 { /// /// The details of a crawl in the workflow. /// public partial class Crawl { private DateTime? _completedOn; private string _errorMessage; private string _logGroup; private string _logStream; private DateTime? _startedOn; private CrawlState _state; /// /// Gets and sets the property CompletedOn. /// /// The date and time on which the crawl completed. /// /// public DateTime CompletedOn { get { return this._completedOn.GetValueOrDefault(); } set { this._completedOn = value; } } // Check to see if CompletedOn property is set internal bool IsSetCompletedOn() { return this._completedOn.HasValue; } /// /// Gets and sets the property ErrorMessage. /// /// The error message associated with the crawl. /// /// [AWSProperty(Min=0, Max=2048)] public string ErrorMessage { get { return this._errorMessage; } set { this._errorMessage = value; } } // Check to see if ErrorMessage property is set internal bool IsSetErrorMessage() { return this._errorMessage != null; } /// /// Gets and sets the property LogGroup. /// /// The log group associated with the crawl. /// /// [AWSProperty(Min=1, Max=512)] public string LogGroup { get { return this._logGroup; } set { this._logGroup = value; } } // Check to see if LogGroup property is set internal bool IsSetLogGroup() { return this._logGroup != null; } /// /// Gets and sets the property LogStream. /// /// The log stream associated with the crawl. /// /// [AWSProperty(Min=1, Max=512)] public string LogStream { get { return this._logStream; } set { this._logStream = value; } } // Check to see if LogStream property is set internal bool IsSetLogStream() { return this._logStream != null; } /// /// Gets and sets the property StartedOn. /// /// The date and time on which the crawl started. /// /// public DateTime StartedOn { get { return this._startedOn.GetValueOrDefault(); } set { this._startedOn = value; } } // Check to see if StartedOn property is set internal bool IsSetStartedOn() { return this._startedOn.HasValue; } /// /// Gets and sets the property State. /// /// The state of the crawler. /// /// public CrawlState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } } }