7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/AuthenticationType.h>
9#include <aws/appsync/model/CognitoConfig.h>
10#include <aws/appsync/model/OpenIDConnectConfig.h>
11#include <aws/appsync/model/LambdaAuthorizerConfig.h>
59 template<
typename CognitoConfigT = CognitoConfig>
60 void SetCognitoConfig(CognitoConfigT&& value) { m_cognitoConfigHasBeenSet =
true; m_cognitoConfig = std::forward<CognitoConfigT>(value); }
61 template<
typename CognitoConfigT = CognitoConfig>
69 template<
typename OpenIDConnectConfigT = OpenIDConnectConfig>
70 void SetOpenIDConnectConfig(OpenIDConnectConfigT&& value) { m_openIDConnectConfigHasBeenSet =
true; m_openIDConnectConfig = std::forward<OpenIDConnectConfigT>(value); }
71 template<
typename OpenIDConnectConfigT = OpenIDConnectConfig>
79 template<
typename LambdaAuthorizerConfigT = LambdaAuthorizerConfig>
80 void SetLambdaAuthorizerConfig(LambdaAuthorizerConfigT&& value) { m_lambdaAuthorizerConfigHasBeenSet =
true; m_lambdaAuthorizerConfig = std::forward<LambdaAuthorizerConfigT>(value); }
81 template<
typename LambdaAuthorizerConfigT = LambdaAuthorizerConfig>
87 bool m_authTypeHasBeenSet =
false;
89 CognitoConfig m_cognitoConfig;
90 bool m_cognitoConfigHasBeenSet =
false;
92 OpenIDConnectConfig m_openIDConnectConfig;
93 bool m_openIDConnectConfigHasBeenSet =
false;
95 LambdaAuthorizerConfig m_lambdaAuthorizerConfig;
96 bool m_lambdaAuthorizerConfigHasBeenSet =
false;
void SetLambdaAuthorizerConfig(LambdaAuthorizerConfigT &&value)
bool AuthTypeHasBeenSet() const
const CognitoConfig & GetCognitoConfig() const
AWS_APPSYNC_API AuthProvider(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API AuthProvider()=default
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
AuthProvider & WithLambdaAuthorizerConfig(LambdaAuthorizerConfigT &&value)
void SetOpenIDConnectConfig(OpenIDConnectConfigT &&value)
void SetCognitoConfig(CognitoConfigT &&value)
const OpenIDConnectConfig & GetOpenIDConnectConfig() const
AuthProvider & WithCognitoConfig(CognitoConfigT &&value)
void SetAuthType(AuthenticationType value)
AuthProvider & WithAuthType(AuthenticationType value)
const LambdaAuthorizerConfig & GetLambdaAuthorizerConfig() const
AuthProvider & WithOpenIDConnectConfig(OpenIDConnectConfigT &&value)
bool CognitoConfigHasBeenSet() const
AuthenticationType GetAuthType() const
bool LambdaAuthorizerConfigHasBeenSet() const
bool OpenIDConnectConfigHasBeenSet() const
AWS_APPSYNC_API AuthProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue