AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
ClusterSharedEnvironmentConfig.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 ClusterSharedEnvironmentConfig() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline ClusterFSxLustreDeletionPolicy GetFSxLustreDeletionPolicy() const { return m_fSxLustreDeletionPolicy; }
42 inline bool FSxLustreDeletionPolicyHasBeenSet() const { return m_fSxLustreDeletionPolicyHasBeenSet; }
44 m_fSxLustreDeletionPolicyHasBeenSet = true;
45 m_fSxLustreDeletionPolicy = value;
46 }
49 return *this;
50 }
52
54
58 inline const FSxLustreConfig& GetFSxLustreConfig() const { return m_fSxLustreConfig; }
59 inline bool FSxLustreConfigHasBeenSet() const { return m_fSxLustreConfigHasBeenSet; }
60 template <typename FSxLustreConfigT = FSxLustreConfig>
61 void SetFSxLustreConfig(FSxLustreConfigT&& value) {
62 m_fSxLustreConfigHasBeenSet = true;
63 m_fSxLustreConfig = std::forward<FSxLustreConfigT>(value);
64 }
65 template <typename FSxLustreConfigT = FSxLustreConfig>
67 SetFSxLustreConfig(std::forward<FSxLustreConfigT>(value));
68 return *this;
69 }
71 private:
73
74 FSxLustreConfig m_fSxLustreConfig;
75 bool m_fSxLustreDeletionPolicyHasBeenSet = false;
76 bool m_fSxLustreConfigHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace SageMaker
81} // namespace Aws
void SetFSxLustreDeletionPolicy(ClusterFSxLustreDeletionPolicy value)
AWS_SAGEMAKER_API ClusterSharedEnvironmentConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ClusterSharedEnvironmentConfig()=default
ClusterSharedEnvironmentConfig & WithFSxLustreConfig(FSxLustreConfigT &&value)
ClusterSharedEnvironmentConfig & WithFSxLustreDeletionPolicy(ClusterFSxLustreDeletionPolicy value)
AWS_SAGEMAKER_API ClusterSharedEnvironmentConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue