AWS SDK for C++

AWS SDK for C++ Version 1.11.718

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
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
30 public:
31 AWS_SAGEMAKER_API ProcessingResources() = default;
32 AWS_SAGEMAKER_API ProcessingResources(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const ProcessingClusterConfig& GetClusterConfig() const { return m_clusterConfig; }
42 inline bool ClusterConfigHasBeenSet() const { return m_clusterConfigHasBeenSet; }
43 template <typename ClusterConfigT = ProcessingClusterConfig>
44 void SetClusterConfig(ClusterConfigT&& value) {
45 m_clusterConfigHasBeenSet = true;
46 m_clusterConfig = std::forward<ClusterConfigT>(value);
47 }
48 template <typename ClusterConfigT = ProcessingClusterConfig>
49 ProcessingResources& WithClusterConfig(ClusterConfigT&& value) {
50 SetClusterConfig(std::forward<ClusterConfigT>(value));
51 return *this;
52 }
54 private:
55 ProcessingClusterConfig m_clusterConfig;
56 bool m_clusterConfigHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace SageMaker
61} // 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