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/sagemaker/SageMaker_EXPORTS.h>
8 #include <aws/sagemaker/model/AutoMLS3DataSource.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 SageMaker
22 {
23 namespace Model
24 {
25 
26   /**
27    * <p>The data source for the Autopilot job.</p><p><h3>See Also:</h3>   <a
28    * href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AutoMLDataSource">AWS
29    * API Reference</a></p>
30    */
31   class AWS_SAGEMAKER_API AutoMLDataSource
32   {
33   public:
34     AutoMLDataSource();
35     AutoMLDataSource(Aws::Utils::Json::JsonView jsonValue);
36     AutoMLDataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
37     Aws::Utils::Json::JsonValue Jsonize() const;
38 
39 
40     /**
41      * <p>The Amazon S3 location of the input data.</p>  <p>The input data must
42      * be in CSV format and contain at least 500 rows.</p>
43      */
GetS3DataSource()44     inline const AutoMLS3DataSource& GetS3DataSource() const{ return m_s3DataSource; }
45 
46     /**
47      * <p>The Amazon S3 location of the input data.</p>  <p>The input data must
48      * be in CSV format and contain at least 500 rows.</p>
49      */
S3DataSourceHasBeenSet()50     inline bool S3DataSourceHasBeenSet() const { return m_s3DataSourceHasBeenSet; }
51 
52     /**
53      * <p>The Amazon S3 location of the input data.</p>  <p>The input data must
54      * be in CSV format and contain at least 500 rows.</p>
55      */
SetS3DataSource(const AutoMLS3DataSource & value)56     inline void SetS3DataSource(const AutoMLS3DataSource& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = value; }
57 
58     /**
59      * <p>The Amazon S3 location of the input data.</p>  <p>The input data must
60      * be in CSV format and contain at least 500 rows.</p>
61      */
SetS3DataSource(AutoMLS3DataSource && value)62     inline void SetS3DataSource(AutoMLS3DataSource&& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = std::move(value); }
63 
64     /**
65      * <p>The Amazon S3 location of the input data.</p>  <p>The input data must
66      * be in CSV format and contain at least 500 rows.</p>
67      */
WithS3DataSource(const AutoMLS3DataSource & value)68     inline AutoMLDataSource& WithS3DataSource(const AutoMLS3DataSource& value) { SetS3DataSource(value); return *this;}
69 
70     /**
71      * <p>The Amazon S3 location of the input data.</p>  <p>The input data must
72      * be in CSV format and contain at least 500 rows.</p>
73      */
WithS3DataSource(AutoMLS3DataSource && value)74     inline AutoMLDataSource& WithS3DataSource(AutoMLS3DataSource&& value) { SetS3DataSource(std::move(value)); return *this;}
75 
76   private:
77 
78     AutoMLS3DataSource m_s3DataSource;
79     bool m_s3DataSourceHasBeenSet;
80   };
81 
82 } // namespace Model
83 } // namespace SageMaker
84 } // namespace Aws
85