/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */
#pragma once
#include  Specifies the deserializer you want to use to convert the format of the input
   * data. This parameter is required if Enabled is set to
   * true.See Also:
   AWS
   * API Reference
Specifies which deserializer to use. You can choose either the Apache Hive * JSON SerDe or the OpenX JSON SerDe. If both are non-null, the server rejects the * request.
*/ inline const Deserializer& GetDeserializer() const{ return m_deserializer; } /** *Specifies which deserializer to use. You can choose either the Apache Hive * JSON SerDe or the OpenX JSON SerDe. If both are non-null, the server rejects the * request.
*/ inline bool DeserializerHasBeenSet() const { return m_deserializerHasBeenSet; } /** *Specifies which deserializer to use. You can choose either the Apache Hive * JSON SerDe or the OpenX JSON SerDe. If both are non-null, the server rejects the * request.
*/ inline void SetDeserializer(const Deserializer& value) { m_deserializerHasBeenSet = true; m_deserializer = value; } /** *Specifies which deserializer to use. You can choose either the Apache Hive * JSON SerDe or the OpenX JSON SerDe. If both are non-null, the server rejects the * request.
*/ inline void SetDeserializer(Deserializer&& value) { m_deserializerHasBeenSet = true; m_deserializer = std::move(value); } /** *Specifies which deserializer to use. You can choose either the Apache Hive * JSON SerDe or the OpenX JSON SerDe. If both are non-null, the server rejects the * request.
*/ inline InputFormatConfiguration& WithDeserializer(const Deserializer& value) { SetDeserializer(value); return *this;} /** *Specifies which deserializer to use. You can choose either the Apache Hive * JSON SerDe or the OpenX JSON SerDe. If both are non-null, the server rejects the * request.
*/ inline InputFormatConfiguration& WithDeserializer(Deserializer&& value) { SetDeserializer(std::move(value)); return *this;} private: Deserializer m_deserializer; bool m_deserializerHasBeenSet; }; } // namespace Model } // namespace Firehose } // namespace Aws