AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
DescribeAppResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/AppType.h>
10#include <aws/sagemaker/model/AppStatus.h>
11#include <aws/sagemaker/model/FeatureStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/sagemaker/model/ResourceSpec.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace SageMaker
29{
30namespace Model
31{
33 {
34 public:
35 AWS_SAGEMAKER_API DescribeAppResult() = default;
38
39
41
44 inline const Aws::String& GetAppArn() const { return m_appArn; }
45 template<typename AppArnT = Aws::String>
46 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet = true; m_appArn = std::forward<AppArnT>(value); }
47 template<typename AppArnT = Aws::String>
48 DescribeAppResult& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
50
52
55 inline AppType GetAppType() const { return m_appType; }
56 inline void SetAppType(AppType value) { m_appTypeHasBeenSet = true; m_appType = value; }
57 inline DescribeAppResult& WithAppType(AppType value) { SetAppType(value); return *this;}
59
61
64 inline const Aws::String& GetAppName() const { return m_appName; }
65 template<typename AppNameT = Aws::String>
66 void SetAppName(AppNameT&& value) { m_appNameHasBeenSet = true; m_appName = std::forward<AppNameT>(value); }
67 template<typename AppNameT = Aws::String>
68 DescribeAppResult& WithAppName(AppNameT&& value) { SetAppName(std::forward<AppNameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetDomainId() const { return m_domainId; }
76 template<typename DomainIdT = Aws::String>
77 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
78 template<typename DomainIdT = Aws::String>
79 DescribeAppResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
81
83
86 inline const Aws::String& GetUserProfileName() const { return m_userProfileName; }
87 template<typename UserProfileNameT = Aws::String>
88 void SetUserProfileName(UserProfileNameT&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::forward<UserProfileNameT>(value); }
89 template<typename UserProfileNameT = Aws::String>
90 DescribeAppResult& WithUserProfileName(UserProfileNameT&& value) { SetUserProfileName(std::forward<UserProfileNameT>(value)); return *this;}
92
94
98 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
99 template<typename SpaceNameT = Aws::String>
100 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::forward<SpaceNameT>(value); }
101 template<typename SpaceNameT = Aws::String>
102 DescribeAppResult& WithSpaceName(SpaceNameT&& value) { SetSpaceName(std::forward<SpaceNameT>(value)); return *this;}
104
106
109 inline AppStatus GetStatus() const { return m_status; }
110 inline void SetStatus(AppStatus value) { m_statusHasBeenSet = true; m_status = value; }
111 inline DescribeAppResult& WithStatus(AppStatus value) { SetStatus(value); return *this;}
113
115
121 inline FeatureStatus GetEffectiveTrustedIdentityPropagationStatus() const { return m_effectiveTrustedIdentityPropagationStatus; }
122 inline void SetEffectiveTrustedIdentityPropagationStatus(FeatureStatus value) { m_effectiveTrustedIdentityPropagationStatusHasBeenSet = true; m_effectiveTrustedIdentityPropagationStatus = value; }
125
127
130 inline bool GetRecoveryMode() const { return m_recoveryMode; }
131 inline void SetRecoveryMode(bool value) { m_recoveryModeHasBeenSet = true; m_recoveryMode = value; }
132 inline DescribeAppResult& WithRecoveryMode(bool value) { SetRecoveryMode(value); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetLastHealthCheckTimestamp() const { return m_lastHealthCheckTimestamp; }
140 template<typename LastHealthCheckTimestampT = Aws::Utils::DateTime>
141 void SetLastHealthCheckTimestamp(LastHealthCheckTimestampT&& value) { m_lastHealthCheckTimestampHasBeenSet = true; m_lastHealthCheckTimestamp = std::forward<LastHealthCheckTimestampT>(value); }
142 template<typename LastHealthCheckTimestampT = Aws::Utils::DateTime>
143 DescribeAppResult& WithLastHealthCheckTimestamp(LastHealthCheckTimestampT&& value) { SetLastHealthCheckTimestamp(std::forward<LastHealthCheckTimestampT>(value)); return *this;}
145
147
153 inline const Aws::Utils::DateTime& GetLastUserActivityTimestamp() const { return m_lastUserActivityTimestamp; }
154 template<typename LastUserActivityTimestampT = Aws::Utils::DateTime>
155 void SetLastUserActivityTimestamp(LastUserActivityTimestampT&& value) { m_lastUserActivityTimestampHasBeenSet = true; m_lastUserActivityTimestamp = std::forward<LastUserActivityTimestampT>(value); }
156 template<typename LastUserActivityTimestampT = Aws::Utils::DateTime>
157 DescribeAppResult& WithLastUserActivityTimestamp(LastUserActivityTimestampT&& value) { SetLastUserActivityTimestamp(std::forward<LastUserActivityTimestampT>(value)); return *this;}
159
161
170 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
171 template<typename CreationTimeT = Aws::Utils::DateTime>
172 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
173 template<typename CreationTimeT = Aws::Utils::DateTime>
174 DescribeAppResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
176
178
181 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
182 template<typename FailureReasonT = Aws::String>
183 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
184 template<typename FailureReasonT = Aws::String>
185 DescribeAppResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
187
189
193 inline const ResourceSpec& GetResourceSpec() const { return m_resourceSpec; }
194 template<typename ResourceSpecT = ResourceSpec>
195 void SetResourceSpec(ResourceSpecT&& value) { m_resourceSpecHasBeenSet = true; m_resourceSpec = std::forward<ResourceSpecT>(value); }
196 template<typename ResourceSpecT = ResourceSpec>
197 DescribeAppResult& WithResourceSpec(ResourceSpecT&& value) { SetResourceSpec(std::forward<ResourceSpecT>(value)); return *this;}
199
201
205 inline const Aws::String& GetBuiltInLifecycleConfigArn() const { return m_builtInLifecycleConfigArn; }
206 template<typename BuiltInLifecycleConfigArnT = Aws::String>
207 void SetBuiltInLifecycleConfigArn(BuiltInLifecycleConfigArnT&& value) { m_builtInLifecycleConfigArnHasBeenSet = true; m_builtInLifecycleConfigArn = std::forward<BuiltInLifecycleConfigArnT>(value); }
208 template<typename BuiltInLifecycleConfigArnT = Aws::String>
209 DescribeAppResult& WithBuiltInLifecycleConfigArn(BuiltInLifecycleConfigArnT&& value) { SetBuiltInLifecycleConfigArn(std::forward<BuiltInLifecycleConfigArnT>(value)); return *this;}
211
213
214 inline const Aws::String& GetRequestId() const { return m_requestId; }
215 template<typename RequestIdT = Aws::String>
216 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
217 template<typename RequestIdT = Aws::String>
218 DescribeAppResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
220 private:
221
222 Aws::String m_appArn;
223 bool m_appArnHasBeenSet = false;
224
225 AppType m_appType{AppType::NOT_SET};
226 bool m_appTypeHasBeenSet = false;
227
228 Aws::String m_appName;
229 bool m_appNameHasBeenSet = false;
230
231 Aws::String m_domainId;
232 bool m_domainIdHasBeenSet = false;
233
234 Aws::String m_userProfileName;
235 bool m_userProfileNameHasBeenSet = false;
236
237 Aws::String m_spaceName;
238 bool m_spaceNameHasBeenSet = false;
239
241 bool m_statusHasBeenSet = false;
242
243 FeatureStatus m_effectiveTrustedIdentityPropagationStatus{FeatureStatus::NOT_SET};
244 bool m_effectiveTrustedIdentityPropagationStatusHasBeenSet = false;
245
246 bool m_recoveryMode{false};
247 bool m_recoveryModeHasBeenSet = false;
248
249 Aws::Utils::DateTime m_lastHealthCheckTimestamp{};
250 bool m_lastHealthCheckTimestampHasBeenSet = false;
251
252 Aws::Utils::DateTime m_lastUserActivityTimestamp{};
253 bool m_lastUserActivityTimestampHasBeenSet = false;
254
255 Aws::Utils::DateTime m_creationTime{};
256 bool m_creationTimeHasBeenSet = false;
257
258 Aws::String m_failureReason;
259 bool m_failureReasonHasBeenSet = false;
260
261 ResourceSpec m_resourceSpec;
262 bool m_resourceSpecHasBeenSet = false;
263
264 Aws::String m_builtInLifecycleConfigArn;
265 bool m_builtInLifecycleConfigArnHasBeenSet = false;
266
267 Aws::String m_requestId;
268 bool m_requestIdHasBeenSet = false;
269 };
270
271} // namespace Model
272} // namespace SageMaker
273} // namespace Aws
const Aws::String & GetSpaceName() const
DescribeAppResult & WithFailureReason(FailureReasonT &&value)
void SetLastUserActivityTimestamp(LastUserActivityTimestampT &&value)
const Aws::Utils::DateTime & GetLastUserActivityTimestamp() const
const ResourceSpec & GetResourceSpec() const
const Aws::String & GetUserProfileName() const
const Aws::Utils::DateTime & GetLastHealthCheckTimestamp() const
DescribeAppResult & WithRecoveryMode(bool value)
DescribeAppResult & WithEffectiveTrustedIdentityPropagationStatus(FeatureStatus value)
DescribeAppResult & WithAppName(AppNameT &&value)
AWS_SAGEMAKER_API DescribeAppResult()=default
DescribeAppResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetDomainId() const
AWS_SAGEMAKER_API DescribeAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAppResult & WithAppType(AppType value)
DescribeAppResult & WithBuiltInLifecycleConfigArn(BuiltInLifecycleConfigArnT &&value)
void SetLastHealthCheckTimestamp(LastHealthCheckTimestampT &&value)
DescribeAppResult & WithCreationTime(CreationTimeT &&value)
void SetEffectiveTrustedIdentityPropagationStatus(FeatureStatus value)
const Aws::String & GetBuiltInLifecycleConfigArn() const
DescribeAppResult & WithLastUserActivityTimestamp(LastUserActivityTimestampT &&value)
DescribeAppResult & WithSpaceName(SpaceNameT &&value)
DescribeAppResult & WithResourceSpec(ResourceSpecT &&value)
DescribeAppResult & WithLastHealthCheckTimestamp(LastHealthCheckTimestampT &&value)
AWS_SAGEMAKER_API DescribeAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAppResult & WithAppArn(AppArnT &&value)
void SetResourceSpec(ResourceSpecT &&value)
void SetBuiltInLifecycleConfigArn(BuiltInLifecycleConfigArnT &&value)
void SetFailureReason(FailureReasonT &&value)
DescribeAppResult & WithUserProfileName(UserProfileNameT &&value)
DescribeAppResult & WithStatus(AppStatus value)
const Aws::String & GetFailureReason() const
void SetUserProfileName(UserProfileNameT &&value)
FeatureStatus GetEffectiveTrustedIdentityPropagationStatus() const
void SetCreationTime(CreationTimeT &&value)
DescribeAppResult & WithDomainId(DomainIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue