AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
MonitoringExecutionSummary.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/ExecutionStatus.h>
11#include <aws/sagemaker/model/MonitoringType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker {
23namespace Model {
24
32 public:
33 AWS_SAGEMAKER_API MonitoringExecutionSummary() = default;
36 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetMonitoringScheduleName() const { return m_monitoringScheduleName; }
43 inline bool MonitoringScheduleNameHasBeenSet() const { return m_monitoringScheduleNameHasBeenSet; }
44 template <typename MonitoringScheduleNameT = Aws::String>
45 void SetMonitoringScheduleName(MonitoringScheduleNameT&& value) {
46 m_monitoringScheduleNameHasBeenSet = true;
47 m_monitoringScheduleName = std::forward<MonitoringScheduleNameT>(value);
48 }
49 template <typename MonitoringScheduleNameT = Aws::String>
50 MonitoringExecutionSummary& WithMonitoringScheduleName(MonitoringScheduleNameT&& value) {
51 SetMonitoringScheduleName(std::forward<MonitoringScheduleNameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Utils::DateTime& GetScheduledTime() const { return m_scheduledTime; }
61 inline bool ScheduledTimeHasBeenSet() const { return m_scheduledTimeHasBeenSet; }
62 template <typename ScheduledTimeT = Aws::Utils::DateTime>
63 void SetScheduledTime(ScheduledTimeT&& value) {
64 m_scheduledTimeHasBeenSet = true;
65 m_scheduledTime = std::forward<ScheduledTimeT>(value);
66 }
67 template <typename ScheduledTimeT = Aws::Utils::DateTime>
69 SetScheduledTime(std::forward<ScheduledTimeT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
79 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
80 template <typename CreationTimeT = Aws::Utils::DateTime>
81 void SetCreationTime(CreationTimeT&& value) {
82 m_creationTimeHasBeenSet = true;
83 m_creationTime = std::forward<CreationTimeT>(value);
84 }
85 template <typename CreationTimeT = Aws::Utils::DateTime>
87 SetCreationTime(std::forward<CreationTimeT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
97 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
98 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
99 void SetLastModifiedTime(LastModifiedTimeT&& value) {
100 m_lastModifiedTimeHasBeenSet = true;
101 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
102 }
103 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
105 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
106 return *this;
107 }
109
111
114 inline ExecutionStatus GetMonitoringExecutionStatus() const { return m_monitoringExecutionStatus; }
115 inline bool MonitoringExecutionStatusHasBeenSet() const { return m_monitoringExecutionStatusHasBeenSet; }
117 m_monitoringExecutionStatusHasBeenSet = true;
118 m_monitoringExecutionStatus = value;
119 }
122 return *this;
123 }
125
127
130 inline const Aws::String& GetProcessingJobArn() const { return m_processingJobArn; }
131 inline bool ProcessingJobArnHasBeenSet() const { return m_processingJobArnHasBeenSet; }
132 template <typename ProcessingJobArnT = Aws::String>
133 void SetProcessingJobArn(ProcessingJobArnT&& value) {
134 m_processingJobArnHasBeenSet = true;
135 m_processingJobArn = std::forward<ProcessingJobArnT>(value);
136 }
137 template <typename ProcessingJobArnT = Aws::String>
139 SetProcessingJobArn(std::forward<ProcessingJobArnT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
149 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
150 template <typename EndpointNameT = Aws::String>
151 void SetEndpointName(EndpointNameT&& value) {
152 m_endpointNameHasBeenSet = true;
153 m_endpointName = std::forward<EndpointNameT>(value);
154 }
155 template <typename EndpointNameT = Aws::String>
157 SetEndpointName(std::forward<EndpointNameT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
167 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
168 template <typename FailureReasonT = Aws::String>
169 void SetFailureReason(FailureReasonT&& value) {
170 m_failureReasonHasBeenSet = true;
171 m_failureReason = std::forward<FailureReasonT>(value);
172 }
173 template <typename FailureReasonT = Aws::String>
175 SetFailureReason(std::forward<FailureReasonT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::String& GetMonitoringJobDefinitionName() const { return m_monitoringJobDefinitionName; }
185 inline bool MonitoringJobDefinitionNameHasBeenSet() const { return m_monitoringJobDefinitionNameHasBeenSet; }
186 template <typename MonitoringJobDefinitionNameT = Aws::String>
187 void SetMonitoringJobDefinitionName(MonitoringJobDefinitionNameT&& value) {
188 m_monitoringJobDefinitionNameHasBeenSet = true;
189 m_monitoringJobDefinitionName = std::forward<MonitoringJobDefinitionNameT>(value);
190 }
191 template <typename MonitoringJobDefinitionNameT = Aws::String>
192 MonitoringExecutionSummary& WithMonitoringJobDefinitionName(MonitoringJobDefinitionNameT&& value) {
193 SetMonitoringJobDefinitionName(std::forward<MonitoringJobDefinitionNameT>(value));
194 return *this;
195 }
197
199
202 inline MonitoringType GetMonitoringType() const { return m_monitoringType; }
203 inline bool MonitoringTypeHasBeenSet() const { return m_monitoringTypeHasBeenSet; }
205 m_monitoringTypeHasBeenSet = true;
206 m_monitoringType = value;
207 }
209 SetMonitoringType(value);
210 return *this;
211 }
213 private:
214 Aws::String m_monitoringScheduleName;
215
216 Aws::Utils::DateTime m_scheduledTime{};
217
218 Aws::Utils::DateTime m_creationTime{};
219
220 Aws::Utils::DateTime m_lastModifiedTime{};
221
222 ExecutionStatus m_monitoringExecutionStatus{ExecutionStatus::NOT_SET};
223
224 Aws::String m_processingJobArn;
225
226 Aws::String m_endpointName;
227
228 Aws::String m_failureReason;
229
230 Aws::String m_monitoringJobDefinitionName;
231
232 MonitoringType m_monitoringType{MonitoringType::NOT_SET};
233 bool m_monitoringScheduleNameHasBeenSet = false;
234 bool m_scheduledTimeHasBeenSet = false;
235 bool m_creationTimeHasBeenSet = false;
236 bool m_lastModifiedTimeHasBeenSet = false;
237 bool m_monitoringExecutionStatusHasBeenSet = false;
238 bool m_processingJobArnHasBeenSet = false;
239 bool m_endpointNameHasBeenSet = false;
240 bool m_failureReasonHasBeenSet = false;
241 bool m_monitoringJobDefinitionNameHasBeenSet = false;
242 bool m_monitoringTypeHasBeenSet = false;
243};
244
245} // namespace Model
246} // namespace SageMaker
247} // namespace Aws
MonitoringExecutionSummary & WithEndpointName(EndpointNameT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API MonitoringExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMonitoringJobDefinitionName(MonitoringJobDefinitionNameT &&value)
MonitoringExecutionSummary & WithMonitoringType(MonitoringType value)
MonitoringExecutionSummary & WithMonitoringScheduleName(MonitoringScheduleNameT &&value)
MonitoringExecutionSummary & WithScheduledTime(ScheduledTimeT &&value)
void SetMonitoringScheduleName(MonitoringScheduleNameT &&value)
MonitoringExecutionSummary & WithProcessingJobArn(ProcessingJobArnT &&value)
MonitoringExecutionSummary & WithFailureReason(FailureReasonT &&value)
MonitoringExecutionSummary & WithMonitoringExecutionStatus(ExecutionStatus value)
AWS_SAGEMAKER_API MonitoringExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
MonitoringExecutionSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API MonitoringExecutionSummary()=default
MonitoringExecutionSummary & WithCreationTime(CreationTimeT &&value)
MonitoringExecutionSummary & WithMonitoringJobDefinitionName(MonitoringJobDefinitionNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue