AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeSpaceResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/OwnershipSettings.h>
11#include <aws/sagemaker/model/SpaceSettings.h>
12#include <aws/sagemaker/model/SpaceSharingSettings.h>
13#include <aws/sagemaker/model/SpaceStatus.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker {
27namespace Model {
29 public:
30 AWS_SAGEMAKER_API DescribeSpaceResult() = default;
33
35
38 inline const Aws::String& GetDomainId() const { return m_domainId; }
39 template <typename DomainIdT = Aws::String>
40 void SetDomainId(DomainIdT&& value) {
41 m_domainIdHasBeenSet = true;
42 m_domainId = std::forward<DomainIdT>(value);
43 }
44 template <typename DomainIdT = Aws::String>
45 DescribeSpaceResult& WithDomainId(DomainIdT&& value) {
46 SetDomainId(std::forward<DomainIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetSpaceArn() const { return m_spaceArn; }
56 template <typename SpaceArnT = Aws::String>
57 void SetSpaceArn(SpaceArnT&& value) {
58 m_spaceArnHasBeenSet = true;
59 m_spaceArn = std::forward<SpaceArnT>(value);
60 }
61 template <typename SpaceArnT = Aws::String>
62 DescribeSpaceResult& WithSpaceArn(SpaceArnT&& value) {
63 SetSpaceArn(std::forward<SpaceArnT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
73 template <typename SpaceNameT = Aws::String>
74 void SetSpaceName(SpaceNameT&& value) {
75 m_spaceNameHasBeenSet = true;
76 m_spaceName = std::forward<SpaceNameT>(value);
77 }
78 template <typename SpaceNameT = Aws::String>
79 DescribeSpaceResult& WithSpaceName(SpaceNameT&& value) {
80 SetSpaceName(std::forward<SpaceNameT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetHomeEfsFileSystemUid() const { return m_homeEfsFileSystemUid; }
90 template <typename HomeEfsFileSystemUidT = Aws::String>
91 void SetHomeEfsFileSystemUid(HomeEfsFileSystemUidT&& value) {
92 m_homeEfsFileSystemUidHasBeenSet = true;
93 m_homeEfsFileSystemUid = std::forward<HomeEfsFileSystemUidT>(value);
94 }
95 template <typename HomeEfsFileSystemUidT = Aws::String>
96 DescribeSpaceResult& WithHomeEfsFileSystemUid(HomeEfsFileSystemUidT&& value) {
97 SetHomeEfsFileSystemUid(std::forward<HomeEfsFileSystemUidT>(value));
98 return *this;
99 }
101
103
106 inline SpaceStatus GetStatus() const { return m_status; }
107 inline void SetStatus(SpaceStatus value) {
108 m_statusHasBeenSet = true;
109 m_status = value;
110 }
112 SetStatus(value);
113 return *this;
114 }
116
118
121 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
122 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
123 void SetLastModifiedTime(LastModifiedTimeT&& value) {
124 m_lastModifiedTimeHasBeenSet = true;
125 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
126 }
127 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
128 DescribeSpaceResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
129 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
139 template <typename CreationTimeT = Aws::Utils::DateTime>
140 void SetCreationTime(CreationTimeT&& value) {
141 m_creationTimeHasBeenSet = true;
142 m_creationTime = std::forward<CreationTimeT>(value);
143 }
144 template <typename CreationTimeT = Aws::Utils::DateTime>
145 DescribeSpaceResult& WithCreationTime(CreationTimeT&& value) {
146 SetCreationTime(std::forward<CreationTimeT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
156 template <typename FailureReasonT = Aws::String>
157 void SetFailureReason(FailureReasonT&& value) {
158 m_failureReasonHasBeenSet = true;
159 m_failureReason = std::forward<FailureReasonT>(value);
160 }
161 template <typename FailureReasonT = Aws::String>
162 DescribeSpaceResult& WithFailureReason(FailureReasonT&& value) {
163 SetFailureReason(std::forward<FailureReasonT>(value));
164 return *this;
165 }
167
169
172 inline const SpaceSettings& GetSpaceSettings() const { return m_spaceSettings; }
173 template <typename SpaceSettingsT = SpaceSettings>
174 void SetSpaceSettings(SpaceSettingsT&& value) {
175 m_spaceSettingsHasBeenSet = true;
176 m_spaceSettings = std::forward<SpaceSettingsT>(value);
177 }
178 template <typename SpaceSettingsT = SpaceSettings>
179 DescribeSpaceResult& WithSpaceSettings(SpaceSettingsT&& value) {
180 SetSpaceSettings(std::forward<SpaceSettingsT>(value));
181 return *this;
182 }
184
186
189 inline const OwnershipSettings& GetOwnershipSettings() const { return m_ownershipSettings; }
190 template <typename OwnershipSettingsT = OwnershipSettings>
191 void SetOwnershipSettings(OwnershipSettingsT&& value) {
192 m_ownershipSettingsHasBeenSet = true;
193 m_ownershipSettings = std::forward<OwnershipSettingsT>(value);
194 }
195 template <typename OwnershipSettingsT = OwnershipSettings>
196 DescribeSpaceResult& WithOwnershipSettings(OwnershipSettingsT&& value) {
197 SetOwnershipSettings(std::forward<OwnershipSettingsT>(value));
198 return *this;
199 }
201
203
206 inline const SpaceSharingSettings& GetSpaceSharingSettings() const { return m_spaceSharingSettings; }
207 template <typename SpaceSharingSettingsT = SpaceSharingSettings>
208 void SetSpaceSharingSettings(SpaceSharingSettingsT&& value) {
209 m_spaceSharingSettingsHasBeenSet = true;
210 m_spaceSharingSettings = std::forward<SpaceSharingSettingsT>(value);
211 }
212 template <typename SpaceSharingSettingsT = SpaceSharingSettings>
213 DescribeSpaceResult& WithSpaceSharingSettings(SpaceSharingSettingsT&& value) {
214 SetSpaceSharingSettings(std::forward<SpaceSharingSettingsT>(value));
215 return *this;
216 }
218
220
223 inline const Aws::String& GetSpaceDisplayName() const { return m_spaceDisplayName; }
224 template <typename SpaceDisplayNameT = Aws::String>
225 void SetSpaceDisplayName(SpaceDisplayNameT&& value) {
226 m_spaceDisplayNameHasBeenSet = true;
227 m_spaceDisplayName = std::forward<SpaceDisplayNameT>(value);
228 }
229 template <typename SpaceDisplayNameT = Aws::String>
230 DescribeSpaceResult& WithSpaceDisplayName(SpaceDisplayNameT&& value) {
231 SetSpaceDisplayName(std::forward<SpaceDisplayNameT>(value));
232 return *this;
233 }
235
237
249 inline const Aws::String& GetUrl() const { return m_url; }
250 template <typename UrlT = Aws::String>
251 void SetUrl(UrlT&& value) {
252 m_urlHasBeenSet = true;
253 m_url = std::forward<UrlT>(value);
254 }
255 template <typename UrlT = Aws::String>
257 SetUrl(std::forward<UrlT>(value));
258 return *this;
259 }
261
263
264 inline const Aws::String& GetRequestId() const { return m_requestId; }
265 template <typename RequestIdT = Aws::String>
266 void SetRequestId(RequestIdT&& value) {
267 m_requestIdHasBeenSet = true;
268 m_requestId = std::forward<RequestIdT>(value);
269 }
270 template <typename RequestIdT = Aws::String>
271 DescribeSpaceResult& WithRequestId(RequestIdT&& value) {
272 SetRequestId(std::forward<RequestIdT>(value));
273 return *this;
274 }
276 private:
277 Aws::String m_domainId;
278
279 Aws::String m_spaceArn;
280
281 Aws::String m_spaceName;
282
283 Aws::String m_homeEfsFileSystemUid;
284
286
287 Aws::Utils::DateTime m_lastModifiedTime{};
288
289 Aws::Utils::DateTime m_creationTime{};
290
291 Aws::String m_failureReason;
292
293 SpaceSettings m_spaceSettings;
294
295 OwnershipSettings m_ownershipSettings;
296
297 SpaceSharingSettings m_spaceSharingSettings;
298
299 Aws::String m_spaceDisplayName;
300
301 Aws::String m_url;
302
303 Aws::String m_requestId;
304 bool m_domainIdHasBeenSet = false;
305 bool m_spaceArnHasBeenSet = false;
306 bool m_spaceNameHasBeenSet = false;
307 bool m_homeEfsFileSystemUidHasBeenSet = false;
308 bool m_statusHasBeenSet = false;
309 bool m_lastModifiedTimeHasBeenSet = false;
310 bool m_creationTimeHasBeenSet = false;
311 bool m_failureReasonHasBeenSet = false;
312 bool m_spaceSettingsHasBeenSet = false;
313 bool m_ownershipSettingsHasBeenSet = false;
314 bool m_spaceSharingSettingsHasBeenSet = false;
315 bool m_spaceDisplayNameHasBeenSet = false;
316 bool m_urlHasBeenSet = false;
317 bool m_requestIdHasBeenSet = false;
318};
319
320} // namespace Model
321} // namespace SageMaker
322} // namespace Aws
DescribeSpaceResult & WithFailureReason(FailureReasonT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_SAGEMAKER_API DescribeSpaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const SpaceSettings & GetSpaceSettings() const
AWS_SAGEMAKER_API DescribeSpaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeSpaceResult & WithSpaceSettings(SpaceSettingsT &&value)
const OwnershipSettings & GetOwnershipSettings() const
DescribeSpaceResult & WithHomeEfsFileSystemUid(HomeEfsFileSystemUidT &&value)
DescribeSpaceResult & WithSpaceName(SpaceNameT &&value)
DescribeSpaceResult & WithStatus(SpaceStatus value)
void SetSpaceSharingSettings(SpaceSharingSettingsT &&value)
void SetSpaceDisplayName(SpaceDisplayNameT &&value)
DescribeSpaceResult & WithOwnershipSettings(OwnershipSettingsT &&value)
DescribeSpaceResult & WithCreationTime(CreationTimeT &&value)
void SetHomeEfsFileSystemUid(HomeEfsFileSystemUidT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
DescribeSpaceResult & WithSpaceSharingSettings(SpaceSharingSettingsT &&value)
DescribeSpaceResult & WithRequestId(RequestIdT &&value)
AWS_SAGEMAKER_API DescribeSpaceResult()=default
DescribeSpaceResult & WithSpaceArn(SpaceArnT &&value)
DescribeSpaceResult & WithUrl(UrlT &&value)
void SetOwnershipSettings(OwnershipSettingsT &&value)
const SpaceSharingSettings & GetSpaceSharingSettings() const
const Aws::String & GetHomeEfsFileSystemUid() const
DescribeSpaceResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeSpaceResult & WithDomainId(DomainIdT &&value)
DescribeSpaceResult & WithSpaceDisplayName(SpaceDisplayNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue