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/AutoMLS3DataType.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18   class JsonValue;
19   class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
27   /**
28    * <p>The Amazon S3 data source.</p><p><h3>See Also:</h3>   <a
29    * href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AutoMLS3DataSource">AWS
30    * API Reference</a></p>
31    */
32   class AWS_SAGEMAKER_API AutoMLS3DataSource
33   {
34   public:
35     AutoMLS3DataSource();
36     AutoMLS3DataSource(Aws::Utils::Json::JsonView jsonValue);
37     AutoMLS3DataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
38     Aws::Utils::Json::JsonValue Jsonize() const;
39 
40 
41     /**
42      * <p>The data type.</p>
43      */
GetS3DataType()44     inline const AutoMLS3DataType& GetS3DataType() const{ return m_s3DataType; }
45 
46     /**
47      * <p>The data type.</p>
48      */
S3DataTypeHasBeenSet()49     inline bool S3DataTypeHasBeenSet() const { return m_s3DataTypeHasBeenSet; }
50 
51     /**
52      * <p>The data type.</p>
53      */
SetS3DataType(const AutoMLS3DataType & value)54     inline void SetS3DataType(const AutoMLS3DataType& value) { m_s3DataTypeHasBeenSet = true; m_s3DataType = value; }
55 
56     /**
57      * <p>The data type.</p>
58      */
SetS3DataType(AutoMLS3DataType && value)59     inline void SetS3DataType(AutoMLS3DataType&& value) { m_s3DataTypeHasBeenSet = true; m_s3DataType = std::move(value); }
60 
61     /**
62      * <p>The data type.</p>
63      */
WithS3DataType(const AutoMLS3DataType & value)64     inline AutoMLS3DataSource& WithS3DataType(const AutoMLS3DataType& value) { SetS3DataType(value); return *this;}
65 
66     /**
67      * <p>The data type.</p>
68      */
WithS3DataType(AutoMLS3DataType && value)69     inline AutoMLS3DataSource& WithS3DataType(AutoMLS3DataType&& value) { SetS3DataType(std::move(value)); return *this;}
70 
71 
72     /**
73      * <p>The URL to the Amazon S3 data source.</p>
74      */
GetS3Uri()75     inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
76 
77     /**
78      * <p>The URL to the Amazon S3 data source.</p>
79      */
S3UriHasBeenSet()80     inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
81 
82     /**
83      * <p>The URL to the Amazon S3 data source.</p>
84      */
SetS3Uri(const Aws::String & value)85     inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
86 
87     /**
88      * <p>The URL to the Amazon S3 data source.</p>
89      */
SetS3Uri(Aws::String && value)90     inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
91 
92     /**
93      * <p>The URL to the Amazon S3 data source.</p>
94      */
SetS3Uri(const char * value)95     inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
96 
97     /**
98      * <p>The URL to the Amazon S3 data source.</p>
99      */
WithS3Uri(const Aws::String & value)100     inline AutoMLS3DataSource& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
101 
102     /**
103      * <p>The URL to the Amazon S3 data source.</p>
104      */
WithS3Uri(Aws::String && value)105     inline AutoMLS3DataSource& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
106 
107     /**
108      * <p>The URL to the Amazon S3 data source.</p>
109      */
WithS3Uri(const char * value)110     inline AutoMLS3DataSource& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
111 
112   private:
113 
114     AutoMLS3DataType m_s3DataType;
115     bool m_s3DataTypeHasBeenSet;
116 
117     Aws::String m_s3Uri;
118     bool m_s3UriHasBeenSet;
119   };
120 
121 } // namespace Model
122 } // namespace SageMaker
123 } // namespace Aws
124