AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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 <aws/sagemaker/model/S3FileSystemConfig.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
32 public:
33 AWS_SAGEMAKER_API CustomFileSystemConfig() = default;
36 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const EFSFileSystemConfig& GetEFSFileSystemConfig() const { return m_eFSFileSystemConfig; }
43 inline bool EFSFileSystemConfigHasBeenSet() const { return m_eFSFileSystemConfigHasBeenSet; }
44 template <typename EFSFileSystemConfigT = EFSFileSystemConfig>
45 void SetEFSFileSystemConfig(EFSFileSystemConfigT&& value) {
46 m_eFSFileSystemConfigHasBeenSet = true;
47 m_eFSFileSystemConfig = std::forward<EFSFileSystemConfigT>(value);
48 }
49 template <typename EFSFileSystemConfigT = EFSFileSystemConfig>
50 CustomFileSystemConfig& WithEFSFileSystemConfig(EFSFileSystemConfigT&& value) {
51 SetEFSFileSystemConfig(std::forward<EFSFileSystemConfigT>(value));
52 return *this;
53 }
55
57
60 inline const FSxLustreFileSystemConfig& GetFSxLustreFileSystemConfig() const { return m_fSxLustreFileSystemConfig; }
61 inline bool FSxLustreFileSystemConfigHasBeenSet() const { return m_fSxLustreFileSystemConfigHasBeenSet; }
62 template <typename FSxLustreFileSystemConfigT = FSxLustreFileSystemConfig>
63 void SetFSxLustreFileSystemConfig(FSxLustreFileSystemConfigT&& value) {
64 m_fSxLustreFileSystemConfigHasBeenSet = true;
65 m_fSxLustreFileSystemConfig = std::forward<FSxLustreFileSystemConfigT>(value);
66 }
67 template <typename FSxLustreFileSystemConfigT = FSxLustreFileSystemConfig>
68 CustomFileSystemConfig& WithFSxLustreFileSystemConfig(FSxLustreFileSystemConfigT&& value) {
69 SetFSxLustreFileSystemConfig(std::forward<FSxLustreFileSystemConfigT>(value));
70 return *this;
71 }
73
75
78 inline const S3FileSystemConfig& GetS3FileSystemConfig() const { return m_s3FileSystemConfig; }
79 inline bool S3FileSystemConfigHasBeenSet() const { return m_s3FileSystemConfigHasBeenSet; }
80 template <typename S3FileSystemConfigT = S3FileSystemConfig>
81 void SetS3FileSystemConfig(S3FileSystemConfigT&& value) {
82 m_s3FileSystemConfigHasBeenSet = true;
83 m_s3FileSystemConfig = std::forward<S3FileSystemConfigT>(value);
84 }
85 template <typename S3FileSystemConfigT = S3FileSystemConfig>
86 CustomFileSystemConfig& WithS3FileSystemConfig(S3FileSystemConfigT&& value) {
87 SetS3FileSystemConfig(std::forward<S3FileSystemConfigT>(value));
88 return *this;
89 }
91 private:
92 EFSFileSystemConfig m_eFSFileSystemConfig;
93
94 FSxLustreFileSystemConfig m_fSxLustreFileSystemConfig;
95
96 S3FileSystemConfig m_s3FileSystemConfig;
97 bool m_eFSFileSystemConfigHasBeenSet = false;
98 bool m_fSxLustreFileSystemConfigHasBeenSet = false;
99 bool m_s3FileSystemConfigHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace SageMaker
104} // namespace Aws
void SetFSxLustreFileSystemConfig(FSxLustreFileSystemConfigT &&value)
const S3FileSystemConfig & GetS3FileSystemConfig() const
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)
void SetS3FileSystemConfig(S3FileSystemConfigT &&value)
AWS_SAGEMAKER_API CustomFileSystemConfig()=default
CustomFileSystemConfig & WithS3FileSystemConfig(S3FileSystemConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue