AWS SDK for C++

AWS SDK for C++ Version 1.11.780

Loading...
Searching...
No Matches
ClusterInstanceStorageConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ClusterEbsVolumeConfig.h>
9#include <aws/sagemaker/model/ClusterFsxLustreConfig.h>
10#include <aws/sagemaker/model/ClusterFsxOpenZfsConfig.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
33 public:
34 AWS_SAGEMAKER_API ClusterInstanceStorageConfig() = default;
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
46 inline const ClusterEbsVolumeConfig& GetEbsVolumeConfig() const { return m_ebsVolumeConfig; }
47 inline bool EbsVolumeConfigHasBeenSet() const { return m_ebsVolumeConfigHasBeenSet; }
48 template <typename EbsVolumeConfigT = ClusterEbsVolumeConfig>
49 void SetEbsVolumeConfig(EbsVolumeConfigT&& value) {
50 m_ebsVolumeConfigHasBeenSet = true;
51 m_ebsVolumeConfig = std::forward<EbsVolumeConfigT>(value);
52 }
53 template <typename EbsVolumeConfigT = ClusterEbsVolumeConfig>
55 SetEbsVolumeConfig(std::forward<EbsVolumeConfigT>(value));
56 return *this;
57 }
59
61
65 inline const ClusterFsxLustreConfig& GetFsxLustreConfig() const { return m_fsxLustreConfig; }
66 inline bool FsxLustreConfigHasBeenSet() const { return m_fsxLustreConfigHasBeenSet; }
67 template <typename FsxLustreConfigT = ClusterFsxLustreConfig>
68 void SetFsxLustreConfig(FsxLustreConfigT&& value) {
69 m_fsxLustreConfigHasBeenSet = true;
70 m_fsxLustreConfig = std::forward<FsxLustreConfigT>(value);
71 }
72 template <typename FsxLustreConfigT = ClusterFsxLustreConfig>
74 SetFsxLustreConfig(std::forward<FsxLustreConfigT>(value));
75 return *this;
76 }
78
80
84 inline const ClusterFsxOpenZfsConfig& GetFsxOpenZfsConfig() const { return m_fsxOpenZfsConfig; }
85 inline bool FsxOpenZfsConfigHasBeenSet() const { return m_fsxOpenZfsConfigHasBeenSet; }
86 template <typename FsxOpenZfsConfigT = ClusterFsxOpenZfsConfig>
87 void SetFsxOpenZfsConfig(FsxOpenZfsConfigT&& value) {
88 m_fsxOpenZfsConfigHasBeenSet = true;
89 m_fsxOpenZfsConfig = std::forward<FsxOpenZfsConfigT>(value);
90 }
91 template <typename FsxOpenZfsConfigT = ClusterFsxOpenZfsConfig>
93 SetFsxOpenZfsConfig(std::forward<FsxOpenZfsConfigT>(value));
94 return *this;
95 }
97 private:
98 ClusterEbsVolumeConfig m_ebsVolumeConfig;
99
100 ClusterFsxLustreConfig m_fsxLustreConfig;
101
102 ClusterFsxOpenZfsConfig m_fsxOpenZfsConfig;
103 bool m_ebsVolumeConfigHasBeenSet = false;
104 bool m_fsxLustreConfigHasBeenSet = false;
105 bool m_fsxOpenZfsConfigHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace SageMaker
110} // namespace Aws
AWS_SAGEMAKER_API ClusterInstanceStorageConfig()=default
ClusterInstanceStorageConfig & WithEbsVolumeConfig(EbsVolumeConfigT &&value)
AWS_SAGEMAKER_API ClusterInstanceStorageConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ClusterInstanceStorageConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterInstanceStorageConfig & WithFsxOpenZfsConfig(FsxOpenZfsConfigT &&value)
const ClusterFsxOpenZfsConfig & GetFsxOpenZfsConfig() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterInstanceStorageConfig & WithFsxLustreConfig(FsxLustreConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue