AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FileSystemDataSource.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/FileSystemAccessMode.h>
10#include <aws/sagemaker/model/FileSystemType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API FileSystemDataSource();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
48 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
49 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
50 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
51 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
52 inline FileSystemDataSource& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
53 inline FileSystemDataSource& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
54 inline FileSystemDataSource& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
56
58
63 inline const FileSystemAccessMode& GetFileSystemAccessMode() const{ return m_fileSystemAccessMode; }
64 inline bool FileSystemAccessModeHasBeenSet() const { return m_fileSystemAccessModeHasBeenSet; }
65 inline void SetFileSystemAccessMode(const FileSystemAccessMode& value) { m_fileSystemAccessModeHasBeenSet = true; m_fileSystemAccessMode = value; }
66 inline void SetFileSystemAccessMode(FileSystemAccessMode&& value) { m_fileSystemAccessModeHasBeenSet = true; m_fileSystemAccessMode = std::move(value); }
70
72
75 inline const FileSystemType& GetFileSystemType() const{ return m_fileSystemType; }
76 inline bool FileSystemTypeHasBeenSet() const { return m_fileSystemTypeHasBeenSet; }
77 inline void SetFileSystemType(const FileSystemType& value) { m_fileSystemTypeHasBeenSet = true; m_fileSystemType = value; }
78 inline void SetFileSystemType(FileSystemType&& value) { m_fileSystemTypeHasBeenSet = true; m_fileSystemType = std::move(value); }
79 inline FileSystemDataSource& WithFileSystemType(const FileSystemType& value) { SetFileSystemType(value); return *this;}
80 inline FileSystemDataSource& WithFileSystemType(FileSystemType&& value) { SetFileSystemType(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetDirectoryPath() const{ return m_directoryPath; }
88 inline bool DirectoryPathHasBeenSet() const { return m_directoryPathHasBeenSet; }
89 inline void SetDirectoryPath(const Aws::String& value) { m_directoryPathHasBeenSet = true; m_directoryPath = value; }
90 inline void SetDirectoryPath(Aws::String&& value) { m_directoryPathHasBeenSet = true; m_directoryPath = std::move(value); }
91 inline void SetDirectoryPath(const char* value) { m_directoryPathHasBeenSet = true; m_directoryPath.assign(value); }
92 inline FileSystemDataSource& WithDirectoryPath(const Aws::String& value) { SetDirectoryPath(value); return *this;}
93 inline FileSystemDataSource& WithDirectoryPath(Aws::String&& value) { SetDirectoryPath(std::move(value)); return *this;}
94 inline FileSystemDataSource& WithDirectoryPath(const char* value) { SetDirectoryPath(value); return *this;}
96 private:
97
98 Aws::String m_fileSystemId;
99 bool m_fileSystemIdHasBeenSet = false;
100
101 FileSystemAccessMode m_fileSystemAccessMode;
102 bool m_fileSystemAccessModeHasBeenSet = false;
103
104 FileSystemType m_fileSystemType;
105 bool m_fileSystemTypeHasBeenSet = false;
106
107 Aws::String m_directoryPath;
108 bool m_directoryPathHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace SageMaker
113} // namespace Aws
void SetDirectoryPath(const Aws::String &value)
FileSystemDataSource & WithDirectoryPath(const Aws::String &value)
void SetFileSystemType(const FileSystemType &value)
const FileSystemType & GetFileSystemType() const
FileSystemDataSource & WithFileSystemAccessMode(const FileSystemAccessMode &value)
AWS_SAGEMAKER_API FileSystemDataSource(Aws::Utils::Json::JsonView jsonValue)
FileSystemDataSource & WithDirectoryPath(const char *value)
FileSystemDataSource & WithFileSystemType(FileSystemType &&value)
FileSystemDataSource & WithFileSystemId(Aws::String &&value)
FileSystemDataSource & WithFileSystemType(const FileSystemType &value)
void SetFileSystemAccessMode(FileSystemAccessMode &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const FileSystemAccessMode & GetFileSystemAccessMode() const
FileSystemDataSource & WithFileSystemAccessMode(FileSystemAccessMode &&value)
void SetFileSystemId(const Aws::String &value)
FileSystemDataSource & WithFileSystemId(const Aws::String &value)
void SetFileSystemAccessMode(const FileSystemAccessMode &value)
FileSystemDataSource & WithFileSystemId(const char *value)
FileSystemDataSource & WithDirectoryPath(Aws::String &&value)
AWS_SAGEMAKER_API FileSystemDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue