AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
InferenceExperimentSummary.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/InferenceExperimentSchedule.h>
11#include <aws/sagemaker/model/InferenceExperimentStatus.h>
12#include <aws/sagemaker/model/InferenceExperimentType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker {
24namespace Model {
25
33 public:
34 AWS_SAGEMAKER_API InferenceExperimentSummary() = default;
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetName() const { return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 template <typename NameT = Aws::String>
46 void SetName(NameT&& value) {
47 m_nameHasBeenSet = true;
48 m_name = std::forward<NameT>(value);
49 }
50 template <typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
53 return *this;
54 }
56
58
61 inline InferenceExperimentType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(InferenceExperimentType value) {
64 m_typeHasBeenSet = true;
65 m_type = value;
66 }
68 SetType(value);
69 return *this;
70 }
72
74
78 inline const InferenceExperimentSchedule& GetSchedule() const { return m_schedule; }
79 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
80 template <typename ScheduleT = InferenceExperimentSchedule>
81 void SetSchedule(ScheduleT&& value) {
82 m_scheduleHasBeenSet = true;
83 m_schedule = std::forward<ScheduleT>(value);
84 }
85 template <typename ScheduleT = InferenceExperimentSchedule>
87 SetSchedule(std::forward<ScheduleT>(value));
88 return *this;
89 }
91
93
96 inline InferenceExperimentStatus GetStatus() const { return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 m_statusHasBeenSet = true;
100 m_status = value;
101 }
103 SetStatus(value);
104 return *this;
105 }
107
109
112 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
113 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
114 template <typename StatusReasonT = Aws::String>
115 void SetStatusReason(StatusReasonT&& value) {
116 m_statusReasonHasBeenSet = true;
117 m_statusReason = std::forward<StatusReasonT>(value);
118 }
119 template <typename StatusReasonT = Aws::String>
121 SetStatusReason(std::forward<StatusReasonT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetDescription() const { return m_description; }
131 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
132 template <typename DescriptionT = Aws::String>
133 void SetDescription(DescriptionT&& value) {
134 m_descriptionHasBeenSet = true;
135 m_description = std::forward<DescriptionT>(value);
136 }
137 template <typename DescriptionT = Aws::String>
139 SetDescription(std::forward<DescriptionT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
149 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
150 template <typename CreationTimeT = Aws::Utils::DateTime>
151 void SetCreationTime(CreationTimeT&& value) {
152 m_creationTimeHasBeenSet = true;
153 m_creationTime = std::forward<CreationTimeT>(value);
154 }
155 template <typename CreationTimeT = Aws::Utils::DateTime>
157 SetCreationTime(std::forward<CreationTimeT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
167 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
168 template <typename CompletionTimeT = Aws::Utils::DateTime>
169 void SetCompletionTime(CompletionTimeT&& value) {
170 m_completionTimeHasBeenSet = true;
171 m_completionTime = std::forward<CompletionTimeT>(value);
172 }
173 template <typename CompletionTimeT = Aws::Utils::DateTime>
175 SetCompletionTime(std::forward<CompletionTimeT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
185 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
186 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
187 void SetLastModifiedTime(LastModifiedTimeT&& value) {
188 m_lastModifiedTimeHasBeenSet = true;
189 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
190 }
191 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
193 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
194 return *this;
195 }
197
199
204 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
205 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
206 template <typename RoleArnT = Aws::String>
207 void SetRoleArn(RoleArnT&& value) {
208 m_roleArnHasBeenSet = true;
209 m_roleArn = std::forward<RoleArnT>(value);
210 }
211 template <typename RoleArnT = Aws::String>
213 SetRoleArn(std::forward<RoleArnT>(value));
214 return *this;
215 }
217 private:
218 Aws::String m_name;
219
221
222 InferenceExperimentSchedule m_schedule;
223
225
226 Aws::String m_statusReason;
227
228 Aws::String m_description;
229
230 Aws::Utils::DateTime m_creationTime{};
231
232 Aws::Utils::DateTime m_completionTime{};
233
234 Aws::Utils::DateTime m_lastModifiedTime{};
235
236 Aws::String m_roleArn;
237 bool m_nameHasBeenSet = false;
238 bool m_typeHasBeenSet = false;
239 bool m_scheduleHasBeenSet = false;
240 bool m_statusHasBeenSet = false;
241 bool m_statusReasonHasBeenSet = false;
242 bool m_descriptionHasBeenSet = false;
243 bool m_creationTimeHasBeenSet = false;
244 bool m_completionTimeHasBeenSet = false;
245 bool m_lastModifiedTimeHasBeenSet = false;
246 bool m_roleArnHasBeenSet = false;
247};
248
249} // namespace Model
250} // namespace SageMaker
251} // namespace Aws
InferenceExperimentSummary & WithDescription(DescriptionT &&value)
InferenceExperimentSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
InferenceExperimentSummary & WithCreationTime(CreationTimeT &&value)
InferenceExperimentSummary & WithStatus(InferenceExperimentStatus value)
InferenceExperimentSummary & WithSchedule(ScheduleT &&value)
InferenceExperimentSummary & WithType(InferenceExperimentType value)
AWS_SAGEMAKER_API InferenceExperimentSummary()=default
InferenceExperimentSummary & WithCompletionTime(CompletionTimeT &&value)
const InferenceExperimentSchedule & GetSchedule() const
AWS_SAGEMAKER_API InferenceExperimentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
InferenceExperimentSummary & WithStatusReason(StatusReasonT &&value)
InferenceExperimentSummary & WithName(NameT &&value)
InferenceExperimentSummary & WithRoleArn(RoleArnT &&value)
AWS_SAGEMAKER_API InferenceExperimentSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue