/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A provider representing an Amazon Cognito user pool and its client
* ID.See Also:
AWS
* API Reference
The provider name for an Amazon Cognito user pool. For example,
* cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.
The provider name for an Amazon Cognito user pool. For example,
* cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.
The provider name for an Amazon Cognito user pool. For example,
* cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.
The provider name for an Amazon Cognito user pool. For example,
* cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.
The provider name for an Amazon Cognito user pool. For example,
* cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.
The provider name for an Amazon Cognito user pool. For example,
* cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.
The provider name for an Amazon Cognito user pool. For example,
* cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.
The provider name for an Amazon Cognito user pool. For example,
* cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.
The client ID for the Amazon Cognito user pool.
*/ inline const Aws::String& GetClientId() const{ return m_clientId; } /** *The client ID for the Amazon Cognito user pool.
*/ inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; } /** *The client ID for the Amazon Cognito user pool.
*/ inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; } /** *The client ID for the Amazon Cognito user pool.
*/ inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); } /** *The client ID for the Amazon Cognito user pool.
*/ inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); } /** *The client ID for the Amazon Cognito user pool.
*/ inline CognitoIdentityProvider& WithClientId(const Aws::String& value) { SetClientId(value); return *this;} /** *The client ID for the Amazon Cognito user pool.
*/ inline CognitoIdentityProvider& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;} /** *The client ID for the Amazon Cognito user pool.
*/ inline CognitoIdentityProvider& WithClientId(const char* value) { SetClientId(value); return *this;} /** *TRUE if server-side token validation is enabled for the identity provider’s * token.
Once you set ServerSideTokenCheck
to TRUE for an
* identity pool, that identity pool will check with the integrated user pools to
* make sure that the user has not been globally signed out or deleted before the
* identity pool provides an OIDC token or AWS credentials for the user.
If * the user is signed out or deleted, the identity pool will return a 400 Not * Authorized error.
*/ inline bool GetServerSideTokenCheck() const{ return m_serverSideTokenCheck; } /** *TRUE if server-side token validation is enabled for the identity provider’s * token.
Once you set ServerSideTokenCheck
to TRUE for an
* identity pool, that identity pool will check with the integrated user pools to
* make sure that the user has not been globally signed out or deleted before the
* identity pool provides an OIDC token or AWS credentials for the user.
If * the user is signed out or deleted, the identity pool will return a 400 Not * Authorized error.
*/ inline bool ServerSideTokenCheckHasBeenSet() const { return m_serverSideTokenCheckHasBeenSet; } /** *TRUE if server-side token validation is enabled for the identity provider’s * token.
Once you set ServerSideTokenCheck
to TRUE for an
* identity pool, that identity pool will check with the integrated user pools to
* make sure that the user has not been globally signed out or deleted before the
* identity pool provides an OIDC token or AWS credentials for the user.
If * the user is signed out or deleted, the identity pool will return a 400 Not * Authorized error.
*/ inline void SetServerSideTokenCheck(bool value) { m_serverSideTokenCheckHasBeenSet = true; m_serverSideTokenCheck = value; } /** *TRUE if server-side token validation is enabled for the identity provider’s * token.
Once you set ServerSideTokenCheck
to TRUE for an
* identity pool, that identity pool will check with the integrated user pools to
* make sure that the user has not been globally signed out or deleted before the
* identity pool provides an OIDC token or AWS credentials for the user.
If * the user is signed out or deleted, the identity pool will return a 400 Not * Authorized error.
*/ inline CognitoIdentityProvider& WithServerSideTokenCheck(bool value) { SetServerSideTokenCheck(value); return *this;} private: Aws::String m_providerName; bool m_providerNameHasBeenSet = false; Aws::String m_clientId; bool m_clientIdHasBeenSet = false; bool m_serverSideTokenCheck; bool m_serverSideTokenCheckHasBeenSet = false; }; } // namespace Model } // namespace CognitoIdentity } // namespace Aws