AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ModelDashboardModel.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/Model.h>
10#include <aws/sagemaker/model/ModelDashboardEndpoint.h>
11#include <aws/sagemaker/model/ModelDashboardModelCard.h>
12#include <aws/sagemaker/model/ModelDashboardMonitoringSchedule.h>
13#include <aws/sagemaker/model/TransformJob.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker {
25namespace Model {
26
34 public:
35 AWS_SAGEMAKER_API ModelDashboardModel() = default;
36 AWS_SAGEMAKER_API ModelDashboardModel(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Model& GetModel() const { return m_model; }
45 inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; }
46 template <typename ModelT = Model>
47 void SetModel(ModelT&& value) {
48 m_modelHasBeenSet = true;
49 m_model = std::forward<ModelT>(value);
50 }
51 template <typename ModelT = Model>
52 ModelDashboardModel& WithModel(ModelT&& value) {
53 SetModel(std::forward<ModelT>(value));
54 return *this;
55 }
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) {
66 m_endpointsHasBeenSet = true;
67 m_endpoints = std::forward<EndpointsT>(value);
68 }
69 template <typename EndpointsT = Aws::Vector<ModelDashboardEndpoint>>
70 ModelDashboardModel& WithEndpoints(EndpointsT&& value) {
71 SetEndpoints(std::forward<EndpointsT>(value));
72 return *this;
73 }
74 template <typename EndpointsT = ModelDashboardEndpoint>
75 ModelDashboardModel& AddEndpoints(EndpointsT&& value) {
76 m_endpointsHasBeenSet = true;
77 m_endpoints.emplace_back(std::forward<EndpointsT>(value));
78 return *this;
79 }
81
83
84 inline const TransformJob& GetLastBatchTransformJob() const { return m_lastBatchTransformJob; }
85 inline bool LastBatchTransformJobHasBeenSet() const { return m_lastBatchTransformJobHasBeenSet; }
86 template <typename LastBatchTransformJobT = TransformJob>
87 void SetLastBatchTransformJob(LastBatchTransformJobT&& value) {
88 m_lastBatchTransformJobHasBeenSet = true;
89 m_lastBatchTransformJob = std::forward<LastBatchTransformJobT>(value);
90 }
91 template <typename LastBatchTransformJobT = TransformJob>
92 ModelDashboardModel& WithLastBatchTransformJob(LastBatchTransformJobT&& value) {
93 SetLastBatchTransformJob(std::forward<LastBatchTransformJobT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::Vector<ModelDashboardMonitoringSchedule>& GetMonitoringSchedules() const { return m_monitoringSchedules; }
103 inline bool MonitoringSchedulesHasBeenSet() const { return m_monitoringSchedulesHasBeenSet; }
104 template <typename MonitoringSchedulesT = Aws::Vector<ModelDashboardMonitoringSchedule>>
105 void SetMonitoringSchedules(MonitoringSchedulesT&& value) {
106 m_monitoringSchedulesHasBeenSet = true;
107 m_monitoringSchedules = std::forward<MonitoringSchedulesT>(value);
108 }
109 template <typename MonitoringSchedulesT = Aws::Vector<ModelDashboardMonitoringSchedule>>
110 ModelDashboardModel& WithMonitoringSchedules(MonitoringSchedulesT&& value) {
111 SetMonitoringSchedules(std::forward<MonitoringSchedulesT>(value));
112 return *this;
113 }
114 template <typename MonitoringSchedulesT = ModelDashboardMonitoringSchedule>
115 ModelDashboardModel& AddMonitoringSchedules(MonitoringSchedulesT&& value) {
116 m_monitoringSchedulesHasBeenSet = true;
117 m_monitoringSchedules.emplace_back(std::forward<MonitoringSchedulesT>(value));
118 return *this;
119 }
121
123
126 inline const ModelDashboardModelCard& GetModelCard() const { return m_modelCard; }
127 inline bool ModelCardHasBeenSet() const { return m_modelCardHasBeenSet; }
128 template <typename ModelCardT = ModelDashboardModelCard>
129 void SetModelCard(ModelCardT&& value) {
130 m_modelCardHasBeenSet = true;
131 m_modelCard = std::forward<ModelCardT>(value);
132 }
133 template <typename ModelCardT = ModelDashboardModelCard>
134 ModelDashboardModel& WithModelCard(ModelCardT&& value) {
135 SetModelCard(std::forward<ModelCardT>(value));
136 return *this;
137 }
139 private:
140 Model m_model;
141
143
144 TransformJob m_lastBatchTransformJob;
145
147
148 ModelDashboardModelCard m_modelCard;
149 bool m_modelHasBeenSet = false;
150 bool m_endpointsHasBeenSet = false;
151 bool m_lastBatchTransformJobHasBeenSet = false;
152 bool m_monitoringSchedulesHasBeenSet = false;
153 bool m_modelCardHasBeenSet = false;
154};
155
156} // namespace Model
157} // namespace SageMaker
158} // 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