AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeSpaceResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/OwnershipSettings.h>
12#include <aws/sagemaker/model/SpaceSettings.h>
13#include <aws/sagemaker/model/SpaceSharingSettings.h>
14#include <aws/sagemaker/model/SpaceStatus.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker {
28namespace Model {
30 public:
31 AWS_SAGEMAKER_API DescribeSpaceResult() = default;
34
36
39 inline const Aws::String& GetDomainId() const { return m_domainId; }
40 template <typename DomainIdT = Aws::String>
41 void SetDomainId(DomainIdT&& value) {
42 m_domainIdHasBeenSet = true;
43 m_domainId = std::forward<DomainIdT>(value);
44 }
45 template <typename DomainIdT = Aws::String>
46 DescribeSpaceResult& WithDomainId(DomainIdT&& value) {
47 SetDomainId(std::forward<DomainIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetSpaceArn() const { return m_spaceArn; }
57 template <typename SpaceArnT = Aws::String>
58 void SetSpaceArn(SpaceArnT&& value) {
59 m_spaceArnHasBeenSet = true;
60 m_spaceArn = std::forward<SpaceArnT>(value);
61 }
62 template <typename SpaceArnT = Aws::String>
63 DescribeSpaceResult& WithSpaceArn(SpaceArnT&& value) {
64 SetSpaceArn(std::forward<SpaceArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
74 template <typename SpaceNameT = Aws::String>
75 void SetSpaceName(SpaceNameT&& value) {
76 m_spaceNameHasBeenSet = true;
77 m_spaceName = std::forward<SpaceNameT>(value);
78 }
79 template <typename SpaceNameT = Aws::String>
80 DescribeSpaceResult& WithSpaceName(SpaceNameT&& value) {
81 SetSpaceName(std::forward<SpaceNameT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetHomeEfsFileSystemUid() const { return m_homeEfsFileSystemUid; }
91 template <typename HomeEfsFileSystemUidT = Aws::String>
92 void SetHomeEfsFileSystemUid(HomeEfsFileSystemUidT&& value) {
93 m_homeEfsFileSystemUidHasBeenSet = true;
94 m_homeEfsFileSystemUid = std::forward<HomeEfsFileSystemUidT>(value);
95 }
96 template <typename HomeEfsFileSystemUidT = Aws::String>
97 DescribeSpaceResult& WithHomeEfsFileSystemUid(HomeEfsFileSystemUidT&& value) {
98 SetHomeEfsFileSystemUid(std::forward<HomeEfsFileSystemUidT>(value));
99 return *this;
100 }
102
104
107 inline SpaceStatus GetStatus() const { return m_status; }
108 inline void SetStatus(SpaceStatus value) {
109 m_statusHasBeenSet = true;
110 m_status = value;
111 }
113 SetStatus(value);
114 return *this;
115 }
117
119
122 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
123 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
124 void SetLastModifiedTime(LastModifiedTimeT&& value) {
125 m_lastModifiedTimeHasBeenSet = true;
126 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
127 }
128 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
129 DescribeSpaceResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
130 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
140 template <typename CreationTimeT = Aws::Utils::DateTime>
141 void SetCreationTime(CreationTimeT&& value) {
142 m_creationTimeHasBeenSet = true;
143 m_creationTime = std::forward<CreationTimeT>(value);
144 }
145 template <typename CreationTimeT = Aws::Utils::DateTime>
146 DescribeSpaceResult& WithCreationTime(CreationTimeT&& value) {
147 SetCreationTime(std::forward<CreationTimeT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
157 template <typename FailureReasonT = Aws::String>
158 void SetFailureReason(FailureReasonT&& value) {
159 m_failureReasonHasBeenSet = true;
160 m_failureReason = std::forward<FailureReasonT>(value);
161 }
162 template <typename FailureReasonT = Aws::String>
163 DescribeSpaceResult& WithFailureReason(FailureReasonT&& value) {
164 SetFailureReason(std::forward<FailureReasonT>(value));
165 return *this;
166 }
168
170
173 inline const SpaceSettings& GetSpaceSettings() const { return m_spaceSettings; }
174 template <typename SpaceSettingsT = SpaceSettings>
175 void SetSpaceSettings(SpaceSettingsT&& value) {
176 m_spaceSettingsHasBeenSet = true;
177 m_spaceSettings = std::forward<SpaceSettingsT>(value);
178 }
179 template <typename SpaceSettingsT = SpaceSettings>
180 DescribeSpaceResult& WithSpaceSettings(SpaceSettingsT&& value) {
181 SetSpaceSettings(std::forward<SpaceSettingsT>(value));
182 return *this;
183 }
185
187
190 inline const OwnershipSettings& GetOwnershipSettings() const { return m_ownershipSettings; }
191 template <typename OwnershipSettingsT = OwnershipSettings>
192 void SetOwnershipSettings(OwnershipSettingsT&& value) {
193 m_ownershipSettingsHasBeenSet = true;
194 m_ownershipSettings = std::forward<OwnershipSettingsT>(value);
195 }
196 template <typename OwnershipSettingsT = OwnershipSettings>
197 DescribeSpaceResult& WithOwnershipSettings(OwnershipSettingsT&& value) {
198 SetOwnershipSettings(std::forward<OwnershipSettingsT>(value));
199 return *this;
200 }
202
204
207 inline const SpaceSharingSettings& GetSpaceSharingSettings() const { return m_spaceSharingSettings; }
208 template <typename SpaceSharingSettingsT = SpaceSharingSettings>
209 void SetSpaceSharingSettings(SpaceSharingSettingsT&& value) {
210 m_spaceSharingSettingsHasBeenSet = true;
211 m_spaceSharingSettings = std::forward<SpaceSharingSettingsT>(value);
212 }
213 template <typename SpaceSharingSettingsT = SpaceSharingSettings>
214 DescribeSpaceResult& WithSpaceSharingSettings(SpaceSharingSettingsT&& value) {
215 SetSpaceSharingSettings(std::forward<SpaceSharingSettingsT>(value));
216 return *this;
217 }
219
221
224 inline const Aws::String& GetSpaceDisplayName() const { return m_spaceDisplayName; }
225 template <typename SpaceDisplayNameT = Aws::String>
226 void SetSpaceDisplayName(SpaceDisplayNameT&& value) {
227 m_spaceDisplayNameHasBeenSet = true;
228 m_spaceDisplayName = std::forward<SpaceDisplayNameT>(value);
229 }
230 template <typename SpaceDisplayNameT = Aws::String>
231 DescribeSpaceResult& WithSpaceDisplayName(SpaceDisplayNameT&& value) {
232 SetSpaceDisplayName(std::forward<SpaceDisplayNameT>(value));
233 return *this;
234 }
236
238
250 inline const Aws::String& GetUrl() const { return m_url; }
251 template <typename UrlT = Aws::String>
252 void SetUrl(UrlT&& value) {
253 m_urlHasBeenSet = true;
254 m_url = std::forward<UrlT>(value);
255 }
256 template <typename UrlT = Aws::String>
258 SetUrl(std::forward<UrlT>(value));
259 return *this;
260 }
262
264
265 inline const Aws::String& GetRequestId() const { return m_requestId; }
266 template <typename RequestIdT = Aws::String>
267 void SetRequestId(RequestIdT&& value) {
268 m_requestIdHasBeenSet = true;
269 m_requestId = std::forward<RequestIdT>(value);
270 }
271 template <typename RequestIdT = Aws::String>
272 DescribeSpaceResult& WithRequestId(RequestIdT&& value) {
273 SetRequestId(std::forward<RequestIdT>(value));
274 return *this;
275 }
277 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
278
279 private:
280 Aws::String m_domainId;
281
282 Aws::String m_spaceArn;
283
284 Aws::String m_spaceName;
285
286 Aws::String m_homeEfsFileSystemUid;
287
289
290 Aws::Utils::DateTime m_lastModifiedTime{};
291
292 Aws::Utils::DateTime m_creationTime{};
293
294 Aws::String m_failureReason;
295
296 SpaceSettings m_spaceSettings;
297
298 OwnershipSettings m_ownershipSettings;
299
300 SpaceSharingSettings m_spaceSharingSettings;
301
302 Aws::String m_spaceDisplayName;
303
304 Aws::String m_url;
305
306 Aws::String m_requestId;
307 Aws::Http::HttpResponseCode m_HttpResponseCode;
308 bool m_domainIdHasBeenSet = false;
309 bool m_spaceArnHasBeenSet = false;
310 bool m_spaceNameHasBeenSet = false;
311 bool m_homeEfsFileSystemUidHasBeenSet = false;
312 bool m_statusHasBeenSet = false;
313 bool m_lastModifiedTimeHasBeenSet = false;
314 bool m_creationTimeHasBeenSet = false;
315 bool m_failureReasonHasBeenSet = false;
316 bool m_spaceSettingsHasBeenSet = false;
317 bool m_ownershipSettingsHasBeenSet = false;
318 bool m_spaceSharingSettingsHasBeenSet = false;
319 bool m_spaceDisplayNameHasBeenSet = false;
320 bool m_urlHasBeenSet = false;
321 bool m_requestIdHasBeenSet = false;
322};
323
324} // namespace Model
325} // namespace SageMaker
326} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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