AWS SDK for C++  1.9.160
AWS SDK for C++
FileSystemConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
46  inline const Aws::String& GetMountPath() const{ return m_mountPath; }
47 
53  inline bool MountPathHasBeenSet() const { return m_mountPathHasBeenSet; }
54 
60  inline void SetMountPath(const Aws::String& value) { m_mountPathHasBeenSet = true; m_mountPath = value; }
61 
67  inline void SetMountPath(Aws::String&& value) { m_mountPathHasBeenSet = true; m_mountPath = std::move(value); }
68 
74  inline void SetMountPath(const char* value) { m_mountPathHasBeenSet = true; m_mountPath.assign(value); }
75 
81  inline FileSystemConfig& WithMountPath(const Aws::String& value) { SetMountPath(value); return *this;}
82 
88  inline FileSystemConfig& WithMountPath(Aws::String&& value) { SetMountPath(std::move(value)); return *this;}
89 
95  inline FileSystemConfig& WithMountPath(const char* value) { SetMountPath(value); return *this;}
96 
97 
102  inline int GetDefaultUid() const{ return m_defaultUid; }
103 
108  inline bool DefaultUidHasBeenSet() const { return m_defaultUidHasBeenSet; }
109 
114  inline void SetDefaultUid(int value) { m_defaultUidHasBeenSet = true; m_defaultUid = value; }
115 
120  inline FileSystemConfig& WithDefaultUid(int value) { SetDefaultUid(value); return *this;}
121 
122 
127  inline int GetDefaultGid() const{ return m_defaultGid; }
128 
133  inline bool DefaultGidHasBeenSet() const { return m_defaultGidHasBeenSet; }
134 
139  inline void SetDefaultGid(int value) { m_defaultGidHasBeenSet = true; m_defaultGid = value; }
140 
145  inline FileSystemConfig& WithDefaultGid(int value) { SetDefaultGid(value); return *this;}
146 
147  private:
148 
149  Aws::String m_mountPath;
150  bool m_mountPathHasBeenSet;
151 
152  int m_defaultUid;
153  bool m_defaultUidHasBeenSet;
154 
155  int m_defaultGid;
156  bool m_defaultGidHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace SageMaker
161 } // namespace Aws
Aws::SageMaker::Model::FileSystemConfig::SetDefaultUid
void SetDefaultUid(int value)
Definition: FileSystemConfig.h:114
Aws::SageMaker::Model::FileSystemConfig::GetDefaultUid
int GetDefaultUid() const
Definition: FileSystemConfig.h:102
Aws::SageMaker::Model::FileSystemConfig::SetMountPath
void SetMountPath(Aws::String &&value)
Definition: FileSystemConfig.h:67
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::FileSystemConfig::DefaultGidHasBeenSet
bool DefaultGidHasBeenSet() const
Definition: FileSystemConfig.h:133
SageMaker_EXPORTS.h
Aws::SageMaker::Model::FileSystemConfig::WithDefaultGid
FileSystemConfig & WithDefaultGid(int value)
Definition: FileSystemConfig.h:145
Aws::SageMaker::Model::FileSystemConfig::SetDefaultGid
void SetDefaultGid(int value)
Definition: FileSystemConfig.h:139
Aws::SageMaker::Model::FileSystemConfig::WithMountPath
FileSystemConfig & WithMountPath(const char *value)
Definition: FileSystemConfig.h:95
Aws::SageMaker::Model::FileSystemConfig::DefaultUidHasBeenSet
bool DefaultUidHasBeenSet() const
Definition: FileSystemConfig.h:108
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::FileSystemConfig
Definition: FileSystemConfig.h:33
Aws::SageMaker::Model::FileSystemConfig::SetMountPath
void SetMountPath(const Aws::String &value)
Definition: FileSystemConfig.h:60
Aws::SageMaker::Model::FileSystemConfig::MountPathHasBeenSet
bool MountPathHasBeenSet() const
Definition: FileSystemConfig.h:53
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::FileSystemConfig::operator=
FileSystemConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::FileSystemConfig::FileSystemConfig
FileSystemConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::FileSystemConfig::GetDefaultGid
int GetDefaultGid() const
Definition: FileSystemConfig.h:127
Aws::SageMaker::Model::FileSystemConfig::WithMountPath
FileSystemConfig & WithMountPath(Aws::String &&value)
Definition: FileSystemConfig.h:88
Aws::SageMaker::Model::FileSystemConfig::SetMountPath
void SetMountPath(const char *value)
Definition: FileSystemConfig.h:74
Aws::SageMaker::Model::FileSystemConfig::FileSystemConfig
FileSystemConfig()
Aws::SageMaker::Model::FileSystemConfig::WithMountPath
FileSystemConfig & WithMountPath(const Aws::String &value)
Definition: FileSystemConfig.h:81
Aws::SageMaker::Model::FileSystemConfig::GetMountPath
const Aws::String & GetMountPath() const
Definition: FileSystemConfig.h:46
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::FileSystemConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::FileSystemConfig::WithDefaultUid
FileSystemConfig & WithDefaultUid(int value)
Definition: FileSystemConfig.h:120