AWS SDK for C++  1.9.40
AWS SDK for C++
UserPoolConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AppSync
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
46 
50  inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
51 
55  inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
56 
60  inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
61 
65  inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
66 
70  inline UserPoolConfig& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
71 
75  inline UserPoolConfig& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
76 
80  inline UserPoolConfig& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
81 
82 
86  inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
87 
91  inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
92 
96  inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
97 
101  inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
102 
106  inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
107 
111  inline UserPoolConfig& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
112 
116  inline UserPoolConfig& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
117 
121  inline UserPoolConfig& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
122 
123 
129  inline const DefaultAction& GetDefaultAction() const{ return m_defaultAction; }
130 
136  inline bool DefaultActionHasBeenSet() const { return m_defaultActionHasBeenSet; }
137 
143  inline void SetDefaultAction(const DefaultAction& value) { m_defaultActionHasBeenSet = true; m_defaultAction = value; }
144 
150  inline void SetDefaultAction(DefaultAction&& value) { m_defaultActionHasBeenSet = true; m_defaultAction = std::move(value); }
151 
157  inline UserPoolConfig& WithDefaultAction(const DefaultAction& value) { SetDefaultAction(value); return *this;}
158 
164  inline UserPoolConfig& WithDefaultAction(DefaultAction&& value) { SetDefaultAction(std::move(value)); return *this;}
165 
166 
171  inline const Aws::String& GetAppIdClientRegex() const{ return m_appIdClientRegex; }
172 
177  inline bool AppIdClientRegexHasBeenSet() const { return m_appIdClientRegexHasBeenSet; }
178 
183  inline void SetAppIdClientRegex(const Aws::String& value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex = value; }
184 
189  inline void SetAppIdClientRegex(Aws::String&& value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex = std::move(value); }
190 
195  inline void SetAppIdClientRegex(const char* value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex.assign(value); }
196 
201  inline UserPoolConfig& WithAppIdClientRegex(const Aws::String& value) { SetAppIdClientRegex(value); return *this;}
202 
207  inline UserPoolConfig& WithAppIdClientRegex(Aws::String&& value) { SetAppIdClientRegex(std::move(value)); return *this;}
208 
213  inline UserPoolConfig& WithAppIdClientRegex(const char* value) { SetAppIdClientRegex(value); return *this;}
214 
215  private:
216 
217  Aws::String m_userPoolId;
218  bool m_userPoolIdHasBeenSet;
219 
220  Aws::String m_awsRegion;
221  bool m_awsRegionHasBeenSet;
222 
223  DefaultAction m_defaultAction;
224  bool m_defaultActionHasBeenSet;
225 
226  Aws::String m_appIdClientRegex;
227  bool m_appIdClientRegexHasBeenSet;
228  };
229 
230 } // namespace Model
231 } // namespace AppSync
232 } // namespace Aws
Aws::AppSync::Model::UserPoolConfig::WithUserPoolId
UserPoolConfig & WithUserPoolId(const char *value)
Definition: UserPoolConfig.h:80
Aws::AppSync::Model::UserPoolConfig::WithAppIdClientRegex
UserPoolConfig & WithAppIdClientRegex(Aws::String &&value)
Definition: UserPoolConfig.h:207
Aws::AppSync::Model::UserPoolConfig::SetAppIdClientRegex
void SetAppIdClientRegex(Aws::String &&value)
Definition: UserPoolConfig.h:189
Aws::AppSync::Model::UserPoolConfig::SetUserPoolId
void SetUserPoolId(Aws::String &&value)
Definition: UserPoolConfig.h:60
Aws::AppSync::Model::UserPoolConfig::WithAppIdClientRegex
UserPoolConfig & WithAppIdClientRegex(const Aws::String &value)
Definition: UserPoolConfig.h:201
DefaultAction.h
Aws::AppSync::Model::UserPoolConfig::WithAppIdClientRegex
UserPoolConfig & WithAppIdClientRegex(const char *value)
Definition: UserPoolConfig.h:213
Aws::AppSync::Model::UserPoolConfig::GetAwsRegion
const Aws::String & GetAwsRegion() const
Definition: UserPoolConfig.h:86
Aws::AppSync::Model::UserPoolConfig::WithUserPoolId
UserPoolConfig & WithUserPoolId(Aws::String &&value)
Definition: UserPoolConfig.h:75
Aws::AppSync::Model::UserPoolConfig::UserPoolConfig
UserPoolConfig()
AppSync_EXPORTS.h
Aws::AppSync::Model::UserPoolConfig::SetAppIdClientRegex
void SetAppIdClientRegex(const Aws::String &value)
Definition: UserPoolConfig.h:183
Aws::AppSync::Model::DefaultAction
DefaultAction
Definition: DefaultAction.h:17
Aws::AppSync::Model::UserPoolConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppSync::Model::UserPoolConfig::UserPoolConfig
UserPoolConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::UserPoolConfig::GetUserPoolId
const Aws::String & GetUserPoolId() const
Definition: UserPoolConfig.h:45
Aws::AppSync::Model::UserPoolConfig::SetAwsRegion
void SetAwsRegion(Aws::String &&value)
Definition: UserPoolConfig.h:101
Aws::AppSync::Model::UserPoolConfig::AwsRegionHasBeenSet
bool AwsRegionHasBeenSet() const
Definition: UserPoolConfig.h:91
Aws::AppSync::Model::UserPoolConfig::SetAwsRegion
void SetAwsRegion(const Aws::String &value)
Definition: UserPoolConfig.h:96
Aws::AppSync::Model::UserPoolConfig::UserPoolIdHasBeenSet
bool UserPoolIdHasBeenSet() const
Definition: UserPoolConfig.h:50
Aws::AppSync::Model::UserPoolConfig::AppIdClientRegexHasBeenSet
bool AppIdClientRegexHasBeenSet() const
Definition: UserPoolConfig.h:177
Aws::AppSync::Model::UserPoolConfig::operator=
UserPoolConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppSync::Model::UserPoolConfig::DefaultActionHasBeenSet
bool DefaultActionHasBeenSet() const
Definition: UserPoolConfig.h:136
Aws::AppSync::Model::UserPoolConfig::WithUserPoolId
UserPoolConfig & WithUserPoolId(const Aws::String &value)
Definition: UserPoolConfig.h:70
Aws::AppSync::Model::UserPoolConfig::WithAwsRegion
UserPoolConfig & WithAwsRegion(const char *value)
Definition: UserPoolConfig.h:121
Aws::AppSync::Model::UserPoolConfig::SetDefaultAction
void SetDefaultAction(const DefaultAction &value)
Definition: UserPoolConfig.h:143
Aws::AppSync::Model::UserPoolConfig::WithDefaultAction
UserPoolConfig & WithDefaultAction(DefaultAction &&value)
Definition: UserPoolConfig.h:164
Aws::AppSync::Model::UserPoolConfig::SetAwsRegion
void SetAwsRegion(const char *value)
Definition: UserPoolConfig.h:106
Aws::AppSync::Model::UserPoolConfig::SetDefaultAction
void SetDefaultAction(DefaultAction &&value)
Definition: UserPoolConfig.h:150
Aws::AppSync::Model::UserPoolConfig::GetDefaultAction
const DefaultAction & GetDefaultAction() const
Definition: UserPoolConfig.h:129
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::UserPoolConfig::SetUserPoolId
void SetUserPoolId(const char *value)
Definition: UserPoolConfig.h:65
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppSync::Model::UserPoolConfig::WithAwsRegion
UserPoolConfig & WithAwsRegion(const Aws::String &value)
Definition: UserPoolConfig.h:111
Aws::AppSync::Model::UserPoolConfig::GetAppIdClientRegex
const Aws::String & GetAppIdClientRegex() const
Definition: UserPoolConfig.h:171
Aws::AppSync::Model::UserPoolConfig::WithDefaultAction
UserPoolConfig & WithDefaultAction(const DefaultAction &value)
Definition: UserPoolConfig.h:157
Aws::AppSync::Model::UserPoolConfig::WithAwsRegion
UserPoolConfig & WithAwsRegion(Aws::String &&value)
Definition: UserPoolConfig.h:116
Aws::AppSync::Model::UserPoolConfig
Definition: UserPoolConfig.h:34
Aws::AppSync::Model::UserPoolConfig::SetAppIdClientRegex
void SetAppIdClientRegex(const char *value)
Definition: UserPoolConfig.h:195
Aws::AppSync::Model::UserPoolConfig::SetUserPoolId
void SetUserPoolId(const Aws::String &value)
Definition: UserPoolConfig.h:55