AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeTrialResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/MetadataProperties.h>
11#include <aws/sagemaker/model/TrialSource.h>
12#include <aws/sagemaker/model/UserContext.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker {
26namespace Model {
28 public:
29 AWS_SAGEMAKER_API DescribeTrialResult() = default;
32
34
37 inline const Aws::String& GetTrialName() const { return m_trialName; }
38 template <typename TrialNameT = Aws::String>
39 void SetTrialName(TrialNameT&& value) {
40 m_trialNameHasBeenSet = true;
41 m_trialName = std::forward<TrialNameT>(value);
42 }
43 template <typename TrialNameT = Aws::String>
44 DescribeTrialResult& WithTrialName(TrialNameT&& value) {
45 SetTrialName(std::forward<TrialNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetTrialArn() const { return m_trialArn; }
55 template <typename TrialArnT = Aws::String>
56 void SetTrialArn(TrialArnT&& value) {
57 m_trialArnHasBeenSet = true;
58 m_trialArn = std::forward<TrialArnT>(value);
59 }
60 template <typename TrialArnT = Aws::String>
61 DescribeTrialResult& WithTrialArn(TrialArnT&& value) {
62 SetTrialArn(std::forward<TrialArnT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetDisplayName() const { return m_displayName; }
73 template <typename DisplayNameT = Aws::String>
74 void SetDisplayName(DisplayNameT&& value) {
75 m_displayNameHasBeenSet = true;
76 m_displayName = std::forward<DisplayNameT>(value);
77 }
78 template <typename DisplayNameT = Aws::String>
79 DescribeTrialResult& WithDisplayName(DisplayNameT&& value) {
80 SetDisplayName(std::forward<DisplayNameT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetExperimentName() const { return m_experimentName; }
90 template <typename ExperimentNameT = Aws::String>
91 void SetExperimentName(ExperimentNameT&& value) {
92 m_experimentNameHasBeenSet = true;
93 m_experimentName = std::forward<ExperimentNameT>(value);
94 }
95 template <typename ExperimentNameT = Aws::String>
96 DescribeTrialResult& WithExperimentName(ExperimentNameT&& value) {
97 SetExperimentName(std::forward<ExperimentNameT>(value));
98 return *this;
99 }
101
103
107 inline const TrialSource& GetSource() const { return m_source; }
108 template <typename SourceT = TrialSource>
109 void SetSource(SourceT&& value) {
110 m_sourceHasBeenSet = true;
111 m_source = std::forward<SourceT>(value);
112 }
113 template <typename SourceT = TrialSource>
114 DescribeTrialResult& WithSource(SourceT&& value) {
115 SetSource(std::forward<SourceT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
125 template <typename CreationTimeT = Aws::Utils::DateTime>
126 void SetCreationTime(CreationTimeT&& value) {
127 m_creationTimeHasBeenSet = true;
128 m_creationTime = std::forward<CreationTimeT>(value);
129 }
130 template <typename CreationTimeT = Aws::Utils::DateTime>
131 DescribeTrialResult& WithCreationTime(CreationTimeT&& value) {
132 SetCreationTime(std::forward<CreationTimeT>(value));
133 return *this;
134 }
136
138
141 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
142 template <typename CreatedByT = UserContext>
143 void SetCreatedBy(CreatedByT&& value) {
144 m_createdByHasBeenSet = true;
145 m_createdBy = std::forward<CreatedByT>(value);
146 }
147 template <typename CreatedByT = UserContext>
148 DescribeTrialResult& WithCreatedBy(CreatedByT&& value) {
149 SetCreatedBy(std::forward<CreatedByT>(value));
150 return *this;
151 }
153
155
158 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
159 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
160 void SetLastModifiedTime(LastModifiedTimeT&& value) {
161 m_lastModifiedTimeHasBeenSet = true;
162 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
163 }
164 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
165 DescribeTrialResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
166 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
167 return *this;
168 }
170
172
175 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
176 template <typename LastModifiedByT = UserContext>
177 void SetLastModifiedBy(LastModifiedByT&& value) {
178 m_lastModifiedByHasBeenSet = true;
179 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
180 }
181 template <typename LastModifiedByT = UserContext>
182 DescribeTrialResult& WithLastModifiedBy(LastModifiedByT&& value) {
183 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
184 return *this;
185 }
187
189
190 inline const MetadataProperties& GetMetadataProperties() const { return m_metadataProperties; }
191 template <typename MetadataPropertiesT = MetadataProperties>
192 void SetMetadataProperties(MetadataPropertiesT&& value) {
193 m_metadataPropertiesHasBeenSet = true;
194 m_metadataProperties = std::forward<MetadataPropertiesT>(value);
195 }
196 template <typename MetadataPropertiesT = MetadataProperties>
197 DescribeTrialResult& WithMetadataProperties(MetadataPropertiesT&& value) {
198 SetMetadataProperties(std::forward<MetadataPropertiesT>(value));
199 return *this;
200 }
202
204
205 inline const Aws::String& GetRequestId() const { return m_requestId; }
206 template <typename RequestIdT = Aws::String>
207 void SetRequestId(RequestIdT&& value) {
208 m_requestIdHasBeenSet = true;
209 m_requestId = std::forward<RequestIdT>(value);
210 }
211 template <typename RequestIdT = Aws::String>
212 DescribeTrialResult& WithRequestId(RequestIdT&& value) {
213 SetRequestId(std::forward<RequestIdT>(value));
214 return *this;
215 }
217 private:
218 Aws::String m_trialName;
219
220 Aws::String m_trialArn;
221
222 Aws::String m_displayName;
223
224 Aws::String m_experimentName;
225
226 TrialSource m_source;
227
228 Aws::Utils::DateTime m_creationTime{};
229
230 UserContext m_createdBy;
231
232 Aws::Utils::DateTime m_lastModifiedTime{};
233
234 UserContext m_lastModifiedBy;
235
236 MetadataProperties m_metadataProperties;
237
238 Aws::String m_requestId;
239 bool m_trialNameHasBeenSet = false;
240 bool m_trialArnHasBeenSet = false;
241 bool m_displayNameHasBeenSet = false;
242 bool m_experimentNameHasBeenSet = false;
243 bool m_sourceHasBeenSet = false;
244 bool m_creationTimeHasBeenSet = false;
245 bool m_createdByHasBeenSet = false;
246 bool m_lastModifiedTimeHasBeenSet = false;
247 bool m_lastModifiedByHasBeenSet = false;
248 bool m_metadataPropertiesHasBeenSet = false;
249 bool m_requestIdHasBeenSet = false;
250};
251
252} // namespace Model
253} // namespace SageMaker
254} // namespace Aws
void SetLastModifiedBy(LastModifiedByT &&value)
DescribeTrialResult & WithLastModifiedBy(LastModifiedByT &&value)
DescribeTrialResult & WithRequestId(RequestIdT &&value)
AWS_SAGEMAKER_API DescribeTrialResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationTime() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
DescribeTrialResult & WithCreationTime(CreationTimeT &&value)
DescribeTrialResult & WithMetadataProperties(MetadataPropertiesT &&value)
const MetadataProperties & GetMetadataProperties() const
DescribeTrialResult & WithExperimentName(ExperimentNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API DescribeTrialResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API DescribeTrialResult()=default
void SetExperimentName(ExperimentNameT &&value)
DescribeTrialResult & WithDisplayName(DisplayNameT &&value)
DescribeTrialResult & WithTrialArn(TrialArnT &&value)
DescribeTrialResult & WithTrialName(TrialNameT &&value)
DescribeTrialResult & WithCreatedBy(CreatedByT &&value)
DescribeTrialResult & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetMetadataProperties(MetadataPropertiesT &&value)
DescribeTrialResult & WithSource(SourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue