AWS SDK for C++  1.9.159
AWS SDK for C++
DescribeTrialResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace SageMaker
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const Aws::String& GetTrialName() const{ return m_trialName; }
43 
47  inline void SetTrialName(const Aws::String& value) { m_trialName = value; }
48 
52  inline void SetTrialName(Aws::String&& value) { m_trialName = std::move(value); }
53 
57  inline void SetTrialName(const char* value) { m_trialName.assign(value); }
58 
62  inline DescribeTrialResult& WithTrialName(const Aws::String& value) { SetTrialName(value); return *this;}
63 
67  inline DescribeTrialResult& WithTrialName(Aws::String&& value) { SetTrialName(std::move(value)); return *this;}
68 
72  inline DescribeTrialResult& WithTrialName(const char* value) { SetTrialName(value); return *this;}
73 
74 
78  inline const Aws::String& GetTrialArn() const{ return m_trialArn; }
79 
83  inline void SetTrialArn(const Aws::String& value) { m_trialArn = value; }
84 
88  inline void SetTrialArn(Aws::String&& value) { m_trialArn = std::move(value); }
89 
93  inline void SetTrialArn(const char* value) { m_trialArn.assign(value); }
94 
98  inline DescribeTrialResult& WithTrialArn(const Aws::String& value) { SetTrialArn(value); return *this;}
99 
103  inline DescribeTrialResult& WithTrialArn(Aws::String&& value) { SetTrialArn(std::move(value)); return *this;}
104 
108  inline DescribeTrialResult& WithTrialArn(const char* value) { SetTrialArn(value); return *this;}
109 
110 
115  inline const Aws::String& GetDisplayName() const{ return m_displayName; }
116 
121  inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
122 
127  inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
128 
133  inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
134 
139  inline DescribeTrialResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
140 
145  inline DescribeTrialResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
146 
151  inline DescribeTrialResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
152 
153 
157  inline const Aws::String& GetExperimentName() const{ return m_experimentName; }
158 
162  inline void SetExperimentName(const Aws::String& value) { m_experimentName = value; }
163 
167  inline void SetExperimentName(Aws::String&& value) { m_experimentName = std::move(value); }
168 
172  inline void SetExperimentName(const char* value) { m_experimentName.assign(value); }
173 
177  inline DescribeTrialResult& WithExperimentName(const Aws::String& value) { SetExperimentName(value); return *this;}
178 
182  inline DescribeTrialResult& WithExperimentName(Aws::String&& value) { SetExperimentName(std::move(value)); return *this;}
183 
187  inline DescribeTrialResult& WithExperimentName(const char* value) { SetExperimentName(value); return *this;}
188 
189 
194  inline const TrialSource& GetSource() const{ return m_source; }
195 
200  inline void SetSource(const TrialSource& value) { m_source = value; }
201 
206  inline void SetSource(TrialSource&& value) { m_source = std::move(value); }
207 
212  inline DescribeTrialResult& WithSource(const TrialSource& value) { SetSource(value); return *this;}
213 
218  inline DescribeTrialResult& WithSource(TrialSource&& value) { SetSource(std::move(value)); return *this;}
219 
220 
224  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
225 
229  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
230 
234  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
235 
239  inline DescribeTrialResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
240 
244  inline DescribeTrialResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
245 
246 
250  inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
251 
255  inline void SetCreatedBy(const UserContext& value) { m_createdBy = value; }
256 
260  inline void SetCreatedBy(UserContext&& value) { m_createdBy = std::move(value); }
261 
265  inline DescribeTrialResult& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
266 
270  inline DescribeTrialResult& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
271 
272 
276  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
277 
281  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
282 
286  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
287 
291  inline DescribeTrialResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
292 
296  inline DescribeTrialResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
297 
298 
302  inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
303 
307  inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedBy = value; }
308 
312  inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedBy = std::move(value); }
313 
317  inline DescribeTrialResult& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
318 
322  inline DescribeTrialResult& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
323 
324 
325 
326  inline const MetadataProperties& GetMetadataProperties() const{ return m_metadataProperties; }
327 
328 
329  inline void SetMetadataProperties(const MetadataProperties& value) { m_metadataProperties = value; }
330 
331 
332  inline void SetMetadataProperties(MetadataProperties&& value) { m_metadataProperties = std::move(value); }
333 
334 
335  inline DescribeTrialResult& WithMetadataProperties(const MetadataProperties& value) { SetMetadataProperties(value); return *this;}
336 
337 
338  inline DescribeTrialResult& WithMetadataProperties(MetadataProperties&& value) { SetMetadataProperties(std::move(value)); return *this;}
339 
340  private:
341 
342  Aws::String m_trialName;
343 
344  Aws::String m_trialArn;
345 
346  Aws::String m_displayName;
347 
348  Aws::String m_experimentName;
349 
350  TrialSource m_source;
351 
352  Aws::Utils::DateTime m_creationTime;
353 
354  UserContext m_createdBy;
355 
356  Aws::Utils::DateTime m_lastModifiedTime;
357 
358  UserContext m_lastModifiedBy;
359 
360  MetadataProperties m_metadataProperties;
361  };
362 
363 } // namespace Model
364 } // namespace SageMaker
365 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::DescribeTrialResult::SetMetadataProperties
void SetMetadataProperties(MetadataProperties &&value)
Definition: DescribeTrialResult.h:332
Aws::SageMaker::Model::DescribeTrialResult::SetDisplayName
void SetDisplayName(const Aws::String &value)
Definition: DescribeTrialResult.h:121
Aws::SageMaker::Model::DescribeTrialResult::WithTrialName
DescribeTrialResult & WithTrialName(const Aws::String &value)
Definition: DescribeTrialResult.h:62
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DescribeTrialResult::WithCreatedBy
DescribeTrialResult & WithCreatedBy(UserContext &&value)
Definition: DescribeTrialResult.h:270
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SageMaker::Model::DescribeTrialResult::GetCreatedBy
const UserContext & GetCreatedBy() const
Definition: DescribeTrialResult.h:250
Aws::SageMaker::Model::DescribeTrialResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeTrialResult.h:224
Aws::SageMaker::Model::DescribeTrialResult::WithExperimentName
DescribeTrialResult & WithExperimentName(const char *value)
Definition: DescribeTrialResult.h:187
Aws::SageMaker::Model::DescribeTrialResult::WithLastModifiedBy
DescribeTrialResult & WithLastModifiedBy(const UserContext &value)
Definition: DescribeTrialResult.h:317
Aws::SageMaker::Model::UserContext
Definition: UserContext.h:33
Aws::SageMaker::Model::DescribeTrialResult::WithSource
DescribeTrialResult & WithSource(const TrialSource &value)
Definition: DescribeTrialResult.h:212
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DescribeTrialResult::WithDisplayName
DescribeTrialResult & WithDisplayName(const char *value)
Definition: DescribeTrialResult.h:151
Aws::SageMaker::Model::DescribeTrialResult::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeTrialResult.h:281
Aws::SageMaker::Model::DescribeTrialResult::SetSource
void SetSource(const TrialSource &value)
Definition: DescribeTrialResult.h:200
Aws::SageMaker::Model::DescribeTrialResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeTrialResult.h:229
Aws::SageMaker::Model::DescribeTrialResult::SetTrialName
void SetTrialName(const Aws::String &value)
Definition: DescribeTrialResult.h:47
DateTime.h
Aws::SageMaker::Model::DescribeTrialResult::WithLastModifiedBy
DescribeTrialResult & WithLastModifiedBy(UserContext &&value)
Definition: DescribeTrialResult.h:322
Aws::SageMaker::Model::DescribeTrialResult::WithExperimentName
DescribeTrialResult & WithExperimentName(const Aws::String &value)
Definition: DescribeTrialResult.h:177
Aws::SageMaker::Model::DescribeTrialResult::SetDisplayName
void SetDisplayName(const char *value)
Definition: DescribeTrialResult.h:133
Aws::SageMaker::Model::DescribeTrialResult::GetDisplayName
const Aws::String & GetDisplayName() const
Definition: DescribeTrialResult.h:115
Aws::SageMaker::Model::DescribeTrialResult::GetTrialArn
const Aws::String & GetTrialArn() const
Definition: DescribeTrialResult.h:78
Aws::SageMaker::Model::DescribeTrialResult::WithLastModifiedTime
DescribeTrialResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeTrialResult.h:296
Aws::SageMaker::Model::DescribeTrialResult::SetLastModifiedBy
void SetLastModifiedBy(const UserContext &value)
Definition: DescribeTrialResult.h:307
Aws::SageMaker::Model::DescribeTrialResult::GetMetadataProperties
const MetadataProperties & GetMetadataProperties() const
Definition: DescribeTrialResult.h:326
UserContext.h
Aws::SageMaker::Model::DescribeTrialResult::WithDisplayName
DescribeTrialResult & WithDisplayName(const Aws::String &value)
Definition: DescribeTrialResult.h:139
Aws::SageMaker::Model::DescribeTrialResult::SetTrialArn
void SetTrialArn(Aws::String &&value)
Definition: DescribeTrialResult.h:88
Aws::SageMaker::Model::DescribeTrialResult::WithTrialArn
DescribeTrialResult & WithTrialArn(Aws::String &&value)
Definition: DescribeTrialResult.h:103
Aws::SageMaker::Model::DescribeTrialResult::WithLastModifiedTime
DescribeTrialResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeTrialResult.h:291
Aws::SageMaker::Model::DescribeTrialResult::SetExperimentName
void SetExperimentName(const Aws::String &value)
Definition: DescribeTrialResult.h:162
Aws::SageMaker::Model::DescribeTrialResult::SetMetadataProperties
void SetMetadataProperties(const MetadataProperties &value)
Definition: DescribeTrialResult.h:329
Aws::SageMaker::Model::DescribeTrialResult::GetExperimentName
const Aws::String & GetExperimentName() const
Definition: DescribeTrialResult.h:157
Aws::SageMaker::Model::DescribeTrialResult::WithTrialArn
DescribeTrialResult & WithTrialArn(const Aws::String &value)
Definition: DescribeTrialResult.h:98
Aws::SageMaker::Model::DescribeTrialResult::WithTrialName
DescribeTrialResult & WithTrialName(const char *value)
Definition: DescribeTrialResult.h:72
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DescribeTrialResult::SetTrialArn
void SetTrialArn(const Aws::String &value)
Definition: DescribeTrialResult.h:83
TrialSource.h
Aws::SageMaker::Model::DescribeTrialResult::WithExperimentName
DescribeTrialResult & WithExperimentName(Aws::String &&value)
Definition: DescribeTrialResult.h:182
Aws::SageMaker::Model::DescribeTrialResult::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: DescribeTrialResult.h:276
Aws::SageMaker::Model::DescribeTrialResult::DescribeTrialResult
DescribeTrialResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::DescribeTrialResult::SetCreatedBy
void SetCreatedBy(UserContext &&value)
Definition: DescribeTrialResult.h:260
Aws::SageMaker::Model::DescribeTrialResult::SetDisplayName
void SetDisplayName(Aws::String &&value)
Definition: DescribeTrialResult.h:127
Aws::SageMaker::Model::DescribeTrialResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeTrialResult.h:234
Aws::SageMaker::Model::DescribeTrialResult::WithTrialName
DescribeTrialResult & WithTrialName(Aws::String &&value)
Definition: DescribeTrialResult.h:67
Aws::SageMaker::Model::DescribeTrialResult::SetTrialArn
void SetTrialArn(const char *value)
Definition: DescribeTrialResult.h:93
Aws::SageMaker::Model::DescribeTrialResult::WithSource
DescribeTrialResult & WithSource(TrialSource &&value)
Definition: DescribeTrialResult.h:218
Aws::SageMaker::Model::MetadataProperties
Definition: MetadataProperties.h:33
Aws::SageMaker::Model::DescribeTrialResult::SetTrialName
void SetTrialName(const char *value)
Definition: DescribeTrialResult.h:57
AWSString.h
Aws::SageMaker::Model::DescribeTrialResult::SetLastModifiedBy
void SetLastModifiedBy(UserContext &&value)
Definition: DescribeTrialResult.h:312
Aws::SageMaker::Model::DescribeTrialResult::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeTrialResult.h:286
Aws::SageMaker::Model::DescribeTrialResult::WithCreationTime
DescribeTrialResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeTrialResult.h:239
Aws::SageMaker::Model::DescribeTrialResult::SetSource
void SetSource(TrialSource &&value)
Definition: DescribeTrialResult.h:206
Aws::SageMaker::Model::DescribeTrialResult::DescribeTrialResult
DescribeTrialResult()
Aws::SageMaker::Model::DescribeTrialResult::SetExperimentName
void SetExperimentName(const char *value)
Definition: DescribeTrialResult.h:172
Aws::SageMaker::Model::DescribeTrialResult::WithTrialArn
DescribeTrialResult & WithTrialArn(const char *value)
Definition: DescribeTrialResult.h:108
Aws::SageMaker::Model::DescribeTrialResult::GetTrialName
const Aws::String & GetTrialName() const
Definition: DescribeTrialResult.h:42
Aws::SageMaker::Model::DescribeTrialResult::SetTrialName
void SetTrialName(Aws::String &&value)
Definition: DescribeTrialResult.h:52
Aws::SageMaker::Model::DescribeTrialResult::SetCreatedBy
void SetCreatedBy(const UserContext &value)
Definition: DescribeTrialResult.h:255
Aws::SageMaker::Model::DescribeTrialResult::WithDisplayName
DescribeTrialResult & WithDisplayName(Aws::String &&value)
Definition: DescribeTrialResult.h:145
Aws::SageMaker::Model::DescribeTrialResult::operator=
DescribeTrialResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
MetadataProperties.h
Aws::SageMaker::Model::DescribeTrialResult::GetLastModifiedBy
const UserContext & GetLastModifiedBy() const
Definition: DescribeTrialResult.h:302
Aws::SageMaker::Model::DescribeTrialResult::WithCreatedBy
DescribeTrialResult & WithCreatedBy(const UserContext &value)
Definition: DescribeTrialResult.h:265
Aws::SageMaker::Model::DescribeTrialResult::SetExperimentName
void SetExperimentName(Aws::String &&value)
Definition: DescribeTrialResult.h:167
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DescribeTrialResult::WithCreationTime
DescribeTrialResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeTrialResult.h:244
Aws::SageMaker::Model::DescribeTrialResult::GetSource
const TrialSource & GetSource() const
Definition: DescribeTrialResult.h:194
Aws::SageMaker::Model::TrialSource
Definition: TrialSource.h:32
Aws::SageMaker::Model::DescribeTrialResult::WithMetadataProperties
DescribeTrialResult & WithMetadataProperties(const MetadataProperties &value)
Definition: DescribeTrialResult.h:335
Aws::SageMaker::Model::DescribeTrialResult::WithMetadataProperties
DescribeTrialResult & WithMetadataProperties(MetadataProperties &&value)
Definition: DescribeTrialResult.h:338
Aws::SageMaker::Model::DescribeTrialResult
Definition: DescribeTrialResult.h:32