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

Represents a set of options that define the structure of comma-separated * (CSV) job output.

See Also:

AWS * API Reference

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

Represents a set of options that define the structure of comma-separated * value (CSV) job output.

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

Represents a set of options that define the structure of comma-separated * value (CSV) job output.

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

Represents a set of options that define the structure of comma-separated * value (CSV) job output.

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

Represents a set of options that define the structure of comma-separated * value (CSV) job output.

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

Represents a set of options that define the structure of comma-separated * value (CSV) job output.

*/ inline OutputFormatOptions& WithCsv(const CsvOutputOptions& value) { SetCsv(value); return *this;} /** *

Represents a set of options that define the structure of comma-separated * value (CSV) job output.

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