AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeExperimentResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/ExperimentSource.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 DescribeExperimentResult() = default;
32
34
37 inline const Aws::String& GetExperimentName() const { return m_experimentName; }
38 template <typename ExperimentNameT = Aws::String>
39 void SetExperimentName(ExperimentNameT&& value) {
40 m_experimentNameHasBeenSet = true;
41 m_experimentName = std::forward<ExperimentNameT>(value);
42 }
43 template <typename ExperimentNameT = Aws::String>
44 DescribeExperimentResult& WithExperimentName(ExperimentNameT&& value) {
45 SetExperimentName(std::forward<ExperimentNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetExperimentArn() const { return m_experimentArn; }
55 template <typename ExperimentArnT = Aws::String>
56 void SetExperimentArn(ExperimentArnT&& value) {
57 m_experimentArnHasBeenSet = true;
58 m_experimentArn = std::forward<ExperimentArnT>(value);
59 }
60 template <typename ExperimentArnT = Aws::String>
62 SetExperimentArn(std::forward<ExperimentArnT>(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>
80 SetDisplayName(std::forward<DisplayNameT>(value));
81 return *this;
82 }
84
86
89 inline const ExperimentSource& GetSource() const { return m_source; }
90 template <typename SourceT = ExperimentSource>
91 void SetSource(SourceT&& value) {
92 m_sourceHasBeenSet = true;
93 m_source = std::forward<SourceT>(value);
94 }
95 template <typename SourceT = ExperimentSource>
97 SetSource(std::forward<SourceT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetDescription() const { return m_description; }
107 template <typename DescriptionT = Aws::String>
108 void SetDescription(DescriptionT&& value) {
109 m_descriptionHasBeenSet = true;
110 m_description = std::forward<DescriptionT>(value);
111 }
112 template <typename DescriptionT = Aws::String>
114 SetDescription(std::forward<DescriptionT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
124 template <typename CreationTimeT = Aws::Utils::DateTime>
125 void SetCreationTime(CreationTimeT&& value) {
126 m_creationTimeHasBeenSet = true;
127 m_creationTime = std::forward<CreationTimeT>(value);
128 }
129 template <typename CreationTimeT = Aws::Utils::DateTime>
131 SetCreationTime(std::forward<CreationTimeT>(value));
132 return *this;
133 }
135
137
140 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
141 template <typename CreatedByT = UserContext>
142 void SetCreatedBy(CreatedByT&& value) {
143 m_createdByHasBeenSet = true;
144 m_createdBy = std::forward<CreatedByT>(value);
145 }
146 template <typename CreatedByT = UserContext>
148 SetCreatedBy(std::forward<CreatedByT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
158 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
159 void SetLastModifiedTime(LastModifiedTimeT&& value) {
160 m_lastModifiedTimeHasBeenSet = true;
161 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
162 }
163 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
164 DescribeExperimentResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
165 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
166 return *this;
167 }
169
171
174 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
175 template <typename LastModifiedByT = UserContext>
176 void SetLastModifiedBy(LastModifiedByT&& value) {
177 m_lastModifiedByHasBeenSet = true;
178 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
179 }
180 template <typename LastModifiedByT = UserContext>
182 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
183 return *this;
184 }
186
188
189 inline const Aws::String& GetRequestId() const { return m_requestId; }
190 template <typename RequestIdT = Aws::String>
191 void SetRequestId(RequestIdT&& value) {
192 m_requestIdHasBeenSet = true;
193 m_requestId = std::forward<RequestIdT>(value);
194 }
195 template <typename RequestIdT = Aws::String>
197 SetRequestId(std::forward<RequestIdT>(value));
198 return *this;
199 }
201 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
202
203 private:
204 Aws::String m_experimentName;
205
206 Aws::String m_experimentArn;
207
208 Aws::String m_displayName;
209
210 ExperimentSource m_source;
211
212 Aws::String m_description;
213
214 Aws::Utils::DateTime m_creationTime{};
215
216 UserContext m_createdBy;
217
218 Aws::Utils::DateTime m_lastModifiedTime{};
219
220 UserContext m_lastModifiedBy;
221
222 Aws::String m_requestId;
223 Aws::Http::HttpResponseCode m_HttpResponseCode;
224 bool m_experimentNameHasBeenSet = false;
225 bool m_experimentArnHasBeenSet = false;
226 bool m_displayNameHasBeenSet = false;
227 bool m_sourceHasBeenSet = false;
228 bool m_descriptionHasBeenSet = false;
229 bool m_creationTimeHasBeenSet = false;
230 bool m_createdByHasBeenSet = false;
231 bool m_lastModifiedTimeHasBeenSet = false;
232 bool m_lastModifiedByHasBeenSet = false;
233 bool m_requestIdHasBeenSet = false;
234};
235
236} // namespace Model
237} // namespace SageMaker
238} // namespace Aws
AWS_SAGEMAKER_API DescribeExperimentResult()=default
DescribeExperimentResult & WithCreatedBy(CreatedByT &&value)
DescribeExperimentResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeExperimentResult & WithLastModifiedBy(LastModifiedByT &&value)
DescribeExperimentResult & WithSource(SourceT &&value)
DescribeExperimentResult & WithCreationTime(CreationTimeT &&value)
DescribeExperimentResult & WithRequestId(RequestIdT &&value)
DescribeExperimentResult & WithExperimentArn(ExperimentArnT &&value)
AWS_SAGEMAKER_API DescribeExperimentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeExperimentResult & WithDescription(DescriptionT &&value)
DescribeExperimentResult & WithDisplayName(DisplayNameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_SAGEMAKER_API DescribeExperimentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeExperimentResult & WithExperimentName(ExperimentNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue