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/LambdaAuthorizerConfig.h>
11#include <aws/appsync/model/OpenIDConnectConfig.h>
44 m_authTypeHasBeenSet =
true;
59 template <
typename CognitoConfigT = CognitoConfig>
61 m_cognitoConfigHasBeenSet =
true;
62 m_cognitoConfig = std::forward<CognitoConfigT>(value);
64 template <
typename CognitoConfigT = CognitoConfig>
75 template <
typename OpenIDConnectConfigT = OpenIDConnectConfig>
77 m_openIDConnectConfigHasBeenSet =
true;
78 m_openIDConnectConfig = std::forward<OpenIDConnectConfigT>(value);
80 template <
typename OpenIDConnectConfigT = OpenIDConnectConfig>
91 template <
typename LambdaAuthorizerConfigT = LambdaAuthorizerConfig>
93 m_lambdaAuthorizerConfigHasBeenSet =
true;
94 m_lambdaAuthorizerConfig = std::forward<LambdaAuthorizerConfigT>(value);
96 template <
typename LambdaAuthorizerConfigT = LambdaAuthorizerConfig>
105 CognitoConfig m_cognitoConfig;
107 OpenIDConnectConfig m_openIDConnectConfig;
109 LambdaAuthorizerConfig m_lambdaAuthorizerConfig;
110 bool m_authTypeHasBeenSet =
false;
111 bool m_cognitoConfigHasBeenSet =
false;
112 bool m_openIDConnectConfigHasBeenSet =
false;
113 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