AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeMlflowAppResult.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/AccountDefaultStatus.h>
13#include <aws/sagemaker/model/MaintenanceStatus.h>
14#include <aws/sagemaker/model/MlflowAppStatus.h>
15#include <aws/sagemaker/model/ModelRegistrationMode.h>
16#include <aws/sagemaker/model/UserContext.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace SageMaker {
30namespace Model {
32 public:
33 AWS_SAGEMAKER_API DescribeMlflowAppResult() = default;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetArtifactStoreUri() const { return m_artifactStoreUri; }
77 template <typename ArtifactStoreUriT = Aws::String>
78 void SetArtifactStoreUri(ArtifactStoreUriT&& value) {
79 m_artifactStoreUriHasBeenSet = true;
80 m_artifactStoreUri = std::forward<ArtifactStoreUriT>(value);
81 }
82 template <typename ArtifactStoreUriT = Aws::String>
83 DescribeMlflowAppResult& WithArtifactStoreUri(ArtifactStoreUriT&& value) {
84 SetArtifactStoreUri(std::forward<ArtifactStoreUriT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetMlflowVersion() const { return m_mlflowVersion; }
94 template <typename MlflowVersionT = Aws::String>
95 void SetMlflowVersion(MlflowVersionT&& value) {
96 m_mlflowVersionHasBeenSet = true;
97 m_mlflowVersion = std::forward<MlflowVersionT>(value);
98 }
99 template <typename MlflowVersionT = Aws::String>
101 SetMlflowVersion(std::forward<MlflowVersionT>(value));
102 return *this;
103 }
105
107
111 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
112 template <typename RoleArnT = Aws::String>
113 void SetRoleArn(RoleArnT&& value) {
114 m_roleArnHasBeenSet = true;
115 m_roleArn = std::forward<RoleArnT>(value);
116 }
117 template <typename RoleArnT = Aws::String>
119 SetRoleArn(std::forward<RoleArnT>(value));
120 return *this;
121 }
123
125
128 inline MlflowAppStatus GetStatus() const { return m_status; }
129 inline void SetStatus(MlflowAppStatus value) {
130 m_statusHasBeenSet = true;
131 m_status = value;
132 }
134 SetStatus(value);
135 return *this;
136 }
138
140
144 inline ModelRegistrationMode GetModelRegistrationMode() const { return m_modelRegistrationMode; }
146 m_modelRegistrationModeHasBeenSet = true;
147 m_modelRegistrationMode = value;
148 }
151 return *this;
152 }
154
156
159 inline AccountDefaultStatus GetAccountDefaultStatus() const { return m_accountDefaultStatus; }
161 m_accountDefaultStatusHasBeenSet = true;
162 m_accountDefaultStatus = value;
163 }
166 return *this;
167 }
169
171
174 inline const Aws::Vector<Aws::String>& GetDefaultDomainIdList() const { return m_defaultDomainIdList; }
175 template <typename DefaultDomainIdListT = Aws::Vector<Aws::String>>
176 void SetDefaultDomainIdList(DefaultDomainIdListT&& value) {
177 m_defaultDomainIdListHasBeenSet = true;
178 m_defaultDomainIdList = std::forward<DefaultDomainIdListT>(value);
179 }
180 template <typename DefaultDomainIdListT = Aws::Vector<Aws::String>>
181 DescribeMlflowAppResult& WithDefaultDomainIdList(DefaultDomainIdListT&& value) {
182 SetDefaultDomainIdList(std::forward<DefaultDomainIdListT>(value));
183 return *this;
184 }
185 template <typename DefaultDomainIdListT = Aws::String>
186 DescribeMlflowAppResult& AddDefaultDomainIdList(DefaultDomainIdListT&& value) {
187 m_defaultDomainIdListHasBeenSet = true;
188 m_defaultDomainIdList.emplace_back(std::forward<DefaultDomainIdListT>(value));
189 return *this;
190 }
192
194
197 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
198 template <typename CreationTimeT = Aws::Utils::DateTime>
199 void SetCreationTime(CreationTimeT&& value) {
200 m_creationTimeHasBeenSet = true;
201 m_creationTime = std::forward<CreationTimeT>(value);
202 }
203 template <typename CreationTimeT = Aws::Utils::DateTime>
205 SetCreationTime(std::forward<CreationTimeT>(value));
206 return *this;
207 }
209
211
212 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
213 template <typename CreatedByT = UserContext>
214 void SetCreatedBy(CreatedByT&& value) {
215 m_createdByHasBeenSet = true;
216 m_createdBy = std::forward<CreatedByT>(value);
217 }
218 template <typename CreatedByT = UserContext>
220 SetCreatedBy(std::forward<CreatedByT>(value));
221 return *this;
222 }
224
226
229 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
230 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
231 void SetLastModifiedTime(LastModifiedTimeT&& value) {
232 m_lastModifiedTimeHasBeenSet = true;
233 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
234 }
235 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
236 DescribeMlflowAppResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
237 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
238 return *this;
239 }
241
243
244 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
245 template <typename LastModifiedByT = UserContext>
246 void SetLastModifiedBy(LastModifiedByT&& value) {
247 m_lastModifiedByHasBeenSet = true;
248 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
249 }
250 template <typename LastModifiedByT = UserContext>
251 DescribeMlflowAppResult& WithLastModifiedBy(LastModifiedByT&& value) {
252 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
253 return *this;
254 }
256
258
261 inline const Aws::String& GetWeeklyMaintenanceWindowStart() const { return m_weeklyMaintenanceWindowStart; }
262 template <typename WeeklyMaintenanceWindowStartT = Aws::String>
263 void SetWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT&& value) {
264 m_weeklyMaintenanceWindowStartHasBeenSet = true;
265 m_weeklyMaintenanceWindowStart = std::forward<WeeklyMaintenanceWindowStartT>(value);
266 }
267 template <typename WeeklyMaintenanceWindowStartT = Aws::String>
268 DescribeMlflowAppResult& WithWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT&& value) {
269 SetWeeklyMaintenanceWindowStart(std::forward<WeeklyMaintenanceWindowStartT>(value));
270 return *this;
271 }
273
275
278 inline MaintenanceStatus GetMaintenanceStatus() const { return m_maintenanceStatus; }
280 m_maintenanceStatusHasBeenSet = true;
281 m_maintenanceStatus = value;
282 }
285 return *this;
286 }
288
290
291 inline const Aws::String& GetRequestId() const { return m_requestId; }
292 template <typename RequestIdT = Aws::String>
293 void SetRequestId(RequestIdT&& value) {
294 m_requestIdHasBeenSet = true;
295 m_requestId = std::forward<RequestIdT>(value);
296 }
297 template <typename RequestIdT = Aws::String>
299 SetRequestId(std::forward<RequestIdT>(value));
300 return *this;
301 }
303 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
304
305 private:
306 Aws::String m_arn;
307
308 Aws::String m_name;
309
310 Aws::String m_artifactStoreUri;
311
312 Aws::String m_mlflowVersion;
313
314 Aws::String m_roleArn;
315
317
319
321
322 Aws::Vector<Aws::String> m_defaultDomainIdList;
323
324 Aws::Utils::DateTime m_creationTime{};
325
326 UserContext m_createdBy;
327
328 Aws::Utils::DateTime m_lastModifiedTime{};
329
330 UserContext m_lastModifiedBy;
331
332 Aws::String m_weeklyMaintenanceWindowStart;
333
335
336 Aws::String m_requestId;
337 Aws::Http::HttpResponseCode m_HttpResponseCode;
338 bool m_arnHasBeenSet = false;
339 bool m_nameHasBeenSet = false;
340 bool m_artifactStoreUriHasBeenSet = false;
341 bool m_mlflowVersionHasBeenSet = false;
342 bool m_roleArnHasBeenSet = false;
343 bool m_statusHasBeenSet = false;
344 bool m_modelRegistrationModeHasBeenSet = false;
345 bool m_accountDefaultStatusHasBeenSet = false;
346 bool m_defaultDomainIdListHasBeenSet = false;
347 bool m_creationTimeHasBeenSet = false;
348 bool m_createdByHasBeenSet = false;
349 bool m_lastModifiedTimeHasBeenSet = false;
350 bool m_lastModifiedByHasBeenSet = false;
351 bool m_weeklyMaintenanceWindowStartHasBeenSet = false;
352 bool m_maintenanceStatusHasBeenSet = false;
353 bool m_requestIdHasBeenSet = false;
354};
355
356} // namespace Model
357} // namespace SageMaker
358} // namespace Aws
DescribeMlflowAppResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeMlflowAppResult & WithModelRegistrationMode(ModelRegistrationMode value)
DescribeMlflowAppResult & AddDefaultDomainIdList(DefaultDomainIdListT &&value)
DescribeMlflowAppResult & WithDefaultDomainIdList(DefaultDomainIdListT &&value)
DescribeMlflowAppResult & WithMaintenanceStatus(MaintenanceStatus value)
DescribeMlflowAppResult & WithLastModifiedBy(LastModifiedByT &&value)
void SetAccountDefaultStatus(AccountDefaultStatus value)
DescribeMlflowAppResult & WithArtifactStoreUri(ArtifactStoreUriT &&value)
DescribeMlflowAppResult & WithName(NameT &&value)
DescribeMlflowAppResult & WithAccountDefaultStatus(AccountDefaultStatus value)
void SetWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT &&value)
DescribeMlflowAppResult & WithRoleArn(RoleArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeMlflowAppResult & WithStatus(MlflowAppStatus value)
void SetDefaultDomainIdList(DefaultDomainIdListT &&value)
void SetModelRegistrationMode(ModelRegistrationMode value)
DescribeMlflowAppResult & WithMlflowVersion(MlflowVersionT &&value)
const Aws::Vector< Aws::String > & GetDefaultDomainIdList() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeMlflowAppResult & WithRequestId(RequestIdT &&value)
DescribeMlflowAppResult & WithWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_SAGEMAKER_API DescribeMlflowAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMlflowAppResult & WithCreatedBy(CreatedByT &&value)
AWS_SAGEMAKER_API DescribeMlflowAppResult()=default
DescribeMlflowAppResult & WithCreationTime(CreationTimeT &&value)
DescribeMlflowAppResult & WithArn(ArnT &&value)
AWS_SAGEMAKER_API DescribeMlflowAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue