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

The request object for this operation.

See Also:

AWS * API Reference

*/ class LoginAuthConfigReqObj { public: AWS_AMPLIFYBACKEND_API LoginAuthConfigReqObj(); AWS_AMPLIFYBACKEND_API LoginAuthConfigReqObj(Aws::Utils::Json::JsonView jsonValue); AWS_AMPLIFYBACKEND_API LoginAuthConfigReqObj& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Cognito identity pool ID used for the Amplify Admin UI login * authorization.

*/ inline const Aws::String& GetAwsCognitoIdentityPoolId() const{ return m_awsCognitoIdentityPoolId; } /** *

The Amazon Cognito identity pool ID used for the Amplify Admin UI login * authorization.

*/ inline bool AwsCognitoIdentityPoolIdHasBeenSet() const { return m_awsCognitoIdentityPoolIdHasBeenSet; } /** *

The Amazon Cognito identity pool ID used for the Amplify Admin UI login * authorization.

*/ inline void SetAwsCognitoIdentityPoolId(const Aws::String& value) { m_awsCognitoIdentityPoolIdHasBeenSet = true; m_awsCognitoIdentityPoolId = value; } /** *

The Amazon Cognito identity pool ID used for the Amplify Admin UI login * authorization.

*/ inline void SetAwsCognitoIdentityPoolId(Aws::String&& value) { m_awsCognitoIdentityPoolIdHasBeenSet = true; m_awsCognitoIdentityPoolId = std::move(value); } /** *

The Amazon Cognito identity pool ID used for the Amplify Admin UI login * authorization.

*/ inline void SetAwsCognitoIdentityPoolId(const char* value) { m_awsCognitoIdentityPoolIdHasBeenSet = true; m_awsCognitoIdentityPoolId.assign(value); } /** *

The Amazon Cognito identity pool ID used for the Amplify Admin UI login * authorization.

*/ inline LoginAuthConfigReqObj& WithAwsCognitoIdentityPoolId(const Aws::String& value) { SetAwsCognitoIdentityPoolId(value); return *this;} /** *

The Amazon Cognito identity pool ID used for the Amplify Admin UI login * authorization.

*/ inline LoginAuthConfigReqObj& WithAwsCognitoIdentityPoolId(Aws::String&& value) { SetAwsCognitoIdentityPoolId(std::move(value)); return *this;} /** *

The Amazon Cognito identity pool ID used for the Amplify Admin UI login * authorization.

*/ inline LoginAuthConfigReqObj& WithAwsCognitoIdentityPoolId(const char* value) { SetAwsCognitoIdentityPoolId(value); return *this;} /** *

The AWS Region for the Amplify Admin UI login.

*/ inline const Aws::String& GetAwsCognitoRegion() const{ return m_awsCognitoRegion; } /** *

The AWS Region for the Amplify Admin UI login.

*/ inline bool AwsCognitoRegionHasBeenSet() const { return m_awsCognitoRegionHasBeenSet; } /** *

The AWS Region for the Amplify Admin UI login.

*/ inline void SetAwsCognitoRegion(const Aws::String& value) { m_awsCognitoRegionHasBeenSet = true; m_awsCognitoRegion = value; } /** *

The AWS Region for the Amplify Admin UI login.

*/ inline void SetAwsCognitoRegion(Aws::String&& value) { m_awsCognitoRegionHasBeenSet = true; m_awsCognitoRegion = std::move(value); } /** *

The AWS Region for the Amplify Admin UI login.

*/ inline void SetAwsCognitoRegion(const char* value) { m_awsCognitoRegionHasBeenSet = true; m_awsCognitoRegion.assign(value); } /** *

The AWS Region for the Amplify Admin UI login.

*/ inline LoginAuthConfigReqObj& WithAwsCognitoRegion(const Aws::String& value) { SetAwsCognitoRegion(value); return *this;} /** *

The AWS Region for the Amplify Admin UI login.

*/ inline LoginAuthConfigReqObj& WithAwsCognitoRegion(Aws::String&& value) { SetAwsCognitoRegion(std::move(value)); return *this;} /** *

The AWS Region for the Amplify Admin UI login.

*/ inline LoginAuthConfigReqObj& WithAwsCognitoRegion(const char* value) { SetAwsCognitoRegion(value); return *this;} /** *

The Amazon Cognito user pool ID used for Amplify Admin UI login * authentication.

*/ inline const Aws::String& GetAwsUserPoolsId() const{ return m_awsUserPoolsId; } /** *

The Amazon Cognito user pool ID used for Amplify Admin UI login * authentication.

*/ inline bool AwsUserPoolsIdHasBeenSet() const { return m_awsUserPoolsIdHasBeenSet; } /** *

The Amazon Cognito user pool ID used for Amplify Admin UI login * authentication.

*/ inline void SetAwsUserPoolsId(const Aws::String& value) { m_awsUserPoolsIdHasBeenSet = true; m_awsUserPoolsId = value; } /** *

The Amazon Cognito user pool ID used for Amplify Admin UI login * authentication.

*/ inline void SetAwsUserPoolsId(Aws::String&& value) { m_awsUserPoolsIdHasBeenSet = true; m_awsUserPoolsId = std::move(value); } /** *

The Amazon Cognito user pool ID used for Amplify Admin UI login * authentication.

*/ inline void SetAwsUserPoolsId(const char* value) { m_awsUserPoolsIdHasBeenSet = true; m_awsUserPoolsId.assign(value); } /** *

The Amazon Cognito user pool ID used for Amplify Admin UI login * authentication.

*/ inline LoginAuthConfigReqObj& WithAwsUserPoolsId(const Aws::String& value) { SetAwsUserPoolsId(value); return *this;} /** *

The Amazon Cognito user pool ID used for Amplify Admin UI login * authentication.

*/ inline LoginAuthConfigReqObj& WithAwsUserPoolsId(Aws::String&& value) { SetAwsUserPoolsId(std::move(value)); return *this;} /** *

The Amazon Cognito user pool ID used for Amplify Admin UI login * authentication.

*/ inline LoginAuthConfigReqObj& WithAwsUserPoolsId(const char* value) { SetAwsUserPoolsId(value); return *this;} /** *

The web client ID for the Amazon Cognito user pools.

*/ inline const Aws::String& GetAwsUserPoolsWebClientId() const{ return m_awsUserPoolsWebClientId; } /** *

The web client ID for the Amazon Cognito user pools.

*/ inline bool AwsUserPoolsWebClientIdHasBeenSet() const { return m_awsUserPoolsWebClientIdHasBeenSet; } /** *

The web client ID for the Amazon Cognito user pools.

*/ inline void SetAwsUserPoolsWebClientId(const Aws::String& value) { m_awsUserPoolsWebClientIdHasBeenSet = true; m_awsUserPoolsWebClientId = value; } /** *

The web client ID for the Amazon Cognito user pools.

*/ inline void SetAwsUserPoolsWebClientId(Aws::String&& value) { m_awsUserPoolsWebClientIdHasBeenSet = true; m_awsUserPoolsWebClientId = std::move(value); } /** *

The web client ID for the Amazon Cognito user pools.

*/ inline void SetAwsUserPoolsWebClientId(const char* value) { m_awsUserPoolsWebClientIdHasBeenSet = true; m_awsUserPoolsWebClientId.assign(value); } /** *

The web client ID for the Amazon Cognito user pools.

*/ inline LoginAuthConfigReqObj& WithAwsUserPoolsWebClientId(const Aws::String& value) { SetAwsUserPoolsWebClientId(value); return *this;} /** *

The web client ID for the Amazon Cognito user pools.

*/ inline LoginAuthConfigReqObj& WithAwsUserPoolsWebClientId(Aws::String&& value) { SetAwsUserPoolsWebClientId(std::move(value)); return *this;} /** *

The web client ID for the Amazon Cognito user pools.

*/ inline LoginAuthConfigReqObj& WithAwsUserPoolsWebClientId(const char* value) { SetAwsUserPoolsWebClientId(value); return *this;} private: Aws::String m_awsCognitoIdentityPoolId; bool m_awsCognitoIdentityPoolIdHasBeenSet = false; Aws::String m_awsCognitoRegion; bool m_awsCognitoRegionHasBeenSet = false; Aws::String m_awsUserPoolsId; bool m_awsUserPoolsIdHasBeenSet = false; Aws::String m_awsUserPoolsWebClientId; bool m_awsUserPoolsWebClientIdHasBeenSet = false; }; } // namespace Model } // namespace AmplifyBackend } // namespace Aws