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

The format options for the data that was imported into the target table. * There is one value, CsvOption.

See Also:

AWS * API Reference

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

The options for imported source files in CSV format. The values are * Delimiter and HeaderList.

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

The options for imported source files in CSV format. The values are * Delimiter and HeaderList.

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

The options for imported source files in CSV format. The values are * Delimiter and HeaderList.

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

The options for imported source files in CSV format. The values are * Delimiter and HeaderList.

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

The options for imported source files in CSV format. The values are * Delimiter and HeaderList.

*/ inline InputFormatOptions& WithCsv(const CsvOptions& value) { SetCsv(value); return *this;} /** *

The options for imported source files in CSV format. The values are * Delimiter and HeaderList.

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