AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeTrialComponentResult.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/TrialComponentSource.h>
10#include <aws/sagemaker/model/TrialComponentStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/UserContext.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/sagemaker/model/MetadataProperties.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/sagemaker/model/TrialComponentParameterValue.h>
17#include <aws/sagemaker/model/TrialComponentArtifact.h>
18#include <aws/sagemaker/model/TrialComponentMetricSummary.h>
19#include <utility>
20
21namespace Aws
22{
23template<typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31} // namespace Json
32} // namespace Utils
33namespace SageMaker
34{
35namespace Model
36{
38 {
39 public:
40 AWS_SAGEMAKER_API DescribeTrialComponentResult();
43
44
46
49 inline const Aws::String& GetTrialComponentName() const{ return m_trialComponentName; }
50 inline void SetTrialComponentName(const Aws::String& value) { m_trialComponentName = value; }
51 inline void SetTrialComponentName(Aws::String&& value) { m_trialComponentName = std::move(value); }
52 inline void SetTrialComponentName(const char* value) { m_trialComponentName.assign(value); }
54 inline DescribeTrialComponentResult& WithTrialComponentName(Aws::String&& value) { SetTrialComponentName(std::move(value)); return *this;}
55 inline DescribeTrialComponentResult& WithTrialComponentName(const char* value) { SetTrialComponentName(value); return *this;}
57
59
62 inline const Aws::String& GetTrialComponentArn() const{ return m_trialComponentArn; }
63 inline void SetTrialComponentArn(const Aws::String& value) { m_trialComponentArn = value; }
64 inline void SetTrialComponentArn(Aws::String&& value) { m_trialComponentArn = std::move(value); }
65 inline void SetTrialComponentArn(const char* value) { m_trialComponentArn.assign(value); }
67 inline DescribeTrialComponentResult& WithTrialComponentArn(Aws::String&& value) { SetTrialComponentArn(std::move(value)); return *this;}
68 inline DescribeTrialComponentResult& WithTrialComponentArn(const char* value) { SetTrialComponentArn(value); return *this;}
70
72
76 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
77 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
78 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
79 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
80 inline DescribeTrialComponentResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
81 inline DescribeTrialComponentResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
82 inline DescribeTrialComponentResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
84
86
90 inline const TrialComponentSource& GetSource() const{ return m_source; }
91 inline void SetSource(const TrialComponentSource& value) { m_source = value; }
92 inline void SetSource(TrialComponentSource&& value) { m_source = std::move(value); }
93 inline DescribeTrialComponentResult& WithSource(const TrialComponentSource& value) { SetSource(value); return *this;}
94 inline DescribeTrialComponentResult& WithSource(TrialComponentSource&& value) { SetSource(std::move(value)); return *this;}
96
98
102 inline const TrialComponentStatus& GetStatus() const{ return m_status; }
103 inline void SetStatus(const TrialComponentStatus& value) { m_status = value; }
104 inline void SetStatus(TrialComponentStatus&& value) { m_status = std::move(value); }
105 inline DescribeTrialComponentResult& WithStatus(const TrialComponentStatus& value) { SetStatus(value); return *this;}
106 inline DescribeTrialComponentResult& WithStatus(TrialComponentStatus&& value) { SetStatus(std::move(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
114 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
115 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
117 inline DescribeTrialComponentResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
125 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
126 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
127 inline DescribeTrialComponentResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
128 inline DescribeTrialComponentResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
130
132
135 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
136 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
137 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
139 inline DescribeTrialComponentResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
141
143
146 inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
147 inline void SetCreatedBy(const UserContext& value) { m_createdBy = value; }
148 inline void SetCreatedBy(UserContext&& value) { m_createdBy = std::move(value); }
149 inline DescribeTrialComponentResult& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
150 inline DescribeTrialComponentResult& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
152
154
157 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
158 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
159 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
163
165
168 inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
169 inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedBy = value; }
170 inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedBy = std::move(value); }
172 inline DescribeTrialComponentResult& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
174
176
179 inline const Aws::Map<Aws::String, TrialComponentParameterValue>& GetParameters() const{ return m_parameters; }
180 inline void SetParameters(const Aws::Map<Aws::String, TrialComponentParameterValue>& value) { m_parameters = value; }
181 inline void SetParameters(Aws::Map<Aws::String, TrialComponentParameterValue>&& value) { m_parameters = std::move(value); }
184 inline DescribeTrialComponentResult& AddParameters(const Aws::String& key, const TrialComponentParameterValue& value) { m_parameters.emplace(key, value); return *this; }
185 inline DescribeTrialComponentResult& AddParameters(Aws::String&& key, const TrialComponentParameterValue& value) { m_parameters.emplace(std::move(key), value); return *this; }
186 inline DescribeTrialComponentResult& AddParameters(const Aws::String& key, TrialComponentParameterValue&& value) { m_parameters.emplace(key, std::move(value)); return *this; }
187 inline DescribeTrialComponentResult& AddParameters(Aws::String&& key, TrialComponentParameterValue&& value) { m_parameters.emplace(std::move(key), std::move(value)); return *this; }
188 inline DescribeTrialComponentResult& AddParameters(const char* key, TrialComponentParameterValue&& value) { m_parameters.emplace(key, std::move(value)); return *this; }
189 inline DescribeTrialComponentResult& AddParameters(const char* key, const TrialComponentParameterValue& value) { m_parameters.emplace(key, value); return *this; }
191
193
196 inline const Aws::Map<Aws::String, TrialComponentArtifact>& GetInputArtifacts() const{ return m_inputArtifacts; }
197 inline void SetInputArtifacts(const Aws::Map<Aws::String, TrialComponentArtifact>& value) { m_inputArtifacts = value; }
198 inline void SetInputArtifacts(Aws::Map<Aws::String, TrialComponentArtifact>&& value) { m_inputArtifacts = std::move(value); }
201 inline DescribeTrialComponentResult& AddInputArtifacts(const Aws::String& key, const TrialComponentArtifact& value) { m_inputArtifacts.emplace(key, value); return *this; }
202 inline DescribeTrialComponentResult& AddInputArtifacts(Aws::String&& key, const TrialComponentArtifact& value) { m_inputArtifacts.emplace(std::move(key), value); return *this; }
203 inline DescribeTrialComponentResult& AddInputArtifacts(const Aws::String& key, TrialComponentArtifact&& value) { m_inputArtifacts.emplace(key, std::move(value)); return *this; }
204 inline DescribeTrialComponentResult& AddInputArtifacts(Aws::String&& key, TrialComponentArtifact&& value) { m_inputArtifacts.emplace(std::move(key), std::move(value)); return *this; }
205 inline DescribeTrialComponentResult& AddInputArtifacts(const char* key, TrialComponentArtifact&& value) { m_inputArtifacts.emplace(key, std::move(value)); return *this; }
206 inline DescribeTrialComponentResult& AddInputArtifacts(const char* key, const TrialComponentArtifact& value) { m_inputArtifacts.emplace(key, value); return *this; }
208
210
213 inline const Aws::Map<Aws::String, TrialComponentArtifact>& GetOutputArtifacts() const{ return m_outputArtifacts; }
214 inline void SetOutputArtifacts(const Aws::Map<Aws::String, TrialComponentArtifact>& value) { m_outputArtifacts = value; }
215 inline void SetOutputArtifacts(Aws::Map<Aws::String, TrialComponentArtifact>&& value) { m_outputArtifacts = std::move(value); }
218 inline DescribeTrialComponentResult& AddOutputArtifacts(const Aws::String& key, const TrialComponentArtifact& value) { m_outputArtifacts.emplace(key, value); return *this; }
219 inline DescribeTrialComponentResult& AddOutputArtifacts(Aws::String&& key, const TrialComponentArtifact& value) { m_outputArtifacts.emplace(std::move(key), value); return *this; }
220 inline DescribeTrialComponentResult& AddOutputArtifacts(const Aws::String& key, TrialComponentArtifact&& value) { m_outputArtifacts.emplace(key, std::move(value)); return *this; }
221 inline DescribeTrialComponentResult& AddOutputArtifacts(Aws::String&& key, TrialComponentArtifact&& value) { m_outputArtifacts.emplace(std::move(key), std::move(value)); return *this; }
222 inline DescribeTrialComponentResult& AddOutputArtifacts(const char* key, TrialComponentArtifact&& value) { m_outputArtifacts.emplace(key, std::move(value)); return *this; }
223 inline DescribeTrialComponentResult& AddOutputArtifacts(const char* key, const TrialComponentArtifact& value) { m_outputArtifacts.emplace(key, value); return *this; }
225
227
228 inline const MetadataProperties& GetMetadataProperties() const{ return m_metadataProperties; }
229 inline void SetMetadataProperties(const MetadataProperties& value) { m_metadataProperties = value; }
230 inline void SetMetadataProperties(MetadataProperties&& value) { m_metadataProperties = std::move(value); }
234
236
239 inline const Aws::Vector<TrialComponentMetricSummary>& GetMetrics() const{ return m_metrics; }
240 inline void SetMetrics(const Aws::Vector<TrialComponentMetricSummary>& value) { m_metrics = value; }
241 inline void SetMetrics(Aws::Vector<TrialComponentMetricSummary>&& value) { m_metrics = std::move(value); }
244 inline DescribeTrialComponentResult& AddMetrics(const TrialComponentMetricSummary& value) { m_metrics.push_back(value); return *this; }
245 inline DescribeTrialComponentResult& AddMetrics(TrialComponentMetricSummary&& value) { m_metrics.push_back(std::move(value)); return *this; }
247
249
252 inline const Aws::String& GetLineageGroupArn() const{ return m_lineageGroupArn; }
253 inline void SetLineageGroupArn(const Aws::String& value) { m_lineageGroupArn = value; }
254 inline void SetLineageGroupArn(Aws::String&& value) { m_lineageGroupArn = std::move(value); }
255 inline void SetLineageGroupArn(const char* value) { m_lineageGroupArn.assign(value); }
257 inline DescribeTrialComponentResult& WithLineageGroupArn(Aws::String&& value) { SetLineageGroupArn(std::move(value)); return *this;}
258 inline DescribeTrialComponentResult& WithLineageGroupArn(const char* value) { SetLineageGroupArn(value); return *this;}
260
262
266 inline const Aws::Vector<TrialComponentSource>& GetSources() const{ return m_sources; }
267 inline void SetSources(const Aws::Vector<TrialComponentSource>& value) { m_sources = value; }
268 inline void SetSources(Aws::Vector<TrialComponentSource>&& value) { m_sources = std::move(value); }
271 inline DescribeTrialComponentResult& AddSources(const TrialComponentSource& value) { m_sources.push_back(value); return *this; }
272 inline DescribeTrialComponentResult& AddSources(TrialComponentSource&& value) { m_sources.push_back(std::move(value)); return *this; }
274
276
277 inline const Aws::String& GetRequestId() const{ return m_requestId; }
278 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
279 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
280 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
281 inline DescribeTrialComponentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
282 inline DescribeTrialComponentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
283 inline DescribeTrialComponentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
285 private:
286
287 Aws::String m_trialComponentName;
288
289 Aws::String m_trialComponentArn;
290
291 Aws::String m_displayName;
292
293 TrialComponentSource m_source;
294
295 TrialComponentStatus m_status;
296
297 Aws::Utils::DateTime m_startTime;
298
299 Aws::Utils::DateTime m_endTime;
300
301 Aws::Utils::DateTime m_creationTime;
302
303 UserContext m_createdBy;
304
305 Aws::Utils::DateTime m_lastModifiedTime;
306
307 UserContext m_lastModifiedBy;
308
310
312
314
315 MetadataProperties m_metadataProperties;
316
318
319 Aws::String m_lineageGroupArn;
320
322
323 Aws::String m_requestId;
324 };
325
326} // namespace Model
327} // namespace SageMaker
328} // namespace Aws
void SetOutputArtifacts(const Aws::Map< Aws::String, TrialComponentArtifact > &value)
DescribeTrialComponentResult & WithInputArtifacts(Aws::Map< Aws::String, TrialComponentArtifact > &&value)
DescribeTrialComponentResult & AddOutputArtifacts(const Aws::String &key, TrialComponentArtifact &&value)
DescribeTrialComponentResult & WithCreatedBy(UserContext &&value)
void SetParameters(Aws::Map< Aws::String, TrialComponentParameterValue > &&value)
const Aws::Map< Aws::String, TrialComponentArtifact > & GetInputArtifacts() const
const Aws::Vector< TrialComponentSource > & GetSources() const
DescribeTrialComponentResult & AddSources(TrialComponentSource &&value)
DescribeTrialComponentResult & WithInputArtifacts(const Aws::Map< Aws::String, TrialComponentArtifact > &value)
DescribeTrialComponentResult & WithStartTime(Aws::Utils::DateTime &&value)
DescribeTrialComponentResult & WithStatus(const TrialComponentStatus &value)
DescribeTrialComponentResult & WithRequestId(const Aws::String &value)
DescribeTrialComponentResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeTrialComponentResult & WithTrialComponentArn(Aws::String &&value)
DescribeTrialComponentResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetParameters(const Aws::Map< Aws::String, TrialComponentParameterValue > &value)
DescribeTrialComponentResult & AddParameters(const char *key, TrialComponentParameterValue &&value)
DescribeTrialComponentResult & AddInputArtifacts(const char *key, const TrialComponentArtifact &value)
const Aws::Vector< TrialComponentMetricSummary > & GetMetrics() const
const Aws::Map< Aws::String, TrialComponentArtifact > & GetOutputArtifacts() const
DescribeTrialComponentResult & WithSource(TrialComponentSource &&value)
DescribeTrialComponentResult & WithCreatedBy(const UserContext &value)
DescribeTrialComponentResult & AddOutputArtifacts(Aws::String &&key, const TrialComponentArtifact &value)
const Aws::Map< Aws::String, TrialComponentParameterValue > & GetParameters() const
DescribeTrialComponentResult & WithLastModifiedBy(UserContext &&value)
DescribeTrialComponentResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeTrialComponentResult & AddInputArtifacts(const Aws::String &key, const TrialComponentArtifact &value)
DescribeTrialComponentResult & WithSources(Aws::Vector< TrialComponentSource > &&value)
DescribeTrialComponentResult & AddInputArtifacts(Aws::String &&key, const TrialComponentArtifact &value)
DescribeTrialComponentResult & WithStartTime(const Aws::Utils::DateTime &value)
DescribeTrialComponentResult & AddParameters(Aws::String &&key, const TrialComponentParameterValue &value)
DescribeTrialComponentResult & WithTrialComponentName(const char *value)
DescribeTrialComponentResult & WithMetadataProperties(const MetadataProperties &value)
DescribeTrialComponentResult & WithTrialComponentName(Aws::String &&value)
DescribeTrialComponentResult & WithMetrics(const Aws::Vector< TrialComponentMetricSummary > &value)
DescribeTrialComponentResult & WithLineageGroupArn(const char *value)
DescribeTrialComponentResult & AddParameters(const Aws::String &key, const TrialComponentParameterValue &value)
void SetSources(const Aws::Vector< TrialComponentSource > &value)
DescribeTrialComponentResult & WithDisplayName(Aws::String &&value)
DescribeTrialComponentResult & WithTrialComponentName(const Aws::String &value)
DescribeTrialComponentResult & WithEndTime(const Aws::Utils::DateTime &value)
DescribeTrialComponentResult & WithEndTime(Aws::Utils::DateTime &&value)
void SetInputArtifacts(const Aws::Map< Aws::String, TrialComponentArtifact > &value)
DescribeTrialComponentResult & WithSource(const TrialComponentSource &value)
DescribeTrialComponentResult & WithDisplayName(const Aws::String &value)
DescribeTrialComponentResult & WithMetrics(Aws::Vector< TrialComponentMetricSummary > &&value)
DescribeTrialComponentResult & WithRequestId(Aws::String &&value)
void SetInputArtifacts(Aws::Map< Aws::String, TrialComponentArtifact > &&value)
DescribeTrialComponentResult & AddOutputArtifacts(const Aws::String &key, const TrialComponentArtifact &value)
DescribeTrialComponentResult & AddInputArtifacts(const Aws::String &key, TrialComponentArtifact &&value)
DescribeTrialComponentResult & WithRequestId(const char *value)
DescribeTrialComponentResult & WithTrialComponentArn(const char *value)
DescribeTrialComponentResult & WithStatus(TrialComponentStatus &&value)
DescribeTrialComponentResult & WithMetadataProperties(MetadataProperties &&value)
DescribeTrialComponentResult & AddSources(const TrialComponentSource &value)
DescribeTrialComponentResult & AddParameters(const Aws::String &key, TrialComponentParameterValue &&value)
DescribeTrialComponentResult & WithLastModifiedBy(const UserContext &value)
DescribeTrialComponentResult & WithLineageGroupArn(const Aws::String &value)
DescribeTrialComponentResult & WithTrialComponentArn(const Aws::String &value)
DescribeTrialComponentResult & WithSources(const Aws::Vector< TrialComponentSource > &value)
DescribeTrialComponentResult & AddOutputArtifacts(const char *key, const TrialComponentArtifact &value)
void SetMetrics(Aws::Vector< TrialComponentMetricSummary > &&value)
DescribeTrialComponentResult & AddMetrics(TrialComponentMetricSummary &&value)
AWS_SAGEMAKER_API DescribeTrialComponentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTrialComponentResult & AddOutputArtifacts(Aws::String &&key, TrialComponentArtifact &&value)
DescribeTrialComponentResult & AddOutputArtifacts(const char *key, TrialComponentArtifact &&value)
DescribeTrialComponentResult & WithLineageGroupArn(Aws::String &&value)
DescribeTrialComponentResult & AddParameters(Aws::String &&key, TrialComponentParameterValue &&value)
DescribeTrialComponentResult & AddInputArtifacts(const char *key, TrialComponentArtifact &&value)
DescribeTrialComponentResult & AddMetrics(const TrialComponentMetricSummary &value)
DescribeTrialComponentResult & WithParameters(Aws::Map< Aws::String, TrialComponentParameterValue > &&value)
DescribeTrialComponentResult & WithOutputArtifacts(const Aws::Map< Aws::String, TrialComponentArtifact > &value)
DescribeTrialComponentResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeTrialComponentResult & WithParameters(const Aws::Map< Aws::String, TrialComponentParameterValue > &value)
void SetOutputArtifacts(Aws::Map< Aws::String, TrialComponentArtifact > &&value)
DescribeTrialComponentResult & AddInputArtifacts(Aws::String &&key, TrialComponentArtifact &&value)
AWS_SAGEMAKER_API DescribeTrialComponentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTrialComponentResult & AddParameters(const char *key, const TrialComponentParameterValue &value)
void SetMetrics(const Aws::Vector< TrialComponentMetricSummary > &value)
DescribeTrialComponentResult & WithOutputArtifacts(Aws::Map< Aws::String, TrialComponentArtifact > &&value)
DescribeTrialComponentResult & WithDisplayName(const char *value)
void SetSources(Aws::Vector< TrialComponentSource > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue