/*
* Copyright 2010-2014 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 firehose-2015-08-04.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.KinesisFirehose.Model
{
///
/// Specifies that you want Kinesis Data Firehose to convert data from the JSON format
/// to the Parquet or ORC format before writing it to Amazon S3. Kinesis Data Firehose
/// uses the serializer and deserializer that you specify, in addition to the column information
/// from the AWS Glue table, to deserialize your input data from JSON and then serialize
/// it to the Parquet or ORC format. For more information, see Kinesis
/// Data Firehose Record Format Conversion.
///
public partial class DataFormatConversionConfiguration
{
private bool? _enabled;
private InputFormatConfiguration _inputFormatConfiguration;
private OutputFormatConfiguration _outputFormatConfiguration;
private SchemaConfiguration _schemaConfiguration;
///
/// Gets and sets the property Enabled.
///
/// Defaults to true
. Set it to false
if you want to disable
/// format conversion while preserving the configuration details.
///
///
public bool Enabled
{
get { return this._enabled.GetValueOrDefault(); }
set { this._enabled = value; }
}
// Check to see if Enabled property is set
internal bool IsSetEnabled()
{
return this._enabled.HasValue;
}
///
/// Gets and sets the property InputFormatConfiguration.
///
/// Specifies the deserializer that you want Kinesis Data Firehose to use to convert the
/// format of your data from JSON.
///
///
public InputFormatConfiguration InputFormatConfiguration
{
get { return this._inputFormatConfiguration; }
set { this._inputFormatConfiguration = value; }
}
// Check to see if InputFormatConfiguration property is set
internal bool IsSetInputFormatConfiguration()
{
return this._inputFormatConfiguration != null;
}
///
/// Gets and sets the property OutputFormatConfiguration.
///
/// Specifies the serializer that you want Kinesis Data Firehose to use to convert the
/// format of your data to the Parquet or ORC format.
///
///
public OutputFormatConfiguration OutputFormatConfiguration
{
get { return this._outputFormatConfiguration; }
set { this._outputFormatConfiguration = value; }
}
// Check to see if OutputFormatConfiguration property is set
internal bool IsSetOutputFormatConfiguration()
{
return this._outputFormatConfiguration != null;
}
///
/// Gets and sets the property SchemaConfiguration.
///
/// Specifies the AWS Glue Data Catalog table that contains the column information.
///
///
public SchemaConfiguration SchemaConfiguration
{
get { return this._schemaConfiguration; }
set { this._schemaConfiguration = value; }
}
// Check to see if SchemaConfiguration property is set
internal bool IsSetSchemaConfiguration()
{
return this._schemaConfiguration != null;
}
}
}