/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace AmplifyBackend { namespace Model { /** *

The request body for ImportBackendAuth.

See Also:

AWS * API Reference

*/ class AWS_AMPLIFYBACKEND_API ImportBackendAuthRequest : public AmplifyBackendRequest { public: ImportBackendAuthRequest(); // 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 "ImportBackendAuth"; } 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 ImportBackendAuthRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *

The app ID.

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

The app ID.

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

The name of the backend environment.

*/ inline const Aws::String& GetBackendEnvironmentName() const{ return m_backendEnvironmentName; } /** *

The name of the backend environment.

*/ inline bool BackendEnvironmentNameHasBeenSet() const { return m_backendEnvironmentNameHasBeenSet; } /** *

The name of the backend environment.

*/ inline void SetBackendEnvironmentName(const Aws::String& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = value; } /** *

The name of the backend environment.

*/ inline void SetBackendEnvironmentName(Aws::String&& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = std::move(value); } /** *

The name of the backend environment.

*/ inline void SetBackendEnvironmentName(const char* value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName.assign(value); } /** *

The name of the backend environment.

*/ inline ImportBackendAuthRequest& WithBackendEnvironmentName(const Aws::String& value) { SetBackendEnvironmentName(value); return *this;} /** *

The name of the backend environment.

*/ inline ImportBackendAuthRequest& WithBackendEnvironmentName(Aws::String&& value) { SetBackendEnvironmentName(std::move(value)); return *this;} /** *

The name of the backend environment.

*/ inline ImportBackendAuthRequest& WithBackendEnvironmentName(const char* value) { SetBackendEnvironmentName(value); return *this;} /** *

The ID of the Amazon Cognito identity pool.

*/ inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; } /** *

The ID of the Amazon Cognito identity pool.

*/ inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; } /** *

The ID of the Amazon Cognito identity pool.

*/ inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; } /** *

The ID of the Amazon Cognito identity pool.

*/ inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); } /** *

The ID of the Amazon Cognito identity pool.

*/ inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); } /** *

The ID of the Amazon Cognito identity pool.

*/ inline ImportBackendAuthRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;} /** *

The ID of the Amazon Cognito identity pool.

*/ inline ImportBackendAuthRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;} /** *

The ID of the Amazon Cognito identity pool.

*/ inline ImportBackendAuthRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;} /** *

The ID of the Amazon Cognito native client.

*/ inline const Aws::String& GetNativeClientId() const{ return m_nativeClientId; } /** *

The ID of the Amazon Cognito native client.

*/ inline bool NativeClientIdHasBeenSet() const { return m_nativeClientIdHasBeenSet; } /** *

The ID of the Amazon Cognito native client.

*/ inline void SetNativeClientId(const Aws::String& value) { m_nativeClientIdHasBeenSet = true; m_nativeClientId = value; } /** *

The ID of the Amazon Cognito native client.

*/ inline void SetNativeClientId(Aws::String&& value) { m_nativeClientIdHasBeenSet = true; m_nativeClientId = std::move(value); } /** *

The ID of the Amazon Cognito native client.

*/ inline void SetNativeClientId(const char* value) { m_nativeClientIdHasBeenSet = true; m_nativeClientId.assign(value); } /** *

The ID of the Amazon Cognito native client.

*/ inline ImportBackendAuthRequest& WithNativeClientId(const Aws::String& value) { SetNativeClientId(value); return *this;} /** *

The ID of the Amazon Cognito native client.

*/ inline ImportBackendAuthRequest& WithNativeClientId(Aws::String&& value) { SetNativeClientId(std::move(value)); return *this;} /** *

The ID of the Amazon Cognito native client.

*/ inline ImportBackendAuthRequest& WithNativeClientId(const char* value) { SetNativeClientId(value); return *this;} /** *

The ID of the Amazon Cognito user pool.

*/ inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; } /** *

The ID of the Amazon Cognito user pool.

*/ inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; } /** *

The ID of the Amazon Cognito user pool.

*/ inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; } /** *

The ID of the Amazon Cognito user pool.

*/ inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); } /** *

The ID of the Amazon Cognito user pool.

*/ inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); } /** *

The ID of the Amazon Cognito user pool.

*/ inline ImportBackendAuthRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;} /** *

The ID of the Amazon Cognito user pool.

*/ inline ImportBackendAuthRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;} /** *

The ID of the Amazon Cognito user pool.

*/ inline ImportBackendAuthRequest& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;} /** *

The ID of the Amazon Cognito web client.

*/ inline const Aws::String& GetWebClientId() const{ return m_webClientId; } /** *

The ID of the Amazon Cognito web client.

*/ inline bool WebClientIdHasBeenSet() const { return m_webClientIdHasBeenSet; } /** *

The ID of the Amazon Cognito web client.

*/ inline void SetWebClientId(const Aws::String& value) { m_webClientIdHasBeenSet = true; m_webClientId = value; } /** *

The ID of the Amazon Cognito web client.

*/ inline void SetWebClientId(Aws::String&& value) { m_webClientIdHasBeenSet = true; m_webClientId = std::move(value); } /** *

The ID of the Amazon Cognito web client.

*/ inline void SetWebClientId(const char* value) { m_webClientIdHasBeenSet = true; m_webClientId.assign(value); } /** *

The ID of the Amazon Cognito web client.

*/ inline ImportBackendAuthRequest& WithWebClientId(const Aws::String& value) { SetWebClientId(value); return *this;} /** *

The ID of the Amazon Cognito web client.

*/ inline ImportBackendAuthRequest& WithWebClientId(Aws::String&& value) { SetWebClientId(std::move(value)); return *this;} /** *

The ID of the Amazon Cognito web client.

*/ inline ImportBackendAuthRequest& WithWebClientId(const char* value) { SetWebClientId(value); return *this;} private: Aws::String m_appId; bool m_appIdHasBeenSet; Aws::String m_backendEnvironmentName; bool m_backendEnvironmentNameHasBeenSet; Aws::String m_identityPoolId; bool m_identityPoolIdHasBeenSet; Aws::String m_nativeClientId; bool m_nativeClientIdHasBeenSet; Aws::String m_userPoolId; bool m_userPoolIdHasBeenSet; Aws::String m_webClientId; bool m_webClientIdHasBeenSet; }; } // namespace Model } // namespace AmplifyBackend } // namespace Aws