/* * 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 the data being transformed during an action. /// public partial class ViewFrame { private AnalyticsMode _analytics; private int? _columnRange; private List _hiddenColumns = new List(); private int? _rowRange; private int? _startColumnIndex; private int? _startRowIndex; /// /// Gets and sets the property Analytics. /// /// Controls if analytics computation is enabled or disabled. Enabled by default. /// /// public AnalyticsMode Analytics { get { return this._analytics; } set { this._analytics = value; } } // Check to see if Analytics property is set internal bool IsSetAnalytics() { return this._analytics != null; } /// /// Gets and sets the property ColumnRange. /// /// The number of columns to include in the view frame, beginning with the StartColumnIndex /// value and ignoring any columns in the HiddenColumns list. /// /// [AWSProperty(Min=0, Max=20)] public int ColumnRange { get { return this._columnRange.GetValueOrDefault(); } set { this._columnRange = value; } } // Check to see if ColumnRange property is set internal bool IsSetColumnRange() { return this._columnRange.HasValue; } /// /// Gets and sets the property HiddenColumns. /// /// A list of columns to hide in the view frame. /// /// public List HiddenColumns { get { return this._hiddenColumns; } set { this._hiddenColumns = value; } } // Check to see if HiddenColumns property is set internal bool IsSetHiddenColumns() { return this._hiddenColumns != null && this._hiddenColumns.Count > 0; } /// /// Gets and sets the property RowRange. /// /// The number of rows to include in the view frame, beginning with the StartRowIndex /// value. /// /// public int RowRange { get { return this._rowRange.GetValueOrDefault(); } set { this._rowRange = value; } } // Check to see if RowRange property is set internal bool IsSetRowRange() { return this._rowRange.HasValue; } /// /// Gets and sets the property StartColumnIndex. /// /// The starting index for the range of columns to return in the view frame. /// /// [AWSProperty(Required=true, Min=0)] public int StartColumnIndex { get { return this._startColumnIndex.GetValueOrDefault(); } set { this._startColumnIndex = value; } } // Check to see if StartColumnIndex property is set internal bool IsSetStartColumnIndex() { return this._startColumnIndex.HasValue; } /// /// Gets and sets the property StartRowIndex. /// /// The starting index for the range of rows to return in the view frame. /// /// [AWSProperty(Min=0)] public int StartRowIndex { get { return this._startRowIndex.GetValueOrDefault(); } set { this._startRowIndex = value; } } // Check to see if StartRowIndex property is set internal bool IsSetStartRowIndex() { return this._startRowIndex.HasValue; } } }