/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace VerifiedPermissions { namespace Model { /** *

Contains configuration details of a Amazon Cognito user pool for use with an * identity source.

See Also:

AWS * API Reference

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

The Amazon * Resource Name (ARN) of the Amazon Cognito user pool associated with this * identity source.

*/ inline const Aws::String& GetUserPoolArn() const{ return m_userPoolArn; } /** *

The Amazon * Resource Name (ARN) of the Amazon Cognito user pool associated with this * identity source.

*/ inline bool UserPoolArnHasBeenSet() const { return m_userPoolArnHasBeenSet; } /** *

The Amazon * Resource Name (ARN) of the Amazon Cognito user pool associated with this * identity source.

*/ inline void SetUserPoolArn(const Aws::String& value) { m_userPoolArnHasBeenSet = true; m_userPoolArn = value; } /** *

The Amazon * Resource Name (ARN) of the Amazon Cognito user pool associated with this * identity source.

*/ inline void SetUserPoolArn(Aws::String&& value) { m_userPoolArnHasBeenSet = true; m_userPoolArn = std::move(value); } /** *

The Amazon * Resource Name (ARN) of the Amazon Cognito user pool associated with this * identity source.

*/ inline void SetUserPoolArn(const char* value) { m_userPoolArnHasBeenSet = true; m_userPoolArn.assign(value); } /** *

The Amazon * Resource Name (ARN) of the Amazon Cognito user pool associated with this * identity source.

*/ inline UpdateCognitoUserPoolConfiguration& WithUserPoolArn(const Aws::String& value) { SetUserPoolArn(value); return *this;} /** *

The Amazon * Resource Name (ARN) of the Amazon Cognito user pool associated with this * identity source.

*/ inline UpdateCognitoUserPoolConfiguration& WithUserPoolArn(Aws::String&& value) { SetUserPoolArn(std::move(value)); return *this;} /** *

The Amazon * Resource Name (ARN) of the Amazon Cognito user pool associated with this * identity source.

*/ inline UpdateCognitoUserPoolConfiguration& WithUserPoolArn(const char* value) { SetUserPoolArn(value); return *this;} /** *

The client ID of an app client that is configured for the specified Amazon * Cognito user pool.

*/ inline const Aws::Vector& GetClientIds() const{ return m_clientIds; } /** *

The client ID of an app client that is configured for the specified Amazon * Cognito user pool.

*/ inline bool ClientIdsHasBeenSet() const { return m_clientIdsHasBeenSet; } /** *

The client ID of an app client that is configured for the specified Amazon * Cognito user pool.

*/ inline void SetClientIds(const Aws::Vector& value) { m_clientIdsHasBeenSet = true; m_clientIds = value; } /** *

The client ID of an app client that is configured for the specified Amazon * Cognito user pool.

*/ inline void SetClientIds(Aws::Vector&& value) { m_clientIdsHasBeenSet = true; m_clientIds = std::move(value); } /** *

The client ID of an app client that is configured for the specified Amazon * Cognito user pool.

*/ inline UpdateCognitoUserPoolConfiguration& WithClientIds(const Aws::Vector& value) { SetClientIds(value); return *this;} /** *

The client ID of an app client that is configured for the specified Amazon * Cognito user pool.

*/ inline UpdateCognitoUserPoolConfiguration& WithClientIds(Aws::Vector&& value) { SetClientIds(std::move(value)); return *this;} /** *

The client ID of an app client that is configured for the specified Amazon * Cognito user pool.

*/ inline UpdateCognitoUserPoolConfiguration& AddClientIds(const Aws::String& value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(value); return *this; } /** *

The client ID of an app client that is configured for the specified Amazon * Cognito user pool.

*/ inline UpdateCognitoUserPoolConfiguration& AddClientIds(Aws::String&& value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(std::move(value)); return *this; } /** *

The client ID of an app client that is configured for the specified Amazon * Cognito user pool.

*/ inline UpdateCognitoUserPoolConfiguration& AddClientIds(const char* value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(value); return *this; } private: Aws::String m_userPoolArn; bool m_userPoolArnHasBeenSet = false; Aws::Vector m_clientIds; bool m_clientIdsHasBeenSet = false; }; } // namespace Model } // namespace VerifiedPermissions } // namespace Aws