/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace AmplifyBackend { namespace Model { class UpdateBackendConfigResult { public: AWS_AMPLIFYBACKEND_API UpdateBackendConfigResult(); AWS_AMPLIFYBACKEND_API UpdateBackendConfigResult(const Aws::AmazonWebServiceResult& result); AWS_AMPLIFYBACKEND_API UpdateBackendConfigResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The app ID.

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

The app ID.

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

The app ID.

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

The app ID.

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

The app ID.

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

The app ID.

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

The app ID.

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

The app ID for the backend manager.

*/ inline const Aws::String& GetBackendManagerAppId() const{ return m_backendManagerAppId; } /** *

The app ID for the backend manager.

*/ inline void SetBackendManagerAppId(const Aws::String& value) { m_backendManagerAppId = value; } /** *

The app ID for the backend manager.

*/ inline void SetBackendManagerAppId(Aws::String&& value) { m_backendManagerAppId = std::move(value); } /** *

The app ID for the backend manager.

*/ inline void SetBackendManagerAppId(const char* value) { m_backendManagerAppId.assign(value); } /** *

The app ID for the backend manager.

*/ inline UpdateBackendConfigResult& WithBackendManagerAppId(const Aws::String& value) { SetBackendManagerAppId(value); return *this;} /** *

The app ID for the backend manager.

*/ inline UpdateBackendConfigResult& WithBackendManagerAppId(Aws::String&& value) { SetBackendManagerAppId(std::move(value)); return *this;} /** *

The app ID for the backend manager.

*/ inline UpdateBackendConfigResult& WithBackendManagerAppId(const char* value) { SetBackendManagerAppId(value); return *this;} /** *

If the request fails, this error is returned.

*/ inline const Aws::String& GetError() const{ return m_error; } /** *

If the request fails, this error is returned.

*/ inline void SetError(const Aws::String& value) { m_error = value; } /** *

If the request fails, this error is returned.

*/ inline void SetError(Aws::String&& value) { m_error = std::move(value); } /** *

If the request fails, this error is returned.

*/ inline void SetError(const char* value) { m_error.assign(value); } /** *

If the request fails, this error is returned.

*/ inline UpdateBackendConfigResult& WithError(const Aws::String& value) { SetError(value); return *this;} /** *

If the request fails, this error is returned.

*/ inline UpdateBackendConfigResult& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;} /** *

If the request fails, this error is returned.

*/ inline UpdateBackendConfigResult& WithError(const char* value) { SetError(value); return *this;} /** *

Describes the Amazon Cognito configurations for the Admin UI auth resource to * log in with.

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

Describes the Amazon Cognito configurations for the Admin UI auth resource to * log in with.

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

Describes the Amazon Cognito configurations for the Admin UI auth resource to * log in with.

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

Describes the Amazon Cognito configurations for the Admin UI auth resource to * log in with.

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

Describes the Amazon Cognito configurations for the Admin UI auth resource to * log in with.

*/ inline UpdateBackendConfigResult& WithLoginAuthConfig(LoginAuthConfigReqObj&& value) { SetLoginAuthConfig(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateBackendConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateBackendConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateBackendConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_appId; Aws::String m_backendManagerAppId; Aws::String m_error; LoginAuthConfigReqObj m_loginAuthConfig; Aws::String m_requestId; }; } // namespace Model } // namespace AmplifyBackend } // namespace Aws