7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/ClientCredentialsProperties.h>
9#include <aws/glue/model/ConnectorAuthorizationCodeProperties.h>
10#include <aws/glue/model/ConnectorOAuth2GrantType.h>
11#include <aws/glue/model/JWTBearerProperties.h>
47 m_oAuth2GrantTypeHasBeenSet =
true;
48 m_oAuth2GrantType = value;
63 template <
typename ClientCredentialsPropertiesT = ClientCredentialsProperties>
65 m_clientCredentialsPropertiesHasBeenSet =
true;
66 m_clientCredentialsProperties = std::forward<ClientCredentialsPropertiesT>(value);
68 template <
typename ClientCredentialsPropertiesT = ClientCredentialsProperties>
82 template <
typename JWTBearerPropertiesT = JWTBearerProperties>
84 m_jWTBearerPropertiesHasBeenSet =
true;
85 m_jWTBearerProperties = std::forward<JWTBearerPropertiesT>(value);
87 template <
typename JWTBearerPropertiesT = JWTBearerProperties>
101 template <
typename AuthorizationCodePropertiesT = ConnectorAuthorizationCodeProperties>
103 m_authorizationCodePropertiesHasBeenSet =
true;
104 m_authorizationCodeProperties = std::forward<AuthorizationCodePropertiesT>(value);
106 template <
typename AuthorizationCodePropertiesT = ConnectorAuthorizationCodeProperties>
115 ClientCredentialsProperties m_clientCredentialsProperties;
117 JWTBearerProperties m_jWTBearerProperties;
119 ConnectorAuthorizationCodeProperties m_authorizationCodeProperties;
120 bool m_oAuth2GrantTypeHasBeenSet =
false;
121 bool m_clientCredentialsPropertiesHasBeenSet =
false;
122 bool m_jWTBearerPropertiesHasBeenSet =
false;
123 bool m_authorizationCodePropertiesHasBeenSet =
false;
bool JWTBearerPropertiesHasBeenSet() const
bool ClientCredentialsPropertiesHasBeenSet() const
void SetJWTBearerProperties(JWTBearerPropertiesT &&value)
ConnectorOAuth2Properties & WithJWTBearerProperties(JWTBearerPropertiesT &&value)
ConnectorOAuth2GrantType GetOAuth2GrantType() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectorOAuth2Properties & WithOAuth2GrantType(ConnectorOAuth2GrantType value)
AWS_GLUE_API ConnectorOAuth2Properties()=default
void SetAuthorizationCodeProperties(AuthorizationCodePropertiesT &&value)
AWS_GLUE_API ConnectorOAuth2Properties(Aws::Utils::Json::JsonView jsonValue)
const JWTBearerProperties & GetJWTBearerProperties() const
bool OAuth2GrantTypeHasBeenSet() const
AWS_GLUE_API ConnectorOAuth2Properties & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectorOAuth2Properties & WithClientCredentialsProperties(ClientCredentialsPropertiesT &&value)
const ConnectorAuthorizationCodeProperties & GetAuthorizationCodeProperties() const
bool AuthorizationCodePropertiesHasBeenSet() const
ConnectorOAuth2Properties & WithAuthorizationCodeProperties(AuthorizationCodePropertiesT &&value)
void SetClientCredentialsProperties(ClientCredentialsPropertiesT &&value)
void SetOAuth2GrantType(ConnectorOAuth2GrantType value)
const ClientCredentialsProperties & GetClientCredentialsProperties() const
Aws::Utils::Json::JsonValue JsonValue