This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-appsync/include/aws/appsync/model/CognitoUserPoolConfig.h

186 lines
5.8 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/appsync/AppSync_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AppSync
{
namespace Model
{
/**
* <p>Describes an Amazon Cognito user pool configuration.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CognitoUserPoolConfig">AWS
* API Reference</a></p>
*/
class AWS_APPSYNC_API CognitoUserPoolConfig
{
public:
CognitoUserPoolConfig();
CognitoUserPoolConfig(Aws::Utils::Json::JsonView jsonValue);
CognitoUserPoolConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The user pool ID.</p>
*/
inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
/**
* <p>The user pool ID.</p>
*/
inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
/**
* <p>The user pool ID.</p>
*/
inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
/**
* <p>The user pool ID.</p>
*/
inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
/**
* <p>The user pool ID.</p>
*/
inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
/**
* <p>The user pool ID.</p>
*/
inline CognitoUserPoolConfig& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
/**
* <p>The user pool ID.</p>
*/
inline CognitoUserPoolConfig& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
/**
* <p>The user pool ID.</p>
*/
inline CognitoUserPoolConfig& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
/**
* <p>The AWS Region in which the user pool was created.</p>
*/
inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
/**
* <p>The AWS Region in which the user pool was created.</p>
*/
inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
/**
* <p>The AWS Region in which the user pool was created.</p>
*/
inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
/**
* <p>The AWS Region in which the user pool was created.</p>
*/
inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
/**
* <p>The AWS Region in which the user pool was created.</p>
*/
inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
/**
* <p>The AWS Region in which the user pool was created.</p>
*/
inline CognitoUserPoolConfig& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
/**
* <p>The AWS Region in which the user pool was created.</p>
*/
inline CognitoUserPoolConfig& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
/**
* <p>The AWS Region in which the user pool was created.</p>
*/
inline CognitoUserPoolConfig& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
/**
* <p>A regular expression for validating the incoming Amazon Cognito user pool app
* client ID.</p>
*/
inline const Aws::String& GetAppIdClientRegex() const{ return m_appIdClientRegex; }
/**
* <p>A regular expression for validating the incoming Amazon Cognito user pool app
* client ID.</p>
*/
inline bool AppIdClientRegexHasBeenSet() const { return m_appIdClientRegexHasBeenSet; }
/**
* <p>A regular expression for validating the incoming Amazon Cognito user pool app
* client ID.</p>
*/
inline void SetAppIdClientRegex(const Aws::String& value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex = value; }
/**
* <p>A regular expression for validating the incoming Amazon Cognito user pool app
* client ID.</p>
*/
inline void SetAppIdClientRegex(Aws::String&& value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex = std::move(value); }
/**
* <p>A regular expression for validating the incoming Amazon Cognito user pool app
* client ID.</p>
*/
inline void SetAppIdClientRegex(const char* value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex.assign(value); }
/**
* <p>A regular expression for validating the incoming Amazon Cognito user pool app
* client ID.</p>
*/
inline CognitoUserPoolConfig& WithAppIdClientRegex(const Aws::String& value) { SetAppIdClientRegex(value); return *this;}
/**
* <p>A regular expression for validating the incoming Amazon Cognito user pool app
* client ID.</p>
*/
inline CognitoUserPoolConfig& WithAppIdClientRegex(Aws::String&& value) { SetAppIdClientRegex(std::move(value)); return *this;}
/**
* <p>A regular expression for validating the incoming Amazon Cognito user pool app
* client ID.</p>
*/
inline CognitoUserPoolConfig& WithAppIdClientRegex(const char* value) { SetAppIdClientRegex(value); return *this;}
private:
Aws::String m_userPoolId;
bool m_userPoolIdHasBeenSet;
Aws::String m_awsRegion;
bool m_awsRegionHasBeenSet;
Aws::String m_appIdClientRegex;
bool m_appIdClientRegexHasBeenSet;
};
} // namespace Model
} // namespace AppSync
} // namespace Aws