AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeMonitoringScheduleResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/MonitoringExecutionSummary.h>
11#include <aws/sagemaker/model/MonitoringScheduleConfig.h>
12#include <aws/sagemaker/model/MonitoringType.h>
13#include <aws/sagemaker/model/ScheduleStatus.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker {
27namespace Model {
29 public:
30 AWS_SAGEMAKER_API DescribeMonitoringScheduleResult() = default;
33
35
38 inline const Aws::String& GetMonitoringScheduleArn() const { return m_monitoringScheduleArn; }
39 template <typename MonitoringScheduleArnT = Aws::String>
40 void SetMonitoringScheduleArn(MonitoringScheduleArnT&& value) {
41 m_monitoringScheduleArnHasBeenSet = true;
42 m_monitoringScheduleArn = std::forward<MonitoringScheduleArnT>(value);
43 }
44 template <typename MonitoringScheduleArnT = Aws::String>
46 SetMonitoringScheduleArn(std::forward<MonitoringScheduleArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetMonitoringScheduleName() const { return m_monitoringScheduleName; }
56 template <typename MonitoringScheduleNameT = Aws::String>
57 void SetMonitoringScheduleName(MonitoringScheduleNameT&& value) {
58 m_monitoringScheduleNameHasBeenSet = true;
59 m_monitoringScheduleName = std::forward<MonitoringScheduleNameT>(value);
60 }
61 template <typename MonitoringScheduleNameT = Aws::String>
63 SetMonitoringScheduleName(std::forward<MonitoringScheduleNameT>(value));
64 return *this;
65 }
67
69
72 inline ScheduleStatus GetMonitoringScheduleStatus() const { return m_monitoringScheduleStatus; }
74 m_monitoringScheduleStatusHasBeenSet = true;
75 m_monitoringScheduleStatus = value;
76 }
79 return *this;
80 }
82
84
93 inline MonitoringType GetMonitoringType() const { return m_monitoringType; }
94 inline void SetMonitoringType(MonitoringType value) {
95 m_monitoringTypeHasBeenSet = true;
96 m_monitoringType = value;
97 }
99 SetMonitoringType(value);
100 return *this;
101 }
103
105
109 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
110 template <typename FailureReasonT = Aws::String>
111 void SetFailureReason(FailureReasonT&& value) {
112 m_failureReasonHasBeenSet = true;
113 m_failureReason = std::forward<FailureReasonT>(value);
114 }
115 template <typename FailureReasonT = Aws::String>
117 SetFailureReason(std::forward<FailureReasonT>(value));
118 return *this;
119 }
121
123
126 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
127 template <typename CreationTimeT = Aws::Utils::DateTime>
128 void SetCreationTime(CreationTimeT&& value) {
129 m_creationTimeHasBeenSet = true;
130 m_creationTime = std::forward<CreationTimeT>(value);
131 }
132 template <typename CreationTimeT = Aws::Utils::DateTime>
134 SetCreationTime(std::forward<CreationTimeT>(value));
135 return *this;
136 }
138
140
143 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
144 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
145 void SetLastModifiedTime(LastModifiedTimeT&& value) {
146 m_lastModifiedTimeHasBeenSet = true;
147 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
148 }
149 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
151 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
152 return *this;
153 }
155
157
161 inline const MonitoringScheduleConfig& GetMonitoringScheduleConfig() const { return m_monitoringScheduleConfig; }
162 template <typename MonitoringScheduleConfigT = MonitoringScheduleConfig>
163 void SetMonitoringScheduleConfig(MonitoringScheduleConfigT&& value) {
164 m_monitoringScheduleConfigHasBeenSet = true;
165 m_monitoringScheduleConfig = std::forward<MonitoringScheduleConfigT>(value);
166 }
167 template <typename MonitoringScheduleConfigT = MonitoringScheduleConfig>
169 SetMonitoringScheduleConfig(std::forward<MonitoringScheduleConfigT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
179 template <typename EndpointNameT = Aws::String>
180 void SetEndpointName(EndpointNameT&& value) {
181 m_endpointNameHasBeenSet = true;
182 m_endpointName = std::forward<EndpointNameT>(value);
183 }
184 template <typename EndpointNameT = Aws::String>
186 SetEndpointName(std::forward<EndpointNameT>(value));
187 return *this;
188 }
190
192
195 inline const MonitoringExecutionSummary& GetLastMonitoringExecutionSummary() const { return m_lastMonitoringExecutionSummary; }
196 template <typename LastMonitoringExecutionSummaryT = MonitoringExecutionSummary>
197 void SetLastMonitoringExecutionSummary(LastMonitoringExecutionSummaryT&& value) {
198 m_lastMonitoringExecutionSummaryHasBeenSet = true;
199 m_lastMonitoringExecutionSummary = std::forward<LastMonitoringExecutionSummaryT>(value);
200 }
201 template <typename LastMonitoringExecutionSummaryT = MonitoringExecutionSummary>
203 SetLastMonitoringExecutionSummary(std::forward<LastMonitoringExecutionSummaryT>(value));
204 return *this;
205 }
207
209
210 inline const Aws::String& GetRequestId() const { return m_requestId; }
211 template <typename RequestIdT = Aws::String>
212 void SetRequestId(RequestIdT&& value) {
213 m_requestIdHasBeenSet = true;
214 m_requestId = std::forward<RequestIdT>(value);
215 }
216 template <typename RequestIdT = Aws::String>
218 SetRequestId(std::forward<RequestIdT>(value));
219 return *this;
220 }
222 private:
223 Aws::String m_monitoringScheduleArn;
224
225 Aws::String m_monitoringScheduleName;
226
227 ScheduleStatus m_monitoringScheduleStatus{ScheduleStatus::NOT_SET};
228
229 MonitoringType m_monitoringType{MonitoringType::NOT_SET};
230
231 Aws::String m_failureReason;
232
233 Aws::Utils::DateTime m_creationTime{};
234
235 Aws::Utils::DateTime m_lastModifiedTime{};
236
237 MonitoringScheduleConfig m_monitoringScheduleConfig;
238
239 Aws::String m_endpointName;
240
241 MonitoringExecutionSummary m_lastMonitoringExecutionSummary;
242
243 Aws::String m_requestId;
244 bool m_monitoringScheduleArnHasBeenSet = false;
245 bool m_monitoringScheduleNameHasBeenSet = false;
246 bool m_monitoringScheduleStatusHasBeenSet = false;
247 bool m_monitoringTypeHasBeenSet = false;
248 bool m_failureReasonHasBeenSet = false;
249 bool m_creationTimeHasBeenSet = false;
250 bool m_lastModifiedTimeHasBeenSet = false;
251 bool m_monitoringScheduleConfigHasBeenSet = false;
252 bool m_endpointNameHasBeenSet = false;
253 bool m_lastMonitoringExecutionSummaryHasBeenSet = false;
254 bool m_requestIdHasBeenSet = false;
255};
256
257} // namespace Model
258} // namespace SageMaker
259} // namespace Aws
const MonitoringExecutionSummary & GetLastMonitoringExecutionSummary() const
DescribeMonitoringScheduleResult & WithMonitoringScheduleStatus(ScheduleStatus value)
DescribeMonitoringScheduleResult & WithMonitoringScheduleName(MonitoringScheduleNameT &&value)
DescribeMonitoringScheduleResult & WithFailureReason(FailureReasonT &&value)
DescribeMonitoringScheduleResult & WithMonitoringType(MonitoringType value)
DescribeMonitoringScheduleResult & WithLastMonitoringExecutionSummary(LastMonitoringExecutionSummaryT &&value)
AWS_SAGEMAKER_API DescribeMonitoringScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API DescribeMonitoringScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API DescribeMonitoringScheduleResult()=default
DescribeMonitoringScheduleResult & WithMonitoringScheduleArn(MonitoringScheduleArnT &&value)
DescribeMonitoringScheduleResult & WithCreationTime(CreationTimeT &&value)
void SetLastMonitoringExecutionSummary(LastMonitoringExecutionSummaryT &&value)
DescribeMonitoringScheduleResult & WithRequestId(RequestIdT &&value)
DescribeMonitoringScheduleResult & WithMonitoringScheduleConfig(MonitoringScheduleConfigT &&value)
DescribeMonitoringScheduleResult & WithEndpointName(EndpointNameT &&value)
DescribeMonitoringScheduleResult & WithLastModifiedTime(LastModifiedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue