AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeTrialResult.h
1
6#pragma once
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 <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker
28{
29namespace Model
30{
32 {
33 public:
34 AWS_SAGEMAKER_API DescribeTrialResult();
37
38
40
43 inline const Aws::String& GetTrialName() const{ return m_trialName; }
44 inline void SetTrialName(const Aws::String& value) { m_trialName = value; }
45 inline void SetTrialName(Aws::String&& value) { m_trialName = std::move(value); }
46 inline void SetTrialName(const char* value) { m_trialName.assign(value); }
47 inline DescribeTrialResult& WithTrialName(const Aws::String& value) { SetTrialName(value); return *this;}
48 inline DescribeTrialResult& WithTrialName(Aws::String&& value) { SetTrialName(std::move(value)); return *this;}
49 inline DescribeTrialResult& WithTrialName(const char* value) { SetTrialName(value); return *this;}
51
53
56 inline const Aws::String& GetTrialArn() const{ return m_trialArn; }
57 inline void SetTrialArn(const Aws::String& value) { m_trialArn = value; }
58 inline void SetTrialArn(Aws::String&& value) { m_trialArn = std::move(value); }
59 inline void SetTrialArn(const char* value) { m_trialArn.assign(value); }
60 inline DescribeTrialResult& WithTrialArn(const Aws::String& value) { SetTrialArn(value); return *this;}
61 inline DescribeTrialResult& WithTrialArn(Aws::String&& value) { SetTrialArn(std::move(value)); return *this;}
62 inline DescribeTrialResult& WithTrialArn(const char* value) { SetTrialArn(value); return *this;}
64
66
70 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
71 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
72 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
73 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
74 inline DescribeTrialResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
75 inline DescribeTrialResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
76 inline DescribeTrialResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
78
80
83 inline const Aws::String& GetExperimentName() const{ return m_experimentName; }
84 inline void SetExperimentName(const Aws::String& value) { m_experimentName = value; }
85 inline void SetExperimentName(Aws::String&& value) { m_experimentName = std::move(value); }
86 inline void SetExperimentName(const char* value) { m_experimentName.assign(value); }
87 inline DescribeTrialResult& WithExperimentName(const Aws::String& value) { SetExperimentName(value); return *this;}
88 inline DescribeTrialResult& WithExperimentName(Aws::String&& value) { SetExperimentName(std::move(value)); return *this;}
89 inline DescribeTrialResult& WithExperimentName(const char* value) { SetExperimentName(value); return *this;}
91
93
97 inline const TrialSource& GetSource() const{ return m_source; }
98 inline void SetSource(const TrialSource& value) { m_source = value; }
99 inline void SetSource(TrialSource&& value) { m_source = std::move(value); }
100 inline DescribeTrialResult& WithSource(const TrialSource& value) { SetSource(value); return *this;}
101 inline DescribeTrialResult& WithSource(TrialSource&& value) { SetSource(std::move(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
109 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
110 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
111 inline DescribeTrialResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
112 inline DescribeTrialResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
114
116
119 inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
120 inline void SetCreatedBy(const UserContext& value) { m_createdBy = value; }
121 inline void SetCreatedBy(UserContext&& value) { m_createdBy = std::move(value); }
122 inline DescribeTrialResult& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
123 inline DescribeTrialResult& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
131 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
132 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
134 inline DescribeTrialResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
136
138
141 inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
142 inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedBy = value; }
143 inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedBy = std::move(value); }
144 inline DescribeTrialResult& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
145 inline DescribeTrialResult& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
147
149
150 inline const MetadataProperties& GetMetadataProperties() const{ return m_metadataProperties; }
151 inline void SetMetadataProperties(const MetadataProperties& value) { m_metadataProperties = value; }
152 inline void SetMetadataProperties(MetadataProperties&& value) { m_metadataProperties = std::move(value); }
154 inline DescribeTrialResult& WithMetadataProperties(MetadataProperties&& value) { SetMetadataProperties(std::move(value)); return *this;}
156
158
159 inline const Aws::String& GetRequestId() const{ return m_requestId; }
160 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
161 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
162 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
163 inline DescribeTrialResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
164 inline DescribeTrialResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
165 inline DescribeTrialResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
167 private:
168
169 Aws::String m_trialName;
170
171 Aws::String m_trialArn;
172
173 Aws::String m_displayName;
174
175 Aws::String m_experimentName;
176
177 TrialSource m_source;
178
179 Aws::Utils::DateTime m_creationTime;
180
181 UserContext m_createdBy;
182
183 Aws::Utils::DateTime m_lastModifiedTime;
184
185 UserContext m_lastModifiedBy;
186
187 MetadataProperties m_metadataProperties;
188
189 Aws::String m_requestId;
190 };
191
192} // namespace Model
193} // namespace SageMaker
194} // namespace Aws
DescribeTrialResult & WithCreatedBy(UserContext &&value)
void SetLastModifiedBy(const UserContext &value)
DescribeTrialResult & WithDisplayName(const Aws::String &value)
DescribeTrialResult & WithExperimentName(const char *value)
void SetExperimentName(const Aws::String &value)
DescribeTrialResult & WithRequestId(const char *value)
void SetMetadataProperties(const MetadataProperties &value)
AWS_SAGEMAKER_API DescribeTrialResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeTrialResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeTrialResult & WithLastModifiedBy(UserContext &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeTrialResult & WithTrialName(Aws::String &&value)
DescribeTrialResult & WithMetadataProperties(MetadataProperties &&value)
const MetadataProperties & GetMetadataProperties() const
DescribeTrialResult & WithTrialArn(const Aws::String &value)
void SetTrialName(const Aws::String &value)
DescribeTrialResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeTrialResult & WithSource(const TrialSource &value)
DescribeTrialResult & WithTrialArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API DescribeTrialResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTrialResult & WithDisplayName(const char *value)
DescribeTrialResult & WithTrialName(const char *value)
DescribeTrialResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeTrialResult & WithTrialArn(const char *value)
void SetDisplayName(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeTrialResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeTrialResult & WithMetadataProperties(const MetadataProperties &value)
DescribeTrialResult & WithExperimentName(const Aws::String &value)
DescribeTrialResult & WithExperimentName(Aws::String &&value)
DescribeTrialResult & WithLastModifiedBy(const UserContext &value)
DescribeTrialResult & WithRequestId(Aws::String &&value)
DescribeTrialResult & WithCreatedBy(const UserContext &value)
DescribeTrialResult & WithRequestId(const Aws::String &value)
void SetTrialArn(const Aws::String &value)
DescribeTrialResult & WithTrialName(const Aws::String &value)
DescribeTrialResult & WithSource(TrialSource &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetRequestId(const Aws::String &value)
void SetMetadataProperties(MetadataProperties &&value)
void SetCreatedBy(const UserContext &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
DescribeTrialResult & WithDisplayName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue