AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
ClusterSharedEnvironmentConfigDetails.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ClusterFSxLustreDeletionPolicy.h>
9#include <aws/sagemaker/model/FSxLustreConfig.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
30 public:
31 AWS_SAGEMAKER_API ClusterSharedEnvironmentConfigDetails() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const FSxLustreConfig& GetCurrentFSxLustreConfig() const { return m_currentFSxLustreConfig; }
42 inline bool CurrentFSxLustreConfigHasBeenSet() const { return m_currentFSxLustreConfigHasBeenSet; }
43 template <typename CurrentFSxLustreConfigT = FSxLustreConfig>
44 void SetCurrentFSxLustreConfig(CurrentFSxLustreConfigT&& value) {
45 m_currentFSxLustreConfigHasBeenSet = true;
46 m_currentFSxLustreConfig = std::forward<CurrentFSxLustreConfigT>(value);
47 }
48 template <typename CurrentFSxLustreConfigT = FSxLustreConfig>
50 SetCurrentFSxLustreConfig(std::forward<CurrentFSxLustreConfigT>(value));
51 return *this;
52 }
54
56
60 inline const FSxLustreConfig& GetDesiredFSxLustreConfig() const { return m_desiredFSxLustreConfig; }
61 inline bool DesiredFSxLustreConfigHasBeenSet() const { return m_desiredFSxLustreConfigHasBeenSet; }
62 template <typename DesiredFSxLustreConfigT = FSxLustreConfig>
63 void SetDesiredFSxLustreConfig(DesiredFSxLustreConfigT&& value) {
64 m_desiredFSxLustreConfigHasBeenSet = true;
65 m_desiredFSxLustreConfig = std::forward<DesiredFSxLustreConfigT>(value);
66 }
67 template <typename DesiredFSxLustreConfigT = FSxLustreConfig>
69 SetDesiredFSxLustreConfig(std::forward<DesiredFSxLustreConfigT>(value));
70 return *this;
71 }
73
75
79 inline ClusterFSxLustreDeletionPolicy GetCurrentFSxLustreDeletionPolicy() const { return m_currentFSxLustreDeletionPolicy; }
80 inline bool CurrentFSxLustreDeletionPolicyHasBeenSet() const { return m_currentFSxLustreDeletionPolicyHasBeenSet; }
82 m_currentFSxLustreDeletionPolicyHasBeenSet = true;
83 m_currentFSxLustreDeletionPolicy = value;
84 }
87 return *this;
88 }
90
92
96 inline ClusterFSxLustreDeletionPolicy GetDesiredFSxLustreDeletionPolicy() const { return m_desiredFSxLustreDeletionPolicy; }
97 inline bool DesiredFSxLustreDeletionPolicyHasBeenSet() const { return m_desiredFSxLustreDeletionPolicyHasBeenSet; }
99 m_desiredFSxLustreDeletionPolicyHasBeenSet = true;
100 m_desiredFSxLustreDeletionPolicy = value;
101 }
104 return *this;
105 }
107 private:
108 FSxLustreConfig m_currentFSxLustreConfig;
109
110 FSxLustreConfig m_desiredFSxLustreConfig;
111
113
115 bool m_currentFSxLustreConfigHasBeenSet = false;
116 bool m_desiredFSxLustreConfigHasBeenSet = false;
117 bool m_currentFSxLustreDeletionPolicyHasBeenSet = false;
118 bool m_desiredFSxLustreDeletionPolicyHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace SageMaker
123} // namespace Aws
AWS_SAGEMAKER_API ClusterSharedEnvironmentConfigDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterSharedEnvironmentConfigDetails & WithCurrentFSxLustreConfig(CurrentFSxLustreConfigT &&value)
ClusterSharedEnvironmentConfigDetails & WithDesiredFSxLustreDeletionPolicy(ClusterFSxLustreDeletionPolicy value)
ClusterSharedEnvironmentConfigDetails & WithCurrentFSxLustreDeletionPolicy(ClusterFSxLustreDeletionPolicy value)
AWS_SAGEMAKER_API ClusterSharedEnvironmentConfigDetails(Aws::Utils::Json::JsonView jsonValue)
ClusterSharedEnvironmentConfigDetails & WithDesiredFSxLustreConfig(DesiredFSxLustreConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue