AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SpaceDetails.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/SpaceSettingsSummary.h>
12#include <aws/sagemaker/model/SpaceSharingSettingsSummary.h>
13#include <aws/sagemaker/model/OwnershipSettingsSummary.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_SAGEMAKER_API SpaceDetails();
40 AWS_SAGEMAKER_API SpaceDetails(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKER_API SpaceDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetDomainId() const{ return m_domainId; }
50 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
51 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
52 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
53 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
54 inline SpaceDetails& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
55 inline SpaceDetails& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
56 inline SpaceDetails& WithDomainId(const char* value) { SetDomainId(value); return *this;}
58
60
63 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
64 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
65 inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; }
66 inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); }
67 inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); }
68 inline SpaceDetails& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
69 inline SpaceDetails& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
70 inline SpaceDetails& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
72
74
77 inline const SpaceStatus& GetStatus() const{ return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(const SpaceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
80 inline void SetStatus(SpaceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
81 inline SpaceDetails& WithStatus(const SpaceStatus& value) { SetStatus(value); return *this;}
82 inline SpaceDetails& WithStatus(SpaceStatus&& value) { SetStatus(std::move(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
90 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
91 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
92 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
93 inline SpaceDetails& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
94 inline SpaceDetails& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
102 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
103 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
104 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
105 inline SpaceDetails& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
106 inline SpaceDetails& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
108
110
113 inline const SpaceSettingsSummary& GetSpaceSettingsSummary() const{ return m_spaceSettingsSummary; }
114 inline bool SpaceSettingsSummaryHasBeenSet() const { return m_spaceSettingsSummaryHasBeenSet; }
115 inline void SetSpaceSettingsSummary(const SpaceSettingsSummary& value) { m_spaceSettingsSummaryHasBeenSet = true; m_spaceSettingsSummary = value; }
116 inline void SetSpaceSettingsSummary(SpaceSettingsSummary&& value) { m_spaceSettingsSummaryHasBeenSet = true; m_spaceSettingsSummary = std::move(value); }
118 inline SpaceDetails& WithSpaceSettingsSummary(SpaceSettingsSummary&& value) { SetSpaceSettingsSummary(std::move(value)); return *this;}
120
122
125 inline const SpaceSharingSettingsSummary& GetSpaceSharingSettingsSummary() const{ return m_spaceSharingSettingsSummary; }
126 inline bool SpaceSharingSettingsSummaryHasBeenSet() const { return m_spaceSharingSettingsSummaryHasBeenSet; }
127 inline void SetSpaceSharingSettingsSummary(const SpaceSharingSettingsSummary& value) { m_spaceSharingSettingsSummaryHasBeenSet = true; m_spaceSharingSettingsSummary = value; }
128 inline void SetSpaceSharingSettingsSummary(SpaceSharingSettingsSummary&& value) { m_spaceSharingSettingsSummaryHasBeenSet = true; m_spaceSharingSettingsSummary = std::move(value); }
132
134
137 inline const OwnershipSettingsSummary& GetOwnershipSettingsSummary() const{ return m_ownershipSettingsSummary; }
138 inline bool OwnershipSettingsSummaryHasBeenSet() const { return m_ownershipSettingsSummaryHasBeenSet; }
139 inline void SetOwnershipSettingsSummary(const OwnershipSettingsSummary& value) { m_ownershipSettingsSummaryHasBeenSet = true; m_ownershipSettingsSummary = value; }
140 inline void SetOwnershipSettingsSummary(OwnershipSettingsSummary&& value) { m_ownershipSettingsSummaryHasBeenSet = true; m_ownershipSettingsSummary = std::move(value); }
144
146
149 inline const Aws::String& GetSpaceDisplayName() const{ return m_spaceDisplayName; }
150 inline bool SpaceDisplayNameHasBeenSet() const { return m_spaceDisplayNameHasBeenSet; }
151 inline void SetSpaceDisplayName(const Aws::String& value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName = value; }
152 inline void SetSpaceDisplayName(Aws::String&& value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName = std::move(value); }
153 inline void SetSpaceDisplayName(const char* value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName.assign(value); }
154 inline SpaceDetails& WithSpaceDisplayName(const Aws::String& value) { SetSpaceDisplayName(value); return *this;}
155 inline SpaceDetails& WithSpaceDisplayName(Aws::String&& value) { SetSpaceDisplayName(std::move(value)); return *this;}
156 inline SpaceDetails& WithSpaceDisplayName(const char* value) { SetSpaceDisplayName(value); return *this;}
158 private:
159
160 Aws::String m_domainId;
161 bool m_domainIdHasBeenSet = false;
162
163 Aws::String m_spaceName;
164 bool m_spaceNameHasBeenSet = false;
165
166 SpaceStatus m_status;
167 bool m_statusHasBeenSet = false;
168
169 Aws::Utils::DateTime m_creationTime;
170 bool m_creationTimeHasBeenSet = false;
171
172 Aws::Utils::DateTime m_lastModifiedTime;
173 bool m_lastModifiedTimeHasBeenSet = false;
174
175 SpaceSettingsSummary m_spaceSettingsSummary;
176 bool m_spaceSettingsSummaryHasBeenSet = false;
177
178 SpaceSharingSettingsSummary m_spaceSharingSettingsSummary;
179 bool m_spaceSharingSettingsSummaryHasBeenSet = false;
180
181 OwnershipSettingsSummary m_ownershipSettingsSummary;
182 bool m_ownershipSettingsSummaryHasBeenSet = false;
183
184 Aws::String m_spaceDisplayName;
185 bool m_spaceDisplayNameHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace SageMaker
190} // namespace Aws
void SetSpaceDisplayName(Aws::String &&value)
SpaceDetails & WithSpaceSharingSettingsSummary(const SpaceSharingSettingsSummary &value)
const Aws::String & GetSpaceName() const
void SetOwnershipSettingsSummary(OwnershipSettingsSummary &&value)
void SetStatus(SpaceStatus &&value)
const SpaceStatus & GetStatus() const
SpaceDetails & WithLastModifiedTime(const Aws::Utils::DateTime &value)
SpaceDetails & WithSpaceName(const Aws::String &value)
SpaceDetails & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetDomainId(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetDomainId(const char *value)
void SetDomainId(const Aws::String &value)
SpaceDetails & WithCreationTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetSpaceSharingSettingsSummary(SpaceSharingSettingsSummary &&value)
void SetSpaceName(const Aws::String &value)
SpaceDetails & WithSpaceDisplayName(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetSpaceSettingsSummary(SpaceSettingsSummary &&value)
SpaceDetails & WithSpaceSettingsSummary(const SpaceSettingsSummary &value)
const OwnershipSettingsSummary & GetOwnershipSettingsSummary() const
SpaceDetails & WithOwnershipSettingsSummary(const OwnershipSettingsSummary &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSpaceSettingsSummary(const SpaceSettingsSummary &value)
SpaceDetails & WithSpaceSettingsSummary(SpaceSettingsSummary &&value)
AWS_SAGEMAKER_API SpaceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const SpaceSharingSettingsSummary & GetSpaceSharingSettingsSummary() const
SpaceDetails & WithSpaceSharingSettingsSummary(SpaceSharingSettingsSummary &&value)
const Aws::String & GetSpaceDisplayName() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetStatus(const SpaceStatus &value)
SpaceDetails & WithDomainId(const Aws::String &value)
void SetSpaceName(Aws::String &&value)
SpaceDetails & WithSpaceName(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetDomainId() const
SpaceDetails & WithSpaceDisplayName(Aws::String &&value)
void SetSpaceName(const char *value)
const SpaceSettingsSummary & GetSpaceSettingsSummary() const
SpaceDetails & WithStatus(const SpaceStatus &value)
SpaceDetails & WithDomainId(const char *value)
void SetSpaceSharingSettingsSummary(const SpaceSharingSettingsSummary &value)
AWS_SAGEMAKER_API SpaceDetails(Aws::Utils::Json::JsonView jsonValue)
SpaceDetails & WithDomainId(Aws::String &&value)
void SetSpaceDisplayName(const char *value)
void SetSpaceDisplayName(const Aws::String &value)
SpaceDetails & WithStatus(SpaceStatus &&value)
SpaceDetails & WithSpaceName(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetOwnershipSettingsSummary(const OwnershipSettingsSummary &value)
SpaceDetails & WithSpaceDisplayName(const char *value)
SpaceDetails & WithOwnershipSettingsSummary(OwnershipSettingsSummary &&value)
SpaceDetails & WithCreationTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue