AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MonitoringSchedule.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 <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/sagemaker/model/Tag.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace SageMaker
29{
30namespace Model
31{
32
42 {
43 public:
44 AWS_SAGEMAKER_API MonitoringSchedule();
45 AWS_SAGEMAKER_API MonitoringSchedule(Aws::Utils::Json::JsonView jsonValue);
47 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetMonitoringScheduleArn() const{ return m_monitoringScheduleArn; }
55 inline bool MonitoringScheduleArnHasBeenSet() const { return m_monitoringScheduleArnHasBeenSet; }
56 inline void SetMonitoringScheduleArn(const Aws::String& value) { m_monitoringScheduleArnHasBeenSet = true; m_monitoringScheduleArn = value; }
57 inline void SetMonitoringScheduleArn(Aws::String&& value) { m_monitoringScheduleArnHasBeenSet = true; m_monitoringScheduleArn = std::move(value); }
58 inline void SetMonitoringScheduleArn(const char* value) { m_monitoringScheduleArnHasBeenSet = true; m_monitoringScheduleArn.assign(value); }
60 inline MonitoringSchedule& WithMonitoringScheduleArn(Aws::String&& value) { SetMonitoringScheduleArn(std::move(value)); return *this;}
61 inline MonitoringSchedule& WithMonitoringScheduleArn(const char* value) { SetMonitoringScheduleArn(value); return *this;}
63
65
68 inline const Aws::String& GetMonitoringScheduleName() const{ return m_monitoringScheduleName; }
69 inline bool MonitoringScheduleNameHasBeenSet() const { return m_monitoringScheduleNameHasBeenSet; }
70 inline void SetMonitoringScheduleName(const Aws::String& value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName = value; }
71 inline void SetMonitoringScheduleName(Aws::String&& value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName = std::move(value); }
72 inline void SetMonitoringScheduleName(const char* value) { m_monitoringScheduleNameHasBeenSet = true; m_monitoringScheduleName.assign(value); }
74 inline MonitoringSchedule& WithMonitoringScheduleName(Aws::String&& value) { SetMonitoringScheduleName(std::move(value)); return *this;}
75 inline MonitoringSchedule& WithMonitoringScheduleName(const char* value) { SetMonitoringScheduleName(value); return *this;}
77
79
86 inline const ScheduleStatus& GetMonitoringScheduleStatus() const{ return m_monitoringScheduleStatus; }
87 inline bool MonitoringScheduleStatusHasBeenSet() const { return m_monitoringScheduleStatusHasBeenSet; }
88 inline void SetMonitoringScheduleStatus(const ScheduleStatus& value) { m_monitoringScheduleStatusHasBeenSet = true; m_monitoringScheduleStatus = value; }
89 inline void SetMonitoringScheduleStatus(ScheduleStatus&& value) { m_monitoringScheduleStatusHasBeenSet = true; m_monitoringScheduleStatus = std::move(value); }
93
95
98 inline const MonitoringType& GetMonitoringType() const{ return m_monitoringType; }
99 inline bool MonitoringTypeHasBeenSet() const { return m_monitoringTypeHasBeenSet; }
100 inline void SetMonitoringType(const MonitoringType& value) { m_monitoringTypeHasBeenSet = true; m_monitoringType = value; }
101 inline void SetMonitoringType(MonitoringType&& value) { m_monitoringTypeHasBeenSet = true; m_monitoringType = std::move(value); }
102 inline MonitoringSchedule& WithMonitoringType(const MonitoringType& value) { SetMonitoringType(value); return *this;}
103 inline MonitoringSchedule& WithMonitoringType(MonitoringType&& value) { SetMonitoringType(std::move(value)); return *this;}
105
107
110 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
111 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
112 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
113 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
114 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
115 inline MonitoringSchedule& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
116 inline MonitoringSchedule& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
117 inline MonitoringSchedule& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
125 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
126 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
127 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
128 inline MonitoringSchedule& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
129 inline MonitoringSchedule& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
131
133
136 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
137 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
138 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
139 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
141 inline MonitoringSchedule& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
143
145
146 inline const MonitoringScheduleConfig& GetMonitoringScheduleConfig() const{ return m_monitoringScheduleConfig; }
147 inline bool MonitoringScheduleConfigHasBeenSet() const { return m_monitoringScheduleConfigHasBeenSet; }
148 inline void SetMonitoringScheduleConfig(const MonitoringScheduleConfig& value) { m_monitoringScheduleConfigHasBeenSet = true; m_monitoringScheduleConfig = value; }
149 inline void SetMonitoringScheduleConfig(MonitoringScheduleConfig&& value) { m_monitoringScheduleConfigHasBeenSet = true; m_monitoringScheduleConfig = std::move(value); }
153
155
158 inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
159 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
160 inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
161 inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
162 inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
163 inline MonitoringSchedule& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
164 inline MonitoringSchedule& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
165 inline MonitoringSchedule& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
167
169
170 inline const MonitoringExecutionSummary& GetLastMonitoringExecutionSummary() const{ return m_lastMonitoringExecutionSummary; }
171 inline bool LastMonitoringExecutionSummaryHasBeenSet() const { return m_lastMonitoringExecutionSummaryHasBeenSet; }
172 inline void SetLastMonitoringExecutionSummary(const MonitoringExecutionSummary& value) { m_lastMonitoringExecutionSummaryHasBeenSet = true; m_lastMonitoringExecutionSummary = value; }
173 inline void SetLastMonitoringExecutionSummary(MonitoringExecutionSummary&& value) { m_lastMonitoringExecutionSummaryHasBeenSet = true; m_lastMonitoringExecutionSummary = std::move(value); }
177
179
186 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
187 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
188 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
189 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
190 inline MonitoringSchedule& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
191 inline MonitoringSchedule& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
192 inline MonitoringSchedule& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
193 inline MonitoringSchedule& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
195 private:
196
197 Aws::String m_monitoringScheduleArn;
198 bool m_monitoringScheduleArnHasBeenSet = false;
199
200 Aws::String m_monitoringScheduleName;
201 bool m_monitoringScheduleNameHasBeenSet = false;
202
203 ScheduleStatus m_monitoringScheduleStatus;
204 bool m_monitoringScheduleStatusHasBeenSet = false;
205
206 MonitoringType m_monitoringType;
207 bool m_monitoringTypeHasBeenSet = false;
208
209 Aws::String m_failureReason;
210 bool m_failureReasonHasBeenSet = false;
211
212 Aws::Utils::DateTime m_creationTime;
213 bool m_creationTimeHasBeenSet = false;
214
215 Aws::Utils::DateTime m_lastModifiedTime;
216 bool m_lastModifiedTimeHasBeenSet = false;
217
218 MonitoringScheduleConfig m_monitoringScheduleConfig;
219 bool m_monitoringScheduleConfigHasBeenSet = false;
220
221 Aws::String m_endpointName;
222 bool m_endpointNameHasBeenSet = false;
223
224 MonitoringExecutionSummary m_lastMonitoringExecutionSummary;
225 bool m_lastMonitoringExecutionSummaryHasBeenSet = false;
226
227 Aws::Vector<Tag> m_tags;
228 bool m_tagsHasBeenSet = false;
229 };
230
231} // namespace Model
232} // namespace SageMaker
233} // namespace Aws
void SetMonitoringScheduleStatus(const ScheduleStatus &value)
MonitoringSchedule & WithMonitoringScheduleName(const char *value)
AWS_SAGEMAKER_API MonitoringSchedule(Aws::Utils::Json::JsonView jsonValue)
MonitoringSchedule & WithTags(Aws::Vector< Tag > &&value)
MonitoringSchedule & WithMonitoringScheduleArn(Aws::String &&value)
MonitoringSchedule & WithLastMonitoringExecutionSummary(const MonitoringExecutionSummary &value)
MonitoringSchedule & WithMonitoringType(MonitoringType &&value)
MonitoringSchedule & AddTags(const Tag &value)
const MonitoringType & GetMonitoringType() const
const MonitoringScheduleConfig & GetMonitoringScheduleConfig() const
MonitoringSchedule & WithLastModifiedTime(const Aws::Utils::DateTime &value)
MonitoringSchedule & WithFailureReason(const char *value)
MonitoringSchedule & WithEndpointName(Aws::String &&value)
void SetEndpointName(const Aws::String &value)
const MonitoringExecutionSummary & GetLastMonitoringExecutionSummary() const
void SetMonitoringScheduleConfig(MonitoringScheduleConfig &&value)
MonitoringSchedule & WithMonitoringScheduleArn(const Aws::String &value)
void SetMonitoringScheduleStatus(ScheduleStatus &&value)
const Aws::Vector< Tag > & GetTags() const
MonitoringSchedule & WithEndpointName(const Aws::String &value)
const ScheduleStatus & GetMonitoringScheduleStatus() const
void SetMonitoringScheduleName(const Aws::String &value)
MonitoringSchedule & WithMonitoringScheduleStatus(const ScheduleStatus &value)
MonitoringSchedule & WithLastMonitoringExecutionSummary(MonitoringExecutionSummary &&value)
MonitoringSchedule & WithEndpointName(const char *value)
MonitoringSchedule & WithMonitoringType(const MonitoringType &value)
void SetTags(const Aws::Vector< Tag > &value)
MonitoringSchedule & WithMonitoringScheduleArn(const char *value)
MonitoringSchedule & WithCreationTime(const Aws::Utils::DateTime &value)
void SetLastMonitoringExecutionSummary(const MonitoringExecutionSummary &value)
void SetMonitoringScheduleConfig(const MonitoringScheduleConfig &value)
AWS_SAGEMAKER_API MonitoringSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
MonitoringSchedule & WithCreationTime(Aws::Utils::DateTime &&value)
void SetMonitoringScheduleArn(Aws::String &&value)
void SetMonitoringScheduleArn(const Aws::String &value)
void SetMonitoringType(MonitoringType &&value)
void SetFailureReason(const Aws::String &value)
void SetLastMonitoringExecutionSummary(MonitoringExecutionSummary &&value)
MonitoringSchedule & WithFailureReason(Aws::String &&value)
MonitoringSchedule & WithMonitoringScheduleStatus(ScheduleStatus &&value)
MonitoringSchedule & WithMonitoringScheduleConfig(const MonitoringScheduleConfig &value)
void SetTags(Aws::Vector< Tag > &&value)
MonitoringSchedule & AddTags(Tag &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetMonitoringScheduleName() const
MonitoringSchedule & WithMonitoringScheduleName(Aws::String &&value)
MonitoringSchedule & WithMonitoringScheduleName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetMonitoringType(const MonitoringType &value)
MonitoringSchedule & WithTags(const Aws::Vector< Tag > &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::String & GetMonitoringScheduleArn() const
MonitoringSchedule & WithMonitoringScheduleConfig(MonitoringScheduleConfig &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetMonitoringScheduleName(Aws::String &&value)
MonitoringSchedule & WithFailureReason(const Aws::String &value)
MonitoringSchedule & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue