AWS SDK for C++  1.9.158
AWS SDK for C++
CognitoUserPoolConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AppSync
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
45 
49  inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
50 
54  inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
55 
59  inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
60 
64  inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
65 
69  inline CognitoUserPoolConfig& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
70 
74  inline CognitoUserPoolConfig& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
75 
79  inline CognitoUserPoolConfig& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
80 
81 
85  inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
86 
90  inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
91 
95  inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
96 
100  inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
101 
105  inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
106 
110  inline CognitoUserPoolConfig& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
111 
115  inline CognitoUserPoolConfig& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
116 
120  inline CognitoUserPoolConfig& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
121 
122 
127  inline const Aws::String& GetAppIdClientRegex() const{ return m_appIdClientRegex; }
128 
133  inline bool AppIdClientRegexHasBeenSet() const { return m_appIdClientRegexHasBeenSet; }
134 
139  inline void SetAppIdClientRegex(const Aws::String& value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex = value; }
140 
145  inline void SetAppIdClientRegex(Aws::String&& value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex = std::move(value); }
146 
151  inline void SetAppIdClientRegex(const char* value) { m_appIdClientRegexHasBeenSet = true; m_appIdClientRegex.assign(value); }
152 
157  inline CognitoUserPoolConfig& WithAppIdClientRegex(const Aws::String& value) { SetAppIdClientRegex(value); return *this;}
158 
163  inline CognitoUserPoolConfig& WithAppIdClientRegex(Aws::String&& value) { SetAppIdClientRegex(std::move(value)); return *this;}
164 
169  inline CognitoUserPoolConfig& WithAppIdClientRegex(const char* value) { SetAppIdClientRegex(value); return *this;}
170 
171  private:
172 
173  Aws::String m_userPoolId;
174  bool m_userPoolIdHasBeenSet;
175 
176  Aws::String m_awsRegion;
177  bool m_awsRegionHasBeenSet;
178 
179  Aws::String m_appIdClientRegex;
180  bool m_appIdClientRegexHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace AppSync
185 } // namespace Aws
Aws::AppSync::Model::CognitoUserPoolConfig::SetUserPoolId
void SetUserPoolId(Aws::String &&value)
Definition: CognitoUserPoolConfig.h:59
Aws::AppSync::Model::CognitoUserPoolConfig::WithAppIdClientRegex
CognitoUserPoolConfig & WithAppIdClientRegex(const Aws::String &value)
Definition: CognitoUserPoolConfig.h:157
Aws::AppSync::Model::CognitoUserPoolConfig::AppIdClientRegexHasBeenSet
bool AppIdClientRegexHasBeenSet() const
Definition: CognitoUserPoolConfig.h:133
Aws::AppSync::Model::CognitoUserPoolConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppSync::Model::CognitoUserPoolConfig::SetAwsRegion
void SetAwsRegion(const Aws::String &value)
Definition: CognitoUserPoolConfig.h:95
Aws::AppSync::Model::CognitoUserPoolConfig::WithUserPoolId
CognitoUserPoolConfig & WithUserPoolId(const char *value)
Definition: CognitoUserPoolConfig.h:79
Aws::AppSync::Model::CognitoUserPoolConfig::SetAppIdClientRegex
void SetAppIdClientRegex(Aws::String &&value)
Definition: CognitoUserPoolConfig.h:145
Aws::AppSync::Model::CognitoUserPoolConfig::UserPoolIdHasBeenSet
bool UserPoolIdHasBeenSet() const
Definition: CognitoUserPoolConfig.h:49
Aws::AppSync::Model::CognitoUserPoolConfig::WithUserPoolId
CognitoUserPoolConfig & WithUserPoolId(const Aws::String &value)
Definition: CognitoUserPoolConfig.h:69
AppSync_EXPORTS.h
Aws::AppSync::Model::CognitoUserPoolConfig::WithUserPoolId
CognitoUserPoolConfig & WithUserPoolId(Aws::String &&value)
Definition: CognitoUserPoolConfig.h:74
Aws::AppSync::Model::CognitoUserPoolConfig::WithAppIdClientRegex
CognitoUserPoolConfig & WithAppIdClientRegex(Aws::String &&value)
Definition: CognitoUserPoolConfig.h:163
Aws::AppSync::Model::CognitoUserPoolConfig::SetAwsRegion
void SetAwsRegion(const char *value)
Definition: CognitoUserPoolConfig.h:105
Aws::AppSync::Model::CognitoUserPoolConfig::SetUserPoolId
void SetUserPoolId(const Aws::String &value)
Definition: CognitoUserPoolConfig.h:54
Aws::AppSync::Model::CognitoUserPoolConfig::GetAppIdClientRegex
const Aws::String & GetAppIdClientRegex() const
Definition: CognitoUserPoolConfig.h:127
Aws::AppSync::Model::CognitoUserPoolConfig::SetAppIdClientRegex
void SetAppIdClientRegex(const Aws::String &value)
Definition: CognitoUserPoolConfig.h:139
Aws::AppSync::Model::CognitoUserPoolConfig::SetAppIdClientRegex
void SetAppIdClientRegex(const char *value)
Definition: CognitoUserPoolConfig.h:151
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AppSync::Model::CognitoUserPoolConfig::GetUserPoolId
const Aws::String & GetUserPoolId() const
Definition: CognitoUserPoolConfig.h:44
AWSString.h
Aws::AppSync::Model::CognitoUserPoolConfig
Definition: CognitoUserPoolConfig.h:33
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppSync::Model::CognitoUserPoolConfig::GetAwsRegion
const Aws::String & GetAwsRegion() const
Definition: CognitoUserPoolConfig.h:85
Aws::AppSync::Model::CognitoUserPoolConfig::WithAwsRegion
CognitoUserPoolConfig & WithAwsRegion(Aws::String &&value)
Definition: CognitoUserPoolConfig.h:115
Aws::AppSync::Model::CognitoUserPoolConfig::AwsRegionHasBeenSet
bool AwsRegionHasBeenSet() const
Definition: CognitoUserPoolConfig.h:90
Aws::AppSync::Model::CognitoUserPoolConfig::CognitoUserPoolConfig
CognitoUserPoolConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::CognitoUserPoolConfig::WithAppIdClientRegex
CognitoUserPoolConfig & WithAppIdClientRegex(const char *value)
Definition: CognitoUserPoolConfig.h:169
Aws::AppSync::Model::CognitoUserPoolConfig::operator=
CognitoUserPoolConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::CognitoUserPoolConfig::WithAwsRegion
CognitoUserPoolConfig & WithAwsRegion(const char *value)
Definition: CognitoUserPoolConfig.h:120
Aws::AppSync::Model::CognitoUserPoolConfig::SetAwsRegion
void SetAwsRegion(Aws::String &&value)
Definition: CognitoUserPoolConfig.h:100
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::CognitoUserPoolConfig::SetUserPoolId
void SetUserPoolId(const char *value)
Definition: CognitoUserPoolConfig.h:64
Aws::AppSync::Model::CognitoUserPoolConfig::WithAwsRegion
CognitoUserPoolConfig & WithAwsRegion(const Aws::String &value)
Definition: CognitoUserPoolConfig.h:110
Aws::AppSync::Model::CognitoUserPoolConfig::CognitoUserPoolConfig
CognitoUserPoolConfig()