/* * 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 lookoutmetrics-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.LookoutMetrics.Model { /// /// Contains information about how a source CSV data file should be analyzed. /// public partial class CsvFormatDescriptor { private string _charset; private bool? _containsHeader; private string _delimiter; private CSVFileCompression _fileCompression; private List _headerList = new List(); private string _quoteSymbol; /// /// Gets and sets the property Charset. /// /// The character set in which the source CSV file is written. /// /// [AWSProperty(Max=63)] public string Charset { get { return this._charset; } set { this._charset = value; } } // Check to see if Charset property is set internal bool IsSetCharset() { return this._charset != null; } /// /// Gets and sets the property ContainsHeader. /// /// Whether or not the source CSV file contains a header. /// /// public bool ContainsHeader { get { return this._containsHeader.GetValueOrDefault(); } set { this._containsHeader = value; } } // Check to see if ContainsHeader property is set internal bool IsSetContainsHeader() { return this._containsHeader.HasValue; } /// /// Gets and sets the property Delimiter. /// /// The character used to delimit the source CSV file. /// /// [AWSProperty(Max=1)] public string Delimiter { get { return this._delimiter; } set { this._delimiter = value; } } // Check to see if Delimiter property is set internal bool IsSetDelimiter() { return this._delimiter != null; } /// /// Gets and sets the property FileCompression. /// /// The level of compression of the source CSV file. /// /// public CSVFileCompression FileCompression { get { return this._fileCompression; } set { this._fileCompression = value; } } // Check to see if FileCompression property is set internal bool IsSetFileCompression() { return this._fileCompression != null; } /// /// Gets and sets the property HeaderList. /// /// A list of the source CSV file's headers, if any. /// /// public List HeaderList { get { return this._headerList; } set { this._headerList = value; } } // Check to see if HeaderList property is set internal bool IsSetHeaderList() { return this._headerList != null && this._headerList.Count > 0; } /// /// Gets and sets the property QuoteSymbol. /// /// The character used as a quote character. /// /// [AWSProperty(Max=1)] public string QuoteSymbol { get { return this._quoteSymbol; } set { this._quoteSymbol = value; } } // Check to see if QuoteSymbol property is set internal bool IsSetQuoteSymbol() { return this._quoteSymbol != null; } } }