AWS SDK for C++  1.9.141
AWS SDK for C++
DescribeAppResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace SageMaker
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const Aws::String& GetAppArn() const{ return m_appArn; }
43 
47  inline void SetAppArn(const Aws::String& value) { m_appArn = value; }
48 
52  inline void SetAppArn(Aws::String&& value) { m_appArn = std::move(value); }
53 
57  inline void SetAppArn(const char* value) { m_appArn.assign(value); }
58 
62  inline DescribeAppResult& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
63 
67  inline DescribeAppResult& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
68 
72  inline DescribeAppResult& WithAppArn(const char* value) { SetAppArn(value); return *this;}
73 
74 
78  inline const AppType& GetAppType() const{ return m_appType; }
79 
83  inline void SetAppType(const AppType& value) { m_appType = value; }
84 
88  inline void SetAppType(AppType&& value) { m_appType = std::move(value); }
89 
93  inline DescribeAppResult& WithAppType(const AppType& value) { SetAppType(value); return *this;}
94 
98  inline DescribeAppResult& WithAppType(AppType&& value) { SetAppType(std::move(value)); return *this;}
99 
100 
104  inline const Aws::String& GetAppName() const{ return m_appName; }
105 
109  inline void SetAppName(const Aws::String& value) { m_appName = value; }
110 
114  inline void SetAppName(Aws::String&& value) { m_appName = std::move(value); }
115 
119  inline void SetAppName(const char* value) { m_appName.assign(value); }
120 
124  inline DescribeAppResult& WithAppName(const Aws::String& value) { SetAppName(value); return *this;}
125 
129  inline DescribeAppResult& WithAppName(Aws::String&& value) { SetAppName(std::move(value)); return *this;}
130 
134  inline DescribeAppResult& WithAppName(const char* value) { SetAppName(value); return *this;}
135 
136 
140  inline const Aws::String& GetDomainId() const{ return m_domainId; }
141 
145  inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
146 
150  inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
151 
155  inline void SetDomainId(const char* value) { m_domainId.assign(value); }
156 
160  inline DescribeAppResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
161 
165  inline DescribeAppResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
166 
170  inline DescribeAppResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
171 
172 
176  inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; }
177 
181  inline void SetUserProfileName(const Aws::String& value) { m_userProfileName = value; }
182 
186  inline void SetUserProfileName(Aws::String&& value) { m_userProfileName = std::move(value); }
187 
191  inline void SetUserProfileName(const char* value) { m_userProfileName.assign(value); }
192 
196  inline DescribeAppResult& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;}
197 
201  inline DescribeAppResult& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;}
202 
206  inline DescribeAppResult& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;}
207 
208 
212  inline const AppStatus& GetStatus() const{ return m_status; }
213 
217  inline void SetStatus(const AppStatus& value) { m_status = value; }
218 
222  inline void SetStatus(AppStatus&& value) { m_status = std::move(value); }
223 
227  inline DescribeAppResult& WithStatus(const AppStatus& value) { SetStatus(value); return *this;}
228 
232  inline DescribeAppResult& WithStatus(AppStatus&& value) { SetStatus(std::move(value)); return *this;}
233 
234 
238  inline const Aws::Utils::DateTime& GetLastHealthCheckTimestamp() const{ return m_lastHealthCheckTimestamp; }
239 
243  inline void SetLastHealthCheckTimestamp(const Aws::Utils::DateTime& value) { m_lastHealthCheckTimestamp = value; }
244 
248  inline void SetLastHealthCheckTimestamp(Aws::Utils::DateTime&& value) { m_lastHealthCheckTimestamp = std::move(value); }
249 
253  inline DescribeAppResult& WithLastHealthCheckTimestamp(const Aws::Utils::DateTime& value) { SetLastHealthCheckTimestamp(value); return *this;}
254 
258  inline DescribeAppResult& WithLastHealthCheckTimestamp(Aws::Utils::DateTime&& value) { SetLastHealthCheckTimestamp(std::move(value)); return *this;}
259 
260 
267  inline const Aws::Utils::DateTime& GetLastUserActivityTimestamp() const{ return m_lastUserActivityTimestamp; }
268 
275  inline void SetLastUserActivityTimestamp(const Aws::Utils::DateTime& value) { m_lastUserActivityTimestamp = value; }
276 
283  inline void SetLastUserActivityTimestamp(Aws::Utils::DateTime&& value) { m_lastUserActivityTimestamp = std::move(value); }
284 
291  inline DescribeAppResult& WithLastUserActivityTimestamp(const Aws::Utils::DateTime& value) { SetLastUserActivityTimestamp(value); return *this;}
292 
299  inline DescribeAppResult& WithLastUserActivityTimestamp(Aws::Utils::DateTime&& value) { SetLastUserActivityTimestamp(std::move(value)); return *this;}
300 
301 
305  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
306 
310  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
311 
315  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
316 
320  inline DescribeAppResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
321 
325  inline DescribeAppResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
326 
327 
331  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
332 
336  inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
337 
341  inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
342 
346  inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
347 
351  inline DescribeAppResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
352 
356  inline DescribeAppResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
357 
361  inline DescribeAppResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
362 
363 
368  inline const ResourceSpec& GetResourceSpec() const{ return m_resourceSpec; }
369 
374  inline void SetResourceSpec(const ResourceSpec& value) { m_resourceSpec = value; }
375 
380  inline void SetResourceSpec(ResourceSpec&& value) { m_resourceSpec = std::move(value); }
381 
386  inline DescribeAppResult& WithResourceSpec(const ResourceSpec& value) { SetResourceSpec(value); return *this;}
387 
392  inline DescribeAppResult& WithResourceSpec(ResourceSpec&& value) { SetResourceSpec(std::move(value)); return *this;}
393 
394  private:
395 
396  Aws::String m_appArn;
397 
398  AppType m_appType;
399 
400  Aws::String m_appName;
401 
402  Aws::String m_domainId;
403 
404  Aws::String m_userProfileName;
405 
406  AppStatus m_status;
407 
408  Aws::Utils::DateTime m_lastHealthCheckTimestamp;
409 
410  Aws::Utils::DateTime m_lastUserActivityTimestamp;
411 
412  Aws::Utils::DateTime m_creationTime;
413 
414  Aws::String m_failureReason;
415 
416  ResourceSpec m_resourceSpec;
417  };
418 
419 } // namespace Model
420 } // namespace SageMaker
421 } // namespace Aws
Aws::SageMaker::Model::DescribeAppResult::WithStatus
DescribeAppResult & WithStatus(const AppStatus &value)
Definition: DescribeAppResult.h:227
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::DescribeAppResult::SetAppType
void SetAppType(const AppType &value)
Definition: DescribeAppResult.h:83
Aws::SageMaker::Model::DescribeAppResult::SetDomainId
void SetDomainId(const char *value)
Definition: DescribeAppResult.h:155
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SageMaker::Model::DescribeAppResult::WithFailureReason
DescribeAppResult & WithFailureReason(Aws::String &&value)
Definition: DescribeAppResult.h:356
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DescribeAppResult::WithDomainId
DescribeAppResult & WithDomainId(Aws::String &&value)
Definition: DescribeAppResult.h:165
Aws::SageMaker::Model::DescribeAppResult::WithAppName
DescribeAppResult & WithAppName(const Aws::String &value)
Definition: DescribeAppResult.h:124
Aws::SageMaker::Model::DescribeAppResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeAppResult.h:310
Aws::SageMaker::Model::DescribeAppResult::WithFailureReason
DescribeAppResult & WithFailureReason(const char *value)
Definition: DescribeAppResult.h:361
Aws::SageMaker::Model::DescribeAppResult::WithAppType
DescribeAppResult & WithAppType(AppType &&value)
Definition: DescribeAppResult.h:98
Aws::SageMaker::Model::AppType
AppType
Definition: AppType.h:17
Aws::SageMaker::Model::DescribeAppResult::WithDomainId
DescribeAppResult & WithDomainId(const char *value)
Definition: DescribeAppResult.h:170
Aws::SageMaker::Model::DescribeAppResult::DescribeAppResult
DescribeAppResult()
Aws::SageMaker::Model::DescribeAppResult::SetResourceSpec
void SetResourceSpec(const ResourceSpec &value)
Definition: DescribeAppResult.h:374
Aws::SageMaker::Model::DescribeAppResult::WithAppName
DescribeAppResult & WithAppName(Aws::String &&value)
Definition: DescribeAppResult.h:129
DateTime.h
Aws::SageMaker::Model::DescribeAppResult::GetAppName
const Aws::String & GetAppName() const
Definition: DescribeAppResult.h:104
Aws::SageMaker::Model::DescribeAppResult::WithDomainId
DescribeAppResult & WithDomainId(const Aws::String &value)
Definition: DescribeAppResult.h:160
Aws::SageMaker::Model::DescribeAppResult::SetAppName
void SetAppName(Aws::String &&value)
Definition: DescribeAppResult.h:114
Aws::SageMaker::Model::DescribeAppResult::SetLastUserActivityTimestamp
void SetLastUserActivityTimestamp(Aws::Utils::DateTime &&value)
Definition: DescribeAppResult.h:283
Aws::SageMaker::Model::DescribeAppResult::WithLastUserActivityTimestamp
DescribeAppResult & WithLastUserActivityTimestamp(const Aws::Utils::DateTime &value)
Definition: DescribeAppResult.h:291
Aws::SageMaker::Model::DescribeAppResult::WithUserProfileName
DescribeAppResult & WithUserProfileName(const Aws::String &value)
Definition: DescribeAppResult.h:196
Aws::SageMaker::Model::DescribeAppResult::SetStatus
void SetStatus(const AppStatus &value)
Definition: DescribeAppResult.h:217
Aws::SageMaker::Model::DescribeAppResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeAppResult.h:305
Aws::SageMaker::Model::DescribeAppResult::WithUserProfileName
DescribeAppResult & WithUserProfileName(const char *value)
Definition: DescribeAppResult.h:206
Aws::SageMaker::Model::DescribeAppResult::WithUserProfileName
DescribeAppResult & WithUserProfileName(Aws::String &&value)
Definition: DescribeAppResult.h:201
Aws::SageMaker::Model::DescribeAppResult::WithAppArn
DescribeAppResult & WithAppArn(Aws::String &&value)
Definition: DescribeAppResult.h:67
Aws::SageMaker::Model::DescribeAppResult::GetAppType
const AppType & GetAppType() const
Definition: DescribeAppResult.h:78
Aws::SageMaker::Model::DescribeAppResult::WithLastHealthCheckTimestamp
DescribeAppResult & WithLastHealthCheckTimestamp(const Aws::Utils::DateTime &value)
Definition: DescribeAppResult.h:253
Aws::SageMaker::Model::DescribeAppResult::SetAppName
void SetAppName(const Aws::String &value)
Definition: DescribeAppResult.h:109
AppType.h
Aws::SageMaker::Model::ResourceSpec
Definition: ResourceSpec.h:34
Aws::SageMaker::Model::DescribeAppResult::SetDomainId
void SetDomainId(Aws::String &&value)
Definition: DescribeAppResult.h:150
Aws::SageMaker::Model::DescribeAppResult::SetLastUserActivityTimestamp
void SetLastUserActivityTimestamp(const Aws::Utils::DateTime &value)
Definition: DescribeAppResult.h:275
AppStatus.h
Aws::SageMaker::Model::DescribeAppResult::GetAppArn
const Aws::String & GetAppArn() const
Definition: DescribeAppResult.h:42
Aws::SageMaker::Model::DescribeAppResult::SetAppName
void SetAppName(const char *value)
Definition: DescribeAppResult.h:119
Aws::SageMaker::Model::DescribeAppResult::SetStatus
void SetStatus(AppStatus &&value)
Definition: DescribeAppResult.h:222
Aws::SageMaker::Model::DescribeAppResult::SetAppArn
void SetAppArn(Aws::String &&value)
Definition: DescribeAppResult.h:52
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DescribeAppResult
Definition: DescribeAppResult.h:32
Aws::SageMaker::Model::DescribeAppResult::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: DescribeAppResult.h:341
Aws::SageMaker::Model::DescribeAppResult::DescribeAppResult
DescribeAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::DescribeAppResult::WithResourceSpec
DescribeAppResult & WithResourceSpec(ResourceSpec &&value)
Definition: DescribeAppResult.h:392
Aws::SageMaker::Model::DescribeAppResult::GetLastHealthCheckTimestamp
const Aws::Utils::DateTime & GetLastHealthCheckTimestamp() const
Definition: DescribeAppResult.h:238
Aws::SageMaker::Model::DescribeAppResult::SetLastHealthCheckTimestamp
void SetLastHealthCheckTimestamp(const Aws::Utils::DateTime &value)
Definition: DescribeAppResult.h:243
Aws::SageMaker::Model::DescribeAppResult::SetUserProfileName
void SetUserProfileName(const char *value)
Definition: DescribeAppResult.h:191
Aws::SageMaker::Model::DescribeAppResult::WithFailureReason
DescribeAppResult & WithFailureReason(const Aws::String &value)
Definition: DescribeAppResult.h:351
Aws::SageMaker::Model::DescribeAppResult::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: DescribeAppResult.h:336
Aws::SageMaker::Model::DescribeAppResult::WithAppArn
DescribeAppResult & WithAppArn(const Aws::String &value)
Definition: DescribeAppResult.h:62
Aws::SageMaker::Model::DescribeAppResult::WithLastHealthCheckTimestamp
DescribeAppResult & WithLastHealthCheckTimestamp(Aws::Utils::DateTime &&value)
Definition: DescribeAppResult.h:258
AWSString.h
Aws::SageMaker::Model::DescribeAppResult::WithAppType
DescribeAppResult & WithAppType(const AppType &value)
Definition: DescribeAppResult.h:93
Aws::SageMaker::Model::AppStatus
AppStatus
Definition: AppStatus.h:17
Aws::SageMaker::Model::DescribeAppResult::SetLastHealthCheckTimestamp
void SetLastHealthCheckTimestamp(Aws::Utils::DateTime &&value)
Definition: DescribeAppResult.h:248
Aws::SageMaker::Model::DescribeAppResult::GetUserProfileName
const Aws::String & GetUserProfileName() const
Definition: DescribeAppResult.h:176
Aws::SageMaker::Model::DescribeAppResult::GetStatus
const AppStatus & GetStatus() const
Definition: DescribeAppResult.h:212
Aws::SageMaker::Model::DescribeAppResult::WithCreationTime
DescribeAppResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeAppResult.h:320
Aws::SageMaker::Model::DescribeAppResult::SetResourceSpec
void SetResourceSpec(ResourceSpec &&value)
Definition: DescribeAppResult.h:380
Aws::SageMaker::Model::DescribeAppResult::SetDomainId
void SetDomainId(const Aws::String &value)
Definition: DescribeAppResult.h:145
Aws::SageMaker::Model::DescribeAppResult::SetUserProfileName
void SetUserProfileName(const Aws::String &value)
Definition: DescribeAppResult.h:181
Aws::SageMaker::Model::DescribeAppResult::GetLastUserActivityTimestamp
const Aws::Utils::DateTime & GetLastUserActivityTimestamp() const
Definition: DescribeAppResult.h:267
Aws::SageMaker::Model::DescribeAppResult::WithAppName
DescribeAppResult & WithAppName(const char *value)
Definition: DescribeAppResult.h:134
Aws::SageMaker::Model::DescribeAppResult::GetDomainId
const Aws::String & GetDomainId() const
Definition: DescribeAppResult.h:140
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DescribeAppResult::operator=
DescribeAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::DescribeAppResult::SetAppType
void SetAppType(AppType &&value)
Definition: DescribeAppResult.h:88
Aws::SageMaker::Model::DescribeAppResult::WithStatus
DescribeAppResult & WithStatus(AppStatus &&value)
Definition: DescribeAppResult.h:232
Aws::SageMaker::Model::DescribeAppResult::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: DescribeAppResult.h:331
Aws::SageMaker::Model::DescribeAppResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeAppResult.h:315
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DescribeAppResult::WithLastUserActivityTimestamp
DescribeAppResult & WithLastUserActivityTimestamp(Aws::Utils::DateTime &&value)
Definition: DescribeAppResult.h:299
Aws::SageMaker::Model::DescribeAppResult::SetAppArn
void SetAppArn(const char *value)
Definition: DescribeAppResult.h:57
Aws::SageMaker::Model::DescribeAppResult::SetAppArn
void SetAppArn(const Aws::String &value)
Definition: DescribeAppResult.h:47
Aws::SageMaker::Model::DescribeAppResult::SetUserProfileName
void SetUserProfileName(Aws::String &&value)
Definition: DescribeAppResult.h:186
Aws::SageMaker::Model::DescribeAppResult::WithResourceSpec
DescribeAppResult & WithResourceSpec(const ResourceSpec &value)
Definition: DescribeAppResult.h:386
Aws::SageMaker::Model::DescribeAppResult::WithAppArn
DescribeAppResult & WithAppArn(const char *value)
Definition: DescribeAppResult.h:72
ResourceSpec.h
Aws::SageMaker::Model::DescribeAppResult::WithCreationTime
DescribeAppResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeAppResult.h:325
Aws::SageMaker::Model::DescribeAppResult::SetFailureReason
void SetFailureReason(const char *value)
Definition: DescribeAppResult.h:346
Aws::SageMaker::Model::DescribeAppResult::GetResourceSpec
const ResourceSpec & GetResourceSpec() const
Definition: DescribeAppResult.h:368