/** * 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 contains the configuration parameters for the data source of * an import request.

See Also:

AWS * API Reference

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

The URL from which source data will be downloaded for the import request. *

*/ inline const Aws::String& GetDataSourceUrl() const{ return m_dataSourceUrl; } /** *

The URL from which source data will be downloaded for the import request. *

*/ inline bool DataSourceUrlHasBeenSet() const { return m_dataSourceUrlHasBeenSet; } /** *

The URL from which source data will be downloaded for the import request. *

*/ inline void SetDataSourceUrl(const Aws::String& value) { m_dataSourceUrlHasBeenSet = true; m_dataSourceUrl = value; } /** *

The URL from which source data will be downloaded for the import request. *

*/ inline void SetDataSourceUrl(Aws::String&& value) { m_dataSourceUrlHasBeenSet = true; m_dataSourceUrl = std::move(value); } /** *

The URL from which source data will be downloaded for the import request. *

*/ inline void SetDataSourceUrl(const char* value) { m_dataSourceUrlHasBeenSet = true; m_dataSourceUrl.assign(value); } /** *

The URL from which source data will be downloaded for the import request. *

*/ inline ImportDataSourceConfig& WithDataSourceUrl(const Aws::String& value) { SetDataSourceUrl(value); return *this;} /** *

The URL from which source data will be downloaded for the import request. *

*/ inline ImportDataSourceConfig& WithDataSourceUrl(Aws::String&& value) { SetDataSourceUrl(std::move(value)); return *this;} /** *

The URL from which source data will be downloaded for the import request. *

*/ inline ImportDataSourceConfig& WithDataSourceUrl(const char* value) { SetDataSourceUrl(value); return *this;} private: Aws::String m_dataSourceUrl; bool m_dataSourceUrlHasBeenSet = false; }; } // namespace Model } // namespace Honeycode } // namespace Aws