7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/TrialSource.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/UserContext.h>
12#include <aws/sagemaker/model/MetadataProperties.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/sagemaker/model/Tag.h>
15#include <aws/sagemaker/model/TrialComponentSimpleSummary.h>
43 AWS_SAGEMAKER_API
Trial() =
default;
55 template<
typename TrialNameT = Aws::String>
56 void SetTrialName(TrialNameT&& value) { m_trialNameHasBeenSet =
true; m_trialName = std::forward<TrialNameT>(value); }
57 template<
typename TrialNameT = Aws::String>
67 template<
typename TrialArnT = Aws::String>
68 void SetTrialArn(TrialArnT&& value) { m_trialArnHasBeenSet =
true; m_trialArn = std::forward<TrialArnT>(value); }
69 template<
typename TrialArnT = Aws::String>
80 template<
typename DisplayNameT = Aws::String>
81 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
82 template<
typename DisplayNameT = Aws::String>
92 template<
typename ExperimentNameT = Aws::String>
93 void SetExperimentName(ExperimentNameT&& value) { m_experimentNameHasBeenSet =
true; m_experimentName = std::forward<ExperimentNameT>(value); }
94 template<
typename ExperimentNameT = Aws::String>
102 template<
typename SourceT = TrialSource>
103 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
104 template<
typename SourceT = TrialSource>
114 template<
typename CreationTimeT = Aws::Utils::DateTime>
115 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
116 template<
typename CreationTimeT = Aws::Utils::DateTime>
126 template<
typename CreatedByT = UserContext>
127 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
128 template<
typename CreatedByT = UserContext>
138 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
139 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
140 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
148 template<
typename LastModifiedByT = UserContext>
149 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet =
true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
150 template<
typename LastModifiedByT = UserContext>
158 template<
typename MetadataPropertiesT = MetadataProperties>
159 void SetMetadataProperties(MetadataPropertiesT&& value) { m_metadataPropertiesHasBeenSet =
true; m_metadataProperties = std::forward<MetadataPropertiesT>(value); }
160 template<
typename MetadataPropertiesT = MetadataProperties>
172 template<
typename TagsT = Aws::Vector<Tag>>
173 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
174 template<
typename TagsT = Aws::Vector<Tag>>
176 template<
typename TagsT = Tag>
177 Trial&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
187 template<
typename TrialComponentSummariesT = Aws::Vector<TrialComponentSimpleSummary>>
188 void SetTrialComponentSummaries(TrialComponentSummariesT&& value) { m_trialComponentSummariesHasBeenSet =
true; m_trialComponentSummaries = std::forward<TrialComponentSummariesT>(value); }
189 template<
typename TrialComponentSummariesT = Aws::Vector<TrialComponentSimpleSummary>>
191 template<
typename TrialComponentSummariesT = TrialComponentSimpleSummary>
192 Trial&
AddTrialComponentSummaries(TrialComponentSummariesT&& value) { m_trialComponentSummariesHasBeenSet =
true; m_trialComponentSummaries.emplace_back(std::forward<TrialComponentSummariesT>(value));
return *
this; }
197 bool m_trialNameHasBeenSet =
false;
200 bool m_trialArnHasBeenSet =
false;
203 bool m_displayNameHasBeenSet =
false;
206 bool m_experimentNameHasBeenSet =
false;
209 bool m_sourceHasBeenSet =
false;
212 bool m_creationTimeHasBeenSet =
false;
214 UserContext m_createdBy;
215 bool m_createdByHasBeenSet =
false;
218 bool m_lastModifiedTimeHasBeenSet =
false;
220 UserContext m_lastModifiedBy;
221 bool m_lastModifiedByHasBeenSet =
false;
223 MetadataProperties m_metadataProperties;
224 bool m_metadataPropertiesHasBeenSet =
false;
227 bool m_tagsHasBeenSet =
false;
230 bool m_trialComponentSummariesHasBeenSet =
false;
Trial & WithTrialArn(TrialArnT &&value)
const Aws::String & GetExperimentName() const
void SetTrialComponentSummaries(TrialComponentSummariesT &&value)
const Aws::Vector< TrialComponentSimpleSummary > & GetTrialComponentSummaries() const
Trial & WithSource(SourceT &&value)
bool CreationTimeHasBeenSet() const
bool DisplayNameHasBeenSet() const
bool LastModifiedTimeHasBeenSet() const
Trial & WithTags(TagsT &&value)
const Aws::String & GetDisplayName() const
void SetTrialArn(TrialArnT &&value)
const Aws::String & GetTrialName() const
Trial & WithDisplayName(DisplayNameT &&value)
void SetLastModifiedBy(LastModifiedByT &&value)
void SetCreatedBy(CreatedByT &&value)
Trial & WithTrialComponentSummaries(TrialComponentSummariesT &&value)
const UserContext & GetCreatedBy() const
Trial & WithCreatedBy(CreatedByT &&value)
const TrialSource & GetSource() const
void SetTrialName(TrialNameT &&value)
bool TrialNameHasBeenSet() const
bool LastModifiedByHasBeenSet() const
AWS_SAGEMAKER_API Trial()=default
const Aws::String & GetTrialArn() const
const Aws::Vector< Tag > & GetTags() const
Trial & WithExperimentName(ExperimentNameT &&value)
bool ExperimentNameHasBeenSet() const
Trial & AddTrialComponentSummaries(TrialComponentSummariesT &&value)
AWS_SAGEMAKER_API Trial(Aws::Utils::Json::JsonView jsonValue)
Trial & WithCreationTime(CreationTimeT &&value)
bool TagsHasBeenSet() const
Trial & WithMetadataProperties(MetadataPropertiesT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetDisplayName(DisplayNameT &&value)
bool TrialComponentSummariesHasBeenSet() const
void SetCreationTime(CreationTimeT &&value)
Trial & WithTrialName(TrialNameT &&value)
void SetTags(TagsT &&value)
Trial & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
Trial & AddTags(TagsT &&value)
const UserContext & GetLastModifiedBy() const
void SetMetadataProperties(MetadataPropertiesT &&value)
void SetSource(SourceT &&value)
bool CreatedByHasBeenSet() const
bool TrialArnHasBeenSet() const
const MetadataProperties & GetMetadataProperties() const
void SetExperimentName(ExperimentNameT &&value)
Trial & WithLastModifiedBy(LastModifiedByT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool MetadataPropertiesHasBeenSet() const
bool SourceHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API Trial & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue