7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/MetadataProperties.h>
12#include <aws/sagemaker/model/Tag.h>
13#include <aws/sagemaker/model/TrialComponentSimpleSummary.h>
14#include <aws/sagemaker/model/TrialSource.h>
15#include <aws/sagemaker/model/UserContext.h>
38 AWS_SAGEMAKER_API
Trial() =
default;
49 template <
typename TrialNameT = Aws::String>
51 m_trialNameHasBeenSet =
true;
52 m_trialName = std::forward<TrialNameT>(value);
54 template <
typename TrialNameT = Aws::String>
67 template <
typename TrialArnT = Aws::String>
69 m_trialArnHasBeenSet =
true;
70 m_trialArn = std::forward<TrialArnT>(value);
72 template <
typename TrialArnT = Aws::String>
86 template <
typename DisplayNameT = Aws::String>
88 m_displayNameHasBeenSet =
true;
89 m_displayName = std::forward<DisplayNameT>(value);
91 template <
typename DisplayNameT = Aws::String>
104 template <
typename ExperimentNameT = Aws::String>
106 m_experimentNameHasBeenSet =
true;
107 m_experimentName = std::forward<ExperimentNameT>(value);
109 template <
typename ExperimentNameT = Aws::String>
120 template <
typename SourceT = TrialSource>
122 m_sourceHasBeenSet =
true;
123 m_source = std::forward<SourceT>(value);
125 template <
typename SourceT = TrialSource>
138 template <
typename CreationTimeT = Aws::Utils::DateTime>
140 m_creationTimeHasBeenSet =
true;
141 m_creationTime = std::forward<CreationTimeT>(value);
143 template <
typename CreationTimeT = Aws::Utils::DateTime>
156 template <
typename CreatedByT = UserContext>
158 m_createdByHasBeenSet =
true;
159 m_createdBy = std::forward<CreatedByT>(value);
161 template <
typename CreatedByT = UserContext>
174 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
176 m_lastModifiedTimeHasBeenSet =
true;
177 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
179 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
190 template <
typename LastModifiedByT = UserContext>
192 m_lastModifiedByHasBeenSet =
true;
193 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
195 template <
typename LastModifiedByT = UserContext>
206 template <
typename MetadataPropertiesT = MetadataProperties>
208 m_metadataPropertiesHasBeenSet =
true;
209 m_metadataProperties = std::forward<MetadataPropertiesT>(value);
211 template <
typename MetadataPropertiesT = MetadataProperties>
226 template <
typename TagsT = Aws::Vector<Tag>>
228 m_tagsHasBeenSet =
true;
229 m_tags = std::forward<TagsT>(value);
231 template <
typename TagsT = Aws::Vector<Tag>>
233 SetTags(std::forward<TagsT>(value));
236 template <
typename TagsT = Tag>
238 m_tagsHasBeenSet =
true;
239 m_tags.emplace_back(std::forward<TagsT>(value));
251 template <
typename TrialComponentSummariesT = Aws::Vector<TrialComponentSimpleSummary>>
253 m_trialComponentSummariesHasBeenSet =
true;
254 m_trialComponentSummaries = std::forward<TrialComponentSummariesT>(value);
256 template <
typename TrialComponentSummariesT = Aws::Vector<TrialComponentSimpleSummary>>
261 template <
typename TrialComponentSummariesT = TrialComponentSimpleSummary>
263 m_trialComponentSummariesHasBeenSet =
true;
264 m_trialComponentSummaries.emplace_back(std::forward<TrialComponentSummariesT>(value));
281 UserContext m_createdBy;
285 UserContext m_lastModifiedBy;
287 MetadataProperties m_metadataProperties;
292 bool m_trialNameHasBeenSet =
false;
293 bool m_trialArnHasBeenSet =
false;
294 bool m_displayNameHasBeenSet =
false;
295 bool m_experimentNameHasBeenSet =
false;
296 bool m_sourceHasBeenSet =
false;
297 bool m_creationTimeHasBeenSet =
false;
298 bool m_createdByHasBeenSet =
false;
299 bool m_lastModifiedTimeHasBeenSet =
false;
300 bool m_lastModifiedByHasBeenSet =
false;
301 bool m_metadataPropertiesHasBeenSet =
false;
302 bool m_tagsHasBeenSet =
false;
303 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