AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CustomFileSystemConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/EFSFileSystemConfig.h>
9#include <aws/sagemaker/model/FSxLustreFileSystemConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_SAGEMAKER_API CustomFileSystemConfig() = default;
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const EFSFileSystemConfig& GetEFSFileSystemConfig() const { return m_eFSFileSystemConfig; }
48 inline bool EFSFileSystemConfigHasBeenSet() const { return m_eFSFileSystemConfigHasBeenSet; }
49 template<typename EFSFileSystemConfigT = EFSFileSystemConfig>
50 void SetEFSFileSystemConfig(EFSFileSystemConfigT&& value) { m_eFSFileSystemConfigHasBeenSet = true; m_eFSFileSystemConfig = std::forward<EFSFileSystemConfigT>(value); }
51 template<typename EFSFileSystemConfigT = EFSFileSystemConfig>
52 CustomFileSystemConfig& WithEFSFileSystemConfig(EFSFileSystemConfigT&& value) { SetEFSFileSystemConfig(std::forward<EFSFileSystemConfigT>(value)); return *this;}
54
56
59 inline const FSxLustreFileSystemConfig& GetFSxLustreFileSystemConfig() const { return m_fSxLustreFileSystemConfig; }
60 inline bool FSxLustreFileSystemConfigHasBeenSet() const { return m_fSxLustreFileSystemConfigHasBeenSet; }
61 template<typename FSxLustreFileSystemConfigT = FSxLustreFileSystemConfig>
62 void SetFSxLustreFileSystemConfig(FSxLustreFileSystemConfigT&& value) { m_fSxLustreFileSystemConfigHasBeenSet = true; m_fSxLustreFileSystemConfig = std::forward<FSxLustreFileSystemConfigT>(value); }
63 template<typename FSxLustreFileSystemConfigT = FSxLustreFileSystemConfig>
64 CustomFileSystemConfig& WithFSxLustreFileSystemConfig(FSxLustreFileSystemConfigT&& value) { SetFSxLustreFileSystemConfig(std::forward<FSxLustreFileSystemConfigT>(value)); return *this;}
66 private:
67
68 EFSFileSystemConfig m_eFSFileSystemConfig;
69 bool m_eFSFileSystemConfigHasBeenSet = false;
70
71 FSxLustreFileSystemConfig m_fSxLustreFileSystemConfig;
72 bool m_fSxLustreFileSystemConfigHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SageMaker
77} // namespace Aws
void SetFSxLustreFileSystemConfig(FSxLustreFileSystemConfigT &&value)
void SetEFSFileSystemConfig(EFSFileSystemConfigT &&value)
const FSxLustreFileSystemConfig & GetFSxLustreFileSystemConfig() const
const EFSFileSystemConfig & GetEFSFileSystemConfig() const
AWS_SAGEMAKER_API CustomFileSystemConfig(Aws::Utils::Json::JsonView jsonValue)
CustomFileSystemConfig & WithEFSFileSystemConfig(EFSFileSystemConfigT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
CustomFileSystemConfig & WithFSxLustreFileSystemConfig(FSxLustreFileSystemConfigT &&value)
AWS_SAGEMAKER_API CustomFileSystemConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API CustomFileSystemConfig()=default
Aws::Utils::Json::JsonValue JsonValue