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/core/utils/memory/stl/AWSVector.h>
15#include <aws/sagemaker/model/MetadataProperties.h>
16#include <aws/sagemaker/model/TrialComponentSourceDetail.h>
17#include <aws/sagemaker/model/TrialComponentParameterValue.h>
18#include <aws/sagemaker/model/TrialComponentArtifact.h>
19#include <aws/sagemaker/model/TrialComponentMetricSummary.h>
20#include <aws/sagemaker/model/Tag.h>
21#include <aws/sagemaker/model/Parent.h>
61 template<
typename TrialComponentNameT = Aws::String>
62 void SetTrialComponentName(TrialComponentNameT&& value) { m_trialComponentNameHasBeenSet =
true; m_trialComponentName = std::forward<TrialComponentNameT>(value); }
63 template<
typename TrialComponentNameT = Aws::String>
74 template<
typename DisplayNameT = Aws::String>
75 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
76 template<
typename DisplayNameT = Aws::String>
86 template<
typename TrialComponentArnT = Aws::String>
87 void SetTrialComponentArn(TrialComponentArnT&& value) { m_trialComponentArnHasBeenSet =
true; m_trialComponentArn = std::forward<TrialComponentArnT>(value); }
88 template<
typename TrialComponentArnT = Aws::String>
99 template<
typename SourceT = TrialComponentSource>
100 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
101 template<
typename SourceT = TrialComponentSource>
109 template<
typename StatusT = TrialComponentStatus>
110 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
111 template<
typename StatusT = TrialComponentStatus>
121 template<
typename StartTimeT = Aws::Utils::DateTime>
122 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
123 template<
typename StartTimeT = Aws::Utils::DateTime>
133 template<
typename EndTimeT = Aws::Utils::DateTime>
134 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
135 template<
typename EndTimeT = Aws::Utils::DateTime>
145 template<
typename CreationTimeT = Aws::Utils::DateTime>
146 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
147 template<
typename CreationTimeT = Aws::Utils::DateTime>
157 template<
typename CreatedByT = UserContext>
158 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
159 template<
typename CreatedByT = UserContext>
169 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
170 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
171 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
179 template<
typename LastModifiedByT = UserContext>
180 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
181 template<
typename LastModifiedByT = UserContext>
191 template<
typename ParametersT = Aws::Map<Aws::String, TrialComponentParameterValue>>
192 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
193 template<
typename ParametersT = Aws::Map<Aws::String, TrialComponentParameterValue>>
195 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = TrialComponentParameterValue>
197 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
207 template<
typename InputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
208 void SetInputArtifacts(InputArtifactsT&& value) { m_inputArtifactsHasBeenSet =
true; m_inputArtifacts = std::forward<InputArtifactsT>(value); }
209 template<
typename InputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
211 template<
typename InputArtifactsKeyT = Aws::String,
typename InputArtifactsValueT = TrialComponentArtifact>
213 m_inputArtifactsHasBeenSet =
true; m_inputArtifacts.emplace(std::forward<InputArtifactsKeyT>(key), std::forward<InputArtifactsValueT>(value));
return *
this;
223 template<
typename OutputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
224 void SetOutputArtifacts(OutputArtifactsT&& value) { m_outputArtifactsHasBeenSet =
true; m_outputArtifacts = std::forward<OutputArtifactsT>(value); }
225 template<
typename OutputArtifactsT = Aws::Map<Aws::String, TrialComponentArtifact>>
227 template<
typename OutputArtifactsKeyT = Aws::String,
typename OutputArtifactsValueT = TrialComponentArtifact>
229 m_outputArtifactsHasBeenSet =
true; m_outputArtifacts.emplace(std::forward<OutputArtifactsKeyT>(key), std::forward<OutputArtifactsValueT>(value));
return *
this;
239 template<
typename MetricsT = Aws::Vector<TrialComponentMetricSummary>>
240 void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet =
true; m_metrics = std::forward<MetricsT>(value); }
241 template<
typename MetricsT = Aws::Vector<TrialComponentMetricSummary>>
243 template<
typename MetricsT = TrialComponentMetricSummary>
244 TrialComponent&
AddMetrics(MetricsT&& value) { m_metricsHasBeenSet =
true; m_metrics.emplace_back(std::forward<MetricsT>(value));
return *
this; }
251 template<
typename MetadataPropertiesT = MetadataProperties>
252 void SetMetadataProperties(MetadataPropertiesT&& value) { m_metadataPropertiesHasBeenSet =
true; m_metadataProperties = std::forward<MetadataPropertiesT>(value); }
253 template<
typename MetadataPropertiesT = MetadataProperties>
263 template<
typename SourceDetailT = TrialComponentSourceDetail>
264 void SetSourceDetail(SourceDetailT&& value) { m_sourceDetailHasBeenSet =
true; m_sourceDetail = std::forward<SourceDetailT>(value); }
265 template<
typename SourceDetailT = TrialComponentSourceDetail>
275 template<
typename LineageGroupArnT = Aws::String>
276 void SetLineageGroupArn(LineageGroupArnT&& value) { m_lineageGroupArnHasBeenSet =
true; m_lineageGroupArn = std::forward<LineageGroupArnT>(value); }
277 template<
typename LineageGroupArnT = Aws::String>
289 template<
typename TagsT = Aws::Vector<Tag>>
290 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
291 template<
typename TagsT = Aws::Vector<Tag>>
293 template<
typename TagsT = Tag>
294 TrialComponent&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
305 template<
typename ParentsT = Aws::Vector<Parent>>
306 void SetParents(ParentsT&& value) { m_parentsHasBeenSet =
true; m_parents = std::forward<ParentsT>(value); }
307 template<
typename ParentsT = Aws::Vector<Parent>>
309 template<
typename ParentsT = Parent>
310 TrialComponent&
AddParents(ParentsT&& value) { m_parentsHasBeenSet =
true; m_parents.emplace_back(std::forward<ParentsT>(value));
return *
this; }
319 template<
typename RunNameT = Aws::String>
320 void SetRunName(RunNameT&& value) { m_runNameHasBeenSet =
true; m_runName = std::forward<RunNameT>(value); }
321 template<
typename RunNameT = Aws::String>
327 bool m_trialComponentNameHasBeenSet =
false;
330 bool m_displayNameHasBeenSet =
false;
333 bool m_trialComponentArnHasBeenSet =
false;
336 bool m_sourceHasBeenSet =
false;
339 bool m_statusHasBeenSet =
false;
342 bool m_startTimeHasBeenSet =
false;
345 bool m_endTimeHasBeenSet =
false;
348 bool m_creationTimeHasBeenSet =
false;
350 UserContext m_createdBy;
351 bool m_createdByHasBeenSet =
false;
354 bool m_lastModifiedTimeHasBeenSet =
false;
356 UserContext m_lastModifiedBy;
357 bool m_lastModifiedByHasBeenSet =
false;
360 bool m_parametersHasBeenSet =
false;
363 bool m_inputArtifactsHasBeenSet =
false;
366 bool m_outputArtifactsHasBeenSet =
false;
369 bool m_metricsHasBeenSet =
false;
371 MetadataProperties m_metadataProperties;
372 bool m_metadataPropertiesHasBeenSet =
false;
374 TrialComponentSourceDetail m_sourceDetail;
375 bool m_sourceDetailHasBeenSet =
false;
378 bool m_lineageGroupArnHasBeenSet =
false;
381 bool m_tagsHasBeenSet =
false;
384 bool m_parentsHasBeenSet =
false;
387 bool m_runNameHasBeenSet =
false;
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, TrialComponentArtifact > & GetInputArtifacts() const
bool OutputArtifactsHasBeenSet() const
TrialComponent & WithStartTime(StartTimeT &&value)
bool SourceDetailHasBeenSet() const
void SetEndTime(EndTimeT &&value)
TrialComponent & WithTrialComponentName(TrialComponentNameT &&value)
bool RunNameHasBeenSet() const
TrialComponent & WithInputArtifacts(InputArtifactsT &&value)
void SetDisplayName(DisplayNameT &&value)
void SetTrialComponentArn(TrialComponentArnT &&value)
TrialComponent & WithCreationTime(CreationTimeT &&value)
void SetCreatedBy(CreatedByT &&value)
const TrialComponentSource & GetSource() const
bool CreationTimeHasBeenSet() const
TrialComponent & AddMetrics(MetricsT &&value)
const Aws::String & GetTrialComponentName() const
void SetInputArtifacts(InputArtifactsT &&value)
TrialComponent & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
void SetStartTime(StartTimeT &&value)
TrialComponent & AddOutputArtifacts(OutputArtifactsKeyT &&key, OutputArtifactsValueT &&value)
TrialComponent & WithLastModifiedBy(LastModifiedByT &&value)
TrialComponent & WithStatus(StatusT &&value)
bool DisplayNameHasBeenSet() const
const Aws::Map< Aws::String, TrialComponentArtifact > & GetOutputArtifacts() const
TrialComponent & WithParameters(ParametersT &&value)
bool LastModifiedTimeHasBeenSet() const
bool TagsHasBeenSet() const
AWS_SAGEMAKER_API TrialComponent()=default
void SetParameters(ParametersT &&value)
TrialComponent & WithCreatedBy(CreatedByT &&value)
bool LastModifiedByHasBeenSet() const
TrialComponent & WithMetadataProperties(MetadataPropertiesT &&value)
void SetLineageGroupArn(LineageGroupArnT &&value)
TrialComponent & WithMetrics(MetricsT &&value)
TrialComponent & WithTrialComponentArn(TrialComponentArnT &&value)
const Aws::String & GetRunName() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrialComponent & WithSource(SourceT &&value)
const Aws::String & GetLineageGroupArn() const
TrialComponent & WithEndTime(EndTimeT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
const Aws::Vector< Tag > & GetTags() const
TrialComponent & AddParents(ParentsT &&value)
bool MetricsHasBeenSet() const
void SetMetrics(MetricsT &&value)
TrialComponent & WithRunName(RunNameT &&value)
const TrialComponentStatus & GetStatus() const
void SetMetadataProperties(MetadataPropertiesT &&value)
bool StatusHasBeenSet() const
const TrialComponentSourceDetail & GetSourceDetail() const
TrialComponent & WithLineageGroupArn(LineageGroupArnT &&value)
bool TrialComponentNameHasBeenSet() const
bool TrialComponentArnHasBeenSet() const
TrialComponent & WithTags(TagsT &&value)
const Aws::String & GetDisplayName() const
TrialComponent & WithParents(ParentsT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
TrialComponent & WithSourceDetail(SourceDetailT &&value)
TrialComponent & WithOutputArtifacts(OutputArtifactsT &&value)
bool ParentsHasBeenSet() const
bool SourceHasBeenSet() const
bool LineageGroupArnHasBeenSet() const
void SetOutputArtifacts(OutputArtifactsT &&value)
bool CreatedByHasBeenSet() const
bool MetadataPropertiesHasBeenSet() const
const Aws::String & GetTrialComponentArn() const
void SetParents(ParentsT &&value)
TrialComponent & AddTags(TagsT &&value)
bool EndTimeHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
TrialComponent & AddInputArtifacts(InputArtifactsKeyT &&key, InputArtifactsValueT &&value)
bool StartTimeHasBeenSet() const
TrialComponent & WithDisplayName(DisplayNameT &&value)
AWS_SAGEMAKER_API TrialComponent & operator=(Aws::Utils::Json::JsonView jsonValue)
TrialComponent & WithLastModifiedTime(LastModifiedTimeT &&value)
const UserContext & GetLastModifiedBy() const
void SetStatus(StatusT &&value)
const Aws::Vector< Parent > & GetParents() const
void SetSourceDetail(SourceDetailT &&value)
const MetadataProperties & GetMetadataProperties() const
const Aws::Map< Aws::String, TrialComponentParameterValue > & GetParameters() const
AWS_SAGEMAKER_API TrialComponent(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartTime() const
bool ParametersHasBeenSet() const
void SetRunName(RunNameT &&value)
void SetSource(SourceT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetCreationTime(CreationTimeT &&value)
bool InputArtifactsHasBeenSet() const
const Aws::Vector< TrialComponentMetricSummary > & GetMetrics() const
const UserContext & GetCreatedBy() const
void SetTrialComponentName(TrialComponentNameT &&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