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>
57 inline void SetTrialName(
const char* value) { m_trialNameHasBeenSet =
true; m_trialName.assign(value); }
71 inline void SetTrialArn(
const char* value) { m_trialArnHasBeenSet =
true; m_trialArn.assign(value); }
86 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
100 inline void SetExperimentName(
const char* value) { m_experimentNameHasBeenSet =
true; m_experimentName.assign(value); }
184 inline Trial&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
185 inline Trial&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
205 bool m_trialNameHasBeenSet =
false;
208 bool m_trialArnHasBeenSet =
false;
211 bool m_displayNameHasBeenSet =
false;
214 bool m_experimentNameHasBeenSet =
false;
217 bool m_sourceHasBeenSet =
false;
220 bool m_creationTimeHasBeenSet =
false;
223 bool m_createdByHasBeenSet =
false;
226 bool m_lastModifiedTimeHasBeenSet =
false;
229 bool m_lastModifiedByHasBeenSet =
false;
232 bool m_metadataPropertiesHasBeenSet =
false;
235 bool m_tagsHasBeenSet =
false;
238 bool m_trialComponentSummariesHasBeenSet =
false;
const Aws::String & GetExperimentName() const
const Aws::Vector< TrialComponentSimpleSummary > & GetTrialComponentSummaries() const
Trial & AddTrialComponentSummaries(const TrialComponentSimpleSummary &value)
Trial & WithTrialArn(Aws::String &&value)
bool CreationTimeHasBeenSet() const
Trial & WithDisplayName(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
bool DisplayNameHasBeenSet() const
bool LastModifiedTimeHasBeenSet() const
Trial & WithMetadataProperties(MetadataProperties &&value)
Trial & WithExperimentName(const char *value)
const Aws::String & GetDisplayName() const
void SetDisplayName(const Aws::String &value)
Trial & WithExperimentName(Aws::String &&value)
void SetCreatedBy(const UserContext &value)
const Aws::String & GetTrialName() const
void SetTrialName(const char *value)
void SetTrialComponentSummaries(const Aws::Vector< TrialComponentSimpleSummary > &value)
AWS_SAGEMAKER_API Trial()
Trial & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Trial & AddTrialComponentSummaries(TrialComponentSimpleSummary &&value)
Trial & WithTags(Aws::Vector< Tag > &&value)
Trial & AddTags(Tag &&value)
void SetLastModifiedBy(const UserContext &value)
void SetMetadataProperties(MetadataProperties &&value)
void SetTrialArn(const Aws::String &value)
const UserContext & GetCreatedBy() const
void SetExperimentName(const char *value)
const TrialSource & GetSource() const
Trial & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetTrialArn(const char *value)
void SetTrialArn(Aws::String &&value)
bool TrialNameHasBeenSet() const
bool LastModifiedByHasBeenSet() const
Trial & WithCreatedBy(const UserContext &value)
const Aws::String & GetTrialArn() const
const Aws::Vector< Tag > & GetTags() const
Trial & WithDisplayName(const Aws::String &value)
void SetCreatedBy(UserContext &&value)
Trial & WithTrialComponentSummaries(const Aws::Vector< TrialComponentSimpleSummary > &value)
Trial & WithTrialArn(const char *value)
bool ExperimentNameHasBeenSet() const
Trial & WithTrialComponentSummaries(Aws::Vector< TrialComponentSimpleSummary > &&value)
Trial & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API Trial(Aws::Utils::Json::JsonView jsonValue)
Trial & WithSource(const TrialSource &value)
Trial & WithCreatedBy(UserContext &&value)
bool TagsHasBeenSet() const
Trial & WithDisplayName(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetExperimentName(const Aws::String &value)
void SetExperimentName(Aws::String &&value)
bool TrialComponentSummariesHasBeenSet() const
Trial & WithExperimentName(const Aws::String &value)
Trial & WithTrialName(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetTrialName(Aws::String &&value)
const UserContext & GetLastModifiedBy() const
void SetTrialName(const Aws::String &value)
Trial & WithTags(const Aws::Vector< Tag > &value)
void SetTags(Aws::Vector< Tag > &&value)
Trial & WithTrialArn(const Aws::String &value)
Trial & WithSource(TrialSource &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
Trial & WithCreationTime(const Aws::Utils::DateTime &value)
bool CreatedByHasBeenSet() const
void SetDisplayName(Aws::String &&value)
void SetSource(TrialSource &&value)
void SetTrialComponentSummaries(Aws::Vector< TrialComponentSimpleSummary > &&value)
bool TrialArnHasBeenSet() const
void SetMetadataProperties(const MetadataProperties &value)
Trial & WithTrialName(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const MetadataProperties & GetMetadataProperties() const
Trial & WithTrialName(Aws::String &&value)
void SetLastModifiedBy(UserContext &&value)
void SetDisplayName(const char *value)
bool MetadataPropertiesHasBeenSet() const
Trial & WithMetadataProperties(const MetadataProperties &value)
Trial & WithLastModifiedBy(UserContext &&value)
void SetSource(const TrialSource &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Trial & WithLastModifiedBy(const UserContext &value)
Trial & AddTags(const Tag &value)
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