/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the serialization format of the object.See Also:
* AWS
* API Reference
Describes the serialization of a CSV-encoded object.
*/ inline const CSVInput& GetCSV() const{ return m_cSV; } /** *Describes the serialization of a CSV-encoded object.
*/ inline bool CSVHasBeenSet() const { return m_cSVHasBeenSet; } /** *Describes the serialization of a CSV-encoded object.
*/ inline void SetCSV(const CSVInput& value) { m_cSVHasBeenSet = true; m_cSV = value; } /** *Describes the serialization of a CSV-encoded object.
*/ inline void SetCSV(CSVInput&& value) { m_cSVHasBeenSet = true; m_cSV = std::move(value); } /** *Describes the serialization of a CSV-encoded object.
*/ inline InputSerialization& WithCSV(const CSVInput& value) { SetCSV(value); return *this;} /** *Describes the serialization of a CSV-encoded object.
*/ inline InputSerialization& WithCSV(CSVInput&& value) { SetCSV(std::move(value)); return *this;} /** *Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. * Default Value: NONE.
*/ inline const CompressionType& GetCompressionType() const{ return m_compressionType; } /** *Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. * Default Value: NONE.
*/ inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; } /** *Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. * Default Value: NONE.
*/ inline void SetCompressionType(const CompressionType& value) { m_compressionTypeHasBeenSet = true; m_compressionType = value; } /** *Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. * Default Value: NONE.
*/ inline void SetCompressionType(CompressionType&& value) { m_compressionTypeHasBeenSet = true; m_compressionType = std::move(value); } /** *Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. * Default Value: NONE.
*/ inline InputSerialization& WithCompressionType(const CompressionType& value) { SetCompressionType(value); return *this;} /** *Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. * Default Value: NONE.
*/ inline InputSerialization& WithCompressionType(CompressionType&& value) { SetCompressionType(std::move(value)); return *this;} /** *Specifies JSON as object's input serialization format.
*/ inline const JSONInput& GetJSON() const{ return m_jSON; } /** *Specifies JSON as object's input serialization format.
*/ inline bool JSONHasBeenSet() const { return m_jSONHasBeenSet; } /** *Specifies JSON as object's input serialization format.
*/ inline void SetJSON(const JSONInput& value) { m_jSONHasBeenSet = true; m_jSON = value; } /** *Specifies JSON as object's input serialization format.
*/ inline void SetJSON(JSONInput&& value) { m_jSONHasBeenSet = true; m_jSON = std::move(value); } /** *Specifies JSON as object's input serialization format.
*/ inline InputSerialization& WithJSON(const JSONInput& value) { SetJSON(value); return *this;} /** *Specifies JSON as object's input serialization format.
*/ inline InputSerialization& WithJSON(JSONInput&& value) { SetJSON(std::move(value)); return *this;} /** *Specifies Parquet as object's input serialization format.
*/ inline const ParquetInput& GetParquet() const{ return m_parquet; } /** *Specifies Parquet as object's input serialization format.
*/ inline bool ParquetHasBeenSet() const { return m_parquetHasBeenSet; } /** *Specifies Parquet as object's input serialization format.
*/ inline void SetParquet(const ParquetInput& value) { m_parquetHasBeenSet = true; m_parquet = value; } /** *Specifies Parquet as object's input serialization format.
*/ inline void SetParquet(ParquetInput&& value) { m_parquetHasBeenSet = true; m_parquet = std::move(value); } /** *Specifies Parquet as object's input serialization format.
*/ inline InputSerialization& WithParquet(const ParquetInput& value) { SetParquet(value); return *this;} /** *Specifies Parquet as object's input serialization format.
*/ inline InputSerialization& WithParquet(ParquetInput&& value) { SetParquet(std::move(value)); return *this;} private: CSVInput m_cSV; bool m_cSVHasBeenSet; CompressionType m_compressionType; bool m_compressionTypeHasBeenSet; JSONInput m_jSON; bool m_jSONHasBeenSet; ParquetInput m_parquet; bool m_parquetHasBeenSet; }; } // namespace Model } // namespace S3 } // namespace Aws