AWS SDK for C++  1.9.159
AWS SDK for C++
FileSystemDataSource.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
47 
51  inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
52 
56  inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
57 
61  inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
62 
66  inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
67 
71  inline FileSystemDataSource& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
72 
76  inline FileSystemDataSource& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
77 
81  inline FileSystemDataSource& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
82 
83 
89  inline const FileSystemAccessMode& GetFileSystemAccessMode() const{ return m_fileSystemAccessMode; }
90 
96  inline bool FileSystemAccessModeHasBeenSet() const { return m_fileSystemAccessModeHasBeenSet; }
97 
103  inline void SetFileSystemAccessMode(const FileSystemAccessMode& value) { m_fileSystemAccessModeHasBeenSet = true; m_fileSystemAccessMode = value; }
104 
110  inline void SetFileSystemAccessMode(FileSystemAccessMode&& value) { m_fileSystemAccessModeHasBeenSet = true; m_fileSystemAccessMode = std::move(value); }
111 
117  inline FileSystemDataSource& WithFileSystemAccessMode(const FileSystemAccessMode& value) { SetFileSystemAccessMode(value); return *this;}
118 
124  inline FileSystemDataSource& WithFileSystemAccessMode(FileSystemAccessMode&& value) { SetFileSystemAccessMode(std::move(value)); return *this;}
125 
126 
130  inline const FileSystemType& GetFileSystemType() const{ return m_fileSystemType; }
131 
135  inline bool FileSystemTypeHasBeenSet() const { return m_fileSystemTypeHasBeenSet; }
136 
140  inline void SetFileSystemType(const FileSystemType& value) { m_fileSystemTypeHasBeenSet = true; m_fileSystemType = value; }
141 
145  inline void SetFileSystemType(FileSystemType&& value) { m_fileSystemTypeHasBeenSet = true; m_fileSystemType = std::move(value); }
146 
150  inline FileSystemDataSource& WithFileSystemType(const FileSystemType& value) { SetFileSystemType(value); return *this;}
151 
155  inline FileSystemDataSource& WithFileSystemType(FileSystemType&& value) { SetFileSystemType(std::move(value)); return *this;}
156 
157 
161  inline const Aws::String& GetDirectoryPath() const{ return m_directoryPath; }
162 
166  inline bool DirectoryPathHasBeenSet() const { return m_directoryPathHasBeenSet; }
167 
171  inline void SetDirectoryPath(const Aws::String& value) { m_directoryPathHasBeenSet = true; m_directoryPath = value; }
172 
176  inline void SetDirectoryPath(Aws::String&& value) { m_directoryPathHasBeenSet = true; m_directoryPath = std::move(value); }
177 
181  inline void SetDirectoryPath(const char* value) { m_directoryPathHasBeenSet = true; m_directoryPath.assign(value); }
182 
186  inline FileSystemDataSource& WithDirectoryPath(const Aws::String& value) { SetDirectoryPath(value); return *this;}
187 
191  inline FileSystemDataSource& WithDirectoryPath(Aws::String&& value) { SetDirectoryPath(std::move(value)); return *this;}
192 
196  inline FileSystemDataSource& WithDirectoryPath(const char* value) { SetDirectoryPath(value); return *this;}
197 
198  private:
199 
200  Aws::String m_fileSystemId;
201  bool m_fileSystemIdHasBeenSet;
202 
203  FileSystemAccessMode m_fileSystemAccessMode;
204  bool m_fileSystemAccessModeHasBeenSet;
205 
206  FileSystemType m_fileSystemType;
207  bool m_fileSystemTypeHasBeenSet;
208 
209  Aws::String m_directoryPath;
210  bool m_directoryPathHasBeenSet;
211  };
212 
213 } // namespace Model
214 } // namespace SageMaker
215 } // namespace Aws
Aws::SageMaker::Model::FileSystemDataSource::SetFileSystemAccessMode
void SetFileSystemAccessMode(const FileSystemAccessMode &value)
Definition: FileSystemDataSource.h:103
Aws::SageMaker::Model::FileSystemDataSource::WithFileSystemType
FileSystemDataSource & WithFileSystemType(FileSystemType &&value)
Definition: FileSystemDataSource.h:155
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::FileSystemDataSource::WithFileSystemAccessMode
FileSystemDataSource & WithFileSystemAccessMode(FileSystemAccessMode &&value)
Definition: FileSystemDataSource.h:124
Aws::SageMaker::Model::FileSystemDataSource::FileSystemAccessModeHasBeenSet
bool FileSystemAccessModeHasBeenSet() const
Definition: FileSystemDataSource.h:96
Aws::SageMaker::Model::FileSystemDataSource::SetFileSystemId
void SetFileSystemId(const char *value)
Definition: FileSystemDataSource.h:66
Aws::SageMaker::Model::FileSystemDataSource::WithDirectoryPath
FileSystemDataSource & WithDirectoryPath(const Aws::String &value)
Definition: FileSystemDataSource.h:186
Aws::SageMaker::Model::FileSystemDataSource::SetFileSystemId
void SetFileSystemId(const Aws::String &value)
Definition: FileSystemDataSource.h:56
Aws::SageMaker::Model::FileSystemDataSource::GetFileSystemType
const FileSystemType & GetFileSystemType() const
Definition: FileSystemDataSource.h:130
Aws::SageMaker::Model::FileSystemDataSource::operator=
FileSystemDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::FileSystemDataSource::SetDirectoryPath
void SetDirectoryPath(const char *value)
Definition: FileSystemDataSource.h:181
Aws::SageMaker::Model::FileSystemDataSource::SetDirectoryPath
void SetDirectoryPath(const Aws::String &value)
Definition: FileSystemDataSource.h:171
Aws::SageMaker::Model::FileSystemDataSource::GetFileSystemAccessMode
const FileSystemAccessMode & GetFileSystemAccessMode() const
Definition: FileSystemDataSource.h:89
Aws::SageMaker::Model::FileSystemDataSource::GetFileSystemId
const Aws::String & GetFileSystemId() const
Definition: FileSystemDataSource.h:46
Aws::SageMaker::Model::FileSystemDataSource::SetFileSystemType
void SetFileSystemType(const FileSystemType &value)
Definition: FileSystemDataSource.h:140
Aws::SageMaker::Model::FileSystemDataSource::WithFileSystemAccessMode
FileSystemDataSource & WithFileSystemAccessMode(const FileSystemAccessMode &value)
Definition: FileSystemDataSource.h:117
FileSystemAccessMode.h
Aws::SageMaker::Model::FileSystemDataSource::FileSystemDataSource
FileSystemDataSource()
Aws::SageMaker::Model::FileSystemDataSource::FileSystemTypeHasBeenSet
bool FileSystemTypeHasBeenSet() const
Definition: FileSystemDataSource.h:135
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::FileSystemDataSource::SetFileSystemId
void SetFileSystemId(Aws::String &&value)
Definition: FileSystemDataSource.h:61
FileSystemType.h
Aws::SageMaker::Model::FileSystemDataSource::FileSystemIdHasBeenSet
bool FileSystemIdHasBeenSet() const
Definition: FileSystemDataSource.h:51
Aws::SageMaker::Model::FileSystemDataSource::SetFileSystemAccessMode
void SetFileSystemAccessMode(FileSystemAccessMode &&value)
Definition: FileSystemDataSource.h:110
Aws::SageMaker::Model::FileSystemDataSource::GetDirectoryPath
const Aws::String & GetDirectoryPath() const
Definition: FileSystemDataSource.h:161
Aws::SageMaker::Model::FileSystemDataSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::FileSystemDataSource::SetDirectoryPath
void SetDirectoryPath(Aws::String &&value)
Definition: FileSystemDataSource.h:176
Aws::SageMaker::Model::FileSystemDataSource::WithFileSystemId
FileSystemDataSource & WithFileSystemId(Aws::String &&value)
Definition: FileSystemDataSource.h:76
Aws::SageMaker::Model::FileSystemDataSource::DirectoryPathHasBeenSet
bool DirectoryPathHasBeenSet() const
Definition: FileSystemDataSource.h:166
Aws::SageMaker::Model::FileSystemDataSource::WithFileSystemId
FileSystemDataSource & WithFileSystemId(const Aws::String &value)
Definition: FileSystemDataSource.h:71
Aws::SageMaker::Model::FileSystemDataSource::FileSystemDataSource
FileSystemDataSource(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::FileSystemType
FileSystemType
Definition: FileSystemType.h:17
Aws::SageMaker::Model::FileSystemDataSource::WithFileSystemId
FileSystemDataSource & WithFileSystemId(const char *value)
Definition: FileSystemDataSource.h:81
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::FileSystemAccessMode
FileSystemAccessMode
Definition: FileSystemAccessMode.h:17
Aws::SageMaker::Model::FileSystemDataSource::WithDirectoryPath
FileSystemDataSource & WithDirectoryPath(const char *value)
Definition: FileSystemDataSource.h:196
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::FileSystemDataSource::WithDirectoryPath
FileSystemDataSource & WithDirectoryPath(Aws::String &&value)
Definition: FileSystemDataSource.h:191
Aws::SageMaker::Model::FileSystemDataSource::SetFileSystemType
void SetFileSystemType(FileSystemType &&value)
Definition: FileSystemDataSource.h:145
Aws::SageMaker::Model::FileSystemDataSource
Definition: FileSystemDataSource.h:35
Aws::SageMaker::Model::FileSystemDataSource::WithFileSystemType
FileSystemDataSource & WithFileSystemType(const FileSystemType &value)
Definition: FileSystemDataSource.h:150