/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about how a source JSON data file should be
* analyzed.See Also:
AWS
* API Reference
The level of compression of the source CSV file.
*/ inline const JsonFileCompression& GetFileCompression() const{ return m_fileCompression; } /** *The level of compression of the source CSV file.
*/ inline bool FileCompressionHasBeenSet() const { return m_fileCompressionHasBeenSet; } /** *The level of compression of the source CSV file.
*/ inline void SetFileCompression(const JsonFileCompression& value) { m_fileCompressionHasBeenSet = true; m_fileCompression = value; } /** *The level of compression of the source CSV file.
*/ inline void SetFileCompression(JsonFileCompression&& value) { m_fileCompressionHasBeenSet = true; m_fileCompression = std::move(value); } /** *The level of compression of the source CSV file.
*/ inline JsonFormatDescriptor& WithFileCompression(const JsonFileCompression& value) { SetFileCompression(value); return *this;} /** *The level of compression of the source CSV file.
*/ inline JsonFormatDescriptor& WithFileCompression(JsonFileCompression&& value) { SetFileCompression(std::move(value)); return *this;} /** *The character set in which the source JSON file is written.
*/ inline const Aws::String& GetCharset() const{ return m_charset; } /** *The character set in which the source JSON file is written.
*/ inline bool CharsetHasBeenSet() const { return m_charsetHasBeenSet; } /** *The character set in which the source JSON file is written.
*/ inline void SetCharset(const Aws::String& value) { m_charsetHasBeenSet = true; m_charset = value; } /** *The character set in which the source JSON file is written.
*/ inline void SetCharset(Aws::String&& value) { m_charsetHasBeenSet = true; m_charset = std::move(value); } /** *The character set in which the source JSON file is written.
*/ inline void SetCharset(const char* value) { m_charsetHasBeenSet = true; m_charset.assign(value); } /** *The character set in which the source JSON file is written.
*/ inline JsonFormatDescriptor& WithCharset(const Aws::String& value) { SetCharset(value); return *this;} /** *The character set in which the source JSON file is written.
*/ inline JsonFormatDescriptor& WithCharset(Aws::String&& value) { SetCharset(std::move(value)); return *this;} /** *The character set in which the source JSON file is written.
*/ inline JsonFormatDescriptor& WithCharset(const char* value) { SetCharset(value); return *this;} private: JsonFileCompression m_fileCompression; bool m_fileCompressionHasBeenSet = false; Aws::String m_charset; bool m_charsetHasBeenSet = false; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws