AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ProcessingResources.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ProcessingClusterConfig.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SAGEMAKER_API ProcessingResources() = default;
37 AWS_SAGEMAKER_API ProcessingResources(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const ProcessingClusterConfig& GetClusterConfig() const { return m_clusterConfig; }
48 inline bool ClusterConfigHasBeenSet() const { return m_clusterConfigHasBeenSet; }
49 template<typename ClusterConfigT = ProcessingClusterConfig>
50 void SetClusterConfig(ClusterConfigT&& value) { m_clusterConfigHasBeenSet = true; m_clusterConfig = std::forward<ClusterConfigT>(value); }
51 template<typename ClusterConfigT = ProcessingClusterConfig>
52 ProcessingResources& WithClusterConfig(ClusterConfigT&& value) { SetClusterConfig(std::forward<ClusterConfigT>(value)); return *this;}
54 private:
55
56 ProcessingClusterConfig m_clusterConfig;
57 bool m_clusterConfigHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace SageMaker
62} // namespace Aws
AWS_SAGEMAKER_API ProcessingResources & operator=(Aws::Utils::Json::JsonView jsonValue)
const ProcessingClusterConfig & GetClusterConfig() const
ProcessingResources & WithClusterConfig(ClusterConfigT &&value)
AWS_SAGEMAKER_API ProcessingResources(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ProcessingResources()=default
void SetClusterConfig(ClusterConfigT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue