AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeMonitoringScheduleResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/MonitoringExecutionSummary.h>
12#include <aws/sagemaker/model/MonitoringScheduleConfig.h>
13#include <aws/sagemaker/model/MonitoringType.h>
14#include <aws/sagemaker/model/ScheduleStatus.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker {
28namespace Model {
30 public:
31 AWS_SAGEMAKER_API DescribeMonitoringScheduleResult() = default;
34
36
39 inline const Aws::String& GetMonitoringScheduleArn() const { return m_monitoringScheduleArn; }
40 template <typename MonitoringScheduleArnT = Aws::String>
41 void SetMonitoringScheduleArn(MonitoringScheduleArnT&& value) {
42 m_monitoringScheduleArnHasBeenSet = true;
43 m_monitoringScheduleArn = std::forward<MonitoringScheduleArnT>(value);
44 }
45 template <typename MonitoringScheduleArnT = Aws::String>
47 SetMonitoringScheduleArn(std::forward<MonitoringScheduleArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetMonitoringScheduleName() const { return m_monitoringScheduleName; }
57 template <typename MonitoringScheduleNameT = Aws::String>
58 void SetMonitoringScheduleName(MonitoringScheduleNameT&& value) {
59 m_monitoringScheduleNameHasBeenSet = true;
60 m_monitoringScheduleName = std::forward<MonitoringScheduleNameT>(value);
61 }
62 template <typename MonitoringScheduleNameT = Aws::String>
64 SetMonitoringScheduleName(std::forward<MonitoringScheduleNameT>(value));
65 return *this;
66 }
68
70
73 inline ScheduleStatus GetMonitoringScheduleStatus() const { return m_monitoringScheduleStatus; }
75 m_monitoringScheduleStatusHasBeenSet = true;
76 m_monitoringScheduleStatus = value;
77 }
80 return *this;
81 }
83
85
94 inline MonitoringType GetMonitoringType() const { return m_monitoringType; }
95 inline void SetMonitoringType(MonitoringType value) {
96 m_monitoringTypeHasBeenSet = true;
97 m_monitoringType = value;
98 }
100 SetMonitoringType(value);
101 return *this;
102 }
104
106
110 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
111 template <typename FailureReasonT = Aws::String>
112 void SetFailureReason(FailureReasonT&& value) {
113 m_failureReasonHasBeenSet = true;
114 m_failureReason = std::forward<FailureReasonT>(value);
115 }
116 template <typename FailureReasonT = Aws::String>
118 SetFailureReason(std::forward<FailureReasonT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
128 template <typename CreationTimeT = Aws::Utils::DateTime>
129 void SetCreationTime(CreationTimeT&& value) {
130 m_creationTimeHasBeenSet = true;
131 m_creationTime = std::forward<CreationTimeT>(value);
132 }
133 template <typename CreationTimeT = Aws::Utils::DateTime>
135 SetCreationTime(std::forward<CreationTimeT>(value));
136 return *this;
137 }
139
141
144 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
145 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
146 void SetLastModifiedTime(LastModifiedTimeT&& value) {
147 m_lastModifiedTimeHasBeenSet = true;
148 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
149 }
150 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
152 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
153 return *this;
154 }
156
158
162 inline const MonitoringScheduleConfig& GetMonitoringScheduleConfig() const { return m_monitoringScheduleConfig; }
163 template <typename MonitoringScheduleConfigT = MonitoringScheduleConfig>
164 void SetMonitoringScheduleConfig(MonitoringScheduleConfigT&& value) {
165 m_monitoringScheduleConfigHasBeenSet = true;
166 m_monitoringScheduleConfig = std::forward<MonitoringScheduleConfigT>(value);
167 }
168 template <typename MonitoringScheduleConfigT = MonitoringScheduleConfig>
170 SetMonitoringScheduleConfig(std::forward<MonitoringScheduleConfigT>(value));
171 return *this;
172 }
174
176
179 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
180 template <typename EndpointNameT = Aws::String>
181 void SetEndpointName(EndpointNameT&& value) {
182 m_endpointNameHasBeenSet = true;
183 m_endpointName = std::forward<EndpointNameT>(value);
184 }
185 template <typename EndpointNameT = Aws::String>
187 SetEndpointName(std::forward<EndpointNameT>(value));
188 return *this;
189 }
191
193
196 inline const MonitoringExecutionSummary& GetLastMonitoringExecutionSummary() const { return m_lastMonitoringExecutionSummary; }
197 template <typename LastMonitoringExecutionSummaryT = MonitoringExecutionSummary>
198 void SetLastMonitoringExecutionSummary(LastMonitoringExecutionSummaryT&& value) {
199 m_lastMonitoringExecutionSummaryHasBeenSet = true;
200 m_lastMonitoringExecutionSummary = std::forward<LastMonitoringExecutionSummaryT>(value);
201 }
202 template <typename LastMonitoringExecutionSummaryT = MonitoringExecutionSummary>
204 SetLastMonitoringExecutionSummary(std::forward<LastMonitoringExecutionSummaryT>(value));
205 return *this;
206 }
208
210
211 inline const Aws::String& GetRequestId() const { return m_requestId; }
212 template <typename RequestIdT = Aws::String>
213 void SetRequestId(RequestIdT&& value) {
214 m_requestIdHasBeenSet = true;
215 m_requestId = std::forward<RequestIdT>(value);
216 }
217 template <typename RequestIdT = Aws::String>
219 SetRequestId(std::forward<RequestIdT>(value));
220 return *this;
221 }
223 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
224
225 private:
226 Aws::String m_monitoringScheduleArn;
227
228 Aws::String m_monitoringScheduleName;
229
230 ScheduleStatus m_monitoringScheduleStatus{ScheduleStatus::NOT_SET};
231
232 MonitoringType m_monitoringType{MonitoringType::NOT_SET};
233
234 Aws::String m_failureReason;
235
236 Aws::Utils::DateTime m_creationTime{};
237
238 Aws::Utils::DateTime m_lastModifiedTime{};
239
240 MonitoringScheduleConfig m_monitoringScheduleConfig;
241
242 Aws::String m_endpointName;
243
244 MonitoringExecutionSummary m_lastMonitoringExecutionSummary;
245
246 Aws::String m_requestId;
247 Aws::Http::HttpResponseCode m_HttpResponseCode;
248 bool m_monitoringScheduleArnHasBeenSet = false;
249 bool m_monitoringScheduleNameHasBeenSet = false;
250 bool m_monitoringScheduleStatusHasBeenSet = false;
251 bool m_monitoringTypeHasBeenSet = false;
252 bool m_failureReasonHasBeenSet = false;
253 bool m_creationTimeHasBeenSet = false;
254 bool m_lastModifiedTimeHasBeenSet = false;
255 bool m_monitoringScheduleConfigHasBeenSet = false;
256 bool m_endpointNameHasBeenSet = false;
257 bool m_lastMonitoringExecutionSummaryHasBeenSet = false;
258 bool m_requestIdHasBeenSet = false;
259};
260
261} // namespace Model
262} // namespace SageMaker
263} // 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