AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ModelDataSource.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/S3ModelDataSource.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
30 public:
31 AWS_SAGEMAKER_API ModelDataSource() = default;
32 AWS_SAGEMAKER_API ModelDataSource(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const S3ModelDataSource& GetS3DataSource() const { return m_s3DataSource; }
41 inline bool S3DataSourceHasBeenSet() const { return m_s3DataSourceHasBeenSet; }
42 template <typename S3DataSourceT = S3ModelDataSource>
43 void SetS3DataSource(S3DataSourceT&& value) {
44 m_s3DataSourceHasBeenSet = true;
45 m_s3DataSource = std::forward<S3DataSourceT>(value);
46 }
47 template <typename S3DataSourceT = S3ModelDataSource>
48 ModelDataSource& WithS3DataSource(S3DataSourceT&& value) {
49 SetS3DataSource(std::forward<S3DataSourceT>(value));
50 return *this;
51 }
53 private:
54 S3ModelDataSource m_s3DataSource;
55 bool m_s3DataSourceHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace SageMaker
60} // namespace Aws
void SetS3DataSource(S3DataSourceT &&value)
AWS_SAGEMAKER_API ModelDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ModelDataSource(Aws::Utils::Json::JsonView jsonValue)
const S3ModelDataSource & GetS3DataSource() const
AWS_SAGEMAKER_API ModelDataSource()=default
ModelDataSource & WithS3DataSource(S3DataSourceT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue