AWS SDK for C++  1.9.159
AWS SDK for C++
UpdateDomainRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace SageMaker
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateDomain"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetDomainId() const{ return m_domainId; }
43 
47  inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
48 
52  inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
53 
57  inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
58 
62  inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
63 
67  inline UpdateDomainRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
68 
72  inline UpdateDomainRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
73 
77  inline UpdateDomainRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
78 
79 
83  inline const UserSettings& GetDefaultUserSettings() const{ return m_defaultUserSettings; }
84 
88  inline bool DefaultUserSettingsHasBeenSet() const { return m_defaultUserSettingsHasBeenSet; }
89 
93  inline void SetDefaultUserSettings(const UserSettings& value) { m_defaultUserSettingsHasBeenSet = true; m_defaultUserSettings = value; }
94 
98  inline void SetDefaultUserSettings(UserSettings&& value) { m_defaultUserSettingsHasBeenSet = true; m_defaultUserSettings = std::move(value); }
99 
103  inline UpdateDomainRequest& WithDefaultUserSettings(const UserSettings& value) { SetDefaultUserSettings(value); return *this;}
104 
108  inline UpdateDomainRequest& WithDefaultUserSettings(UserSettings&& value) { SetDefaultUserSettings(std::move(value)); return *this;}
109 
110 
115  inline const DomainSettingsForUpdate& GetDomainSettingsForUpdate() const{ return m_domainSettingsForUpdate; }
116 
121  inline bool DomainSettingsForUpdateHasBeenSet() const { return m_domainSettingsForUpdateHasBeenSet; }
122 
127  inline void SetDomainSettingsForUpdate(const DomainSettingsForUpdate& value) { m_domainSettingsForUpdateHasBeenSet = true; m_domainSettingsForUpdate = value; }
128 
133  inline void SetDomainSettingsForUpdate(DomainSettingsForUpdate&& value) { m_domainSettingsForUpdateHasBeenSet = true; m_domainSettingsForUpdate = std::move(value); }
134 
139  inline UpdateDomainRequest& WithDomainSettingsForUpdate(const DomainSettingsForUpdate& value) { SetDomainSettingsForUpdate(value); return *this;}
140 
145  inline UpdateDomainRequest& WithDomainSettingsForUpdate(DomainSettingsForUpdate&& value) { SetDomainSettingsForUpdate(std::move(value)); return *this;}
146 
147  private:
148 
149  Aws::String m_domainId;
150  bool m_domainIdHasBeenSet;
151 
152  UserSettings m_defaultUserSettings;
153  bool m_defaultUserSettingsHasBeenSet;
154 
155  DomainSettingsForUpdate m_domainSettingsForUpdate;
156  bool m_domainSettingsForUpdateHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace SageMaker
161 } // namespace Aws
Aws::SageMaker::Model::UpdateDomainRequest::DomainSettingsForUpdateHasBeenSet
bool DomainSettingsForUpdateHasBeenSet() const
Definition: UpdateDomainRequest.h:121
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::UpdateDomainRequest::DefaultUserSettingsHasBeenSet
bool DefaultUserSettingsHasBeenSet() const
Definition: UpdateDomainRequest.h:88
Aws::SageMaker::Model::UpdateDomainRequest::UpdateDomainRequest
UpdateDomainRequest()
SageMaker_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::UpdateDomainRequest::WithDomainId
UpdateDomainRequest & WithDomainId(const Aws::String &value)
Definition: UpdateDomainRequest.h:67
Aws::SageMaker::Model::UpdateDomainRequest::GetDomainSettingsForUpdate
const DomainSettingsForUpdate & GetDomainSettingsForUpdate() const
Definition: UpdateDomainRequest.h:115
Aws::SageMaker::Model::UpdateDomainRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::UpdateDomainRequest::WithDomainSettingsForUpdate
UpdateDomainRequest & WithDomainSettingsForUpdate(const DomainSettingsForUpdate &value)
Definition: UpdateDomainRequest.h:139
Aws::SageMaker::Model::UpdateDomainRequest::WithDomainSettingsForUpdate
UpdateDomainRequest & WithDomainSettingsForUpdate(DomainSettingsForUpdate &&value)
Definition: UpdateDomainRequest.h:145
UserSettings.h
Aws::SageMaker::Model::UpdateDomainRequest::GetDomainId
const Aws::String & GetDomainId() const
Definition: UpdateDomainRequest.h:42
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::UpdateDomainRequest::SetDomainId
void SetDomainId(const char *value)
Definition: UpdateDomainRequest.h:62
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UpdateDomainRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDomainRequest.h:32
Aws::SageMaker::Model::UpdateDomainRequest::GetDefaultUserSettings
const UserSettings & GetDefaultUserSettings() const
Definition: UpdateDomainRequest.h:83
Aws::SageMaker::Model::DomainSettingsForUpdate
Definition: DomainSettingsForUpdate.h:33
Aws::SageMaker::Model::UserSettings
Definition: UserSettings.h:46
AWSString.h
Aws::SageMaker::Model::UpdateDomainRequest::SetDefaultUserSettings
void SetDefaultUserSettings(const UserSettings &value)
Definition: UpdateDomainRequest.h:93
Aws::SageMaker::Model::UpdateDomainRequest::SetDomainId
void SetDomainId(const Aws::String &value)
Definition: UpdateDomainRequest.h:52
Aws::SageMaker::Model::UpdateDomainRequest::WithDefaultUserSettings
UpdateDomainRequest & WithDefaultUserSettings(const UserSettings &value)
Definition: UpdateDomainRequest.h:103
Aws::SageMaker::Model::UpdateDomainRequest::WithDomainId
UpdateDomainRequest & WithDomainId(Aws::String &&value)
Definition: UpdateDomainRequest.h:72
Aws::SageMaker::Model::UpdateDomainRequest
Definition: UpdateDomainRequest.h:24
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::UpdateDomainRequest::WithDefaultUserSettings
UpdateDomainRequest & WithDefaultUserSettings(UserSettings &&value)
Definition: UpdateDomainRequest.h:108
Aws::SageMaker::Model::UpdateDomainRequest::SetDomainSettingsForUpdate
void SetDomainSettingsForUpdate(const DomainSettingsForUpdate &value)
Definition: UpdateDomainRequest.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::UpdateDomainRequest::SetDomainId
void SetDomainId(Aws::String &&value)
Definition: UpdateDomainRequest.h:57
Aws::SageMaker::Model::UpdateDomainRequest::SetDefaultUserSettings
void SetDefaultUserSettings(UserSettings &&value)
Definition: UpdateDomainRequest.h:98
Aws::SageMaker::Model::UpdateDomainRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::UpdateDomainRequest::DomainIdHasBeenSet
bool DomainIdHasBeenSet() const
Definition: UpdateDomainRequest.h:47
Aws::SageMaker::Model::UpdateDomainRequest::SetDomainSettingsForUpdate
void SetDomainSettingsForUpdate(DomainSettingsForUpdate &&value)
Definition: UpdateDomainRequest.h:133
DomainSettingsForUpdate.h
Aws::SageMaker::Model::UpdateDomainRequest::WithDomainId
UpdateDomainRequest & WithDomainId(const char *value)
Definition: UpdateDomainRequest.h:77