AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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/core/utils/DateTime.h>
12#include <aws/sagemaker/model/ResourceSpec.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker
28{
29namespace Model
30{
32 {
33 public:
34 AWS_SAGEMAKER_API DescribeAppResult() = default;
37
38
40
43 inline const Aws::String& GetAppArn() const { return m_appArn; }
44 template<typename AppArnT = Aws::String>
45 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet = true; m_appArn = std::forward<AppArnT>(value); }
46 template<typename AppArnT = Aws::String>
47 DescribeAppResult& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
49
51
54 inline AppType GetAppType() const { return m_appType; }
55 inline void SetAppType(AppType value) { m_appTypeHasBeenSet = true; m_appType = value; }
56 inline DescribeAppResult& WithAppType(AppType value) { SetAppType(value); return *this;}
58
60
63 inline const Aws::String& GetAppName() const { return m_appName; }
64 template<typename AppNameT = Aws::String>
65 void SetAppName(AppNameT&& value) { m_appNameHasBeenSet = true; m_appName = std::forward<AppNameT>(value); }
66 template<typename AppNameT = Aws::String>
67 DescribeAppResult& WithAppName(AppNameT&& value) { SetAppName(std::forward<AppNameT>(value)); return *this;}
69
71
74 inline const Aws::String& GetDomainId() const { return m_domainId; }
75 template<typename DomainIdT = Aws::String>
76 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
77 template<typename DomainIdT = Aws::String>
78 DescribeAppResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
80
82
85 inline const Aws::String& GetUserProfileName() const { return m_userProfileName; }
86 template<typename UserProfileNameT = Aws::String>
87 void SetUserProfileName(UserProfileNameT&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::forward<UserProfileNameT>(value); }
88 template<typename UserProfileNameT = Aws::String>
89 DescribeAppResult& WithUserProfileName(UserProfileNameT&& value) { SetUserProfileName(std::forward<UserProfileNameT>(value)); return *this;}
91
93
97 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
98 template<typename SpaceNameT = Aws::String>
99 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::forward<SpaceNameT>(value); }
100 template<typename SpaceNameT = Aws::String>
101 DescribeAppResult& WithSpaceName(SpaceNameT&& value) { SetSpaceName(std::forward<SpaceNameT>(value)); return *this;}
103
105
108 inline AppStatus GetStatus() const { return m_status; }
109 inline void SetStatus(AppStatus value) { m_statusHasBeenSet = true; m_status = value; }
110 inline DescribeAppResult& WithStatus(AppStatus value) { SetStatus(value); return *this;}
112
114
117 inline bool GetRecoveryMode() const { return m_recoveryMode; }
118 inline void SetRecoveryMode(bool value) { m_recoveryModeHasBeenSet = true; m_recoveryMode = value; }
119 inline DescribeAppResult& WithRecoveryMode(bool value) { SetRecoveryMode(value); return *this;}
121
123
126 inline const Aws::Utils::DateTime& GetLastHealthCheckTimestamp() const { return m_lastHealthCheckTimestamp; }
127 template<typename LastHealthCheckTimestampT = Aws::Utils::DateTime>
128 void SetLastHealthCheckTimestamp(LastHealthCheckTimestampT&& value) { m_lastHealthCheckTimestampHasBeenSet = true; m_lastHealthCheckTimestamp = std::forward<LastHealthCheckTimestampT>(value); }
129 template<typename LastHealthCheckTimestampT = Aws::Utils::DateTime>
130 DescribeAppResult& WithLastHealthCheckTimestamp(LastHealthCheckTimestampT&& value) { SetLastHealthCheckTimestamp(std::forward<LastHealthCheckTimestampT>(value)); return *this;}
132
134
140 inline const Aws::Utils::DateTime& GetLastUserActivityTimestamp() const { return m_lastUserActivityTimestamp; }
141 template<typename LastUserActivityTimestampT = Aws::Utils::DateTime>
142 void SetLastUserActivityTimestamp(LastUserActivityTimestampT&& value) { m_lastUserActivityTimestampHasBeenSet = true; m_lastUserActivityTimestamp = std::forward<LastUserActivityTimestampT>(value); }
143 template<typename LastUserActivityTimestampT = Aws::Utils::DateTime>
144 DescribeAppResult& WithLastUserActivityTimestamp(LastUserActivityTimestampT&& value) { SetLastUserActivityTimestamp(std::forward<LastUserActivityTimestampT>(value)); return *this;}
146
148
157 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
158 template<typename CreationTimeT = Aws::Utils::DateTime>
159 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
160 template<typename CreationTimeT = Aws::Utils::DateTime>
161 DescribeAppResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
163
165
168 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
169 template<typename FailureReasonT = Aws::String>
170 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
171 template<typename FailureReasonT = Aws::String>
172 DescribeAppResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
174
176
180 inline const ResourceSpec& GetResourceSpec() const { return m_resourceSpec; }
181 template<typename ResourceSpecT = ResourceSpec>
182 void SetResourceSpec(ResourceSpecT&& value) { m_resourceSpecHasBeenSet = true; m_resourceSpec = std::forward<ResourceSpecT>(value); }
183 template<typename ResourceSpecT = ResourceSpec>
184 DescribeAppResult& WithResourceSpec(ResourceSpecT&& value) { SetResourceSpec(std::forward<ResourceSpecT>(value)); return *this;}
186
188
192 inline const Aws::String& GetBuiltInLifecycleConfigArn() const { return m_builtInLifecycleConfigArn; }
193 template<typename BuiltInLifecycleConfigArnT = Aws::String>
194 void SetBuiltInLifecycleConfigArn(BuiltInLifecycleConfigArnT&& value) { m_builtInLifecycleConfigArnHasBeenSet = true; m_builtInLifecycleConfigArn = std::forward<BuiltInLifecycleConfigArnT>(value); }
195 template<typename BuiltInLifecycleConfigArnT = Aws::String>
196 DescribeAppResult& WithBuiltInLifecycleConfigArn(BuiltInLifecycleConfigArnT&& value) { SetBuiltInLifecycleConfigArn(std::forward<BuiltInLifecycleConfigArnT>(value)); return *this;}
198
200
201 inline const Aws::String& GetRequestId() const { return m_requestId; }
202 template<typename RequestIdT = Aws::String>
203 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
204 template<typename RequestIdT = Aws::String>
205 DescribeAppResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
207 private:
208
209 Aws::String m_appArn;
210 bool m_appArnHasBeenSet = false;
211
212 AppType m_appType{AppType::NOT_SET};
213 bool m_appTypeHasBeenSet = false;
214
215 Aws::String m_appName;
216 bool m_appNameHasBeenSet = false;
217
218 Aws::String m_domainId;
219 bool m_domainIdHasBeenSet = false;
220
221 Aws::String m_userProfileName;
222 bool m_userProfileNameHasBeenSet = false;
223
224 Aws::String m_spaceName;
225 bool m_spaceNameHasBeenSet = false;
226
228 bool m_statusHasBeenSet = false;
229
230 bool m_recoveryMode{false};
231 bool m_recoveryModeHasBeenSet = false;
232
233 Aws::Utils::DateTime m_lastHealthCheckTimestamp{};
234 bool m_lastHealthCheckTimestampHasBeenSet = false;
235
236 Aws::Utils::DateTime m_lastUserActivityTimestamp{};
237 bool m_lastUserActivityTimestampHasBeenSet = false;
238
239 Aws::Utils::DateTime m_creationTime{};
240 bool m_creationTimeHasBeenSet = false;
241
242 Aws::String m_failureReason;
243 bool m_failureReasonHasBeenSet = false;
244
245 ResourceSpec m_resourceSpec;
246 bool m_resourceSpecHasBeenSet = false;
247
248 Aws::String m_builtInLifecycleConfigArn;
249 bool m_builtInLifecycleConfigArnHasBeenSet = false;
250
251 Aws::String m_requestId;
252 bool m_requestIdHasBeenSet = false;
253 };
254
255} // namespace Model
256} // namespace SageMaker
257} // 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 & 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)
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)
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