AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserPoolConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appsync/model/DefaultAction.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppSync
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPSYNC_API UserPoolConfig();
37 AWS_APPSYNC_API UserPoolConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
47 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
48 inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
49 inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
50 inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
51 inline UserPoolConfig& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
52 inline UserPoolConfig& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
53 inline UserPoolConfig& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
55
57
60 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
61 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
62 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
63 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
64 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
65 inline UserPoolConfig& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
66 inline UserPoolConfig& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
67 inline UserPoolConfig& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
69
71
76 inline const DefaultAction& GetDefaultAction() const{ return m_defaultAction; }
77 inline bool DefaultActionHasBeenSet() const { return m_defaultActionHasBeenSet; }
78 inline void SetDefaultAction(const DefaultAction& value) { m_defaultActionHasBeenSet = true; m_defaultAction = value; }
79 inline void SetDefaultAction(DefaultAction&& value) { m_defaultActionHasBeenSet = true; m_defaultAction = std::move(value); }
80 inline UserPoolConfig& WithDefaultAction(const DefaultAction& value) { SetDefaultAction(value); return *this;}
81 inline UserPoolConfig& WithDefaultAction(DefaultAction&& value) { SetDefaultAction(std::move(value)); return *this;}
83
85
89 inline const Aws::String& GetAppIdClientRegex() const{ return m_appIdClientRegex; }
90 inline bool AppIdClientRegexHasBeenSet() const { return m_appIdClientRegexHasBeenSet; }
91 inline void SetAppIdClientRegex(const Aws::String& value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex = value; }
92 inline void SetAppIdClientRegex(Aws::String&& value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex = std::move(value); }
93 inline void SetAppIdClientRegex(const char* value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex.assign(value); }
94 inline UserPoolConfig& WithAppIdClientRegex(const Aws::String& value) { SetAppIdClientRegex(value); return *this;}
95 inline UserPoolConfig& WithAppIdClientRegex(Aws::String&& value) { SetAppIdClientRegex(std::move(value)); return *this;}
96 inline UserPoolConfig& WithAppIdClientRegex(const char* value) { SetAppIdClientRegex(value); return *this;}
98 private:
99
100 Aws::String m_userPoolId;
101 bool m_userPoolIdHasBeenSet = false;
102
103 Aws::String m_awsRegion;
104 bool m_awsRegionHasBeenSet = false;
105
106 DefaultAction m_defaultAction;
107 bool m_defaultActionHasBeenSet = false;
108
109 Aws::String m_appIdClientRegex;
110 bool m_appIdClientRegexHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace AppSync
115} // namespace Aws
void SetAppIdClientRegex(const char *value)
UserPoolConfig & WithDefaultAction(const DefaultAction &value)
UserPoolConfig & WithUserPoolId(Aws::String &&value)
AWS_APPSYNC_API UserPoolConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
UserPoolConfig & WithAwsRegion(Aws::String &&value)
UserPoolConfig & WithAppIdClientRegex(const char *value)
UserPoolConfig & WithUserPoolId(const char *value)
void SetAwsRegion(const Aws::String &value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
const DefaultAction & GetDefaultAction() const
UserPoolConfig & WithAwsRegion(const Aws::String &value)
UserPoolConfig & WithUserPoolId(const Aws::String &value)
const Aws::String & GetAppIdClientRegex() const
void SetAppIdClientRegex(const Aws::String &value)
UserPoolConfig & WithDefaultAction(DefaultAction &&value)
const Aws::String & GetUserPoolId() const
AWS_APPSYNC_API UserPoolConfig(Aws::Utils::Json::JsonView jsonValue)
UserPoolConfig & WithAppIdClientRegex(Aws::String &&value)
void SetUserPoolId(const char *value)
void SetAppIdClientRegex(Aws::String &&value)
UserPoolConfig & WithAppIdClientRegex(const Aws::String &value)
UserPoolConfig & WithAwsRegion(const char *value)
void SetDefaultAction(const DefaultAction &value)
void SetUserPoolId(Aws::String &&value)
void SetAwsRegion(Aws::String &&value)
void SetDefaultAction(DefaultAction &&value)
const Aws::String & GetAwsRegion() const
void SetUserPoolId(const Aws::String &value)
void SetAwsRegion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue