AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeMonitoringScheduleResult.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/sagemaker/model/MonitoringExecutionSummary.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace SageMaker
29{
30namespace Model
31{
33 {
34 public:
35 AWS_SAGEMAKER_API DescribeMonitoringScheduleResult() = default;
38
39
41
44 inline const Aws::String& GetMonitoringScheduleArn() const { return m_monitoringScheduleArn; }
45 template<typename MonitoringScheduleArnT = Aws::String>
46 void SetMonitoringScheduleArn(MonitoringScheduleArnT&& value) { m_monitoringScheduleArnHasBeenSet = true; m_monitoringScheduleArn = std::forward<MonitoringScheduleArnT>(value); }
47 template<typename MonitoringScheduleArnT = Aws::String>
48 DescribeMonitoringScheduleResult& WithMonitoringScheduleArn(MonitoringScheduleArnT&& value) { SetMonitoringScheduleArn(std::forward<MonitoringScheduleArnT>(value)); return *this;}
50
52
55 inline const Aws::String& GetMonitoringScheduleName() const { return m_monitoringScheduleName; }
56 template<typename MonitoringScheduleNameT = Aws::String>
57 void SetMonitoringScheduleName(MonitoringScheduleNameT&& value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName = std::forward<MonitoringScheduleNameT>(value); }
58 template<typename MonitoringScheduleNameT = Aws::String>
59 DescribeMonitoringScheduleResult& WithMonitoringScheduleName(MonitoringScheduleNameT&& value) { SetMonitoringScheduleName(std::forward<MonitoringScheduleNameT>(value)); return *this;}
61
63
66 inline ScheduleStatus GetMonitoringScheduleStatus() const { return m_monitoringScheduleStatus; }
67 inline void SetMonitoringScheduleStatus(ScheduleStatus value) { m_monitoringScheduleStatusHasBeenSet = true; m_monitoringScheduleStatus = value; }
70
72
81 inline MonitoringType GetMonitoringType() const { return m_monitoringType; }
82 inline void SetMonitoringType(MonitoringType value) { m_monitoringTypeHasBeenSet = true; m_monitoringType = value; }
85
87
91 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
92 template<typename FailureReasonT = Aws::String>
93 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
94 template<typename FailureReasonT = Aws::String>
95 DescribeMonitoringScheduleResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
103 template<typename CreationTimeT = Aws::Utils::DateTime>
104 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
105 template<typename CreationTimeT = Aws::Utils::DateTime>
106 DescribeMonitoringScheduleResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
114 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
115 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
116 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
117 DescribeMonitoringScheduleResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
119
121
125 inline const MonitoringScheduleConfig& GetMonitoringScheduleConfig() const { return m_monitoringScheduleConfig; }
126 template<typename MonitoringScheduleConfigT = MonitoringScheduleConfig>
127 void SetMonitoringScheduleConfig(MonitoringScheduleConfigT&& value) { m_monitoringScheduleConfigHasBeenSet = true; m_monitoringScheduleConfig = std::forward<MonitoringScheduleConfigT>(value); }
128 template<typename MonitoringScheduleConfigT = MonitoringScheduleConfig>
129 DescribeMonitoringScheduleResult& WithMonitoringScheduleConfig(MonitoringScheduleConfigT&& value) { SetMonitoringScheduleConfig(std::forward<MonitoringScheduleConfigT>(value)); return *this;}
131
133
136 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
137 template<typename EndpointNameT = Aws::String>
138 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::forward<EndpointNameT>(value); }
139 template<typename EndpointNameT = Aws::String>
140 DescribeMonitoringScheduleResult& WithEndpointName(EndpointNameT&& value) { SetEndpointName(std::forward<EndpointNameT>(value)); return *this;}
142
144
147 inline const MonitoringExecutionSummary& GetLastMonitoringExecutionSummary() const { return m_lastMonitoringExecutionSummary; }
148 template<typename LastMonitoringExecutionSummaryT = MonitoringExecutionSummary>
149 void SetLastMonitoringExecutionSummary(LastMonitoringExecutionSummaryT&& value) { m_lastMonitoringExecutionSummaryHasBeenSet = true; m_lastMonitoringExecutionSummary = std::forward<LastMonitoringExecutionSummaryT>(value); }
150 template<typename LastMonitoringExecutionSummaryT = MonitoringExecutionSummary>
151 DescribeMonitoringScheduleResult& WithLastMonitoringExecutionSummary(LastMonitoringExecutionSummaryT&& value) { SetLastMonitoringExecutionSummary(std::forward<LastMonitoringExecutionSummaryT>(value)); return *this;}
153
155
156 inline const Aws::String& GetRequestId() const { return m_requestId; }
157 template<typename RequestIdT = Aws::String>
158 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
159 template<typename RequestIdT = Aws::String>
160 DescribeMonitoringScheduleResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
162 private:
163
164 Aws::String m_monitoringScheduleArn;
165 bool m_monitoringScheduleArnHasBeenSet = false;
166
167 Aws::String m_monitoringScheduleName;
168 bool m_monitoringScheduleNameHasBeenSet = false;
169
170 ScheduleStatus m_monitoringScheduleStatus{ScheduleStatus::NOT_SET};
171 bool m_monitoringScheduleStatusHasBeenSet = false;
172
173 MonitoringType m_monitoringType{MonitoringType::NOT_SET};
174 bool m_monitoringTypeHasBeenSet = false;
175
176 Aws::String m_failureReason;
177 bool m_failureReasonHasBeenSet = false;
178
179 Aws::Utils::DateTime m_creationTime{};
180 bool m_creationTimeHasBeenSet = false;
181
182 Aws::Utils::DateTime m_lastModifiedTime{};
183 bool m_lastModifiedTimeHasBeenSet = false;
184
185 MonitoringScheduleConfig m_monitoringScheduleConfig;
186 bool m_monitoringScheduleConfigHasBeenSet = false;
187
188 Aws::String m_endpointName;
189 bool m_endpointNameHasBeenSet = false;
190
191 MonitoringExecutionSummary m_lastMonitoringExecutionSummary;
192 bool m_lastMonitoringExecutionSummaryHasBeenSet = false;
193
194 Aws::String m_requestId;
195 bool m_requestIdHasBeenSet = false;
196 };
197
198} // namespace Model
199} // namespace SageMaker
200} // 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