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

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

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

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