/* * 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 databrew-2017-07-25.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.GlueDataBrew.Model { /// /// Represents a limit imposed on number of Amazon S3 files that should be selected for /// a dataset from a connected Amazon S3 path. /// public partial class FilesLimit { private int? _maxFiles; private Order _order; private OrderedBy _orderedBy; /// /// Gets and sets the property MaxFiles. /// /// The number of Amazon S3 files to select. /// /// [AWSProperty(Required=true, Min=1)] public int MaxFiles { get { return this._maxFiles.GetValueOrDefault(); } set { this._maxFiles = value; } } // Check to see if MaxFiles property is set internal bool IsSetMaxFiles() { return this._maxFiles.HasValue; } /// /// Gets and sets the property Order. /// /// A criteria to use for Amazon S3 files sorting before their selection. By default uses /// DESCENDING order, i.e. most recent files are selected first. Another possible value /// is ASCENDING. /// /// public Order Order { get { return this._order; } set { this._order = value; } } // Check to see if Order property is set internal bool IsSetOrder() { return this._order != null; } /// /// Gets and sets the property OrderedBy. /// /// A criteria to use for Amazon S3 files sorting before their selection. By default uses /// LAST_MODIFIED_DATE as a sorting criteria. Currently it's the only allowed value. /// /// public OrderedBy OrderedBy { get { return this._orderedBy; } set { this._orderedBy = value; } } // Check to see if OrderedBy property is set internal bool IsSetOrderedBy() { return this._orderedBy != null; } } }