AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
43
44
46
49 inline const Aws::String& GetTrialComponentName() const { return m_trialComponentName; }
50 template<typename TrialComponentNameT = Aws::String>
51 void SetTrialComponentName(TrialComponentNameT&& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = std::forward<TrialComponentNameT>(value); }
52 template<typename TrialComponentNameT = Aws::String>
53 DescribeTrialComponentResult& WithTrialComponentName(TrialComponentNameT&& value) { SetTrialComponentName(std::forward<TrialComponentNameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetTrialComponentArn() const { return m_trialComponentArn; }
61 template<typename TrialComponentArnT = Aws::String>
62 void SetTrialComponentArn(TrialComponentArnT&& value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn = std::forward<TrialComponentArnT>(value); }
63 template<typename TrialComponentArnT = Aws::String>
64 DescribeTrialComponentResult& WithTrialComponentArn(TrialComponentArnT&& value) { SetTrialComponentArn(std::forward<TrialComponentArnT>(value)); return *this;}
66
68
72 inline const Aws::String& GetDisplayName() const { return m_displayName; }
73 template<typename DisplayNameT = Aws::String>
74 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
75 template<typename DisplayNameT = Aws::String>
76 DescribeTrialComponentResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
78
80
84 inline const TrialComponentSource& GetSource() const { return m_source; }
85 template<typename SourceT = TrialComponentSource>
86 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
87 template<typename SourceT = TrialComponentSource>
88 DescribeTrialComponentResult& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
90
92
96 inline const TrialComponentStatus& GetStatus() const { return m_status; }
97 template<typename StatusT = TrialComponentStatus>
98 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
99 template<typename StatusT = TrialComponentStatus>
100 DescribeTrialComponentResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
108 template<typename StartTimeT = Aws::Utils::DateTime>
109 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
110 template<typename StartTimeT = Aws::Utils::DateTime>
111 DescribeTrialComponentResult& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
119 template<typename EndTimeT = Aws::Utils::DateTime>
120 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
121 template<typename EndTimeT = Aws::Utils::DateTime>
122 DescribeTrialComponentResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
130 template<typename CreationTimeT = Aws::Utils::DateTime>
131 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
132 template<typename CreationTimeT = Aws::Utils::DateTime>
133 DescribeTrialComponentResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
135
137
140 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
141 template<typename CreatedByT = UserContext>
142 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
143 template<typename CreatedByT = UserContext>
144 DescribeTrialComponentResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
146
148
151 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
152 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
153 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
154 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
155 DescribeTrialComponentResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
157
159
162 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
163 template<typename LastModifiedByT = UserContext>
164 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
165 template<typename LastModifiedByT = UserContext>
166 DescribeTrialComponentResult& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
168
170
173 inline const Aws::Map<Aws::String, TrialComponentParameterValue>& GetParameters() const { return m_parameters; }
174 template<typename ParametersT = Aws::Map<Aws::String, TrialComponentParameterValue>>
175 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
176 template<typename ParametersT = Aws::Map<Aws::String, TrialComponentParameterValue>>
177 DescribeTrialComponentResult& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
178 template<typename ParametersKeyT = Aws::String, typename ParametersValueT = TrialComponentParameterValue>
179 DescribeTrialComponentResult& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
180 m_parametersHasBeenSet = true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value)); return *this;
181 }
183
185
188 inline const Aws::Map<Aws::String, TrialComponentArtifact>& GetInputArtifacts() const { return m_inputArtifacts; }
189 template<typename InputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
190 void SetInputArtifacts(InputArtifactsT&& value) { m_inputArtifactsHasBeenSet = true; m_inputArtifacts = std::forward<InputArtifactsT>(value); }
191 template<typename InputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
192 DescribeTrialComponentResult& WithInputArtifacts(InputArtifactsT&& value) { SetInputArtifacts(std::forward<InputArtifactsT>(value)); return *this;}
193 template<typename InputArtifactsKeyT = Aws::String, typename InputArtifactsValueT = TrialComponentArtifact>
194 DescribeTrialComponentResult& AddInputArtifacts(InputArtifactsKeyT&& key, InputArtifactsValueT&& value) {
195 m_inputArtifactsHasBeenSet = true; m_inputArtifacts.emplace(std::forward<InputArtifactsKeyT>(key), std::forward<InputArtifactsValueT>(value)); return *this;
196 }
198
200
203 inline const Aws::Map<Aws::String, TrialComponentArtifact>& GetOutputArtifacts() const { return m_outputArtifacts; }
204 template<typename OutputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
205 void SetOutputArtifacts(OutputArtifactsT&& value) { m_outputArtifactsHasBeenSet = true; m_outputArtifacts = std::forward<OutputArtifactsT>(value); }
206 template<typename OutputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
207 DescribeTrialComponentResult& WithOutputArtifacts(OutputArtifactsT&& value) { SetOutputArtifacts(std::forward<OutputArtifactsT>(value)); return *this;}
208 template<typename OutputArtifactsKeyT = Aws::String, typename OutputArtifactsValueT = TrialComponentArtifact>
209 DescribeTrialComponentResult& AddOutputArtifacts(OutputArtifactsKeyT&& key, OutputArtifactsValueT&& value) {
210 m_outputArtifactsHasBeenSet = true; m_outputArtifacts.emplace(std::forward<OutputArtifactsKeyT>(key), std::forward<OutputArtifactsValueT>(value)); return *this;
211 }
213
215
216 inline const MetadataProperties& GetMetadataProperties() const { return m_metadataProperties; }
217 template<typename MetadataPropertiesT = MetadataProperties>
218 void SetMetadataProperties(MetadataPropertiesT&& value) { m_metadataPropertiesHasBeenSet = true; m_metadataProperties = std::forward<MetadataPropertiesT>(value); }
219 template<typename MetadataPropertiesT = MetadataProperties>
220 DescribeTrialComponentResult& WithMetadataProperties(MetadataPropertiesT&& value) { SetMetadataProperties(std::forward<MetadataPropertiesT>(value)); return *this;}
222
224
227 inline const Aws::Vector<TrialComponentMetricSummary>& GetMetrics() const { return m_metrics; }
228 template<typename MetricsT = Aws::Vector<TrialComponentMetricSummary>>
229 void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet = true; m_metrics = std::forward<MetricsT>(value); }
230 template<typename MetricsT = Aws::Vector<TrialComponentMetricSummary>>
231 DescribeTrialComponentResult& WithMetrics(MetricsT&& value) { SetMetrics(std::forward<MetricsT>(value)); return *this;}
232 template<typename MetricsT = TrialComponentMetricSummary>
233 DescribeTrialComponentResult& AddMetrics(MetricsT&& value) { m_metricsHasBeenSet = true; m_metrics.emplace_back(std::forward<MetricsT>(value)); return *this; }
235
237
240 inline const Aws::String& GetLineageGroupArn() const { return m_lineageGroupArn; }
241 template<typename LineageGroupArnT = Aws::String>
242 void SetLineageGroupArn(LineageGroupArnT&& value) { m_lineageGroupArnHasBeenSet = true; m_lineageGroupArn = std::forward<LineageGroupArnT>(value); }
243 template<typename LineageGroupArnT = Aws::String>
244 DescribeTrialComponentResult& WithLineageGroupArn(LineageGroupArnT&& value) { SetLineageGroupArn(std::forward<LineageGroupArnT>(value)); return *this;}
246
248
252 inline const Aws::Vector<TrialComponentSource>& GetSources() const { return m_sources; }
253 template<typename SourcesT = Aws::Vector<TrialComponentSource>>
254 void SetSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources = std::forward<SourcesT>(value); }
255 template<typename SourcesT = Aws::Vector<TrialComponentSource>>
256 DescribeTrialComponentResult& WithSources(SourcesT&& value) { SetSources(std::forward<SourcesT>(value)); return *this;}
257 template<typename SourcesT = TrialComponentSource>
258 DescribeTrialComponentResult& AddSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources.emplace_back(std::forward<SourcesT>(value)); return *this; }
260
262
263 inline const Aws::String& GetRequestId() const { return m_requestId; }
264 template<typename RequestIdT = Aws::String>
265 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
266 template<typename RequestIdT = Aws::String>
267 DescribeTrialComponentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
269 private:
270
271 Aws::String m_trialComponentName;
272 bool m_trialComponentNameHasBeenSet = false;
273
274 Aws::String m_trialComponentArn;
275 bool m_trialComponentArnHasBeenSet = false;
276
277 Aws::String m_displayName;
278 bool m_displayNameHasBeenSet = false;
279
280 TrialComponentSource m_source;
281 bool m_sourceHasBeenSet = false;
282
283 TrialComponentStatus m_status;
284 bool m_statusHasBeenSet = false;
285
286 Aws::Utils::DateTime m_startTime{};
287 bool m_startTimeHasBeenSet = false;
288
289 Aws::Utils::DateTime m_endTime{};
290 bool m_endTimeHasBeenSet = false;
291
292 Aws::Utils::DateTime m_creationTime{};
293 bool m_creationTimeHasBeenSet = false;
294
295 UserContext m_createdBy;
296 bool m_createdByHasBeenSet = false;
297
298 Aws::Utils::DateTime m_lastModifiedTime{};
299 bool m_lastModifiedTimeHasBeenSet = false;
300
301 UserContext m_lastModifiedBy;
302 bool m_lastModifiedByHasBeenSet = false;
303
305 bool m_parametersHasBeenSet = false;
306
308 bool m_inputArtifactsHasBeenSet = false;
309
311 bool m_outputArtifactsHasBeenSet = false;
312
313 MetadataProperties m_metadataProperties;
314 bool m_metadataPropertiesHasBeenSet = false;
315
317 bool m_metricsHasBeenSet = false;
318
319 Aws::String m_lineageGroupArn;
320 bool m_lineageGroupArnHasBeenSet = false;
321
323 bool m_sourcesHasBeenSet = false;
324
325 Aws::String m_requestId;
326 bool m_requestIdHasBeenSet = false;
327 };
328
329} // namespace Model
330} // namespace SageMaker
331} // namespace Aws
DescribeTrialComponentResult & WithLastModifiedBy(LastModifiedByT &&value)
DescribeTrialComponentResult & WithSources(SourcesT &&value)
DescribeTrialComponentResult & WithOutputArtifacts(OutputArtifactsT &&value)
DescribeTrialComponentResult & WithParameters(ParametersT &&value)
const Aws::Map< Aws::String, TrialComponentArtifact > & GetInputArtifacts() const
const Aws::Vector< TrialComponentSource > & GetSources() const
DescribeTrialComponentResult & WithStartTime(StartTimeT &&value)
DescribeTrialComponentResult & AddInputArtifacts(InputArtifactsKeyT &&key, InputArtifactsValueT &&value)
DescribeTrialComponentResult & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
DescribeTrialComponentResult & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API DescribeTrialComponentResult()=default
const Aws::Vector< TrialComponentMetricSummary > & GetMetrics() const
DescribeTrialComponentResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, TrialComponentArtifact > & GetOutputArtifacts() const
const Aws::Map< Aws::String, TrialComponentParameterValue > & GetParameters() const
DescribeTrialComponentResult & WithCreationTime(CreationTimeT &&value)
DescribeTrialComponentResult & AddSources(SourcesT &&value)
DescribeTrialComponentResult & WithTrialComponentArn(TrialComponentArnT &&value)
DescribeTrialComponentResult & WithMetrics(MetricsT &&value)
DescribeTrialComponentResult & WithStatus(StatusT &&value)
DescribeTrialComponentResult & WithCreatedBy(CreatedByT &&value)
DescribeTrialComponentResult & WithInputArtifacts(InputArtifactsT &&value)
DescribeTrialComponentResult & WithTrialComponentName(TrialComponentNameT &&value)
AWS_SAGEMAKER_API DescribeTrialComponentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTrialComponentResult & AddMetrics(MetricsT &&value)
DescribeTrialComponentResult & WithSource(SourceT &&value)
DescribeTrialComponentResult & WithLineageGroupArn(LineageGroupArnT &&value)
DescribeTrialComponentResult & WithEndTime(EndTimeT &&value)
DescribeTrialComponentResult & AddOutputArtifacts(OutputArtifactsKeyT &&key, OutputArtifactsValueT &&value)
AWS_SAGEMAKER_API DescribeTrialComponentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTrialComponentResult & WithMetadataProperties(MetadataPropertiesT &&value)
DescribeTrialComponentResult & WithDisplayName(DisplayNameT &&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