AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateDomainRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/UserSettings.h>
11#include <aws/sagemaker/model/DomainSettingsForUpdate.h>
12#include <aws/sagemaker/model/AppSecurityGroupManagement.h>
13#include <aws/sagemaker/model/DefaultSpaceSettings.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/sagemaker/model/AppNetworkAccessType.h>
16#include <aws/sagemaker/model/TagPropagation.h>
17#include <utility>
18
19namespace Aws
20{
21namespace SageMaker
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_SAGEMAKER_API UpdateDomainRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "UpdateDomain"; }
38
39 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
40
42
43
45
48 inline const Aws::String& GetDomainId() const { return m_domainId; }
49 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
50 template<typename DomainIdT = Aws::String>
51 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
52 template<typename DomainIdT = Aws::String>
53 UpdateDomainRequest& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
55
57
60 inline const UserSettings& GetDefaultUserSettings() const { return m_defaultUserSettings; }
61 inline bool DefaultUserSettingsHasBeenSet() const { return m_defaultUserSettingsHasBeenSet; }
62 template<typename DefaultUserSettingsT = UserSettings>
63 void SetDefaultUserSettings(DefaultUserSettingsT&& value) { m_defaultUserSettingsHasBeenSet = true; m_defaultUserSettings = std::forward<DefaultUserSettingsT>(value); }
64 template<typename DefaultUserSettingsT = UserSettings>
65 UpdateDomainRequest& WithDefaultUserSettings(DefaultUserSettingsT&& value) { SetDefaultUserSettings(std::forward<DefaultUserSettingsT>(value)); return *this;}
67
69
73 inline const DomainSettingsForUpdate& GetDomainSettingsForUpdate() const { return m_domainSettingsForUpdate; }
74 inline bool DomainSettingsForUpdateHasBeenSet() const { return m_domainSettingsForUpdateHasBeenSet; }
75 template<typename DomainSettingsForUpdateT = DomainSettingsForUpdate>
76 void SetDomainSettingsForUpdate(DomainSettingsForUpdateT&& value) { m_domainSettingsForUpdateHasBeenSet = true; m_domainSettingsForUpdate = std::forward<DomainSettingsForUpdateT>(value); }
77 template<typename DomainSettingsForUpdateT = DomainSettingsForUpdate>
78 UpdateDomainRequest& WithDomainSettingsForUpdate(DomainSettingsForUpdateT&& value) { SetDomainSettingsForUpdate(std::forward<DomainSettingsForUpdateT>(value)); return *this;}
80
82
90 inline AppSecurityGroupManagement GetAppSecurityGroupManagement() const { return m_appSecurityGroupManagement; }
91 inline bool AppSecurityGroupManagementHasBeenSet() const { return m_appSecurityGroupManagementHasBeenSet; }
92 inline void SetAppSecurityGroupManagement(AppSecurityGroupManagement value) { m_appSecurityGroupManagementHasBeenSet = true; m_appSecurityGroupManagement = value; }
95
97
100 inline const DefaultSpaceSettings& GetDefaultSpaceSettings() const { return m_defaultSpaceSettings; }
101 inline bool DefaultSpaceSettingsHasBeenSet() const { return m_defaultSpaceSettingsHasBeenSet; }
102 template<typename DefaultSpaceSettingsT = DefaultSpaceSettings>
103 void SetDefaultSpaceSettings(DefaultSpaceSettingsT&& value) { m_defaultSpaceSettingsHasBeenSet = true; m_defaultSpaceSettings = std::forward<DefaultSpaceSettingsT>(value); }
104 template<typename DefaultSpaceSettingsT = DefaultSpaceSettings>
105 UpdateDomainRequest& WithDefaultSpaceSettings(DefaultSpaceSettingsT&& value) { SetDefaultSpaceSettings(std::forward<DefaultSpaceSettingsT>(value)); return *this;}
107
109
114 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
115 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
116 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
117 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
118 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
119 UpdateDomainRequest& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
120 template<typename SubnetIdsT = Aws::String>
121 UpdateDomainRequest& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
123
125
138 inline AppNetworkAccessType GetAppNetworkAccessType() const { return m_appNetworkAccessType; }
139 inline bool AppNetworkAccessTypeHasBeenSet() const { return m_appNetworkAccessTypeHasBeenSet; }
140 inline void SetAppNetworkAccessType(AppNetworkAccessType value) { m_appNetworkAccessTypeHasBeenSet = true; m_appNetworkAccessType = value; }
143
145
149 inline TagPropagation GetTagPropagation() const { return m_tagPropagation; }
150 inline bool TagPropagationHasBeenSet() const { return m_tagPropagationHasBeenSet; }
151 inline void SetTagPropagation(TagPropagation value) { m_tagPropagationHasBeenSet = true; m_tagPropagation = value; }
154 private:
155
156 Aws::String m_domainId;
157 bool m_domainIdHasBeenSet = false;
158
159 UserSettings m_defaultUserSettings;
160 bool m_defaultUserSettingsHasBeenSet = false;
161
162 DomainSettingsForUpdate m_domainSettingsForUpdate;
163 bool m_domainSettingsForUpdateHasBeenSet = false;
164
166 bool m_appSecurityGroupManagementHasBeenSet = false;
167
168 DefaultSpaceSettings m_defaultSpaceSettings;
169 bool m_defaultSpaceSettingsHasBeenSet = false;
170
171 Aws::Vector<Aws::String> m_subnetIds;
172 bool m_subnetIdsHasBeenSet = false;
173
175 bool m_appNetworkAccessTypeHasBeenSet = false;
176
177 TagPropagation m_tagPropagation{TagPropagation::NOT_SET};
178 bool m_tagPropagationHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace SageMaker
183} // 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 & 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 SetDefaultUserSettings(DefaultUserSettingsT &&value)
AWS_SAGEMAKER_API UpdateDomainRequest()=default
UpdateDomainRequest & WithDefaultSpaceSettings(DefaultSpaceSettingsT &&value)
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