AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModel(const Model& value) { m_modelHasBeenSet = true; m_model = value; }
53 inline void SetModel(Model&& value) { m_modelHasBeenSet = true; m_model = std::move(value); }
54 inline ModelDashboardModel& WithModel(const Model& value) { SetModel(value); return *this;}
55 inline ModelDashboardModel& WithModel(Model&& value) { SetModel(std::move(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 inline void SetEndpoints(const Aws::Vector<ModelDashboardEndpoint>& value) { m_endpointsHasBeenSet = true; m_endpoints = value; }
65 inline void SetEndpoints(Aws::Vector<ModelDashboardEndpoint>&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); }
67 inline ModelDashboardModel& WithEndpoints(Aws::Vector<ModelDashboardEndpoint>&& value) { SetEndpoints(std::move(value)); return *this;}
68 inline ModelDashboardModel& AddEndpoints(const ModelDashboardEndpoint& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; }
69 inline ModelDashboardModel& AddEndpoints(ModelDashboardEndpoint&& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(std::move(value)); return *this; }
71
73
74 inline const TransformJob& GetLastBatchTransformJob() const{ return m_lastBatchTransformJob; }
75 inline bool LastBatchTransformJobHasBeenSet() const { return m_lastBatchTransformJobHasBeenSet; }
76 inline void SetLastBatchTransformJob(const TransformJob& value) { m_lastBatchTransformJobHasBeenSet = true; m_lastBatchTransformJob = value; }
77 inline void SetLastBatchTransformJob(TransformJob&& value) { m_lastBatchTransformJobHasBeenSet = true; m_lastBatchTransformJob = std::move(value); }
79 inline ModelDashboardModel& WithLastBatchTransformJob(TransformJob&& value) { SetLastBatchTransformJob(std::move(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 inline void SetMonitoringSchedules(const Aws::Vector<ModelDashboardMonitoringSchedule>& value) { m_monitoringSchedulesHasBeenSet = true; m_monitoringSchedules = value; }
89 inline void SetMonitoringSchedules(Aws::Vector<ModelDashboardMonitoringSchedule>&& value) { m_monitoringSchedulesHasBeenSet = true; m_monitoringSchedules = std::move(value); }
92 inline ModelDashboardModel& AddMonitoringSchedules(const ModelDashboardMonitoringSchedule& value) { m_monitoringSchedulesHasBeenSet = true; m_monitoringSchedules.push_back(value); return *this; }
93 inline ModelDashboardModel& AddMonitoringSchedules(ModelDashboardMonitoringSchedule&& value) { m_monitoringSchedulesHasBeenSet = true; m_monitoringSchedules.push_back(std::move(value)); return *this; }
95
97
100 inline const ModelDashboardModelCard& GetModelCard() const{ return m_modelCard; }
101 inline bool ModelCardHasBeenSet() const { return m_modelCardHasBeenSet; }
102 inline void SetModelCard(const ModelDashboardModelCard& value) { m_modelCardHasBeenSet = true; m_modelCard = value; }
103 inline void SetModelCard(ModelDashboardModelCard&& value) { m_modelCardHasBeenSet = true; m_modelCard = std::move(value); }
104 inline ModelDashboardModel& WithModelCard(const ModelDashboardModelCard& value) { SetModelCard(value); return *this;}
105 inline ModelDashboardModel& WithModelCard(ModelDashboardModelCard&& value) { SetModelCard(std::move(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
ModelDashboardModel & AddMonitoringSchedules(ModelDashboardMonitoringSchedule &&value)
ModelDashboardModel & WithMonitoringSchedules(Aws::Vector< ModelDashboardMonitoringSchedule > &&value)
const Aws::Vector< ModelDashboardEndpoint > & GetEndpoints() const
void SetMonitoringSchedules(const Aws::Vector< ModelDashboardMonitoringSchedule > &value)
void SetEndpoints(Aws::Vector< ModelDashboardEndpoint > &&value)
ModelDashboardModel & WithEndpoints(Aws::Vector< ModelDashboardEndpoint > &&value)
void SetLastBatchTransformJob(TransformJob &&value)
ModelDashboardModel & WithMonitoringSchedules(const Aws::Vector< ModelDashboardMonitoringSchedule > &value)
const Aws::Vector< ModelDashboardMonitoringSchedule > & GetMonitoringSchedules() const
const ModelDashboardModelCard & GetModelCard() const
AWS_SAGEMAKER_API ModelDashboardModel(Aws::Utils::Json::JsonView jsonValue)
const TransformJob & GetLastBatchTransformJob() const
void SetModelCard(const ModelDashboardModelCard &value)
void SetModelCard(ModelDashboardModelCard &&value)
ModelDashboardModel & AddMonitoringSchedules(const ModelDashboardMonitoringSchedule &value)
ModelDashboardModel & AddEndpoints(ModelDashboardEndpoint &&value)
ModelDashboardModel & WithModelCard(ModelDashboardModelCard &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelDashboardModel & WithEndpoints(const Aws::Vector< ModelDashboardEndpoint > &value)
void SetLastBatchTransformJob(const TransformJob &value)
ModelDashboardModel & AddEndpoints(const ModelDashboardEndpoint &value)
ModelDashboardModel & WithModel(Model &&value)
void SetMonitoringSchedules(Aws::Vector< ModelDashboardMonitoringSchedule > &&value)
void SetEndpoints(const Aws::Vector< ModelDashboardEndpoint > &value)
ModelDashboardModel & WithModelCard(const ModelDashboardModelCard &value)
ModelDashboardModel & WithLastBatchTransformJob(TransformJob &&value)
ModelDashboardModel & WithLastBatchTransformJob(const TransformJob &value)
AWS_SAGEMAKER_API ModelDashboardModel & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelDashboardModel & WithModel(const Model &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue