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

Describes how the select output is serialized.

See Also:

AWS * API Reference

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

Describes the serialization of CSV-encoded query results.

*/ inline const CSVOutput& GetCsv() const{ return m_csv; } /** *

Describes the serialization of CSV-encoded query results.

*/ inline bool CsvHasBeenSet() const { return m_csvHasBeenSet; } /** *

Describes the serialization of CSV-encoded query results.

*/ inline void SetCsv(const CSVOutput& value) { m_csvHasBeenSet = true; m_csv = value; } /** *

Describes the serialization of CSV-encoded query results.

*/ inline void SetCsv(CSVOutput&& value) { m_csvHasBeenSet = true; m_csv = std::move(value); } /** *

Describes the serialization of CSV-encoded query results.

*/ inline OutputSerialization& WithCsv(const CSVOutput& value) { SetCsv(value); return *this;} /** *

Describes the serialization of CSV-encoded query results.

*/ inline OutputSerialization& WithCsv(CSVOutput&& value) { SetCsv(std::move(value)); return *this;} private: CSVOutput m_csv; bool m_csvHasBeenSet = false; }; } // namespace Model } // namespace Glacier } // namespace Aws