AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37
38
40
43 inline const Aws::String& GetAppArn() const{ return m_appArn; }
44 inline void SetAppArn(const Aws::String& value) { m_appArn = value; }
45 inline void SetAppArn(Aws::String&& value) { m_appArn = std::move(value); }
46 inline void SetAppArn(const char* value) { m_appArn.assign(value); }
47 inline DescribeAppResult& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
48 inline DescribeAppResult& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
49 inline DescribeAppResult& WithAppArn(const char* value) { SetAppArn(value); return *this;}
51
53
56 inline const AppType& GetAppType() const{ return m_appType; }
57 inline void SetAppType(const AppType& value) { m_appType = value; }
58 inline void SetAppType(AppType&& value) { m_appType = std::move(value); }
59 inline DescribeAppResult& WithAppType(const AppType& value) { SetAppType(value); return *this;}
60 inline DescribeAppResult& WithAppType(AppType&& value) { SetAppType(std::move(value)); return *this;}
62
64
67 inline const Aws::String& GetAppName() const{ return m_appName; }
68 inline void SetAppName(const Aws::String& value) { m_appName = value; }
69 inline void SetAppName(Aws::String&& value) { m_appName = std::move(value); }
70 inline void SetAppName(const char* value) { m_appName.assign(value); }
71 inline DescribeAppResult& WithAppName(const Aws::String& value) { SetAppName(value); return *this;}
72 inline DescribeAppResult& WithAppName(Aws::String&& value) { SetAppName(std::move(value)); return *this;}
73 inline DescribeAppResult& WithAppName(const char* value) { SetAppName(value); return *this;}
75
77
80 inline const Aws::String& GetDomainId() const{ return m_domainId; }
81 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
82 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
83 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
84 inline DescribeAppResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
85 inline DescribeAppResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
86 inline DescribeAppResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
88
90
93 inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; }
94 inline void SetUserProfileName(const Aws::String& value) { m_userProfileName = value; }
95 inline void SetUserProfileName(Aws::String&& value) { m_userProfileName = std::move(value); }
96 inline void SetUserProfileName(const char* value) { m_userProfileName.assign(value); }
97 inline DescribeAppResult& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;}
98 inline DescribeAppResult& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;}
99 inline DescribeAppResult& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;}
101
103
107 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
108 inline void SetSpaceName(const Aws::String& value) { m_spaceName = value; }
109 inline void SetSpaceName(Aws::String&& value) { m_spaceName = std::move(value); }
110 inline void SetSpaceName(const char* value) { m_spaceName.assign(value); }
111 inline DescribeAppResult& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
112 inline DescribeAppResult& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
113 inline DescribeAppResult& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
115
117
120 inline const AppStatus& GetStatus() const{ return m_status; }
121 inline void SetStatus(const AppStatus& value) { m_status = value; }
122 inline void SetStatus(AppStatus&& value) { m_status = std::move(value); }
123 inline DescribeAppResult& WithStatus(const AppStatus& value) { SetStatus(value); return *this;}
124 inline DescribeAppResult& WithStatus(AppStatus&& value) { SetStatus(std::move(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetLastHealthCheckTimestamp() const{ return m_lastHealthCheckTimestamp; }
132 inline void SetLastHealthCheckTimestamp(const Aws::Utils::DateTime& value) { m_lastHealthCheckTimestamp = value; }
133 inline void SetLastHealthCheckTimestamp(Aws::Utils::DateTime&& value) { m_lastHealthCheckTimestamp = std::move(value); }
137
139
145 inline const Aws::Utils::DateTime& GetLastUserActivityTimestamp() const{ return m_lastUserActivityTimestamp; }
146 inline void SetLastUserActivityTimestamp(const Aws::Utils::DateTime& value) { m_lastUserActivityTimestamp = value; }
147 inline void SetLastUserActivityTimestamp(Aws::Utils::DateTime&& value) { m_lastUserActivityTimestamp = std::move(value); }
151
153
161 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
162 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
163 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
164 inline DescribeAppResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
165 inline DescribeAppResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
167
169
172 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
173 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
174 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
175 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
176 inline DescribeAppResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
177 inline DescribeAppResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
178 inline DescribeAppResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
180
182
186 inline const ResourceSpec& GetResourceSpec() const{ return m_resourceSpec; }
187 inline void SetResourceSpec(const ResourceSpec& value) { m_resourceSpec = value; }
188 inline void SetResourceSpec(ResourceSpec&& value) { m_resourceSpec = std::move(value); }
189 inline DescribeAppResult& WithResourceSpec(const ResourceSpec& value) { SetResourceSpec(value); return *this;}
190 inline DescribeAppResult& WithResourceSpec(ResourceSpec&& value) { SetResourceSpec(std::move(value)); return *this;}
192
194
198 inline const Aws::String& GetBuiltInLifecycleConfigArn() const{ return m_builtInLifecycleConfigArn; }
199 inline void SetBuiltInLifecycleConfigArn(const Aws::String& value) { m_builtInLifecycleConfigArn = value; }
200 inline void SetBuiltInLifecycleConfigArn(Aws::String&& value) { m_builtInLifecycleConfigArn = std::move(value); }
201 inline void SetBuiltInLifecycleConfigArn(const char* value) { m_builtInLifecycleConfigArn.assign(value); }
204 inline DescribeAppResult& WithBuiltInLifecycleConfigArn(const char* value) { SetBuiltInLifecycleConfigArn(value); return *this;}
206
208
209 inline const Aws::String& GetRequestId() const{ return m_requestId; }
210 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
211 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
212 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
213 inline DescribeAppResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
214 inline DescribeAppResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
215 inline DescribeAppResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
217 private:
218
219 Aws::String m_appArn;
220
221 AppType m_appType;
222
223 Aws::String m_appName;
224
225 Aws::String m_domainId;
226
227 Aws::String m_userProfileName;
228
229 Aws::String m_spaceName;
230
231 AppStatus m_status;
232
233 Aws::Utils::DateTime m_lastHealthCheckTimestamp;
234
235 Aws::Utils::DateTime m_lastUserActivityTimestamp;
236
237 Aws::Utils::DateTime m_creationTime;
238
239 Aws::String m_failureReason;
240
241 ResourceSpec m_resourceSpec;
242
243 Aws::String m_builtInLifecycleConfigArn;
244
245 Aws::String m_requestId;
246 };
247
248} // namespace Model
249} // namespace SageMaker
250} // namespace Aws
DescribeAppResult & WithAppName(const char *value)
DescribeAppResult & WithAppArn(Aws::String &&value)
DescribeAppResult & WithDomainId(const char *value)
DescribeAppResult & WithLastHealthCheckTimestamp(const Aws::Utils::DateTime &value)
void SetDomainId(const Aws::String &value)
DescribeAppResult & WithAppType(const AppType &value)
DescribeAppResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeAppResult & WithFailureReason(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
DescribeAppResult & WithDomainId(Aws::String &&value)
void SetBuiltInLifecycleConfigArn(Aws::String &&value)
DescribeAppResult & WithLastHealthCheckTimestamp(Aws::Utils::DateTime &&value)
void SetSpaceName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUserActivityTimestamp() const
DescribeAppResult & WithUserProfileName(const Aws::String &value)
DescribeAppResult & WithBuiltInLifecycleConfigArn(Aws::String &&value)
void SetRequestId(const Aws::String &value)
DescribeAppResult & WithResourceSpec(ResourceSpec &&value)
const ResourceSpec & GetResourceSpec() const
DescribeAppResult & WithDomainId(const Aws::String &value)
const Aws::String & GetUserProfileName() const
DescribeAppResult & WithSpaceName(const char *value)
DescribeAppResult & WithRequestId(const Aws::String &value)
DescribeAppResult & WithRequestId(const char *value)
DescribeAppResult & WithBuiltInLifecycleConfigArn(const char *value)
DescribeAppResult & WithCreationTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastHealthCheckTimestamp() const
DescribeAppResult & WithStatus(AppStatus &&value)
DescribeAppResult & WithStatus(const AppStatus &value)
DescribeAppResult & WithAppName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetDomainId() const
void SetUserProfileName(const Aws::String &value)
AWS_SAGEMAKER_API DescribeAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAppResult & WithAppArn(const char *value)
void SetFailureReason(const Aws::String &value)
void SetBuiltInLifecycleConfigArn(const char *value)
void SetAppName(const Aws::String &value)
DescribeAppResult & WithFailureReason(Aws::String &&value)
void SetResourceSpec(const ResourceSpec &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetLastHealthCheckTimestamp(const Aws::Utils::DateTime &value)
void SetBuiltInLifecycleConfigArn(const Aws::String &value)
DescribeAppResult & WithSpaceName(Aws::String &&value)
DescribeAppResult & WithFailureReason(const char *value)
DescribeAppResult & WithAppArn(const Aws::String &value)
DescribeAppResult & WithLastUserActivityTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetBuiltInLifecycleConfigArn() const
void SetAppArn(const Aws::String &value)
AWS_SAGEMAKER_API DescribeAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAppResult & WithSpaceName(const Aws::String &value)
DescribeAppResult & WithBuiltInLifecycleConfigArn(const Aws::String &value)
DescribeAppResult & WithAppName(const Aws::String &value)
DescribeAppResult & WithRequestId(Aws::String &&value)
void SetUserProfileName(Aws::String &&value)
DescribeAppResult & WithUserProfileName(const char *value)
void SetLastUserActivityTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetFailureReason() const
void SetLastHealthCheckTimestamp(Aws::Utils::DateTime &&value)
DescribeAppResult & WithUserProfileName(Aws::String &&value)
DescribeAppResult & WithLastUserActivityTimestamp(Aws::Utils::DateTime &&value)
void SetLastUserActivityTimestamp(Aws::Utils::DateTime &&value)
DescribeAppResult & WithResourceSpec(const ResourceSpec &value)
DescribeAppResult & WithAppType(AppType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue