1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/honeycode/Honeycode_EXPORTS.h>
8 #include <aws/honeycode/model/ImportDataSourceConfig.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17   class JsonValue;
18   class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Honeycode
22 {
23 namespace Model
24 {
25 
26   /**
27    * <p>An object that has details about the source of the data that was submitted
28    * for import.</p><p><h3>See Also:</h3>   <a
29    * href="http://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ImportDataSource">AWS
30    * API Reference</a></p>
31    */
32   class AWS_HONEYCODE_API ImportDataSource
33   {
34   public:
35     ImportDataSource();
36     ImportDataSource(Aws::Utils::Json::JsonView jsonValue);
37     ImportDataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
38     Aws::Utils::Json::JsonValue Jsonize() const;
39 
40 
41     /**
42      * <p>The configuration parameters for the data source of the import</p>
43      */
GetDataSourceConfig()44     inline const ImportDataSourceConfig& GetDataSourceConfig() const{ return m_dataSourceConfig; }
45 
46     /**
47      * <p>The configuration parameters for the data source of the import</p>
48      */
DataSourceConfigHasBeenSet()49     inline bool DataSourceConfigHasBeenSet() const { return m_dataSourceConfigHasBeenSet; }
50 
51     /**
52      * <p>The configuration parameters for the data source of the import</p>
53      */
SetDataSourceConfig(const ImportDataSourceConfig & value)54     inline void SetDataSourceConfig(const ImportDataSourceConfig& value) { m_dataSourceConfigHasBeenSet = true; m_dataSourceConfig = value; }
55 
56     /**
57      * <p>The configuration parameters for the data source of the import</p>
58      */
SetDataSourceConfig(ImportDataSourceConfig && value)59     inline void SetDataSourceConfig(ImportDataSourceConfig&& value) { m_dataSourceConfigHasBeenSet = true; m_dataSourceConfig = std::move(value); }
60 
61     /**
62      * <p>The configuration parameters for the data source of the import</p>
63      */
WithDataSourceConfig(const ImportDataSourceConfig & value)64     inline ImportDataSource& WithDataSourceConfig(const ImportDataSourceConfig& value) { SetDataSourceConfig(value); return *this;}
65 
66     /**
67      * <p>The configuration parameters for the data source of the import</p>
68      */
WithDataSourceConfig(ImportDataSourceConfig && value)69     inline ImportDataSource& WithDataSourceConfig(ImportDataSourceConfig&& value) { SetDataSourceConfig(std::move(value)); return *this;}
70 
71   private:
72 
73     ImportDataSourceConfig m_dataSourceConfig;
74     bool m_dataSourceConfigHasBeenSet;
75   };
76 
77 } // namespace Model
78 } // namespace Honeycode
79 } // namespace Aws
80