AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CognitoUserPoolConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppSync
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPSYNC_API CognitoUserPoolConfig();
38 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
46 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
47 inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
48 inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
49 inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
50 inline CognitoUserPoolConfig& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
51 inline CognitoUserPoolConfig& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
52 inline CognitoUserPoolConfig& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
54
56
59 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
60 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
61 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
62 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
63 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
64 inline CognitoUserPoolConfig& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
65 inline CognitoUserPoolConfig& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
66 inline CognitoUserPoolConfig& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
68
70
74 inline const Aws::String& GetAppIdClientRegex() const{ return m_appIdClientRegex; }
75 inline bool AppIdClientRegexHasBeenSet() const { return m_appIdClientRegexHasBeenSet; }
76 inline void SetAppIdClientRegex(const Aws::String& value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex = value; }
77 inline void SetAppIdClientRegex(Aws::String&& value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex = std::move(value); }
78 inline void SetAppIdClientRegex(const char* value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex.assign(value); }
79 inline CognitoUserPoolConfig& WithAppIdClientRegex(const Aws::String& value) { SetAppIdClientRegex(value); return *this;}
80 inline CognitoUserPoolConfig& WithAppIdClientRegex(Aws::String&& value) { SetAppIdClientRegex(std::move(value)); return *this;}
81 inline CognitoUserPoolConfig& WithAppIdClientRegex(const char* value) { SetAppIdClientRegex(value); return *this;}
83 private:
84
85 Aws::String m_userPoolId;
86 bool m_userPoolIdHasBeenSet = false;
87
88 Aws::String m_awsRegion;
89 bool m_awsRegionHasBeenSet = false;
90
91 Aws::String m_appIdClientRegex;
92 bool m_appIdClientRegexHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace AppSync
97} // namespace Aws
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
CognitoUserPoolConfig & WithAppIdClientRegex(const char *value)
AWS_APPSYNC_API CognitoUserPoolConfig(Aws::Utils::Json::JsonView jsonValue)
CognitoUserPoolConfig & WithUserPoolId(const Aws::String &value)
CognitoUserPoolConfig & WithAwsRegion(Aws::String &&value)
CognitoUserPoolConfig & WithAwsRegion(const Aws::String &value)
CognitoUserPoolConfig & WithUserPoolId(const char *value)
void SetAppIdClientRegex(const Aws::String &value)
CognitoUserPoolConfig & WithAwsRegion(const char *value)
CognitoUserPoolConfig & WithUserPoolId(Aws::String &&value)
AWS_APPSYNC_API CognitoUserPoolConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
CognitoUserPoolConfig & WithAppIdClientRegex(Aws::String &&value)
CognitoUserPoolConfig & WithAppIdClientRegex(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue