/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Properties of an inferred CSV format.See Also:
AWS
* API Reference
The format's file compression.
*/ inline const DetectedField& GetFileCompression() const{ return m_fileCompression; } /** *The format's file compression.
*/ inline bool FileCompressionHasBeenSet() const { return m_fileCompressionHasBeenSet; } /** *The format's file compression.
*/ inline void SetFileCompression(const DetectedField& value) { m_fileCompressionHasBeenSet = true; m_fileCompression = value; } /** *The format's file compression.
*/ inline void SetFileCompression(DetectedField&& value) { m_fileCompressionHasBeenSet = true; m_fileCompression = std::move(value); } /** *The format's file compression.
*/ inline DetectedCsvFormatDescriptor& WithFileCompression(const DetectedField& value) { SetFileCompression(value); return *this;} /** *The format's file compression.
*/ inline DetectedCsvFormatDescriptor& WithFileCompression(DetectedField&& value) { SetFileCompression(std::move(value)); return *this;} /** *The format's charset.
*/ inline const DetectedField& GetCharset() const{ return m_charset; } /** *The format's charset.
*/ inline bool CharsetHasBeenSet() const { return m_charsetHasBeenSet; } /** *The format's charset.
*/ inline void SetCharset(const DetectedField& value) { m_charsetHasBeenSet = true; m_charset = value; } /** *The format's charset.
*/ inline void SetCharset(DetectedField&& value) { m_charsetHasBeenSet = true; m_charset = std::move(value); } /** *The format's charset.
*/ inline DetectedCsvFormatDescriptor& WithCharset(const DetectedField& value) { SetCharset(value); return *this;} /** *The format's charset.
*/ inline DetectedCsvFormatDescriptor& WithCharset(DetectedField&& value) { SetCharset(std::move(value)); return *this;} /** *Whether the format includes a header.
*/ inline const DetectedField& GetContainsHeader() const{ return m_containsHeader; } /** *Whether the format includes a header.
*/ inline bool ContainsHeaderHasBeenSet() const { return m_containsHeaderHasBeenSet; } /** *Whether the format includes a header.
*/ inline void SetContainsHeader(const DetectedField& value) { m_containsHeaderHasBeenSet = true; m_containsHeader = value; } /** *Whether the format includes a header.
*/ inline void SetContainsHeader(DetectedField&& value) { m_containsHeaderHasBeenSet = true; m_containsHeader = std::move(value); } /** *Whether the format includes a header.
*/ inline DetectedCsvFormatDescriptor& WithContainsHeader(const DetectedField& value) { SetContainsHeader(value); return *this;} /** *Whether the format includes a header.
*/ inline DetectedCsvFormatDescriptor& WithContainsHeader(DetectedField&& value) { SetContainsHeader(std::move(value)); return *this;} /** *The format's delimiter.
*/ inline const DetectedField& GetDelimiter() const{ return m_delimiter; } /** *The format's delimiter.
*/ inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; } /** *The format's delimiter.
*/ inline void SetDelimiter(const DetectedField& value) { m_delimiterHasBeenSet = true; m_delimiter = value; } /** *The format's delimiter.
*/ inline void SetDelimiter(DetectedField&& value) { m_delimiterHasBeenSet = true; m_delimiter = std::move(value); } /** *The format's delimiter.
*/ inline DetectedCsvFormatDescriptor& WithDelimiter(const DetectedField& value) { SetDelimiter(value); return *this;} /** *The format's delimiter.
*/ inline DetectedCsvFormatDescriptor& WithDelimiter(DetectedField&& value) { SetDelimiter(std::move(value)); return *this;} /** *The format's header list.
*/ inline const DetectedField& GetHeaderList() const{ return m_headerList; } /** *The format's header list.
*/ inline bool HeaderListHasBeenSet() const { return m_headerListHasBeenSet; } /** *The format's header list.
*/ inline void SetHeaderList(const DetectedField& value) { m_headerListHasBeenSet = true; m_headerList = value; } /** *The format's header list.
*/ inline void SetHeaderList(DetectedField&& value) { m_headerListHasBeenSet = true; m_headerList = std::move(value); } /** *The format's header list.
*/ inline DetectedCsvFormatDescriptor& WithHeaderList(const DetectedField& value) { SetHeaderList(value); return *this;} /** *The format's header list.
*/ inline DetectedCsvFormatDescriptor& WithHeaderList(DetectedField&& value) { SetHeaderList(std::move(value)); return *this;} /** *The format's quote symbol.
*/ inline const DetectedField& GetQuoteSymbol() const{ return m_quoteSymbol; } /** *The format's quote symbol.
*/ inline bool QuoteSymbolHasBeenSet() const { return m_quoteSymbolHasBeenSet; } /** *The format's quote symbol.
*/ inline void SetQuoteSymbol(const DetectedField& value) { m_quoteSymbolHasBeenSet = true; m_quoteSymbol = value; } /** *The format's quote symbol.
*/ inline void SetQuoteSymbol(DetectedField&& value) { m_quoteSymbolHasBeenSet = true; m_quoteSymbol = std::move(value); } /** *The format's quote symbol.
*/ inline DetectedCsvFormatDescriptor& WithQuoteSymbol(const DetectedField& value) { SetQuoteSymbol(value); return *this;} /** *The format's quote symbol.
*/ inline DetectedCsvFormatDescriptor& WithQuoteSymbol(DetectedField&& value) { SetQuoteSymbol(std::move(value)); return *this;} private: DetectedField m_fileCompression; bool m_fileCompressionHasBeenSet = false; DetectedField m_charset; bool m_charsetHasBeenSet = false; DetectedField m_containsHeader; bool m_containsHeaderHasBeenSet = false; DetectedField m_delimiter; bool m_delimiterHasBeenSet = false; DetectedField m_headerList; bool m_headerListHasBeenSet = false; DetectedField m_quoteSymbol; bool m_quoteSymbolHasBeenSet = false; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws