/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LookoutMetrics { namespace Model { /** *

A detected JSON format descriptor.

See Also:

AWS * API Reference

*/ class DetectedJsonFormatDescriptor { public: AWS_LOOKOUTMETRICS_API DetectedJsonFormatDescriptor(); AWS_LOOKOUTMETRICS_API DetectedJsonFormatDescriptor(Aws::Utils::Json::JsonView jsonValue); AWS_LOOKOUTMETRICS_API DetectedJsonFormatDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 DetectedJsonFormatDescriptor& WithFileCompression(const DetectedField& value) { SetFileCompression(value); return *this;} /** *

The format's file compression.

*/ inline DetectedJsonFormatDescriptor& WithFileCompression(DetectedField&& value) { SetFileCompression(std::move(value)); return *this;} /** *

The format's character set.

*/ inline const DetectedField& GetCharset() const{ return m_charset; } /** *

The format's character set.

*/ inline bool CharsetHasBeenSet() const { return m_charsetHasBeenSet; } /** *

The format's character set.

*/ inline void SetCharset(const DetectedField& value) { m_charsetHasBeenSet = true; m_charset = value; } /** *

The format's character set.

*/ inline void SetCharset(DetectedField&& value) { m_charsetHasBeenSet = true; m_charset = std::move(value); } /** *

The format's character set.

*/ inline DetectedJsonFormatDescriptor& WithCharset(const DetectedField& value) { SetCharset(value); return *this;} /** *

The format's character set.

*/ inline DetectedJsonFormatDescriptor& WithCharset(DetectedField&& value) { SetCharset(std::move(value)); return *this;} private: DetectedField m_fileCompression; bool m_fileCompressionHasBeenSet = false; DetectedField m_charset; bool m_charsetHasBeenSet = false; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws