AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeSpaceResult.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/SpaceStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/SpaceSettings.h>
12#include <aws/sagemaker/model/OwnershipSettings.h>
13#include <aws/sagemaker/model/SpaceSharingSettings.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace SageMaker
29{
30namespace Model
31{
33 {
34 public:
35 AWS_SAGEMAKER_API DescribeSpaceResult() = default;
38
39
41
44 inline const Aws::String& GetDomainId() const { return m_domainId; }
45 template<typename DomainIdT = Aws::String>
46 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
47 template<typename DomainIdT = Aws::String>
48 DescribeSpaceResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetSpaceArn() const { return m_spaceArn; }
56 template<typename SpaceArnT = Aws::String>
57 void SetSpaceArn(SpaceArnT&& value) { m_spaceArnHasBeenSet = true; m_spaceArn = std::forward<SpaceArnT>(value); }
58 template<typename SpaceArnT = Aws::String>
59 DescribeSpaceResult& WithSpaceArn(SpaceArnT&& value) { SetSpaceArn(std::forward<SpaceArnT>(value)); return *this;}
61
63
66 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
67 template<typename SpaceNameT = Aws::String>
68 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::forward<SpaceNameT>(value); }
69 template<typename SpaceNameT = Aws::String>
70 DescribeSpaceResult& WithSpaceName(SpaceNameT&& value) { SetSpaceName(std::forward<SpaceNameT>(value)); return *this;}
72
74
77 inline const Aws::String& GetHomeEfsFileSystemUid() const { return m_homeEfsFileSystemUid; }
78 template<typename HomeEfsFileSystemUidT = Aws::String>
79 void SetHomeEfsFileSystemUid(HomeEfsFileSystemUidT&& value) { m_homeEfsFileSystemUidHasBeenSet = true; m_homeEfsFileSystemUid = std::forward<HomeEfsFileSystemUidT>(value); }
80 template<typename HomeEfsFileSystemUidT = Aws::String>
81 DescribeSpaceResult& WithHomeEfsFileSystemUid(HomeEfsFileSystemUidT&& value) { SetHomeEfsFileSystemUid(std::forward<HomeEfsFileSystemUidT>(value)); return *this;}
83
85
88 inline SpaceStatus GetStatus() const { return m_status; }
89 inline void SetStatus(SpaceStatus value) { m_statusHasBeenSet = true; m_status = value; }
90 inline DescribeSpaceResult& WithStatus(SpaceStatus value) { SetStatus(value); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
98 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
99 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
100 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
101 DescribeSpaceResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
109 template<typename CreationTimeT = Aws::Utils::DateTime>
110 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
111 template<typename CreationTimeT = Aws::Utils::DateTime>
112 DescribeSpaceResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
114
116
119 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
120 template<typename FailureReasonT = Aws::String>
121 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
122 template<typename FailureReasonT = Aws::String>
123 DescribeSpaceResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
125
127
130 inline const SpaceSettings& GetSpaceSettings() const { return m_spaceSettings; }
131 template<typename SpaceSettingsT = SpaceSettings>
132 void SetSpaceSettings(SpaceSettingsT&& value) { m_spaceSettingsHasBeenSet = true; m_spaceSettings = std::forward<SpaceSettingsT>(value); }
133 template<typename SpaceSettingsT = SpaceSettings>
134 DescribeSpaceResult& WithSpaceSettings(SpaceSettingsT&& value) { SetSpaceSettings(std::forward<SpaceSettingsT>(value)); return *this;}
136
138
141 inline const OwnershipSettings& GetOwnershipSettings() const { return m_ownershipSettings; }
142 template<typename OwnershipSettingsT = OwnershipSettings>
143 void SetOwnershipSettings(OwnershipSettingsT&& value) { m_ownershipSettingsHasBeenSet = true; m_ownershipSettings = std::forward<OwnershipSettingsT>(value); }
144 template<typename OwnershipSettingsT = OwnershipSettings>
145 DescribeSpaceResult& WithOwnershipSettings(OwnershipSettingsT&& value) { SetOwnershipSettings(std::forward<OwnershipSettingsT>(value)); return *this;}
147
149
152 inline const SpaceSharingSettings& GetSpaceSharingSettings() const { return m_spaceSharingSettings; }
153 template<typename SpaceSharingSettingsT = SpaceSharingSettings>
154 void SetSpaceSharingSettings(SpaceSharingSettingsT&& value) { m_spaceSharingSettingsHasBeenSet = true; m_spaceSharingSettings = std::forward<SpaceSharingSettingsT>(value); }
155 template<typename SpaceSharingSettingsT = SpaceSharingSettings>
156 DescribeSpaceResult& WithSpaceSharingSettings(SpaceSharingSettingsT&& value) { SetSpaceSharingSettings(std::forward<SpaceSharingSettingsT>(value)); return *this;}
158
160
163 inline const Aws::String& GetSpaceDisplayName() const { return m_spaceDisplayName; }
164 template<typename SpaceDisplayNameT = Aws::String>
165 void SetSpaceDisplayName(SpaceDisplayNameT&& value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName = std::forward<SpaceDisplayNameT>(value); }
166 template<typename SpaceDisplayNameT = Aws::String>
167 DescribeSpaceResult& WithSpaceDisplayName(SpaceDisplayNameT&& value) { SetSpaceDisplayName(std::forward<SpaceDisplayNameT>(value)); return *this;}
169
171
183 inline const Aws::String& GetUrl() const { return m_url; }
184 template<typename UrlT = Aws::String>
185 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
186 template<typename UrlT = Aws::String>
187 DescribeSpaceResult& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
189
191
192 inline const Aws::String& GetRequestId() const { return m_requestId; }
193 template<typename RequestIdT = Aws::String>
194 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
195 template<typename RequestIdT = Aws::String>
196 DescribeSpaceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
198 private:
199
200 Aws::String m_domainId;
201 bool m_domainIdHasBeenSet = false;
202
203 Aws::String m_spaceArn;
204 bool m_spaceArnHasBeenSet = false;
205
206 Aws::String m_spaceName;
207 bool m_spaceNameHasBeenSet = false;
208
209 Aws::String m_homeEfsFileSystemUid;
210 bool m_homeEfsFileSystemUidHasBeenSet = false;
211
213 bool m_statusHasBeenSet = false;
214
215 Aws::Utils::DateTime m_lastModifiedTime{};
216 bool m_lastModifiedTimeHasBeenSet = false;
217
218 Aws::Utils::DateTime m_creationTime{};
219 bool m_creationTimeHasBeenSet = false;
220
221 Aws::String m_failureReason;
222 bool m_failureReasonHasBeenSet = false;
223
224 SpaceSettings m_spaceSettings;
225 bool m_spaceSettingsHasBeenSet = false;
226
227 OwnershipSettings m_ownershipSettings;
228 bool m_ownershipSettingsHasBeenSet = false;
229
230 SpaceSharingSettings m_spaceSharingSettings;
231 bool m_spaceSharingSettingsHasBeenSet = false;
232
233 Aws::String m_spaceDisplayName;
234 bool m_spaceDisplayNameHasBeenSet = false;
235
236 Aws::String m_url;
237 bool m_urlHasBeenSet = false;
238
239 Aws::String m_requestId;
240 bool m_requestIdHasBeenSet = false;
241 };
242
243} // namespace Model
244} // namespace SageMaker
245} // 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