AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ModelDashboardMonitoringSchedule.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ScheduleStatus.h>
10#include <aws/sagemaker/model/MonitoringType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/MonitoringScheduleConfig.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/sagemaker/model/MonitoringExecutionSummary.h>
15#include <aws/sagemaker/model/BatchTransformInput.h>
16#include <aws/sagemaker/model/MonitoringAlertSummary.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace SageMaker
30{
31namespace Model
32{
33
41 {
42 public:
43 AWS_SAGEMAKER_API ModelDashboardMonitoringSchedule() = default;
46 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetMonitoringScheduleArn() const { return m_monitoringScheduleArn; }
54 inline bool MonitoringScheduleArnHasBeenSet() const { return m_monitoringScheduleArnHasBeenSet; }
55 template<typename MonitoringScheduleArnT = Aws::String>
56 void SetMonitoringScheduleArn(MonitoringScheduleArnT&& value) { m_monitoringScheduleArnHasBeenSet = true; m_monitoringScheduleArn = std::forward<MonitoringScheduleArnT>(value); }
57 template<typename MonitoringScheduleArnT = Aws::String>
58 ModelDashboardMonitoringSchedule& WithMonitoringScheduleArn(MonitoringScheduleArnT&& value) { SetMonitoringScheduleArn(std::forward<MonitoringScheduleArnT>(value)); return *this;}
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) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName = std::forward<MonitoringScheduleNameT>(value); }
69 template<typename MonitoringScheduleNameT = Aws::String>
70 ModelDashboardMonitoringSchedule& WithMonitoringScheduleName(MonitoringScheduleNameT&& value) { SetMonitoringScheduleName(std::forward<MonitoringScheduleNameT>(value)); return *this;}
72
74
77 inline ScheduleStatus GetMonitoringScheduleStatus() const { return m_monitoringScheduleStatus; }
78 inline bool MonitoringScheduleStatusHasBeenSet() const { return m_monitoringScheduleStatusHasBeenSet; }
79 inline void SetMonitoringScheduleStatus(ScheduleStatus value) { m_monitoringScheduleStatusHasBeenSet = true; m_monitoringScheduleStatus = value; }
82
84
87 inline MonitoringType GetMonitoringType() const { return m_monitoringType; }
88 inline bool MonitoringTypeHasBeenSet() const { return m_monitoringTypeHasBeenSet; }
89 inline void SetMonitoringType(MonitoringType value) { m_monitoringTypeHasBeenSet = true; m_monitoringType = value; }
92
94
97 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
98 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
99 template<typename FailureReasonT = Aws::String>
100 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
101 template<typename FailureReasonT = Aws::String>
102 ModelDashboardMonitoringSchedule& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
110 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
111 template<typename CreationTimeT = Aws::Utils::DateTime>
112 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
113 template<typename CreationTimeT = Aws::Utils::DateTime>
114 ModelDashboardMonitoringSchedule& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
122 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
123 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
124 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
125 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
126 ModelDashboardMonitoringSchedule& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
128
130
131 inline const MonitoringScheduleConfig& GetMonitoringScheduleConfig() const { return m_monitoringScheduleConfig; }
132 inline bool MonitoringScheduleConfigHasBeenSet() const { return m_monitoringScheduleConfigHasBeenSet; }
133 template<typename MonitoringScheduleConfigT = MonitoringScheduleConfig>
134 void SetMonitoringScheduleConfig(MonitoringScheduleConfigT&& value) { m_monitoringScheduleConfigHasBeenSet = true; m_monitoringScheduleConfig = std::forward<MonitoringScheduleConfigT>(value); }
135 template<typename MonitoringScheduleConfigT = MonitoringScheduleConfig>
136 ModelDashboardMonitoringSchedule& WithMonitoringScheduleConfig(MonitoringScheduleConfigT&& value) { SetMonitoringScheduleConfig(std::forward<MonitoringScheduleConfigT>(value)); return *this;}
138
140
143 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
144 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
145 template<typename EndpointNameT = Aws::String>
146 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::forward<EndpointNameT>(value); }
147 template<typename EndpointNameT = Aws::String>
148 ModelDashboardMonitoringSchedule& WithEndpointName(EndpointNameT&& value) { SetEndpointName(std::forward<EndpointNameT>(value)); return *this;}
150
152
155 inline const Aws::Vector<MonitoringAlertSummary>& GetMonitoringAlertSummaries() const { return m_monitoringAlertSummaries; }
156 inline bool MonitoringAlertSummariesHasBeenSet() const { return m_monitoringAlertSummariesHasBeenSet; }
157 template<typename MonitoringAlertSummariesT = Aws::Vector<MonitoringAlertSummary>>
158 void SetMonitoringAlertSummaries(MonitoringAlertSummariesT&& value) { m_monitoringAlertSummariesHasBeenSet = true; m_monitoringAlertSummaries = std::forward<MonitoringAlertSummariesT>(value); }
159 template<typename MonitoringAlertSummariesT = Aws::Vector<MonitoringAlertSummary>>
160 ModelDashboardMonitoringSchedule& WithMonitoringAlertSummaries(MonitoringAlertSummariesT&& value) { SetMonitoringAlertSummaries(std::forward<MonitoringAlertSummariesT>(value)); return *this;}
161 template<typename MonitoringAlertSummariesT = MonitoringAlertSummary>
162 ModelDashboardMonitoringSchedule& AddMonitoringAlertSummaries(MonitoringAlertSummariesT&& value) { m_monitoringAlertSummariesHasBeenSet = true; m_monitoringAlertSummaries.emplace_back(std::forward<MonitoringAlertSummariesT>(value)); return *this; }
164
166
167 inline const MonitoringExecutionSummary& GetLastMonitoringExecutionSummary() const { return m_lastMonitoringExecutionSummary; }
168 inline bool LastMonitoringExecutionSummaryHasBeenSet() const { return m_lastMonitoringExecutionSummaryHasBeenSet; }
169 template<typename LastMonitoringExecutionSummaryT = MonitoringExecutionSummary>
170 void SetLastMonitoringExecutionSummary(LastMonitoringExecutionSummaryT&& value) { m_lastMonitoringExecutionSummaryHasBeenSet = true; m_lastMonitoringExecutionSummary = std::forward<LastMonitoringExecutionSummaryT>(value); }
171 template<typename LastMonitoringExecutionSummaryT = MonitoringExecutionSummary>
172 ModelDashboardMonitoringSchedule& WithLastMonitoringExecutionSummary(LastMonitoringExecutionSummaryT&& value) { SetLastMonitoringExecutionSummary(std::forward<LastMonitoringExecutionSummaryT>(value)); return *this;}
174
176
177 inline const BatchTransformInput& GetBatchTransformInput() const { return m_batchTransformInput; }
178 inline bool BatchTransformInputHasBeenSet() const { return m_batchTransformInputHasBeenSet; }
179 template<typename BatchTransformInputT = BatchTransformInput>
180 void SetBatchTransformInput(BatchTransformInputT&& value) { m_batchTransformInputHasBeenSet = true; m_batchTransformInput = std::forward<BatchTransformInputT>(value); }
181 template<typename BatchTransformInputT = BatchTransformInput>
182 ModelDashboardMonitoringSchedule& WithBatchTransformInput(BatchTransformInputT&& value) { SetBatchTransformInput(std::forward<BatchTransformInputT>(value)); return *this;}
184 private:
185
186 Aws::String m_monitoringScheduleArn;
187 bool m_monitoringScheduleArnHasBeenSet = false;
188
189 Aws::String m_monitoringScheduleName;
190 bool m_monitoringScheduleNameHasBeenSet = false;
191
192 ScheduleStatus m_monitoringScheduleStatus{ScheduleStatus::NOT_SET};
193 bool m_monitoringScheduleStatusHasBeenSet = false;
194
195 MonitoringType m_monitoringType{MonitoringType::NOT_SET};
196 bool m_monitoringTypeHasBeenSet = false;
197
198 Aws::String m_failureReason;
199 bool m_failureReasonHasBeenSet = false;
200
201 Aws::Utils::DateTime m_creationTime{};
202 bool m_creationTimeHasBeenSet = false;
203
204 Aws::Utils::DateTime m_lastModifiedTime{};
205 bool m_lastModifiedTimeHasBeenSet = false;
206
207 MonitoringScheduleConfig m_monitoringScheduleConfig;
208 bool m_monitoringScheduleConfigHasBeenSet = false;
209
210 Aws::String m_endpointName;
211 bool m_endpointNameHasBeenSet = false;
212
213 Aws::Vector<MonitoringAlertSummary> m_monitoringAlertSummaries;
214 bool m_monitoringAlertSummariesHasBeenSet = false;
215
216 MonitoringExecutionSummary m_lastMonitoringExecutionSummary;
217 bool m_lastMonitoringExecutionSummaryHasBeenSet = false;
218
219 BatchTransformInput m_batchTransformInput;
220 bool m_batchTransformInputHasBeenSet = false;
221 };
222
223} // namespace Model
224} // namespace SageMaker
225} // 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