AWS SDK for C++

AWS SDK for C++ Version 1.11.813

Loading...
Searching...
No Matches
UpdateDomainRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/AppNetworkAccessType.h>
12#include <aws/sagemaker/model/AppSecurityGroupManagement.h>
13#include <aws/sagemaker/model/DefaultSpaceSettings.h>
14#include <aws/sagemaker/model/DomainSettingsForUpdate.h>
15#include <aws/sagemaker/model/HomeEfsFileSystemCreation.h>
16#include <aws/sagemaker/model/TagPropagation.h>
17#include <aws/sagemaker/model/UserSettings.h>
18
19#include <utility>
20
21namespace Aws {
22namespace SageMaker {
23namespace Model {
24
28 public:
29 AWS_SAGEMAKER_API UpdateDomainRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomain"; }
36
37 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
38
40
42
45 inline const Aws::String& GetDomainId() const { return m_domainId; }
46 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
47 template <typename DomainIdT = Aws::String>
48 void SetDomainId(DomainIdT&& value) {
49 m_domainIdHasBeenSet = true;
50 m_domainId = std::forward<DomainIdT>(value);
51 }
52 template <typename DomainIdT = Aws::String>
53 UpdateDomainRequest& WithDomainId(DomainIdT&& value) {
54 SetDomainId(std::forward<DomainIdT>(value));
55 return *this;
56 }
58
60
63 inline const UserSettings& GetDefaultUserSettings() const { return m_defaultUserSettings; }
64 inline bool DefaultUserSettingsHasBeenSet() const { return m_defaultUserSettingsHasBeenSet; }
65 template <typename DefaultUserSettingsT = UserSettings>
66 void SetDefaultUserSettings(DefaultUserSettingsT&& value) {
67 m_defaultUserSettingsHasBeenSet = true;
68 m_defaultUserSettings = std::forward<DefaultUserSettingsT>(value);
69 }
70 template <typename DefaultUserSettingsT = UserSettings>
71 UpdateDomainRequest& WithDefaultUserSettings(DefaultUserSettingsT&& value) {
72 SetDefaultUserSettings(std::forward<DefaultUserSettingsT>(value));
73 return *this;
74 }
76
78
82 inline const DomainSettingsForUpdate& GetDomainSettingsForUpdate() const { return m_domainSettingsForUpdate; }
83 inline bool DomainSettingsForUpdateHasBeenSet() const { return m_domainSettingsForUpdateHasBeenSet; }
84 template <typename DomainSettingsForUpdateT = DomainSettingsForUpdate>
85 void SetDomainSettingsForUpdate(DomainSettingsForUpdateT&& value) {
86 m_domainSettingsForUpdateHasBeenSet = true;
87 m_domainSettingsForUpdate = std::forward<DomainSettingsForUpdateT>(value);
88 }
89 template <typename DomainSettingsForUpdateT = DomainSettingsForUpdate>
90 UpdateDomainRequest& WithDomainSettingsForUpdate(DomainSettingsForUpdateT&& value) {
91 SetDomainSettingsForUpdate(std::forward<DomainSettingsForUpdateT>(value));
92 return *this;
93 }
95
97
105 inline AppSecurityGroupManagement GetAppSecurityGroupManagement() const { return m_appSecurityGroupManagement; }
106 inline bool AppSecurityGroupManagementHasBeenSet() const { return m_appSecurityGroupManagementHasBeenSet; }
108 m_appSecurityGroupManagementHasBeenSet = true;
109 m_appSecurityGroupManagement = value;
110 }
113 return *this;
114 }
116
118
121 inline const DefaultSpaceSettings& GetDefaultSpaceSettings() const { return m_defaultSpaceSettings; }
122 inline bool DefaultSpaceSettingsHasBeenSet() const { return m_defaultSpaceSettingsHasBeenSet; }
123 template <typename DefaultSpaceSettingsT = DefaultSpaceSettings>
124 void SetDefaultSpaceSettings(DefaultSpaceSettingsT&& value) {
125 m_defaultSpaceSettingsHasBeenSet = true;
126 m_defaultSpaceSettings = std::forward<DefaultSpaceSettingsT>(value);
127 }
128 template <typename DefaultSpaceSettingsT = DefaultSpaceSettings>
129 UpdateDomainRequest& WithDefaultSpaceSettings(DefaultSpaceSettingsT&& value) {
130 SetDefaultSpaceSettings(std::forward<DefaultSpaceSettingsT>(value));
131 return *this;
132 }
134
136
141 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
142 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
143 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
144 void SetSubnetIds(SubnetIdsT&& value) {
145 m_subnetIdsHasBeenSet = true;
146 m_subnetIds = std::forward<SubnetIdsT>(value);
147 }
148 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
149 UpdateDomainRequest& WithSubnetIds(SubnetIdsT&& value) {
150 SetSubnetIds(std::forward<SubnetIdsT>(value));
151 return *this;
152 }
153 template <typename SubnetIdsT = Aws::String>
154 UpdateDomainRequest& AddSubnetIds(SubnetIdsT&& value) {
155 m_subnetIdsHasBeenSet = true;
156 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
157 return *this;
158 }
160
162
175 inline AppNetworkAccessType GetAppNetworkAccessType() const { return m_appNetworkAccessType; }
176 inline bool AppNetworkAccessTypeHasBeenSet() const { return m_appNetworkAccessTypeHasBeenSet; }
178 m_appNetworkAccessTypeHasBeenSet = true;
179 m_appNetworkAccessType = value;
180 }
183 return *this;
184 }
186
188
192 inline TagPropagation GetTagPropagation() const { return m_tagPropagation; }
193 inline bool TagPropagationHasBeenSet() const { return m_tagPropagationHasBeenSet; }
195 m_tagPropagationHasBeenSet = true;
196 m_tagPropagation = value;
197 }
199 SetTagPropagation(value);
200 return *this;
201 }
203
205
211 inline HomeEfsFileSystemCreation GetHomeEfsFileSystemCreation() const { return m_homeEfsFileSystemCreation; }
212 inline bool HomeEfsFileSystemCreationHasBeenSet() const { return m_homeEfsFileSystemCreationHasBeenSet; }
214 m_homeEfsFileSystemCreationHasBeenSet = true;
215 m_homeEfsFileSystemCreation = value;
216 }
219 return *this;
220 }
222
224
231 inline const Aws::String& GetVpcId() const { return m_vpcId; }
232 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
233 template <typename VpcIdT = Aws::String>
234 void SetVpcId(VpcIdT&& value) {
235 m_vpcIdHasBeenSet = true;
236 m_vpcId = std::forward<VpcIdT>(value);
237 }
238 template <typename VpcIdT = Aws::String>
240 SetVpcId(std::forward<VpcIdT>(value));
241 return *this;
242 }
244 private:
245 Aws::String m_domainId;
246
247 UserSettings m_defaultUserSettings;
248
249 DomainSettingsForUpdate m_domainSettingsForUpdate;
250
252
253 DefaultSpaceSettings m_defaultSpaceSettings;
254
255 Aws::Vector<Aws::String> m_subnetIds;
256
258
259 TagPropagation m_tagPropagation{TagPropagation::NOT_SET};
260
262
263 Aws::String m_vpcId;
264 bool m_domainIdHasBeenSet = false;
265 bool m_defaultUserSettingsHasBeenSet = false;
266 bool m_domainSettingsForUpdateHasBeenSet = false;
267 bool m_appSecurityGroupManagementHasBeenSet = false;
268 bool m_defaultSpaceSettingsHasBeenSet = false;
269 bool m_subnetIdsHasBeenSet = false;
270 bool m_appNetworkAccessTypeHasBeenSet = false;
271 bool m_tagPropagationHasBeenSet = false;
272 bool m_homeEfsFileSystemCreationHasBeenSet = false;
273 bool m_vpcIdHasBeenSet = false;
274};
275
276} // namespace Model
277} // namespace SageMaker
278} // namespace Aws
UpdateDomainRequest & WithAppNetworkAccessType(AppNetworkAccessType value)
UpdateDomainRequest & WithSubnetIds(SubnetIdsT &&value)
AppSecurityGroupManagement GetAppSecurityGroupManagement() const
UpdateDomainRequest & AddSubnetIds(SubnetIdsT &&value)
virtual const char * GetServiceRequestName() const override
const DefaultSpaceSettings & GetDefaultSpaceSettings() const
void SetAppNetworkAccessType(AppNetworkAccessType value)
void SetDefaultSpaceSettings(DefaultSpaceSettingsT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
const UserSettings & GetDefaultUserSettings() const
UpdateDomainRequest & WithHomeEfsFileSystemCreation(HomeEfsFileSystemCreation value)
UpdateDomainRequest & WithDefaultUserSettings(DefaultUserSettingsT &&value)
UpdateDomainRequest & WithDomainId(DomainIdT &&value)
void SetAppSecurityGroupManagement(AppSecurityGroupManagement value)
AppNetworkAccessType GetAppNetworkAccessType() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDomainSettingsForUpdate(DomainSettingsForUpdateT &&value)
UpdateDomainRequest & WithAppSecurityGroupManagement(AppSecurityGroupManagement value)
void SetHomeEfsFileSystemCreation(HomeEfsFileSystemCreation value)
void SetDefaultUserSettings(DefaultUserSettingsT &&value)
UpdateDomainRequest & WithVpcId(VpcIdT &&value)
AWS_SAGEMAKER_API UpdateDomainRequest()=default
UpdateDomainRequest & WithDefaultSpaceSettings(DefaultSpaceSettingsT &&value)
HomeEfsFileSystemCreation GetHomeEfsFileSystemCreation() const
const DomainSettingsForUpdate & GetDomainSettingsForUpdate() const
UpdateDomainRequest & WithTagPropagation(TagPropagation value)
UpdateDomainRequest & WithDomainSettingsForUpdate(DomainSettingsForUpdateT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector