AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InputConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/Framework.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_SAGEMAKER_API InputConfig() = default;
38 AWS_SAGEMAKER_API InputConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API InputConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
50 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
51 template<typename S3UriT = Aws::String>
52 void SetS3Uri(S3UriT&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::forward<S3UriT>(value); }
53 template<typename S3UriT = Aws::String>
54 InputConfig& WithS3Uri(S3UriT&& value) { SetS3Uri(std::forward<S3UriT>(value)); return *this;}
56
58
168 inline const Aws::String& GetDataInputConfig() const { return m_dataInputConfig; }
169 inline bool DataInputConfigHasBeenSet() const { return m_dataInputConfigHasBeenSet; }
170 template<typename DataInputConfigT = Aws::String>
171 void SetDataInputConfig(DataInputConfigT&& value) { m_dataInputConfigHasBeenSet = true; m_dataInputConfig = std::forward<DataInputConfigT>(value); }
172 template<typename DataInputConfigT = Aws::String>
173 InputConfig& WithDataInputConfig(DataInputConfigT&& value) { SetDataInputConfig(std::forward<DataInputConfigT>(value)); return *this;}
175
177
181 inline Framework GetFramework() const { return m_framework; }
182 inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
183 inline void SetFramework(Framework value) { m_frameworkHasBeenSet = true; m_framework = value; }
184 inline InputConfig& WithFramework(Framework value) { SetFramework(value); return *this;}
186
188
198 inline const Aws::String& GetFrameworkVersion() const { return m_frameworkVersion; }
199 inline bool FrameworkVersionHasBeenSet() const { return m_frameworkVersionHasBeenSet; }
200 template<typename FrameworkVersionT = Aws::String>
201 void SetFrameworkVersion(FrameworkVersionT&& value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion = std::forward<FrameworkVersionT>(value); }
202 template<typename FrameworkVersionT = Aws::String>
203 InputConfig& WithFrameworkVersion(FrameworkVersionT&& value) { SetFrameworkVersion(std::forward<FrameworkVersionT>(value)); return *this;}
205 private:
206
207 Aws::String m_s3Uri;
208 bool m_s3UriHasBeenSet = false;
209
210 Aws::String m_dataInputConfig;
211 bool m_dataInputConfigHasBeenSet = false;
212
213 Framework m_framework{Framework::NOT_SET};
214 bool m_frameworkHasBeenSet = false;
215
216 Aws::String m_frameworkVersion;
217 bool m_frameworkVersionHasBeenSet = false;
218 };
219
220} // namespace Model
221} // namespace SageMaker
222} // namespace Aws
void SetFrameworkVersion(FrameworkVersionT &&value)
const Aws::String & GetDataInputConfig() const
InputConfig & WithS3Uri(S3UriT &&value)
Definition InputConfig.h:54
const Aws::String & GetFrameworkVersion() const
InputConfig & WithFramework(Framework value)
void SetFramework(Framework value)
AWS_SAGEMAKER_API InputConfig(Aws::Utils::Json::JsonView jsonValue)
void SetS3Uri(S3UriT &&value)
Definition InputConfig.h:52
InputConfig & WithDataInputConfig(DataInputConfigT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API InputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetS3Uri() const
Definition InputConfig.h:49
AWS_SAGEMAKER_API InputConfig()=default
InputConfig & WithFrameworkVersion(FrameworkVersionT &&value)
void SetDataInputConfig(DataInputConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue