AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMountPath(const Aws::String& value) { m_mountPathHasBeenSet = true; m_mountPath = value; }
50 inline void SetMountPath(Aws::String&& value) { m_mountPathHasBeenSet = true; m_mountPath = std::move(value); }
51 inline void SetMountPath(const char* value) { m_mountPathHasBeenSet = true; m_mountPath.assign(value); }
52 inline FileSystemConfig& WithMountPath(const Aws::String& value) { SetMountPath(value); return *this;}
53 inline FileSystemConfig& WithMountPath(Aws::String&& value) { SetMountPath(std::move(value)); return *this;}
54 inline FileSystemConfig& WithMountPath(const char* value) { SetMountPath(value); return *this;}
56
58
62 inline int GetDefaultUid() const{ return m_defaultUid; }
63 inline bool DefaultUidHasBeenSet() const { return m_defaultUidHasBeenSet; }
64 inline void SetDefaultUid(int value) { m_defaultUidHasBeenSet = true; m_defaultUid = value; }
65 inline FileSystemConfig& WithDefaultUid(int value) { SetDefaultUid(value); return *this;}
67
69
73 inline int GetDefaultGid() const{ return m_defaultGid; }
74 inline bool DefaultGidHasBeenSet() const { return m_defaultGidHasBeenSet; }
75 inline void SetDefaultGid(int value) { m_defaultGidHasBeenSet = true; m_defaultGid = value; }
76 inline FileSystemConfig& WithDefaultGid(int value) { SetDefaultGid(value); return *this;}
78 private:
79
80 Aws::String m_mountPath;
81 bool m_mountPathHasBeenSet = false;
82
83 int m_defaultUid;
84 bool m_defaultUidHasBeenSet = false;
85
86 int m_defaultGid;
87 bool m_defaultGidHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SageMaker
92} // namespace Aws
FileSystemConfig & WithMountPath(const char *value)
FileSystemConfig & WithDefaultUid(int value)
const Aws::String & GetMountPath() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
FileSystemConfig & WithMountPath(Aws::String &&value)
AWS_SAGEMAKER_API FileSystemConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API FileSystemConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
FileSystemConfig & WithMountPath(const Aws::String &value)
FileSystemConfig & WithDefaultGid(int value)
void SetMountPath(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue