AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AppDetails.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{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_SAGEMAKER_API AppDetails() = default;
39 AWS_SAGEMAKER_API AppDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API AppDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDomainId() const { return m_domainId; }
49 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
50 template<typename DomainIdT = Aws::String>
51 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
52 template<typename DomainIdT = Aws::String>
53 AppDetails& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetUserProfileName() const { return m_userProfileName; }
61 inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
62 template<typename UserProfileNameT = Aws::String>
63 void SetUserProfileName(UserProfileNameT&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::forward<UserProfileNameT>(value); }
64 template<typename UserProfileNameT = Aws::String>
65 AppDetails& WithUserProfileName(UserProfileNameT&& value) { SetUserProfileName(std::forward<UserProfileNameT>(value)); return *this;}
67
69
72 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
73 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
74 template<typename SpaceNameT = Aws::String>
75 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::forward<SpaceNameT>(value); }
76 template<typename SpaceNameT = Aws::String>
77 AppDetails& WithSpaceName(SpaceNameT&& value) { SetSpaceName(std::forward<SpaceNameT>(value)); return *this;}
79
81
84 inline AppType GetAppType() const { return m_appType; }
85 inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; }
86 inline void SetAppType(AppType value) { m_appTypeHasBeenSet = true; m_appType = value; }
87 inline AppDetails& WithAppType(AppType value) { SetAppType(value); return *this;}
89
91
94 inline const Aws::String& GetAppName() const { return m_appName; }
95 inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; }
96 template<typename AppNameT = Aws::String>
97 void SetAppName(AppNameT&& value) { m_appNameHasBeenSet = true; m_appName = std::forward<AppNameT>(value); }
98 template<typename AppNameT = Aws::String>
99 AppDetails& WithAppName(AppNameT&& value) { SetAppName(std::forward<AppNameT>(value)); return *this;}
101
103
106 inline AppStatus GetStatus() const { return m_status; }
107 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
108 inline void SetStatus(AppStatus value) { m_statusHasBeenSet = true; m_status = value; }
109 inline AppDetails& WithStatus(AppStatus value) { SetStatus(value); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
117 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
118 template<typename CreationTimeT = Aws::Utils::DateTime>
119 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
120 template<typename CreationTimeT = Aws::Utils::DateTime>
121 AppDetails& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
123
125
126 inline const ResourceSpec& GetResourceSpec() const { return m_resourceSpec; }
127 inline bool ResourceSpecHasBeenSet() const { return m_resourceSpecHasBeenSet; }
128 template<typename ResourceSpecT = ResourceSpec>
129 void SetResourceSpec(ResourceSpecT&& value) { m_resourceSpecHasBeenSet = true; m_resourceSpec = std::forward<ResourceSpecT>(value); }
130 template<typename ResourceSpecT = ResourceSpec>
131 AppDetails& WithResourceSpec(ResourceSpecT&& value) { SetResourceSpec(std::forward<ResourceSpecT>(value)); return *this;}
133 private:
134
135 Aws::String m_domainId;
136 bool m_domainIdHasBeenSet = false;
137
138 Aws::String m_userProfileName;
139 bool m_userProfileNameHasBeenSet = false;
140
141 Aws::String m_spaceName;
142 bool m_spaceNameHasBeenSet = false;
143
144 AppType m_appType{AppType::NOT_SET};
145 bool m_appTypeHasBeenSet = false;
146
147 Aws::String m_appName;
148 bool m_appNameHasBeenSet = false;
149
151 bool m_statusHasBeenSet = false;
152
153 Aws::Utils::DateTime m_creationTime{};
154 bool m_creationTimeHasBeenSet = false;
155
156 ResourceSpec m_resourceSpec;
157 bool m_resourceSpecHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace SageMaker
162} // namespace Aws
AppDetails & WithSpaceName(SpaceNameT &&value)
Definition AppDetails.h:77
void SetAppName(AppNameT &&value)
Definition AppDetails.h:97
AppDetails & WithAppType(AppType value)
Definition AppDetails.h:87
AppDetails & WithResourceSpec(ResourceSpecT &&value)
Definition AppDetails.h:131
void SetStatus(AppStatus value)
Definition AppDetails.h:108
AppDetails & WithStatus(AppStatus value)
Definition AppDetails.h:109
AWS_SAGEMAKER_API AppDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUserProfileName() const
Definition AppDetails.h:60
const ResourceSpec & GetResourceSpec() const
Definition AppDetails.h:126
AppDetails & WithCreationTime(CreationTimeT &&value)
Definition AppDetails.h:121
void SetDomainId(DomainIdT &&value)
Definition AppDetails.h:51
void SetSpaceName(SpaceNameT &&value)
Definition AppDetails.h:75
AWS_SAGEMAKER_API AppDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceSpec(ResourceSpecT &&value)
Definition AppDetails.h:129
const Aws::String & GetDomainId() const
Definition AppDetails.h:48
void SetAppType(AppType value)
Definition AppDetails.h:86
const Aws::String & GetSpaceName() const
Definition AppDetails.h:72
AppDetails & WithAppName(AppNameT &&value)
Definition AppDetails.h:99
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AppDetails()=default
void SetCreationTime(CreationTimeT &&value)
Definition AppDetails.h:119
const Aws::String & GetAppName() const
Definition AppDetails.h:94
AppDetails & WithDomainId(DomainIdT &&value)
Definition AppDetails.h:53
const Aws::Utils::DateTime & GetCreationTime() const
Definition AppDetails.h:116
AppDetails & WithUserProfileName(UserProfileNameT &&value)
Definition AppDetails.h:65
void SetUserProfileName(UserProfileNameT &&value)
Definition AppDetails.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue