AWS SDK for C++  1.9.160
AWS SDK for C++
DataSource.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const S3DataSource& GetS3DataSource() const{ return m_s3DataSource; }
45 
49  inline bool S3DataSourceHasBeenSet() const { return m_s3DataSourceHasBeenSet; }
50 
54  inline void SetS3DataSource(const S3DataSource& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = value; }
55 
59  inline void SetS3DataSource(S3DataSource&& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = std::move(value); }
60 
64  inline DataSource& WithS3DataSource(const S3DataSource& value) { SetS3DataSource(value); return *this;}
65 
69  inline DataSource& WithS3DataSource(S3DataSource&& value) { SetS3DataSource(std::move(value)); return *this;}
70 
71 
75  inline const FileSystemDataSource& GetFileSystemDataSource() const{ return m_fileSystemDataSource; }
76 
80  inline bool FileSystemDataSourceHasBeenSet() const { return m_fileSystemDataSourceHasBeenSet; }
81 
85  inline void SetFileSystemDataSource(const FileSystemDataSource& value) { m_fileSystemDataSourceHasBeenSet = true; m_fileSystemDataSource = value; }
86 
90  inline void SetFileSystemDataSource(FileSystemDataSource&& value) { m_fileSystemDataSourceHasBeenSet = true; m_fileSystemDataSource = std::move(value); }
91 
95  inline DataSource& WithFileSystemDataSource(const FileSystemDataSource& value) { SetFileSystemDataSource(value); return *this;}
96 
100  inline DataSource& WithFileSystemDataSource(FileSystemDataSource&& value) { SetFileSystemDataSource(std::move(value)); return *this;}
101 
102  private:
103 
104  S3DataSource m_s3DataSource;
105  bool m_s3DataSourceHasBeenSet;
106 
107  FileSystemDataSource m_fileSystemDataSource;
108  bool m_fileSystemDataSourceHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace SageMaker
113 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DataSource::FileSystemDataSourceHasBeenSet
bool FileSystemDataSourceHasBeenSet() const
Definition: DataSource.h:80
Aws::SageMaker::Model::DataSource::DataSource
DataSource()
Aws::SageMaker::Model::DataSource::SetFileSystemDataSource
void SetFileSystemDataSource(FileSystemDataSource &&value)
Definition: DataSource.h:90
Aws::SageMaker::Model::DataSource::operator=
DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::DataSource::GetS3DataSource
const S3DataSource & GetS3DataSource() const
Definition: DataSource.h:44
Aws::SageMaker::Model::DataSource::WithFileSystemDataSource
DataSource & WithFileSystemDataSource(const FileSystemDataSource &value)
Definition: DataSource.h:95
Aws::SageMaker::Model::DataSource::WithS3DataSource
DataSource & WithS3DataSource(S3DataSource &&value)
Definition: DataSource.h:69
Aws::SageMaker::Model::DataSource::WithFileSystemDataSource
DataSource & WithFileSystemDataSource(FileSystemDataSource &&value)
Definition: DataSource.h:100
Aws::SageMaker::Model::DataSource::GetFileSystemDataSource
const FileSystemDataSource & GetFileSystemDataSource() const
Definition: DataSource.h:75
FileSystemDataSource.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
S3DataSource.h
Aws::SageMaker::Model::DataSource::WithS3DataSource
DataSource & WithS3DataSource(const S3DataSource &value)
Definition: DataSource.h:64
Aws::SageMaker::Model::DataSource
Definition: DataSource.h:33
Aws::SageMaker::Model::DataSource::SetS3DataSource
void SetS3DataSource(const S3DataSource &value)
Definition: DataSource.h:54
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::S3DataSource
Definition: S3DataSource.h:35
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::DataSource::S3DataSourceHasBeenSet
bool S3DataSourceHasBeenSet() const
Definition: DataSource.h:49
Aws::SageMaker::Model::DataSource::SetS3DataSource
void SetS3DataSource(S3DataSource &&value)
Definition: DataSource.h:59
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DataSource::SetFileSystemDataSource
void SetFileSystemDataSource(const FileSystemDataSource &value)
Definition: DataSource.h:85
Aws::SageMaker::Model::DataSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::FileSystemDataSource
Definition: FileSystemDataSource.h:35
Aws::SageMaker::Model::DataSource::DataSource
DataSource(Aws::Utils::Json::JsonView jsonValue)