/** * 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 IoTAnalytics { namespace Model { /** *

Contains the configuration information of the Parquet format.

See * Also:

AWS * API Reference

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

Information needed to define a schema.

*/ inline const SchemaDefinition& GetSchemaDefinition() const{ return m_schemaDefinition; } /** *

Information needed to define a schema.

*/ inline bool SchemaDefinitionHasBeenSet() const { return m_schemaDefinitionHasBeenSet; } /** *

Information needed to define a schema.

*/ inline void SetSchemaDefinition(const SchemaDefinition& value) { m_schemaDefinitionHasBeenSet = true; m_schemaDefinition = value; } /** *

Information needed to define a schema.

*/ inline void SetSchemaDefinition(SchemaDefinition&& value) { m_schemaDefinitionHasBeenSet = true; m_schemaDefinition = std::move(value); } /** *

Information needed to define a schema.

*/ inline ParquetConfiguration& WithSchemaDefinition(const SchemaDefinition& value) { SetSchemaDefinition(value); return *this;} /** *

Information needed to define a schema.

*/ inline ParquetConfiguration& WithSchemaDefinition(SchemaDefinition&& value) { SetSchemaDefinition(std::move(value)); return *this;} private: SchemaDefinition m_schemaDefinition; bool m_schemaDefinitionHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws