AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
FileSystemConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API FileSystemConfig() = default;
31 AWS_SAGEMAKER_API FileSystemConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetMountPath() const { return m_mountPath; }
42 inline bool MountPathHasBeenSet() const { return m_mountPathHasBeenSet; }
43 template <typename MountPathT = Aws::String>
44 void SetMountPath(MountPathT&& value) {
45 m_mountPathHasBeenSet = true;
46 m_mountPath = std::forward<MountPathT>(value);
47 }
48 template <typename MountPathT = Aws::String>
49 FileSystemConfig& WithMountPath(MountPathT&& value) {
50 SetMountPath(std::forward<MountPathT>(value));
51 return *this;
52 }
54
56
60 inline int GetDefaultUid() const { return m_defaultUid; }
61 inline bool DefaultUidHasBeenSet() const { return m_defaultUidHasBeenSet; }
62 inline void SetDefaultUid(int value) {
63 m_defaultUidHasBeenSet = true;
64 m_defaultUid = value;
65 }
66 inline FileSystemConfig& WithDefaultUid(int value) {
67 SetDefaultUid(value);
68 return *this;
69 }
71
73
77 inline int GetDefaultGid() const { return m_defaultGid; }
78 inline bool DefaultGidHasBeenSet() const { return m_defaultGidHasBeenSet; }
79 inline void SetDefaultGid(int value) {
80 m_defaultGidHasBeenSet = true;
81 m_defaultGid = value;
82 }
83 inline FileSystemConfig& WithDefaultGid(int value) {
84 SetDefaultGid(value);
85 return *this;
86 }
88 private:
89 Aws::String m_mountPath;
90
91 int m_defaultUid{0};
92
93 int m_defaultGid{0};
94 bool m_mountPathHasBeenSet = false;
95 bool m_defaultUidHasBeenSet = false;
96 bool m_defaultGidHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SageMaker
101} // 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