AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataSource.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/S3DataSource.h>
9#include <aws/sagemaker/model/FileSystemDataSource.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
33 {
34 public:
35 AWS_SAGEMAKER_API DataSource();
36 AWS_SAGEMAKER_API DataSource(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API DataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const S3DataSource& GetS3DataSource() const{ return m_s3DataSource; }
46 inline bool S3DataSourceHasBeenSet() const { return m_s3DataSourceHasBeenSet; }
47 inline void SetS3DataSource(const S3DataSource& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = value; }
48 inline void SetS3DataSource(S3DataSource&& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = std::move(value); }
49 inline DataSource& WithS3DataSource(const S3DataSource& value) { SetS3DataSource(value); return *this;}
50 inline DataSource& WithS3DataSource(S3DataSource&& value) { SetS3DataSource(std::move(value)); return *this;}
52
54
57 inline const FileSystemDataSource& GetFileSystemDataSource() const{ return m_fileSystemDataSource; }
58 inline bool FileSystemDataSourceHasBeenSet() const { return m_fileSystemDataSourceHasBeenSet; }
59 inline void SetFileSystemDataSource(const FileSystemDataSource& value) { m_fileSystemDataSourceHasBeenSet = true; m_fileSystemDataSource = value; }
60 inline void SetFileSystemDataSource(FileSystemDataSource&& value) { m_fileSystemDataSourceHasBeenSet = true; m_fileSystemDataSource = std::move(value); }
62 inline DataSource& WithFileSystemDataSource(FileSystemDataSource&& value) { SetFileSystemDataSource(std::move(value)); return *this;}
64 private:
65
66 S3DataSource m_s3DataSource;
67 bool m_s3DataSourceHasBeenSet = false;
68
69 FileSystemDataSource m_fileSystemDataSource;
70 bool m_fileSystemDataSourceHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SageMaker
75} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetS3DataSource(const S3DataSource &value)
Definition DataSource.h:47
void SetFileSystemDataSource(FileSystemDataSource &&value)
Definition DataSource.h:60
void SetFileSystemDataSource(const FileSystemDataSource &value)
Definition DataSource.h:59
void SetS3DataSource(S3DataSource &&value)
Definition DataSource.h:48
DataSource & WithS3DataSource(const S3DataSource &value)
Definition DataSource.h:49
const S3DataSource & GetS3DataSource() const
Definition DataSource.h:45
const FileSystemDataSource & GetFileSystemDataSource() const
Definition DataSource.h:57
DataSource & WithFileSystemDataSource(FileSystemDataSource &&value)
Definition DataSource.h:62
AWS_SAGEMAKER_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSource & WithS3DataSource(S3DataSource &&value)
Definition DataSource.h:50
DataSource & WithFileSystemDataSource(const FileSystemDataSource &value)
Definition DataSource.h:61
bool FileSystemDataSourceHasBeenSet() const
Definition DataSource.h:58
AWS_SAGEMAKER_API DataSource()
AWS_SAGEMAKER_API DataSource(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue