AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FileSystemConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API FileSystemConfig() = default;
36 AWS_SAGEMAKER_API FileSystemConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetMountPath() const { return m_mountPath; }
48 inline bool MountPathHasBeenSet() const { return m_mountPathHasBeenSet; }
49 template<typename MountPathT = Aws::String>
50 void SetMountPath(MountPathT&& value) { m_mountPathHasBeenSet = true; m_mountPath = std::forward<MountPathT>(value); }
51 template<typename MountPathT = Aws::String>
52 FileSystemConfig& WithMountPath(MountPathT&& value) { SetMountPath(std::forward<MountPathT>(value)); return *this;}
54
56
60 inline int GetDefaultUid() const { return m_defaultUid; }
61 inline bool DefaultUidHasBeenSet() const { return m_defaultUidHasBeenSet; }
62 inline void SetDefaultUid(int value) { m_defaultUidHasBeenSet = true; m_defaultUid = value; }
63 inline FileSystemConfig& WithDefaultUid(int value) { SetDefaultUid(value); return *this;}
65
67
71 inline int GetDefaultGid() const { return m_defaultGid; }
72 inline bool DefaultGidHasBeenSet() const { return m_defaultGidHasBeenSet; }
73 inline void SetDefaultGid(int value) { m_defaultGidHasBeenSet = true; m_defaultGid = value; }
74 inline FileSystemConfig& WithDefaultGid(int value) { SetDefaultGid(value); return *this;}
76 private:
77
78 Aws::String m_mountPath;
79 bool m_mountPathHasBeenSet = false;
80
81 int m_defaultUid{0};
82 bool m_defaultUidHasBeenSet = false;
83
84 int m_defaultGid{0};
85 bool m_defaultGidHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SageMaker
90} // namespace Aws
FileSystemConfig & WithMountPath(MountPathT &&value)
FileSystemConfig & WithDefaultUid(int value)
const Aws::String & GetMountPath() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API FileSystemConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API FileSystemConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
FileSystemConfig & WithDefaultGid(int value)
AWS_SAGEMAKER_API FileSystemConfig()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue