/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Honeycode { namespace Model { /** *

An object that contains the options specified by the sumitter of the import * request.

See Also:

AWS * API Reference

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

Options relating to the destination of the import request.

*/ inline const DestinationOptions& GetDestinationOptions() const{ return m_destinationOptions; } /** *

Options relating to the destination of the import request.

*/ inline bool DestinationOptionsHasBeenSet() const { return m_destinationOptionsHasBeenSet; } /** *

Options relating to the destination of the import request.

*/ inline void SetDestinationOptions(const DestinationOptions& value) { m_destinationOptionsHasBeenSet = true; m_destinationOptions = value; } /** *

Options relating to the destination of the import request.

*/ inline void SetDestinationOptions(DestinationOptions&& value) { m_destinationOptionsHasBeenSet = true; m_destinationOptions = std::move(value); } /** *

Options relating to the destination of the import request.

*/ inline ImportOptions& WithDestinationOptions(const DestinationOptions& value) { SetDestinationOptions(value); return *this;} /** *

Options relating to the destination of the import request.

*/ inline ImportOptions& WithDestinationOptions(DestinationOptions&& value) { SetDestinationOptions(std::move(value)); return *this;} /** *

Options relating to parsing delimited text. Required if dataFormat is * DELIMITED_TEXT.

*/ inline const DelimitedTextImportOptions& GetDelimitedTextOptions() const{ return m_delimitedTextOptions; } /** *

Options relating to parsing delimited text. Required if dataFormat is * DELIMITED_TEXT.

*/ inline bool DelimitedTextOptionsHasBeenSet() const { return m_delimitedTextOptionsHasBeenSet; } /** *

Options relating to parsing delimited text. Required if dataFormat is * DELIMITED_TEXT.

*/ inline void SetDelimitedTextOptions(const DelimitedTextImportOptions& value) { m_delimitedTextOptionsHasBeenSet = true; m_delimitedTextOptions = value; } /** *

Options relating to parsing delimited text. Required if dataFormat is * DELIMITED_TEXT.

*/ inline void SetDelimitedTextOptions(DelimitedTextImportOptions&& value) { m_delimitedTextOptionsHasBeenSet = true; m_delimitedTextOptions = std::move(value); } /** *

Options relating to parsing delimited text. Required if dataFormat is * DELIMITED_TEXT.

*/ inline ImportOptions& WithDelimitedTextOptions(const DelimitedTextImportOptions& value) { SetDelimitedTextOptions(value); return *this;} /** *

Options relating to parsing delimited text. Required if dataFormat is * DELIMITED_TEXT.

*/ inline ImportOptions& WithDelimitedTextOptions(DelimitedTextImportOptions&& value) { SetDelimitedTextOptions(std::move(value)); return *this;} private: DestinationOptions m_destinationOptions; bool m_destinationOptionsHasBeenSet = false; DelimitedTextImportOptions m_delimitedTextOptions; bool m_delimitedTextOptionsHasBeenSet = false; }; } // namespace Model } // namespace Honeycode } // namespace Aws