/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace SageMaker { namespace Model { /** */ class AWS_SAGEMAKER_API UpdateDomainRequest : public SageMakerRequest { public: UpdateDomainRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateDomain"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the domain to be updated.

*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** *

The ID of the domain to be updated.

*/ inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } /** *

The ID of the domain to be updated.

*/ inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } /** *

The ID of the domain to be updated.

*/ inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } /** *

The ID of the domain to be updated.

*/ inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } /** *

The ID of the domain to be updated.

*/ inline UpdateDomainRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *

The ID of the domain to be updated.

*/ inline UpdateDomainRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** *

The ID of the domain to be updated.

*/ inline UpdateDomainRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** *

A collection of settings.

*/ inline const UserSettings& GetDefaultUserSettings() const{ return m_defaultUserSettings; } /** *

A collection of settings.

*/ inline bool DefaultUserSettingsHasBeenSet() const { return m_defaultUserSettingsHasBeenSet; } /** *

A collection of settings.

*/ inline void SetDefaultUserSettings(const UserSettings& value) { m_defaultUserSettingsHasBeenSet = true; m_defaultUserSettings = value; } /** *

A collection of settings.

*/ inline void SetDefaultUserSettings(UserSettings&& value) { m_defaultUserSettingsHasBeenSet = true; m_defaultUserSettings = std::move(value); } /** *

A collection of settings.

*/ inline UpdateDomainRequest& WithDefaultUserSettings(const UserSettings& value) { SetDefaultUserSettings(value); return *this;} /** *

A collection of settings.

*/ inline UpdateDomainRequest& WithDefaultUserSettings(UserSettings&& value) { SetDefaultUserSettings(std::move(value)); return *this;} private: Aws::String m_domainId; bool m_domainIdHasBeenSet; UserSettings m_defaultUserSettings; bool m_defaultUserSettingsHasBeenSet; }; } // namespace Model } // namespace SageMaker } // namespace Aws