/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the authorization configuration for the Amazon Cognito identity
* pool, provisioned as a part of your auth resource in the Amplify
* project.See Also:
AWS
* API Reference
A boolean value that can be set to allow or disallow guest-level * authorization into your Amplify app.
*/ inline bool GetUnauthenticatedLogin() const{ return m_unauthenticatedLogin; } /** *A boolean value that can be set to allow or disallow guest-level * authorization into your Amplify app.
*/ inline bool UnauthenticatedLoginHasBeenSet() const { return m_unauthenticatedLoginHasBeenSet; } /** *A boolean value that can be set to allow or disallow guest-level * authorization into your Amplify app.
*/ inline void SetUnauthenticatedLogin(bool value) { m_unauthenticatedLoginHasBeenSet = true; m_unauthenticatedLogin = value; } /** *A boolean value that can be set to allow or disallow guest-level * authorization into your Amplify app.
*/ inline UpdateBackendAuthIdentityPoolConfig& WithUnauthenticatedLogin(bool value) { SetUnauthenticatedLogin(value); return *this;} private: bool m_unauthenticatedLogin; bool m_unauthenticatedLoginHasBeenSet = false; }; } // namespace Model } // namespace AmplifyBackend } // namespace Aws