AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
MonitoringResources.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/MonitoringClusterConfig.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 MonitoringResources() = default;
31 AWS_SAGEMAKER_API MonitoringResources(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const MonitoringClusterConfig& GetClusterConfig() const { return m_clusterConfig; }
41 inline bool ClusterConfigHasBeenSet() const { return m_clusterConfigHasBeenSet; }
42 template <typename ClusterConfigT = MonitoringClusterConfig>
43 void SetClusterConfig(ClusterConfigT&& value) {
44 m_clusterConfigHasBeenSet = true;
45 m_clusterConfig = std::forward<ClusterConfigT>(value);
46 }
47 template <typename ClusterConfigT = MonitoringClusterConfig>
48 MonitoringResources& WithClusterConfig(ClusterConfigT&& value) {
49 SetClusterConfig(std::forward<ClusterConfigT>(value));
50 return *this;
51 }
53 private:
54 MonitoringClusterConfig m_clusterConfig;
55 bool m_clusterConfigHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace SageMaker
60} // namespace Aws
AWS_SAGEMAKER_API MonitoringResources(Aws::Utils::Json::JsonView jsonValue)
const MonitoringClusterConfig & GetClusterConfig() const
void SetClusterConfig(ClusterConfigT &&value)
MonitoringResources & WithClusterConfig(ClusterConfigT &&value)
AWS_SAGEMAKER_API MonitoringResources & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API MonitoringResources()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue