AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdditionalAuthenticationProvider.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/AuthenticationType.h>
9#include <aws/appsync/model/OpenIDConnectConfig.h>
10#include <aws/appsync/model/CognitoUserPoolConfig.h>
11#include <aws/appsync/model/LambdaAuthorizerConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AppSync
25{
26namespace Model
27{
28
36 {
37 public:
41 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
50 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
51 inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
52 inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
56
58
61 inline const OpenIDConnectConfig& GetOpenIDConnectConfig() const{ return m_openIDConnectConfig; }
62 inline bool OpenIDConnectConfigHasBeenSet() const { return m_openIDConnectConfigHasBeenSet; }
63 inline void SetOpenIDConnectConfig(const OpenIDConnectConfig& value) { m_openIDConnectConfigHasBeenSet = true; m_openIDConnectConfig = value; }
64 inline void SetOpenIDConnectConfig(OpenIDConnectConfig&& value) { m_openIDConnectConfigHasBeenSet = true; m_openIDConnectConfig = std::move(value); }
68
70
73 inline const CognitoUserPoolConfig& GetUserPoolConfig() const{ return m_userPoolConfig; }
74 inline bool UserPoolConfigHasBeenSet() const { return m_userPoolConfigHasBeenSet; }
75 inline void SetUserPoolConfig(const CognitoUserPoolConfig& value) { m_userPoolConfigHasBeenSet = true; m_userPoolConfig = value; }
76 inline void SetUserPoolConfig(CognitoUserPoolConfig&& value) { m_userPoolConfigHasBeenSet = true; m_userPoolConfig = std::move(value); }
80
82
85 inline const LambdaAuthorizerConfig& GetLambdaAuthorizerConfig() const{ return m_lambdaAuthorizerConfig; }
86 inline bool LambdaAuthorizerConfigHasBeenSet() const { return m_lambdaAuthorizerConfigHasBeenSet; }
87 inline void SetLambdaAuthorizerConfig(const LambdaAuthorizerConfig& value) { m_lambdaAuthorizerConfigHasBeenSet = true; m_lambdaAuthorizerConfig = value; }
88 inline void SetLambdaAuthorizerConfig(LambdaAuthorizerConfig&& value) { m_lambdaAuthorizerConfigHasBeenSet = true; m_lambdaAuthorizerConfig = std::move(value); }
92 private:
93
94 AuthenticationType m_authenticationType;
95 bool m_authenticationTypeHasBeenSet = false;
96
97 OpenIDConnectConfig m_openIDConnectConfig;
98 bool m_openIDConnectConfigHasBeenSet = false;
99
100 CognitoUserPoolConfig m_userPoolConfig;
101 bool m_userPoolConfigHasBeenSet = false;
102
103 LambdaAuthorizerConfig m_lambdaAuthorizerConfig;
104 bool m_lambdaAuthorizerConfigHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace AppSync
109} // namespace Aws
AdditionalAuthenticationProvider & WithLambdaAuthorizerConfig(LambdaAuthorizerConfig &&value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
AdditionalAuthenticationProvider & WithUserPoolConfig(CognitoUserPoolConfig &&value)
AdditionalAuthenticationProvider & WithUserPoolConfig(const CognitoUserPoolConfig &value)
AWS_APPSYNC_API AdditionalAuthenticationProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
AdditionalAuthenticationProvider & WithOpenIDConnectConfig(const OpenIDConnectConfig &value)
void SetLambdaAuthorizerConfig(const LambdaAuthorizerConfig &value)
AWS_APPSYNC_API AdditionalAuthenticationProvider(Aws::Utils::Json::JsonView jsonValue)
AdditionalAuthenticationProvider & WithAuthenticationType(AuthenticationType &&value)
AdditionalAuthenticationProvider & WithAuthenticationType(const AuthenticationType &value)
AdditionalAuthenticationProvider & WithOpenIDConnectConfig(OpenIDConnectConfig &&value)
AdditionalAuthenticationProvider & WithLambdaAuthorizerConfig(const LambdaAuthorizerConfig &value)
Aws::Utils::Json::JsonValue JsonValue