AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
ClusterRestrictedInstanceGroupsConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ClusterSharedEnvironmentConfig.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API ClusterRestrictedInstanceGroupsConfig() = default;
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const ClusterSharedEnvironmentConfig& GetSharedEnvironmentConfig() const { return m_sharedEnvironmentConfig; }
41 inline bool SharedEnvironmentConfigHasBeenSet() const { return m_sharedEnvironmentConfigHasBeenSet; }
42 template <typename SharedEnvironmentConfigT = ClusterSharedEnvironmentConfig>
43 void SetSharedEnvironmentConfig(SharedEnvironmentConfigT&& value) {
44 m_sharedEnvironmentConfigHasBeenSet = true;
45 m_sharedEnvironmentConfig = std::forward<SharedEnvironmentConfigT>(value);
46 }
47 template <typename SharedEnvironmentConfigT = ClusterSharedEnvironmentConfig>
49 SetSharedEnvironmentConfig(std::forward<SharedEnvironmentConfigT>(value));
50 return *this;
51 }
53 private:
54 ClusterSharedEnvironmentConfig m_sharedEnvironmentConfig;
55 bool m_sharedEnvironmentConfigHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace SageMaker
60} // namespace Aws
AWS_SAGEMAKER_API ClusterRestrictedInstanceGroupsConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ClusterRestrictedInstanceGroupsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterRestrictedInstanceGroupsConfig & WithSharedEnvironmentConfig(SharedEnvironmentConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue