AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
52 inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
53 inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
54 inline InputConfig& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
55 inline InputConfig& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
56 inline InputConfig& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
58
60
170 inline const Aws::String& GetDataInputConfig() const{ return m_dataInputConfig; }
171 inline bool DataInputConfigHasBeenSet() const { return m_dataInputConfigHasBeenSet; }
172 inline void SetDataInputConfig(const Aws::String& value) { m_dataInputConfigHasBeenSet = true; m_dataInputConfig = value; }
173 inline void SetDataInputConfig(Aws::String&& value) { m_dataInputConfigHasBeenSet = true; m_dataInputConfig = std::move(value); }
174 inline void SetDataInputConfig(const char* value) { m_dataInputConfigHasBeenSet = true; m_dataInputConfig.assign(value); }
175 inline InputConfig& WithDataInputConfig(const Aws::String& value) { SetDataInputConfig(value); return *this;}
176 inline InputConfig& WithDataInputConfig(Aws::String&& value) { SetDataInputConfig(std::move(value)); return *this;}
177 inline InputConfig& WithDataInputConfig(const char* value) { SetDataInputConfig(value); return *this;}
179
181
185 inline const Framework& GetFramework() const{ return m_framework; }
186 inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
187 inline void SetFramework(const Framework& value) { m_frameworkHasBeenSet = true; m_framework = value; }
188 inline void SetFramework(Framework&& value) { m_frameworkHasBeenSet = true; m_framework = std::move(value); }
189 inline InputConfig& WithFramework(const Framework& value) { SetFramework(value); return *this;}
190 inline InputConfig& WithFramework(Framework&& value) { SetFramework(std::move(value)); return *this;}
192
194
204 inline const Aws::String& GetFrameworkVersion() const{ return m_frameworkVersion; }
205 inline bool FrameworkVersionHasBeenSet() const { return m_frameworkVersionHasBeenSet; }
206 inline void SetFrameworkVersion(const Aws::String& value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion = value; }
207 inline void SetFrameworkVersion(Aws::String&& value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion = std::move(value); }
208 inline void SetFrameworkVersion(const char* value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion.assign(value); }
209 inline InputConfig& WithFrameworkVersion(const Aws::String& value) { SetFrameworkVersion(value); return *this;}
210 inline InputConfig& WithFrameworkVersion(Aws::String&& value) { SetFrameworkVersion(std::move(value)); return *this;}
211 inline InputConfig& WithFrameworkVersion(const char* value) { SetFrameworkVersion(value); return *this;}
213 private:
214
215 Aws::String m_s3Uri;
216 bool m_s3UriHasBeenSet = false;
217
218 Aws::String m_dataInputConfig;
219 bool m_dataInputConfigHasBeenSet = false;
220
221 Framework m_framework;
222 bool m_frameworkHasBeenSet = false;
223
224 Aws::String m_frameworkVersion;
225 bool m_frameworkVersionHasBeenSet = false;
226 };
227
228} // namespace Model
229} // namespace SageMaker
230} // namespace Aws
InputConfig & WithS3Uri(const Aws::String &value)
Definition InputConfig.h:54
void SetS3Uri(Aws::String &&value)
Definition InputConfig.h:52
const Aws::String & GetDataInputConfig() const
const Aws::String & GetFrameworkVersion() const
InputConfig & WithS3Uri(Aws::String &&value)
Definition InputConfig.h:55
AWS_SAGEMAKER_API InputConfig(Aws::Utils::Json::JsonView jsonValue)
void SetS3Uri(const char *value)
Definition InputConfig.h:53
InputConfig & WithDataInputConfig(Aws::String &&value)
void SetS3Uri(const Aws::String &value)
Definition InputConfig.h:51
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
InputConfig & WithFrameworkVersion(const char *value)
void SetFrameworkVersion(Aws::String &&value)
const Framework & GetFramework() const
void SetDataInputConfig(Aws::String &&value)
InputConfig & WithFramework(const Framework &value)
void SetDataInputConfig(const char *value)
AWS_SAGEMAKER_API InputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFrameworkVersion(const Aws::String &value)
const Aws::String & GetS3Uri() const
Definition InputConfig.h:49
InputConfig & WithDataInputConfig(const Aws::String &value)
InputConfig & WithS3Uri(const char *value)
Definition InputConfig.h:56
void SetFramework(Framework &&value)
InputConfig & WithFramework(Framework &&value)
InputConfig & WithDataInputConfig(const char *value)
void SetFrameworkVersion(const char *value)
void SetDataInputConfig(const Aws::String &value)
InputConfig & WithFrameworkVersion(Aws::String &&value)
void SetFramework(const Framework &value)
InputConfig & WithFrameworkVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue