7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/AuthenticationType.h>
9#include <aws/appsync/model/CognitoUserPoolConfig.h>
10#include <aws/appsync/model/LambdaAuthorizerConfig.h>
11#include <aws/appsync/model/OpenIDConnectConfig.h>
46 m_authenticationTypeHasBeenSet =
true;
47 m_authenticationType = value;
61 template <
typename OpenIDConnectConfigT = OpenIDConnectConfig>
63 m_openIDConnectConfigHasBeenSet =
true;
64 m_openIDConnectConfig = std::forward<OpenIDConnectConfigT>(value);
66 template <
typename OpenIDConnectConfigT = OpenIDConnectConfig>
79 template <
typename UserPoolConfigT = CognitoUserPoolConfig>
81 m_userPoolConfigHasBeenSet =
true;
82 m_userPoolConfig = std::forward<UserPoolConfigT>(value);
84 template <
typename UserPoolConfigT = CognitoUserPoolConfig>
97 template <
typename LambdaAuthorizerConfigT = LambdaAuthorizerConfig>
99 m_lambdaAuthorizerConfigHasBeenSet =
true;
100 m_lambdaAuthorizerConfig = std::forward<LambdaAuthorizerConfigT>(value);
102 template <
typename LambdaAuthorizerConfigT = LambdaAuthorizerConfig>
111 OpenIDConnectConfig m_openIDConnectConfig;
113 CognitoUserPoolConfig m_userPoolConfig;
115 LambdaAuthorizerConfig m_lambdaAuthorizerConfig;
116 bool m_authenticationTypeHasBeenSet =
false;
117 bool m_openIDConnectConfigHasBeenSet =
false;
118 bool m_userPoolConfigHasBeenSet =
false;
119 bool m_lambdaAuthorizerConfigHasBeenSet =
false;
bool OpenIDConnectConfigHasBeenSet() const
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
const OpenIDConnectConfig & GetOpenIDConnectConfig() const
AWS_APPSYNC_API AdditionalAuthenticationProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
bool UserPoolConfigHasBeenSet() const
AuthenticationType GetAuthenticationType() const
const CognitoUserPoolConfig & GetUserPoolConfig() const
AdditionalAuthenticationProvider & WithAuthenticationType(AuthenticationType value)
AWS_APPSYNC_API AdditionalAuthenticationProvider(Aws::Utils::Json::JsonView jsonValue)
AdditionalAuthenticationProvider & WithLambdaAuthorizerConfig(LambdaAuthorizerConfigT &&value)
void SetLambdaAuthorizerConfig(LambdaAuthorizerConfigT &&value)
const LambdaAuthorizerConfig & GetLambdaAuthorizerConfig() const
AdditionalAuthenticationProvider & WithOpenIDConnectConfig(OpenIDConnectConfigT &&value)
AdditionalAuthenticationProvider & WithUserPoolConfig(UserPoolConfigT &&value)
void SetUserPoolConfig(UserPoolConfigT &&value)
bool AuthenticationTypeHasBeenSet() const
AWS_APPSYNC_API AdditionalAuthenticationProvider()=default
bool LambdaAuthorizerConfigHasBeenSet() const
void SetOpenIDConnectConfig(OpenIDConnectConfigT &&value)
void SetAuthenticationType(AuthenticationType value)
Aws::Utils::Json::JsonValue JsonValue