/** * 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 archive is serialized.

See Also:

AWS * API Reference

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

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;} private: CSVInput m_csv; bool m_csvHasBeenSet = false; }; } // namespace Model } // namespace Glacier } // namespace Aws