AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ModelDashboardModel.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/Model.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/TransformJob.h>
11#include <aws/sagemaker/model/ModelDashboardModelCard.h>
12#include <aws/sagemaker/model/ModelDashboardEndpoint.h>
13#include <aws/sagemaker/model/ModelDashboardMonitoringSchedule.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_SAGEMAKER_API ModelDashboardModel() = default;
41 AWS_SAGEMAKER_API ModelDashboardModel(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Model& GetModel() const { return m_model; }
51 inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; }
52 template<typename ModelT = Model>
53 void SetModel(ModelT&& value) { m_modelHasBeenSet = true; m_model = std::forward<ModelT>(value); }
54 template<typename ModelT = Model>
55 ModelDashboardModel& WithModel(ModelT&& value) { SetModel(std::forward<ModelT>(value)); return *this;}
57
59
62 inline const Aws::Vector<ModelDashboardEndpoint>& GetEndpoints() const { return m_endpoints; }
63 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
64 template<typename EndpointsT = Aws::Vector<ModelDashboardEndpoint>>
65 void SetEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::forward<EndpointsT>(value); }
66 template<typename EndpointsT = Aws::Vector<ModelDashboardEndpoint>>
67 ModelDashboardModel& WithEndpoints(EndpointsT&& value) { SetEndpoints(std::forward<EndpointsT>(value)); return *this;}
68 template<typename EndpointsT = ModelDashboardEndpoint>
69 ModelDashboardModel& AddEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace_back(std::forward<EndpointsT>(value)); return *this; }
71
73
74 inline const TransformJob& GetLastBatchTransformJob() const { return m_lastBatchTransformJob; }
75 inline bool LastBatchTransformJobHasBeenSet() const { return m_lastBatchTransformJobHasBeenSet; }
76 template<typename LastBatchTransformJobT = TransformJob>
77 void SetLastBatchTransformJob(LastBatchTransformJobT&& value) { m_lastBatchTransformJobHasBeenSet = true; m_lastBatchTransformJob = std::forward<LastBatchTransformJobT>(value); }
78 template<typename LastBatchTransformJobT = TransformJob>
79 ModelDashboardModel& WithLastBatchTransformJob(LastBatchTransformJobT&& value) { SetLastBatchTransformJob(std::forward<LastBatchTransformJobT>(value)); return *this;}
81
83
86 inline const Aws::Vector<ModelDashboardMonitoringSchedule>& GetMonitoringSchedules() const { return m_monitoringSchedules; }
87 inline bool MonitoringSchedulesHasBeenSet() const { return m_monitoringSchedulesHasBeenSet; }
88 template<typename MonitoringSchedulesT = Aws::Vector<ModelDashboardMonitoringSchedule>>
89 void SetMonitoringSchedules(MonitoringSchedulesT&& value) { m_monitoringSchedulesHasBeenSet = true; m_monitoringSchedules = std::forward<MonitoringSchedulesT>(value); }
90 template<typename MonitoringSchedulesT = Aws::Vector<ModelDashboardMonitoringSchedule>>
91 ModelDashboardModel& WithMonitoringSchedules(MonitoringSchedulesT&& value) { SetMonitoringSchedules(std::forward<MonitoringSchedulesT>(value)); return *this;}
92 template<typename MonitoringSchedulesT = ModelDashboardMonitoringSchedule>
93 ModelDashboardModel& AddMonitoringSchedules(MonitoringSchedulesT&& value) { m_monitoringSchedulesHasBeenSet = true; m_monitoringSchedules.emplace_back(std::forward<MonitoringSchedulesT>(value)); return *this; }
95
97
100 inline const ModelDashboardModelCard& GetModelCard() const { return m_modelCard; }
101 inline bool ModelCardHasBeenSet() const { return m_modelCardHasBeenSet; }
102 template<typename ModelCardT = ModelDashboardModelCard>
103 void SetModelCard(ModelCardT&& value) { m_modelCardHasBeenSet = true; m_modelCard = std::forward<ModelCardT>(value); }
104 template<typename ModelCardT = ModelDashboardModelCard>
105 ModelDashboardModel& WithModelCard(ModelCardT&& value) { SetModelCard(std::forward<ModelCardT>(value)); return *this;}
107 private:
108
109 Model m_model;
110 bool m_modelHasBeenSet = false;
111
113 bool m_endpointsHasBeenSet = false;
114
115 TransformJob m_lastBatchTransformJob;
116 bool m_lastBatchTransformJobHasBeenSet = false;
117
119 bool m_monitoringSchedulesHasBeenSet = false;
120
121 ModelDashboardModelCard m_modelCard;
122 bool m_modelCardHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace SageMaker
127} // namespace Aws
const Aws::Vector< ModelDashboardEndpoint > & GetEndpoints() const
AWS_SAGEMAKER_API ModelDashboardModel()=default
const Aws::Vector< ModelDashboardMonitoringSchedule > & GetMonitoringSchedules() const
const ModelDashboardModelCard & GetModelCard() const
void SetMonitoringSchedules(MonitoringSchedulesT &&value)
AWS_SAGEMAKER_API ModelDashboardModel(Aws::Utils::Json::JsonView jsonValue)
const TransformJob & GetLastBatchTransformJob() const
ModelDashboardModel & WithModel(ModelT &&value)
ModelDashboardModel & WithMonitoringSchedules(MonitoringSchedulesT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelDashboardModel & WithLastBatchTransformJob(LastBatchTransformJobT &&value)
ModelDashboardModel & WithEndpoints(EndpointsT &&value)
ModelDashboardModel & AddEndpoints(EndpointsT &&value)
ModelDashboardModel & WithModelCard(ModelCardT &&value)
AWS_SAGEMAKER_API ModelDashboardModel & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelDashboardModel & AddMonitoringSchedules(MonitoringSchedulesT &&value)
void SetLastBatchTransformJob(LastBatchTransformJobT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue