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

An object that has details about the source of the data that was submitted * for import.

See Also:

AWS * API Reference

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

The configuration parameters for the data source of the import

*/ inline const ImportDataSourceConfig& GetDataSourceConfig() const{ return m_dataSourceConfig; } /** *

The configuration parameters for the data source of the import

*/ inline bool DataSourceConfigHasBeenSet() const { return m_dataSourceConfigHasBeenSet; } /** *

The configuration parameters for the data source of the import

*/ inline void SetDataSourceConfig(const ImportDataSourceConfig& value) { m_dataSourceConfigHasBeenSet = true; m_dataSourceConfig = value; } /** *

The configuration parameters for the data source of the import

*/ inline void SetDataSourceConfig(ImportDataSourceConfig&& value) { m_dataSourceConfigHasBeenSet = true; m_dataSourceConfig = std::move(value); } /** *

The configuration parameters for the data source of the import

*/ inline ImportDataSource& WithDataSourceConfig(const ImportDataSourceConfig& value) { SetDataSourceConfig(value); return *this;} /** *

The configuration parameters for the data source of the import

*/ inline ImportDataSource& WithDataSourceConfig(ImportDataSourceConfig&& value) { SetDataSourceConfig(std::move(value)); return *this;} private: ImportDataSourceConfig m_dataSourceConfig; bool m_dataSourceConfigHasBeenSet = false; }; } // namespace Model } // namespace Honeycode } // namespace Aws