AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ClusterOrchestrator.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ClusterOrchestratorEksConfig.h>
9#include <aws/sagemaker/model/ClusterOrchestratorSlurmConfig.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 ClusterOrchestrator() = default;
32 AWS_SAGEMAKER_API ClusterOrchestrator(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const ClusterOrchestratorEksConfig& GetEks() const { return m_eks; }
42 inline bool EksHasBeenSet() const { return m_eksHasBeenSet; }
43 template <typename EksT = ClusterOrchestratorEksConfig>
44 void SetEks(EksT&& value) {
45 m_eksHasBeenSet = true;
46 m_eks = std::forward<EksT>(value);
47 }
48 template <typename EksT = ClusterOrchestratorEksConfig>
50 SetEks(std::forward<EksT>(value));
51 return *this;
52 }
54
56
59 inline const ClusterOrchestratorSlurmConfig& GetSlurm() const { return m_slurm; }
60 inline bool SlurmHasBeenSet() const { return m_slurmHasBeenSet; }
61 template <typename SlurmT = ClusterOrchestratorSlurmConfig>
62 void SetSlurm(SlurmT&& value) {
63 m_slurmHasBeenSet = true;
64 m_slurm = std::forward<SlurmT>(value);
65 }
66 template <typename SlurmT = ClusterOrchestratorSlurmConfig>
67 ClusterOrchestrator& WithSlurm(SlurmT&& value) {
68 SetSlurm(std::forward<SlurmT>(value));
69 return *this;
70 }
72 private:
74
76 bool m_eksHasBeenSet = false;
77 bool m_slurmHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace SageMaker
82} // namespace Aws
AWS_SAGEMAKER_API ClusterOrchestrator()=default
ClusterOrchestrator & WithEks(EksT &&value)
ClusterOrchestrator & WithSlurm(SlurmT &&value)
const ClusterOrchestratorSlurmConfig & GetSlurm() const
AWS_SAGEMAKER_API ClusterOrchestrator(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ClusterOrchestrator & operator=(Aws::Utils::Json::JsonView jsonValue)
const ClusterOrchestratorEksConfig & GetEks() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue