AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
TrialComponentSummary.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/TrialComponentSource.h>
11#include <aws/sagemaker/model/TrialComponentStatus.h>
12#include <aws/sagemaker/model/UserContext.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
36 public:
37 AWS_SAGEMAKER_API TrialComponentSummary() = default;
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::String& GetTrialComponentName() const { return m_trialComponentName; }
47 inline bool TrialComponentNameHasBeenSet() const { return m_trialComponentNameHasBeenSet; }
48 template <typename TrialComponentNameT = Aws::String>
49 void SetTrialComponentName(TrialComponentNameT&& value) {
50 m_trialComponentNameHasBeenSet = true;
51 m_trialComponentName = std::forward<TrialComponentNameT>(value);
52 }
53 template <typename TrialComponentNameT = Aws::String>
54 TrialComponentSummary& WithTrialComponentName(TrialComponentNameT&& value) {
55 SetTrialComponentName(std::forward<TrialComponentNameT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetTrialComponentArn() const { return m_trialComponentArn; }
65 inline bool TrialComponentArnHasBeenSet() const { return m_trialComponentArnHasBeenSet; }
66 template <typename TrialComponentArnT = Aws::String>
67 void SetTrialComponentArn(TrialComponentArnT&& value) {
68 m_trialComponentArnHasBeenSet = true;
69 m_trialComponentArn = std::forward<TrialComponentArnT>(value);
70 }
71 template <typename TrialComponentArnT = Aws::String>
72 TrialComponentSummary& WithTrialComponentArn(TrialComponentArnT&& value) {
73 SetTrialComponentArn(std::forward<TrialComponentArnT>(value));
74 return *this;
75 }
77
79
83 inline const Aws::String& GetDisplayName() const { return m_displayName; }
84 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
85 template <typename DisplayNameT = Aws::String>
86 void SetDisplayName(DisplayNameT&& value) {
87 m_displayNameHasBeenSet = true;
88 m_displayName = std::forward<DisplayNameT>(value);
89 }
90 template <typename DisplayNameT = Aws::String>
91 TrialComponentSummary& WithDisplayName(DisplayNameT&& value) {
92 SetDisplayName(std::forward<DisplayNameT>(value));
93 return *this;
94 }
96
98
99 inline const TrialComponentSource& GetTrialComponentSource() const { return m_trialComponentSource; }
100 inline bool TrialComponentSourceHasBeenSet() const { return m_trialComponentSourceHasBeenSet; }
101 template <typename TrialComponentSourceT = TrialComponentSource>
102 void SetTrialComponentSource(TrialComponentSourceT&& value) {
103 m_trialComponentSourceHasBeenSet = true;
104 m_trialComponentSource = std::forward<TrialComponentSourceT>(value);
105 }
106 template <typename TrialComponentSourceT = TrialComponentSource>
107 TrialComponentSummary& WithTrialComponentSource(TrialComponentSourceT&& value) {
108 SetTrialComponentSource(std::forward<TrialComponentSourceT>(value));
109 return *this;
110 }
112
114
118 inline const TrialComponentStatus& GetStatus() const { return m_status; }
119 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
120 template <typename StatusT = TrialComponentStatus>
121 void SetStatus(StatusT&& value) {
122 m_statusHasBeenSet = true;
123 m_status = std::forward<StatusT>(value);
124 }
125 template <typename StatusT = TrialComponentStatus>
127 SetStatus(std::forward<StatusT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
137 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
138 template <typename StartTimeT = Aws::Utils::DateTime>
139 void SetStartTime(StartTimeT&& value) {
140 m_startTimeHasBeenSet = true;
141 m_startTime = std::forward<StartTimeT>(value);
142 }
143 template <typename StartTimeT = Aws::Utils::DateTime>
145 SetStartTime(std::forward<StartTimeT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
155 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
156 template <typename EndTimeT = Aws::Utils::DateTime>
157 void SetEndTime(EndTimeT&& value) {
158 m_endTimeHasBeenSet = true;
159 m_endTime = std::forward<EndTimeT>(value);
160 }
161 template <typename EndTimeT = Aws::Utils::DateTime>
163 SetEndTime(std::forward<EndTimeT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
173 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
174 template <typename CreationTimeT = Aws::Utils::DateTime>
175 void SetCreationTime(CreationTimeT&& value) {
176 m_creationTimeHasBeenSet = true;
177 m_creationTime = std::forward<CreationTimeT>(value);
178 }
179 template <typename CreationTimeT = Aws::Utils::DateTime>
180 TrialComponentSummary& WithCreationTime(CreationTimeT&& value) {
181 SetCreationTime(std::forward<CreationTimeT>(value));
182 return *this;
183 }
185
187
190 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
191 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
192 template <typename CreatedByT = UserContext>
193 void SetCreatedBy(CreatedByT&& value) {
194 m_createdByHasBeenSet = true;
195 m_createdBy = std::forward<CreatedByT>(value);
196 }
197 template <typename CreatedByT = UserContext>
199 SetCreatedBy(std::forward<CreatedByT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
209 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
210 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
211 void SetLastModifiedTime(LastModifiedTimeT&& value) {
212 m_lastModifiedTimeHasBeenSet = true;
213 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
214 }
215 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
216 TrialComponentSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
217 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
218 return *this;
219 }
221
223
226 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
227 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
228 template <typename LastModifiedByT = UserContext>
229 void SetLastModifiedBy(LastModifiedByT&& value) {
230 m_lastModifiedByHasBeenSet = true;
231 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
232 }
233 template <typename LastModifiedByT = UserContext>
234 TrialComponentSummary& WithLastModifiedBy(LastModifiedByT&& value) {
235 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
236 return *this;
237 }
239 private:
240 Aws::String m_trialComponentName;
241
242 Aws::String m_trialComponentArn;
243
244 Aws::String m_displayName;
245
246 TrialComponentSource m_trialComponentSource;
247
248 TrialComponentStatus m_status;
249
250 Aws::Utils::DateTime m_startTime{};
251
252 Aws::Utils::DateTime m_endTime{};
253
254 Aws::Utils::DateTime m_creationTime{};
255
256 UserContext m_createdBy;
257
258 Aws::Utils::DateTime m_lastModifiedTime{};
259
260 UserContext m_lastModifiedBy;
261 bool m_trialComponentNameHasBeenSet = false;
262 bool m_trialComponentArnHasBeenSet = false;
263 bool m_displayNameHasBeenSet = false;
264 bool m_trialComponentSourceHasBeenSet = false;
265 bool m_statusHasBeenSet = false;
266 bool m_startTimeHasBeenSet = false;
267 bool m_endTimeHasBeenSet = false;
268 bool m_creationTimeHasBeenSet = false;
269 bool m_createdByHasBeenSet = false;
270 bool m_lastModifiedTimeHasBeenSet = false;
271 bool m_lastModifiedByHasBeenSet = false;
272};
273
274} // namespace Model
275} // namespace SageMaker
276} // namespace Aws
void SetLastModifiedTime(LastModifiedTimeT &&value)
TrialComponentSummary & WithTrialComponentArn(TrialComponentArnT &&value)
const Aws::Utils::DateTime & GetEndTime() const
AWS_SAGEMAKER_API TrialComponentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTrialComponentArn(TrialComponentArnT &&value)
TrialComponentSummary & WithDisplayName(DisplayNameT &&value)
TrialComponentSummary & WithEndTime(EndTimeT &&value)
TrialComponentSummary & WithCreatedBy(CreatedByT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetTrialComponentSource(TrialComponentSourceT &&value)
void SetTrialComponentName(TrialComponentNameT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrialComponentSummary & WithTrialComponentSource(TrialComponentSourceT &&value)
const Aws::Utils::DateTime & GetStartTime() const
TrialComponentSummary & WithStartTime(StartTimeT &&value)
TrialComponentSummary & WithStatus(StatusT &&value)
TrialComponentSummary & WithCreationTime(CreationTimeT &&value)
const TrialComponentStatus & GetStatus() const
TrialComponentSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API TrialComponentSummary(Aws::Utils::Json::JsonView jsonValue)
const TrialComponentSource & GetTrialComponentSource() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API TrialComponentSummary()=default
TrialComponentSummary & WithLastModifiedBy(LastModifiedByT &&value)
TrialComponentSummary & WithTrialComponentName(TrialComponentNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue