AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
InputConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/Framework.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
31 public:
32 AWS_SAGEMAKER_API InputConfig() = default;
33 AWS_SAGEMAKER_API InputConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API InputConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
44 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
45 template <typename S3UriT = Aws::String>
46 void SetS3Uri(S3UriT&& value) {
47 m_s3UriHasBeenSet = true;
48 m_s3Uri = std::forward<S3UriT>(value);
49 }
50 template <typename S3UriT = Aws::String>
51 InputConfig& WithS3Uri(S3UriT&& value) {
52 SetS3Uri(std::forward<S3UriT>(value));
53 return *this;
54 }
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) {
172 m_dataInputConfigHasBeenSet = true;
173 m_dataInputConfig = std::forward<DataInputConfigT>(value);
174 }
175 template <typename DataInputConfigT = Aws::String>
176 InputConfig& WithDataInputConfig(DataInputConfigT&& value) {
177 SetDataInputConfig(std::forward<DataInputConfigT>(value));
178 return *this;
179 }
181
183
187 inline Framework GetFramework() const { return m_framework; }
188 inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
189 inline void SetFramework(Framework value) {
190 m_frameworkHasBeenSet = true;
191 m_framework = value;
192 }
194 SetFramework(value);
195 return *this;
196 }
198
200
210 inline const Aws::String& GetFrameworkVersion() const { return m_frameworkVersion; }
211 inline bool FrameworkVersionHasBeenSet() const { return m_frameworkVersionHasBeenSet; }
212 template <typename FrameworkVersionT = Aws::String>
213 void SetFrameworkVersion(FrameworkVersionT&& value) {
214 m_frameworkVersionHasBeenSet = true;
215 m_frameworkVersion = std::forward<FrameworkVersionT>(value);
216 }
217 template <typename FrameworkVersionT = Aws::String>
218 InputConfig& WithFrameworkVersion(FrameworkVersionT&& value) {
219 SetFrameworkVersion(std::forward<FrameworkVersionT>(value));
220 return *this;
221 }
223 private:
224 Aws::String m_s3Uri;
225
226 Aws::String m_dataInputConfig;
227
228 Framework m_framework{Framework::NOT_SET};
229
230 Aws::String m_frameworkVersion;
231 bool m_s3UriHasBeenSet = false;
232 bool m_dataInputConfigHasBeenSet = false;
233 bool m_frameworkHasBeenSet = false;
234 bool m_frameworkVersionHasBeenSet = false;
235};
236
237} // namespace Model
238} // namespace SageMaker
239} // namespace Aws
void SetFrameworkVersion(FrameworkVersionT &&value)
const Aws::String & GetDataInputConfig() const
InputConfig & WithS3Uri(S3UriT &&value)
Definition InputConfig.h:51
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:46
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:43
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