AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeExperimentResult.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/ExperimentSource.h>
11#include <aws/sagemaker/model/UserContext.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker {
25namespace Model {
27 public:
28 AWS_SAGEMAKER_API DescribeExperimentResult() = default;
31
33
36 inline const Aws::String& GetExperimentName() const { return m_experimentName; }
37 template <typename ExperimentNameT = Aws::String>
38 void SetExperimentName(ExperimentNameT&& value) {
39 m_experimentNameHasBeenSet = true;
40 m_experimentName = std::forward<ExperimentNameT>(value);
41 }
42 template <typename ExperimentNameT = Aws::String>
43 DescribeExperimentResult& WithExperimentName(ExperimentNameT&& value) {
44 SetExperimentName(std::forward<ExperimentNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetExperimentArn() const { return m_experimentArn; }
54 template <typename ExperimentArnT = Aws::String>
55 void SetExperimentArn(ExperimentArnT&& value) {
56 m_experimentArnHasBeenSet = true;
57 m_experimentArn = std::forward<ExperimentArnT>(value);
58 }
59 template <typename ExperimentArnT = Aws::String>
61 SetExperimentArn(std::forward<ExperimentArnT>(value));
62 return *this;
63 }
65
67
71 inline const Aws::String& GetDisplayName() const { return m_displayName; }
72 template <typename DisplayNameT = Aws::String>
73 void SetDisplayName(DisplayNameT&& value) {
74 m_displayNameHasBeenSet = true;
75 m_displayName = std::forward<DisplayNameT>(value);
76 }
77 template <typename DisplayNameT = Aws::String>
79 SetDisplayName(std::forward<DisplayNameT>(value));
80 return *this;
81 }
83
85
88 inline const ExperimentSource& GetSource() const { return m_source; }
89 template <typename SourceT = ExperimentSource>
90 void SetSource(SourceT&& value) {
91 m_sourceHasBeenSet = true;
92 m_source = std::forward<SourceT>(value);
93 }
94 template <typename SourceT = ExperimentSource>
96 SetSource(std::forward<SourceT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetDescription() const { return m_description; }
106 template <typename DescriptionT = Aws::String>
107 void SetDescription(DescriptionT&& value) {
108 m_descriptionHasBeenSet = true;
109 m_description = std::forward<DescriptionT>(value);
110 }
111 template <typename DescriptionT = Aws::String>
113 SetDescription(std::forward<DescriptionT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
123 template <typename CreationTimeT = Aws::Utils::DateTime>
124 void SetCreationTime(CreationTimeT&& value) {
125 m_creationTimeHasBeenSet = true;
126 m_creationTime = std::forward<CreationTimeT>(value);
127 }
128 template <typename CreationTimeT = Aws::Utils::DateTime>
130 SetCreationTime(std::forward<CreationTimeT>(value));
131 return *this;
132 }
134
136
139 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
140 template <typename CreatedByT = UserContext>
141 void SetCreatedBy(CreatedByT&& value) {
142 m_createdByHasBeenSet = true;
143 m_createdBy = std::forward<CreatedByT>(value);
144 }
145 template <typename CreatedByT = UserContext>
147 SetCreatedBy(std::forward<CreatedByT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
157 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
158 void SetLastModifiedTime(LastModifiedTimeT&& value) {
159 m_lastModifiedTimeHasBeenSet = true;
160 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
161 }
162 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
163 DescribeExperimentResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
164 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
165 return *this;
166 }
168
170
173 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
174 template <typename LastModifiedByT = UserContext>
175 void SetLastModifiedBy(LastModifiedByT&& value) {
176 m_lastModifiedByHasBeenSet = true;
177 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
178 }
179 template <typename LastModifiedByT = UserContext>
181 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
182 return *this;
183 }
185
187
188 inline const Aws::String& GetRequestId() const { return m_requestId; }
189 template <typename RequestIdT = Aws::String>
190 void SetRequestId(RequestIdT&& value) {
191 m_requestIdHasBeenSet = true;
192 m_requestId = std::forward<RequestIdT>(value);
193 }
194 template <typename RequestIdT = Aws::String>
196 SetRequestId(std::forward<RequestIdT>(value));
197 return *this;
198 }
200 private:
201 Aws::String m_experimentName;
202
203 Aws::String m_experimentArn;
204
205 Aws::String m_displayName;
206
207 ExperimentSource m_source;
208
209 Aws::String m_description;
210
211 Aws::Utils::DateTime m_creationTime{};
212
213 UserContext m_createdBy;
214
215 Aws::Utils::DateTime m_lastModifiedTime{};
216
217 UserContext m_lastModifiedBy;
218
219 Aws::String m_requestId;
220 bool m_experimentNameHasBeenSet = false;
221 bool m_experimentArnHasBeenSet = false;
222 bool m_displayNameHasBeenSet = false;
223 bool m_sourceHasBeenSet = false;
224 bool m_descriptionHasBeenSet = false;
225 bool m_creationTimeHasBeenSet = false;
226 bool m_createdByHasBeenSet = false;
227 bool m_lastModifiedTimeHasBeenSet = false;
228 bool m_lastModifiedByHasBeenSet = false;
229 bool m_requestIdHasBeenSet = false;
230};
231
232} // namespace Model
233} // namespace SageMaker
234} // 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)
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