AWS SDK for C++

AWS SDK for C++ Version 1.11.875

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
130 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
131 template <typename KmsKeyIdT = Aws::String>
132 void SetKmsKeyId(KmsKeyIdT&& value) {
133 m_kmsKeyIdHasBeenSet = true;
134 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
135 }
136 template <typename KmsKeyIdT = Aws::String>
138 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
139 return *this;
140 }
142
144
147 inline MlflowAppStatus GetStatus() const { return m_status; }
148 inline void SetStatus(MlflowAppStatus value) {
149 m_statusHasBeenSet = true;
150 m_status = value;
151 }
153 SetStatus(value);
154 return *this;
155 }
157
159
163 inline ModelRegistrationMode GetModelRegistrationMode() const { return m_modelRegistrationMode; }
165 m_modelRegistrationModeHasBeenSet = true;
166 m_modelRegistrationMode = value;
167 }
170 return *this;
171 }
173
175
178 inline AccountDefaultStatus GetAccountDefaultStatus() const { return m_accountDefaultStatus; }
180 m_accountDefaultStatusHasBeenSet = true;
181 m_accountDefaultStatus = value;
182 }
185 return *this;
186 }
188
190
193 inline const Aws::Vector<Aws::String>& GetDefaultDomainIdList() const { return m_defaultDomainIdList; }
194 template <typename DefaultDomainIdListT = Aws::Vector<Aws::String>>
195 void SetDefaultDomainIdList(DefaultDomainIdListT&& value) {
196 m_defaultDomainIdListHasBeenSet = true;
197 m_defaultDomainIdList = std::forward<DefaultDomainIdListT>(value);
198 }
199 template <typename DefaultDomainIdListT = Aws::Vector<Aws::String>>
200 DescribeMlflowAppResult& WithDefaultDomainIdList(DefaultDomainIdListT&& value) {
201 SetDefaultDomainIdList(std::forward<DefaultDomainIdListT>(value));
202 return *this;
203 }
204 template <typename DefaultDomainIdListT = Aws::String>
205 DescribeMlflowAppResult& AddDefaultDomainIdList(DefaultDomainIdListT&& value) {
206 m_defaultDomainIdListHasBeenSet = true;
207 m_defaultDomainIdList.emplace_back(std::forward<DefaultDomainIdListT>(value));
208 return *this;
209 }
211
213
216 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
217 template <typename CreationTimeT = Aws::Utils::DateTime>
218 void SetCreationTime(CreationTimeT&& value) {
219 m_creationTimeHasBeenSet = true;
220 m_creationTime = std::forward<CreationTimeT>(value);
221 }
222 template <typename CreationTimeT = Aws::Utils::DateTime>
224 SetCreationTime(std::forward<CreationTimeT>(value));
225 return *this;
226 }
228
230
231 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
232 template <typename CreatedByT = UserContext>
233 void SetCreatedBy(CreatedByT&& value) {
234 m_createdByHasBeenSet = true;
235 m_createdBy = std::forward<CreatedByT>(value);
236 }
237 template <typename CreatedByT = UserContext>
239 SetCreatedBy(std::forward<CreatedByT>(value));
240 return *this;
241 }
243
245
248 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
249 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
250 void SetLastModifiedTime(LastModifiedTimeT&& value) {
251 m_lastModifiedTimeHasBeenSet = true;
252 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
253 }
254 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
255 DescribeMlflowAppResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
256 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
257 return *this;
258 }
260
262
263 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
264 template <typename LastModifiedByT = UserContext>
265 void SetLastModifiedBy(LastModifiedByT&& value) {
266 m_lastModifiedByHasBeenSet = true;
267 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
268 }
269 template <typename LastModifiedByT = UserContext>
270 DescribeMlflowAppResult& WithLastModifiedBy(LastModifiedByT&& value) {
271 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
272 return *this;
273 }
275
277
280 inline const Aws::String& GetWeeklyMaintenanceWindowStart() const { return m_weeklyMaintenanceWindowStart; }
281 template <typename WeeklyMaintenanceWindowStartT = Aws::String>
282 void SetWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT&& value) {
283 m_weeklyMaintenanceWindowStartHasBeenSet = true;
284 m_weeklyMaintenanceWindowStart = std::forward<WeeklyMaintenanceWindowStartT>(value);
285 }
286 template <typename WeeklyMaintenanceWindowStartT = Aws::String>
287 DescribeMlflowAppResult& WithWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT&& value) {
288 SetWeeklyMaintenanceWindowStart(std::forward<WeeklyMaintenanceWindowStartT>(value));
289 return *this;
290 }
292
294
297 inline MaintenanceStatus GetMaintenanceStatus() const { return m_maintenanceStatus; }
299 m_maintenanceStatusHasBeenSet = true;
300 m_maintenanceStatus = value;
301 }
304 return *this;
305 }
307
309
310 inline const Aws::String& GetRequestId() const { return m_requestId; }
311 template <typename RequestIdT = Aws::String>
312 void SetRequestId(RequestIdT&& value) {
313 m_requestIdHasBeenSet = true;
314 m_requestId = std::forward<RequestIdT>(value);
315 }
316 template <typename RequestIdT = Aws::String>
318 SetRequestId(std::forward<RequestIdT>(value));
319 return *this;
320 }
322 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
323
324 private:
325 Aws::String m_arn;
326
327 Aws::String m_name;
328
329 Aws::String m_artifactStoreUri;
330
331 Aws::String m_mlflowVersion;
332
333 Aws::String m_roleArn;
334
335 Aws::String m_kmsKeyId;
336
338
340
342
343 Aws::Vector<Aws::String> m_defaultDomainIdList;
344
345 Aws::Utils::DateTime m_creationTime{};
346
347 UserContext m_createdBy;
348
349 Aws::Utils::DateTime m_lastModifiedTime{};
350
351 UserContext m_lastModifiedBy;
352
353 Aws::String m_weeklyMaintenanceWindowStart;
354
356
357 Aws::String m_requestId;
358 Aws::Http::HttpResponseCode m_HttpResponseCode;
359 bool m_arnHasBeenSet = false;
360 bool m_nameHasBeenSet = false;
361 bool m_artifactStoreUriHasBeenSet = false;
362 bool m_mlflowVersionHasBeenSet = false;
363 bool m_roleArnHasBeenSet = false;
364 bool m_kmsKeyIdHasBeenSet = false;
365 bool m_statusHasBeenSet = false;
366 bool m_modelRegistrationModeHasBeenSet = false;
367 bool m_accountDefaultStatusHasBeenSet = false;
368 bool m_defaultDomainIdListHasBeenSet = false;
369 bool m_creationTimeHasBeenSet = false;
370 bool m_createdByHasBeenSet = false;
371 bool m_lastModifiedTimeHasBeenSet = false;
372 bool m_lastModifiedByHasBeenSet = false;
373 bool m_weeklyMaintenanceWindowStartHasBeenSet = false;
374 bool m_maintenanceStatusHasBeenSet = false;
375 bool m_requestIdHasBeenSet = false;
376};
377
378} // namespace Model
379} // namespace SageMaker
380} // namespace Aws
DescribeMlflowAppResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeMlflowAppResult & WithKmsKeyId(KmsKeyIdT &&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