AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
51 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
52 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
53 inline UpdateDomainRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
54 inline UpdateDomainRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
55 inline UpdateDomainRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
57
59
62 inline const UserSettings& GetDefaultUserSettings() const{ return m_defaultUserSettings; }
63 inline bool DefaultUserSettingsHasBeenSet() const { return m_defaultUserSettingsHasBeenSet; }
64 inline void SetDefaultUserSettings(const UserSettings& value) { m_defaultUserSettingsHasBeenSet = true; m_defaultUserSettings = value; }
65 inline void SetDefaultUserSettings(UserSettings&& value) { m_defaultUserSettingsHasBeenSet = true; m_defaultUserSettings = std::move(value); }
67 inline UpdateDomainRequest& WithDefaultUserSettings(UserSettings&& value) { SetDefaultUserSettings(std::move(value)); return *this;}
69
71
75 inline const DomainSettingsForUpdate& GetDomainSettingsForUpdate() const{ return m_domainSettingsForUpdate; }
76 inline bool DomainSettingsForUpdateHasBeenSet() const { return m_domainSettingsForUpdateHasBeenSet; }
77 inline void SetDomainSettingsForUpdate(const DomainSettingsForUpdate& value) { m_domainSettingsForUpdateHasBeenSet = true; m_domainSettingsForUpdate = value; }
78 inline void SetDomainSettingsForUpdate(DomainSettingsForUpdate&& value) { m_domainSettingsForUpdateHasBeenSet = true; m_domainSettingsForUpdate = std::move(value); }
82
84
92 inline const AppSecurityGroupManagement& GetAppSecurityGroupManagement() const{ return m_appSecurityGroupManagement; }
93 inline bool AppSecurityGroupManagementHasBeenSet() const { return m_appSecurityGroupManagementHasBeenSet; }
94 inline void SetAppSecurityGroupManagement(const AppSecurityGroupManagement& value) { m_appSecurityGroupManagementHasBeenSet = true; m_appSecurityGroupManagement = value; }
95 inline void SetAppSecurityGroupManagement(AppSecurityGroupManagement&& value) { m_appSecurityGroupManagementHasBeenSet = true; m_appSecurityGroupManagement = std::move(value); }
99
101
104 inline const DefaultSpaceSettings& GetDefaultSpaceSettings() const{ return m_defaultSpaceSettings; }
105 inline bool DefaultSpaceSettingsHasBeenSet() const { return m_defaultSpaceSettingsHasBeenSet; }
106 inline void SetDefaultSpaceSettings(const DefaultSpaceSettings& value) { m_defaultSpaceSettingsHasBeenSet = true; m_defaultSpaceSettings = value; }
107 inline void SetDefaultSpaceSettings(DefaultSpaceSettings&& value) { m_defaultSpaceSettingsHasBeenSet = true; m_defaultSpaceSettings = std::move(value); }
111
113
118 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
119 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
120 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
121 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
122 inline UpdateDomainRequest& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
123 inline UpdateDomainRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
124 inline UpdateDomainRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
125 inline UpdateDomainRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
126 inline UpdateDomainRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
128
130
143 inline const AppNetworkAccessType& GetAppNetworkAccessType() const{ return m_appNetworkAccessType; }
144 inline bool AppNetworkAccessTypeHasBeenSet() const { return m_appNetworkAccessTypeHasBeenSet; }
145 inline void SetAppNetworkAccessType(const AppNetworkAccessType& value) { m_appNetworkAccessTypeHasBeenSet = true; m_appNetworkAccessType = value; }
146 inline void SetAppNetworkAccessType(AppNetworkAccessType&& value) { m_appNetworkAccessTypeHasBeenSet = true; m_appNetworkAccessType = std::move(value); }
150
152
156 inline const TagPropagation& GetTagPropagation() const{ return m_tagPropagation; }
157 inline bool TagPropagationHasBeenSet() const { return m_tagPropagationHasBeenSet; }
158 inline void SetTagPropagation(const TagPropagation& value) { m_tagPropagationHasBeenSet = true; m_tagPropagation = value; }
159 inline void SetTagPropagation(TagPropagation&& value) { m_tagPropagationHasBeenSet = true; m_tagPropagation = std::move(value); }
160 inline UpdateDomainRequest& WithTagPropagation(const TagPropagation& value) { SetTagPropagation(value); return *this;}
161 inline UpdateDomainRequest& WithTagPropagation(TagPropagation&& value) { SetTagPropagation(std::move(value)); return *this;}
163 private:
164
165 Aws::String m_domainId;
166 bool m_domainIdHasBeenSet = false;
167
168 UserSettings m_defaultUserSettings;
169 bool m_defaultUserSettingsHasBeenSet = false;
170
171 DomainSettingsForUpdate m_domainSettingsForUpdate;
172 bool m_domainSettingsForUpdateHasBeenSet = false;
173
174 AppSecurityGroupManagement m_appSecurityGroupManagement;
175 bool m_appSecurityGroupManagementHasBeenSet = false;
176
177 DefaultSpaceSettings m_defaultSpaceSettings;
178 bool m_defaultSpaceSettingsHasBeenSet = false;
179
180 Aws::Vector<Aws::String> m_subnetIds;
181 bool m_subnetIdsHasBeenSet = false;
182
183 AppNetworkAccessType m_appNetworkAccessType;
184 bool m_appNetworkAccessTypeHasBeenSet = false;
185
186 TagPropagation m_tagPropagation;
187 bool m_tagPropagationHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace SageMaker
192} // namespace Aws
virtual const char * GetServiceRequestName() const override
const DefaultSpaceSettings & GetDefaultSpaceSettings() const
UpdateDomainRequest & WithDomainId(const Aws::String &value)
void SetDefaultSpaceSettings(DefaultSpaceSettings &&value)
const TagPropagation & GetTagPropagation() const
UpdateDomainRequest & WithDefaultUserSettings(const UserSettings &value)
UpdateDomainRequest & WithAppNetworkAccessType(const AppNetworkAccessType &value)
UpdateDomainRequest & WithDomainId(const char *value)
UpdateDomainRequest & WithDefaultSpaceSettings(DefaultSpaceSettings &&value)
UpdateDomainRequest & WithDomainSettingsForUpdate(DomainSettingsForUpdate &&value)
void SetDefaultUserSettings(UserSettings &&value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
UpdateDomainRequest & WithAppNetworkAccessType(AppNetworkAccessType &&value)
void SetAppNetworkAccessType(const AppNetworkAccessType &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
const UserSettings & GetDefaultUserSettings() const
UpdateDomainRequest & WithTagPropagation(const TagPropagation &value)
void SetDomainSettingsForUpdate(const DomainSettingsForUpdate &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
UpdateDomainRequest & WithDomainId(Aws::String &&value)
void SetDomainSettingsForUpdate(DomainSettingsForUpdate &&value)
void SetAppSecurityGroupManagement(const AppSecurityGroupManagement &value)
UpdateDomainRequest & WithAppSecurityGroupManagement(const AppSecurityGroupManagement &value)
void SetAppNetworkAccessType(AppNetworkAccessType &&value)
UpdateDomainRequest & WithDefaultUserSettings(UserSettings &&value)
void SetDefaultUserSettings(const UserSettings &value)
void SetTagPropagation(const TagPropagation &value)
UpdateDomainRequest & WithAppSecurityGroupManagement(AppSecurityGroupManagement &&value)
UpdateDomainRequest & AddSubnetIds(const char *value)
UpdateDomainRequest & WithDefaultSpaceSettings(const DefaultSpaceSettings &value)
UpdateDomainRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
UpdateDomainRequest & WithTagPropagation(TagPropagation &&value)
UpdateDomainRequest & AddSubnetIds(Aws::String &&value)
void SetDomainId(const Aws::String &value)
const DomainSettingsForUpdate & GetDomainSettingsForUpdate() const
const AppNetworkAccessType & GetAppNetworkAccessType() const
UpdateDomainRequest & AddSubnetIds(const Aws::String &value)
UpdateDomainRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
void SetDefaultSpaceSettings(const DefaultSpaceSettings &value)
const AppSecurityGroupManagement & GetAppSecurityGroupManagement() const
void SetAppSecurityGroupManagement(AppSecurityGroupManagement &&value)
UpdateDomainRequest & WithDomainSettingsForUpdate(const DomainSettingsForUpdate &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