/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes how results of the Select job are serialized.See
* Also:
AWS
* API Reference
Describes the serialization of CSV-encoded Select results.
*/ inline const CSVOutput& GetCSV() const{ return m_cSV; } /** *Describes the serialization of CSV-encoded Select results.
*/ inline bool CSVHasBeenSet() const { return m_cSVHasBeenSet; } /** *Describes the serialization of CSV-encoded Select results.
*/ inline void SetCSV(const CSVOutput& value) { m_cSVHasBeenSet = true; m_cSV = value; } /** *Describes the serialization of CSV-encoded Select results.
*/ inline void SetCSV(CSVOutput&& value) { m_cSVHasBeenSet = true; m_cSV = std::move(value); } /** *Describes the serialization of CSV-encoded Select results.
*/ inline OutputSerialization& WithCSV(const CSVOutput& value) { SetCSV(value); return *this;} /** *Describes the serialization of CSV-encoded Select results.
*/ inline OutputSerialization& WithCSV(CSVOutput&& value) { SetCSV(std::move(value)); return *this;} /** *Specifies JSON as request's output serialization format.
*/ inline const JSONOutput& GetJSON() const{ return m_jSON; } /** *Specifies JSON as request's output serialization format.
*/ inline bool JSONHasBeenSet() const { return m_jSONHasBeenSet; } /** *Specifies JSON as request's output serialization format.
*/ inline void SetJSON(const JSONOutput& value) { m_jSONHasBeenSet = true; m_jSON = value; } /** *Specifies JSON as request's output serialization format.
*/ inline void SetJSON(JSONOutput&& value) { m_jSONHasBeenSet = true; m_jSON = std::move(value); } /** *Specifies JSON as request's output serialization format.
*/ inline OutputSerialization& WithJSON(const JSONOutput& value) { SetJSON(value); return *this;} /** *Specifies JSON as request's output serialization format.
*/ inline OutputSerialization& WithJSON(JSONOutput&& value) { SetJSON(std::move(value)); return *this;} private: CSVOutput m_cSV; bool m_cSVHasBeenSet; JSONOutput m_jSON; bool m_jSONHasBeenSet; }; } // namespace Model } // namespace S3 } // namespace Aws