AWS SDK for C++  1.9.158
AWS SDK for C++
AdditionalAuthenticationProvider.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace AppSync
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
48  inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
49 
54  inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
55 
60  inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
61 
66  inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
67 
72  inline AdditionalAuthenticationProvider& WithAuthenticationType(const AuthenticationType& value) { SetAuthenticationType(value); return *this;}
73 
78  inline AdditionalAuthenticationProvider& WithAuthenticationType(AuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;}
79 
80 
84  inline const OpenIDConnectConfig& GetOpenIDConnectConfig() const{ return m_openIDConnectConfig; }
85 
89  inline bool OpenIDConnectConfigHasBeenSet() const { return m_openIDConnectConfigHasBeenSet; }
90 
94  inline void SetOpenIDConnectConfig(const OpenIDConnectConfig& value) { m_openIDConnectConfigHasBeenSet = true; m_openIDConnectConfig = value; }
95 
99  inline void SetOpenIDConnectConfig(OpenIDConnectConfig&& value) { m_openIDConnectConfigHasBeenSet = true; m_openIDConnectConfig = std::move(value); }
100 
104  inline AdditionalAuthenticationProvider& WithOpenIDConnectConfig(const OpenIDConnectConfig& value) { SetOpenIDConnectConfig(value); return *this;}
105 
109  inline AdditionalAuthenticationProvider& WithOpenIDConnectConfig(OpenIDConnectConfig&& value) { SetOpenIDConnectConfig(std::move(value)); return *this;}
110 
111 
115  inline const CognitoUserPoolConfig& GetUserPoolConfig() const{ return m_userPoolConfig; }
116 
120  inline bool UserPoolConfigHasBeenSet() const { return m_userPoolConfigHasBeenSet; }
121 
125  inline void SetUserPoolConfig(const CognitoUserPoolConfig& value) { m_userPoolConfigHasBeenSet = true; m_userPoolConfig = value; }
126 
130  inline void SetUserPoolConfig(CognitoUserPoolConfig&& value) { m_userPoolConfigHasBeenSet = true; m_userPoolConfig = std::move(value); }
131 
135  inline AdditionalAuthenticationProvider& WithUserPoolConfig(const CognitoUserPoolConfig& value) { SetUserPoolConfig(value); return *this;}
136 
140  inline AdditionalAuthenticationProvider& WithUserPoolConfig(CognitoUserPoolConfig&& value) { SetUserPoolConfig(std::move(value)); return *this;}
141 
142 
146  inline const LambdaAuthorizerConfig& GetLambdaAuthorizerConfig() const{ return m_lambdaAuthorizerConfig; }
147 
151  inline bool LambdaAuthorizerConfigHasBeenSet() const { return m_lambdaAuthorizerConfigHasBeenSet; }
152 
156  inline void SetLambdaAuthorizerConfig(const LambdaAuthorizerConfig& value) { m_lambdaAuthorizerConfigHasBeenSet = true; m_lambdaAuthorizerConfig = value; }
157 
161  inline void SetLambdaAuthorizerConfig(LambdaAuthorizerConfig&& value) { m_lambdaAuthorizerConfigHasBeenSet = true; m_lambdaAuthorizerConfig = std::move(value); }
162 
166  inline AdditionalAuthenticationProvider& WithLambdaAuthorizerConfig(const LambdaAuthorizerConfig& value) { SetLambdaAuthorizerConfig(value); return *this;}
167 
171  inline AdditionalAuthenticationProvider& WithLambdaAuthorizerConfig(LambdaAuthorizerConfig&& value) { SetLambdaAuthorizerConfig(std::move(value)); return *this;}
172 
173  private:
174 
175  AuthenticationType m_authenticationType;
176  bool m_authenticationTypeHasBeenSet;
177 
178  OpenIDConnectConfig m_openIDConnectConfig;
179  bool m_openIDConnectConfigHasBeenSet;
180 
181  CognitoUserPoolConfig m_userPoolConfig;
182  bool m_userPoolConfigHasBeenSet;
183 
184  LambdaAuthorizerConfig m_lambdaAuthorizerConfig;
185  bool m_lambdaAuthorizerConfigHasBeenSet;
186  };
187 
188 } // namespace Model
189 } // namespace AppSync
190 } // namespace Aws
OpenIDConnectConfig.h
Aws::AppSync::Model::AdditionalAuthenticationProvider::SetAuthenticationType
void SetAuthenticationType(AuthenticationType &&value)
Definition: AdditionalAuthenticationProvider.h:66
Aws::AppSync::Model::AdditionalAuthenticationProvider::UserPoolConfigHasBeenSet
bool UserPoolConfigHasBeenSet() const
Definition: AdditionalAuthenticationProvider.h:120
Aws::AppSync::Model::AdditionalAuthenticationProvider::WithOpenIDConnectConfig
AdditionalAuthenticationProvider & WithOpenIDConnectConfig(OpenIDConnectConfig &&value)
Definition: AdditionalAuthenticationProvider.h:109
Aws::AppSync::Model::AdditionalAuthenticationProvider::GetAuthenticationType
const AuthenticationType & GetAuthenticationType() const
Definition: AdditionalAuthenticationProvider.h:48
Aws::AppSync::Model::AdditionalAuthenticationProvider::AdditionalAuthenticationProvider
AdditionalAuthenticationProvider()
Aws::AppSync::Model::AdditionalAuthenticationProvider::GetLambdaAuthorizerConfig
const LambdaAuthorizerConfig & GetLambdaAuthorizerConfig() const
Definition: AdditionalAuthenticationProvider.h:146
Aws::AppSync::Model::LambdaAuthorizerConfig
Definition: LambdaAuthorizerConfig.h:35
Aws::AppSync::Model::AdditionalAuthenticationProvider::WithAuthenticationType
AdditionalAuthenticationProvider & WithAuthenticationType(AuthenticationType &&value)
Definition: AdditionalAuthenticationProvider.h:78
AppSync_EXPORTS.h
Aws::AppSync::Model::AdditionalAuthenticationProvider::LambdaAuthorizerConfigHasBeenSet
bool LambdaAuthorizerConfigHasBeenSet() const
Definition: AdditionalAuthenticationProvider.h:151
Aws::AppSync::Model::AdditionalAuthenticationProvider::WithOpenIDConnectConfig
AdditionalAuthenticationProvider & WithOpenIDConnectConfig(const OpenIDConnectConfig &value)
Definition: AdditionalAuthenticationProvider.h:104
Aws::AppSync::Model::AdditionalAuthenticationProvider::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppSync::Model::AuthenticationType
AuthenticationType
Definition: AuthenticationType.h:17
Aws::AppSync::Model::AdditionalAuthenticationProvider::GetUserPoolConfig
const CognitoUserPoolConfig & GetUserPoolConfig() const
Definition: AdditionalAuthenticationProvider.h:115
Aws::AppSync::Model::AdditionalAuthenticationProvider::SetUserPoolConfig
void SetUserPoolConfig(const CognitoUserPoolConfig &value)
Definition: AdditionalAuthenticationProvider.h:125
Aws::AppSync::Model::AdditionalAuthenticationProvider::GetOpenIDConnectConfig
const OpenIDConnectConfig & GetOpenIDConnectConfig() const
Definition: AdditionalAuthenticationProvider.h:84
Aws::AppSync::Model::AdditionalAuthenticationProvider::WithUserPoolConfig
AdditionalAuthenticationProvider & WithUserPoolConfig(const CognitoUserPoolConfig &value)
Definition: AdditionalAuthenticationProvider.h:135
Aws::AppSync::Model::AdditionalAuthenticationProvider::SetLambdaAuthorizerConfig
void SetLambdaAuthorizerConfig(LambdaAuthorizerConfig &&value)
Definition: AdditionalAuthenticationProvider.h:161
Aws::AppSync::Model::AdditionalAuthenticationProvider::WithLambdaAuthorizerConfig
AdditionalAuthenticationProvider & WithLambdaAuthorizerConfig(LambdaAuthorizerConfig &&value)
Definition: AdditionalAuthenticationProvider.h:171
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AppSync::Model::CognitoUserPoolConfig
Definition: CognitoUserPoolConfig.h:33
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppSync::Model::AdditionalAuthenticationProvider::AuthenticationTypeHasBeenSet
bool AuthenticationTypeHasBeenSet() const
Definition: AdditionalAuthenticationProvider.h:54
Aws::AppSync::Model::AdditionalAuthenticationProvider::WithAuthenticationType
AdditionalAuthenticationProvider & WithAuthenticationType(const AuthenticationType &value)
Definition: AdditionalAuthenticationProvider.h:72
Aws::AppSync::Model::AdditionalAuthenticationProvider::AdditionalAuthenticationProvider
AdditionalAuthenticationProvider(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::OpenIDConnectConfig
Definition: OpenIDConnectConfig.h:32
Aws::AppSync::Model::AdditionalAuthenticationProvider::operator=
AdditionalAuthenticationProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::AdditionalAuthenticationProvider::SetUserPoolConfig
void SetUserPoolConfig(CognitoUserPoolConfig &&value)
Definition: AdditionalAuthenticationProvider.h:130
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::AdditionalAuthenticationProvider::WithLambdaAuthorizerConfig
AdditionalAuthenticationProvider & WithLambdaAuthorizerConfig(const LambdaAuthorizerConfig &value)
Definition: AdditionalAuthenticationProvider.h:166
Aws::AppSync::Model::AdditionalAuthenticationProvider
Definition: AdditionalAuthenticationProvider.h:36
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::AppSync::Model::AdditionalAuthenticationProvider::WithUserPoolConfig
AdditionalAuthenticationProvider & WithUserPoolConfig(CognitoUserPoolConfig &&value)
Definition: AdditionalAuthenticationProvider.h:140
AuthenticationType.h
Aws::AppSync::Model::AdditionalAuthenticationProvider::SetOpenIDConnectConfig
void SetOpenIDConnectConfig(const OpenIDConnectConfig &value)
Definition: AdditionalAuthenticationProvider.h:94
CognitoUserPoolConfig.h
Aws::AppSync::Model::AdditionalAuthenticationProvider::SetOpenIDConnectConfig
void SetOpenIDConnectConfig(OpenIDConnectConfig &&value)
Definition: AdditionalAuthenticationProvider.h:99
Aws::AppSync::Model::AdditionalAuthenticationProvider::OpenIDConnectConfigHasBeenSet
bool OpenIDConnectConfigHasBeenSet() const
Definition: AdditionalAuthenticationProvider.h:89
LambdaAuthorizerConfig.h
Aws::AppSync::Model::AdditionalAuthenticationProvider::SetAuthenticationType
void SetAuthenticationType(const AuthenticationType &value)
Definition: AdditionalAuthenticationProvider.h:60
Aws::AppSync::Model::AdditionalAuthenticationProvider::SetLambdaAuthorizerConfig
void SetLambdaAuthorizerConfig(const LambdaAuthorizerConfig &value)
Definition: AdditionalAuthenticationProvider.h:156