AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ModelDashboardMonitoringSchedule.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/BatchTransformInput.h>
12#include <aws/sagemaker/model/MonitoringAlertSummary.h>
13#include <aws/sagemaker/model/MonitoringExecutionSummary.h>
14#include <aws/sagemaker/model/MonitoringScheduleConfig.h>
15#include <aws/sagemaker/model/MonitoringType.h>
16#include <aws/sagemaker/model/ScheduleStatus.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker {
28namespace Model {
29
37 public:
38 AWS_SAGEMAKER_API ModelDashboardMonitoringSchedule() = default;
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
47 inline const Aws::String& GetMonitoringScheduleArn() const { return m_monitoringScheduleArn; }
48 inline bool MonitoringScheduleArnHasBeenSet() const { return m_monitoringScheduleArnHasBeenSet; }
49 template <typename MonitoringScheduleArnT = Aws::String>
50 void SetMonitoringScheduleArn(MonitoringScheduleArnT&& value) {
51 m_monitoringScheduleArnHasBeenSet = true;
52 m_monitoringScheduleArn = std::forward<MonitoringScheduleArnT>(value);
53 }
54 template <typename MonitoringScheduleArnT = Aws::String>
56 SetMonitoringScheduleArn(std::forward<MonitoringScheduleArnT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetMonitoringScheduleName() const { return m_monitoringScheduleName; }
66 inline bool MonitoringScheduleNameHasBeenSet() const { return m_monitoringScheduleNameHasBeenSet; }
67 template <typename MonitoringScheduleNameT = Aws::String>
68 void SetMonitoringScheduleName(MonitoringScheduleNameT&& value) {
69 m_monitoringScheduleNameHasBeenSet = true;
70 m_monitoringScheduleName = std::forward<MonitoringScheduleNameT>(value);
71 }
72 template <typename MonitoringScheduleNameT = Aws::String>
74 SetMonitoringScheduleName(std::forward<MonitoringScheduleNameT>(value));
75 return *this;
76 }
78
80
83 inline ScheduleStatus GetMonitoringScheduleStatus() const { return m_monitoringScheduleStatus; }
84 inline bool MonitoringScheduleStatusHasBeenSet() const { return m_monitoringScheduleStatusHasBeenSet; }
86 m_monitoringScheduleStatusHasBeenSet = true;
87 m_monitoringScheduleStatus = value;
88 }
91 return *this;
92 }
94
96
99 inline MonitoringType GetMonitoringType() const { return m_monitoringType; }
100 inline bool MonitoringTypeHasBeenSet() const { return m_monitoringTypeHasBeenSet; }
102 m_monitoringTypeHasBeenSet = true;
103 m_monitoringType = value;
104 }
106 SetMonitoringType(value);
107 return *this;
108 }
110
112
115 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
116 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
117 template <typename FailureReasonT = Aws::String>
118 void SetFailureReason(FailureReasonT&& value) {
119 m_failureReasonHasBeenSet = true;
120 m_failureReason = std::forward<FailureReasonT>(value);
121 }
122 template <typename FailureReasonT = Aws::String>
124 SetFailureReason(std::forward<FailureReasonT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
134 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
135 template <typename CreationTimeT = Aws::Utils::DateTime>
136 void SetCreationTime(CreationTimeT&& value) {
137 m_creationTimeHasBeenSet = true;
138 m_creationTime = std::forward<CreationTimeT>(value);
139 }
140 template <typename CreationTimeT = Aws::Utils::DateTime>
142 SetCreationTime(std::forward<CreationTimeT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
152 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
153 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
154 void SetLastModifiedTime(LastModifiedTimeT&& value) {
155 m_lastModifiedTimeHasBeenSet = true;
156 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
157 }
158 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
160 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
161 return *this;
162 }
164
166
167 inline const MonitoringScheduleConfig& GetMonitoringScheduleConfig() const { return m_monitoringScheduleConfig; }
168 inline bool MonitoringScheduleConfigHasBeenSet() const { return m_monitoringScheduleConfigHasBeenSet; }
169 template <typename MonitoringScheduleConfigT = MonitoringScheduleConfig>
170 void SetMonitoringScheduleConfig(MonitoringScheduleConfigT&& value) {
171 m_monitoringScheduleConfigHasBeenSet = true;
172 m_monitoringScheduleConfig = std::forward<MonitoringScheduleConfigT>(value);
173 }
174 template <typename MonitoringScheduleConfigT = MonitoringScheduleConfig>
176 SetMonitoringScheduleConfig(std::forward<MonitoringScheduleConfigT>(value));
177 return *this;
178 }
180
182
185 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
186 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
187 template <typename EndpointNameT = Aws::String>
188 void SetEndpointName(EndpointNameT&& value) {
189 m_endpointNameHasBeenSet = true;
190 m_endpointName = std::forward<EndpointNameT>(value);
191 }
192 template <typename EndpointNameT = Aws::String>
194 SetEndpointName(std::forward<EndpointNameT>(value));
195 return *this;
196 }
198
200
203 inline const Aws::Vector<MonitoringAlertSummary>& GetMonitoringAlertSummaries() const { return m_monitoringAlertSummaries; }
204 inline bool MonitoringAlertSummariesHasBeenSet() const { return m_monitoringAlertSummariesHasBeenSet; }
205 template <typename MonitoringAlertSummariesT = Aws::Vector<MonitoringAlertSummary>>
206 void SetMonitoringAlertSummaries(MonitoringAlertSummariesT&& value) {
207 m_monitoringAlertSummariesHasBeenSet = true;
208 m_monitoringAlertSummaries = std::forward<MonitoringAlertSummariesT>(value);
209 }
210 template <typename MonitoringAlertSummariesT = Aws::Vector<MonitoringAlertSummary>>
212 SetMonitoringAlertSummaries(std::forward<MonitoringAlertSummariesT>(value));
213 return *this;
214 }
215 template <typename MonitoringAlertSummariesT = MonitoringAlertSummary>
217 m_monitoringAlertSummariesHasBeenSet = true;
218 m_monitoringAlertSummaries.emplace_back(std::forward<MonitoringAlertSummariesT>(value));
219 return *this;
220 }
222
224
225 inline const MonitoringExecutionSummary& GetLastMonitoringExecutionSummary() const { return m_lastMonitoringExecutionSummary; }
226 inline bool LastMonitoringExecutionSummaryHasBeenSet() const { return m_lastMonitoringExecutionSummaryHasBeenSet; }
227 template <typename LastMonitoringExecutionSummaryT = MonitoringExecutionSummary>
228 void SetLastMonitoringExecutionSummary(LastMonitoringExecutionSummaryT&& value) {
229 m_lastMonitoringExecutionSummaryHasBeenSet = true;
230 m_lastMonitoringExecutionSummary = std::forward<LastMonitoringExecutionSummaryT>(value);
231 }
232 template <typename LastMonitoringExecutionSummaryT = MonitoringExecutionSummary>
234 SetLastMonitoringExecutionSummary(std::forward<LastMonitoringExecutionSummaryT>(value));
235 return *this;
236 }
238
240
241 inline const BatchTransformInput& GetBatchTransformInput() const { return m_batchTransformInput; }
242 inline bool BatchTransformInputHasBeenSet() const { return m_batchTransformInputHasBeenSet; }
243 template <typename BatchTransformInputT = BatchTransformInput>
244 void SetBatchTransformInput(BatchTransformInputT&& value) {
245 m_batchTransformInputHasBeenSet = true;
246 m_batchTransformInput = std::forward<BatchTransformInputT>(value);
247 }
248 template <typename BatchTransformInputT = BatchTransformInput>
250 SetBatchTransformInput(std::forward<BatchTransformInputT>(value));
251 return *this;
252 }
254 private:
255 Aws::String m_monitoringScheduleArn;
256
257 Aws::String m_monitoringScheduleName;
258
259 ScheduleStatus m_monitoringScheduleStatus{ScheduleStatus::NOT_SET};
260
261 MonitoringType m_monitoringType{MonitoringType::NOT_SET};
262
263 Aws::String m_failureReason;
264
265 Aws::Utils::DateTime m_creationTime{};
266
267 Aws::Utils::DateTime m_lastModifiedTime{};
268
269 MonitoringScheduleConfig m_monitoringScheduleConfig;
270
271 Aws::String m_endpointName;
272
273 Aws::Vector<MonitoringAlertSummary> m_monitoringAlertSummaries;
274
275 MonitoringExecutionSummary m_lastMonitoringExecutionSummary;
276
277 BatchTransformInput m_batchTransformInput;
278 bool m_monitoringScheduleArnHasBeenSet = false;
279 bool m_monitoringScheduleNameHasBeenSet = false;
280 bool m_monitoringScheduleStatusHasBeenSet = false;
281 bool m_monitoringTypeHasBeenSet = false;
282 bool m_failureReasonHasBeenSet = false;
283 bool m_creationTimeHasBeenSet = false;
284 bool m_lastModifiedTimeHasBeenSet = false;
285 bool m_monitoringScheduleConfigHasBeenSet = false;
286 bool m_endpointNameHasBeenSet = false;
287 bool m_monitoringAlertSummariesHasBeenSet = false;
288 bool m_lastMonitoringExecutionSummaryHasBeenSet = false;
289 bool m_batchTransformInputHasBeenSet = false;
290};
291
292} // namespace Model
293} // namespace SageMaker
294} // namespace Aws
ModelDashboardMonitoringSchedule & WithMonitoringType(MonitoringType value)
ModelDashboardMonitoringSchedule & WithMonitoringScheduleArn(MonitoringScheduleArnT &&value)
const Aws::Vector< MonitoringAlertSummary > & GetMonitoringAlertSummaries() const
ModelDashboardMonitoringSchedule & WithMonitoringScheduleConfig(MonitoringScheduleConfigT &&value)
AWS_SAGEMAKER_API ModelDashboardMonitoringSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelDashboardMonitoringSchedule & WithEndpointName(EndpointNameT &&value)
ModelDashboardMonitoringSchedule & AddMonitoringAlertSummaries(MonitoringAlertSummariesT &&value)
ModelDashboardMonitoringSchedule & WithBatchTransformInput(BatchTransformInputT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const MonitoringExecutionSummary & GetLastMonitoringExecutionSummary() const
void SetLastMonitoringExecutionSummary(LastMonitoringExecutionSummaryT &&value)
ModelDashboardMonitoringSchedule & WithFailureReason(FailureReasonT &&value)
AWS_SAGEMAKER_API ModelDashboardMonitoringSchedule()=default
AWS_SAGEMAKER_API ModelDashboardMonitoringSchedule(Aws::Utils::Json::JsonView jsonValue)
ModelDashboardMonitoringSchedule & WithMonitoringScheduleName(MonitoringScheduleNameT &&value)
ModelDashboardMonitoringSchedule & WithLastModifiedTime(LastModifiedTimeT &&value)
ModelDashboardMonitoringSchedule & WithMonitoringScheduleStatus(ScheduleStatus value)
ModelDashboardMonitoringSchedule & WithMonitoringAlertSummaries(MonitoringAlertSummariesT &&value)
ModelDashboardMonitoringSchedule & WithLastMonitoringExecutionSummary(LastMonitoringExecutionSummaryT &&value)
ModelDashboardMonitoringSchedule & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue