/** * 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 AmplifyBackend { namespace Model { /** *

The request body for UpdateBackendConfig.

See Also:

AWS * API Reference

*/ class UpdateBackendConfigRequest : public AmplifyBackendRequest { public: AWS_AMPLIFYBACKEND_API UpdateBackendConfigRequest(); // 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 "UpdateBackendConfig"; } AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override; /** *

The app ID.

*/ inline const Aws::String& GetAppId() const{ return m_appId; } /** *

The app ID.

*/ inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; } /** *

The app ID.

*/ inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; } /** *

The app ID.

*/ inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); } /** *

The app ID.

*/ inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); } /** *

The app ID.

*/ inline UpdateBackendConfigRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *

The app ID.

*/ inline UpdateBackendConfigRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *

The app ID.

*/ inline UpdateBackendConfigRequest& WithAppId(const char* value) { SetAppId(value); return *this;} /** *

Describes the Amazon Cognito configuration for Admin UI access.

*/ inline const LoginAuthConfigReqObj& GetLoginAuthConfig() const{ return m_loginAuthConfig; } /** *

Describes the Amazon Cognito configuration for Admin UI access.

*/ inline bool LoginAuthConfigHasBeenSet() const { return m_loginAuthConfigHasBeenSet; } /** *

Describes the Amazon Cognito configuration for Admin UI access.

*/ inline void SetLoginAuthConfig(const LoginAuthConfigReqObj& value) { m_loginAuthConfigHasBeenSet = true; m_loginAuthConfig = value; } /** *

Describes the Amazon Cognito configuration for Admin UI access.

*/ inline void SetLoginAuthConfig(LoginAuthConfigReqObj&& value) { m_loginAuthConfigHasBeenSet = true; m_loginAuthConfig = std::move(value); } /** *

Describes the Amazon Cognito configuration for Admin UI access.

*/ inline UpdateBackendConfigRequest& WithLoginAuthConfig(const LoginAuthConfigReqObj& value) { SetLoginAuthConfig(value); return *this;} /** *

Describes the Amazon Cognito configuration for Admin UI access.

*/ inline UpdateBackendConfigRequest& WithLoginAuthConfig(LoginAuthConfigReqObj&& value) { SetLoginAuthConfig(std::move(value)); return *this;} private: Aws::String m_appId; bool m_appIdHasBeenSet = false; LoginAuthConfigReqObj m_loginAuthConfig; bool m_loginAuthConfigHasBeenSet = false; }; } // namespace Model } // namespace AmplifyBackend } // namespace Aws