/** * 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 how DataBrew will write a * comma-separated value (CSV) file.

See Also:

AWS * API Reference

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

A single character that specifies the delimiter used to create CSV job * output.

*/ inline const Aws::String& GetDelimiter() const{ return m_delimiter; } /** *

A single character that specifies the delimiter used to create CSV job * output.

*/ inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; } /** *

A single character that specifies the delimiter used to create CSV job * output.

*/ inline void SetDelimiter(const Aws::String& value) { m_delimiterHasBeenSet = true; m_delimiter = value; } /** *

A single character that specifies the delimiter used to create CSV job * output.

*/ inline void SetDelimiter(Aws::String&& value) { m_delimiterHasBeenSet = true; m_delimiter = std::move(value); } /** *

A single character that specifies the delimiter used to create CSV job * output.

*/ inline void SetDelimiter(const char* value) { m_delimiterHasBeenSet = true; m_delimiter.assign(value); } /** *

A single character that specifies the delimiter used to create CSV job * output.

*/ inline CsvOutputOptions& WithDelimiter(const Aws::String& value) { SetDelimiter(value); return *this;} /** *

A single character that specifies the delimiter used to create CSV job * output.

*/ inline CsvOutputOptions& WithDelimiter(Aws::String&& value) { SetDelimiter(std::move(value)); return *this;} /** *

A single character that specifies the delimiter used to create CSV job * output.

*/ inline CsvOutputOptions& WithDelimiter(const char* value) { SetDelimiter(value); return *this;} private: Aws::String m_delimiter; bool m_delimiterHasBeenSet = false; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws