/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the default values required for OAuth 2.0
* authentication.See Also:
AWS
* API Reference
OAuth 2.0 scopes that the connector supports.
*/ inline const Aws::VectorOAuth 2.0 scopes that the connector supports.
*/ inline bool OauthScopesHasBeenSet() const { return m_oauthScopesHasBeenSet; } /** *OAuth 2.0 scopes that the connector supports.
*/ inline void SetOauthScopes(const Aws::VectorOAuth 2.0 scopes that the connector supports.
*/ inline void SetOauthScopes(Aws::VectorOAuth 2.0 scopes that the connector supports.
*/ inline OAuth2Defaults& WithOauthScopes(const Aws::VectorOAuth 2.0 scopes that the connector supports.
*/ inline OAuth2Defaults& WithOauthScopes(Aws::VectorOAuth 2.0 scopes that the connector supports.
*/ inline OAuth2Defaults& AddOauthScopes(const Aws::String& value) { m_oauthScopesHasBeenSet = true; m_oauthScopes.push_back(value); return *this; } /** *OAuth 2.0 scopes that the connector supports.
*/ inline OAuth2Defaults& AddOauthScopes(Aws::String&& value) { m_oauthScopesHasBeenSet = true; m_oauthScopes.push_back(std::move(value)); return *this; } /** *OAuth 2.0 scopes that the connector supports.
*/ inline OAuth2Defaults& AddOauthScopes(const char* value) { m_oauthScopesHasBeenSet = true; m_oauthScopes.push_back(value); return *this; } /** *Token URLs that can be used for OAuth 2.0 authentication.
*/ inline const Aws::VectorToken URLs that can be used for OAuth 2.0 authentication.
*/ inline bool TokenUrlsHasBeenSet() const { return m_tokenUrlsHasBeenSet; } /** *Token URLs that can be used for OAuth 2.0 authentication.
*/ inline void SetTokenUrls(const Aws::VectorToken URLs that can be used for OAuth 2.0 authentication.
*/ inline void SetTokenUrls(Aws::VectorToken URLs that can be used for OAuth 2.0 authentication.
*/ inline OAuth2Defaults& WithTokenUrls(const Aws::VectorToken URLs that can be used for OAuth 2.0 authentication.
*/ inline OAuth2Defaults& WithTokenUrls(Aws::VectorToken URLs that can be used for OAuth 2.0 authentication.
*/ inline OAuth2Defaults& AddTokenUrls(const Aws::String& value) { m_tokenUrlsHasBeenSet = true; m_tokenUrls.push_back(value); return *this; } /** *Token URLs that can be used for OAuth 2.0 authentication.
*/ inline OAuth2Defaults& AddTokenUrls(Aws::String&& value) { m_tokenUrlsHasBeenSet = true; m_tokenUrls.push_back(std::move(value)); return *this; } /** *Token URLs that can be used for OAuth 2.0 authentication.
*/ inline OAuth2Defaults& AddTokenUrls(const char* value) { m_tokenUrlsHasBeenSet = true; m_tokenUrls.push_back(value); return *this; } /** *Auth code URLs that can be used for OAuth 2.0 authentication.
*/ inline const Aws::VectorAuth code URLs that can be used for OAuth 2.0 authentication.
*/ inline bool AuthCodeUrlsHasBeenSet() const { return m_authCodeUrlsHasBeenSet; } /** *Auth code URLs that can be used for OAuth 2.0 authentication.
*/ inline void SetAuthCodeUrls(const Aws::VectorAuth code URLs that can be used for OAuth 2.0 authentication.
*/ inline void SetAuthCodeUrls(Aws::VectorAuth code URLs that can be used for OAuth 2.0 authentication.
*/ inline OAuth2Defaults& WithAuthCodeUrls(const Aws::VectorAuth code URLs that can be used for OAuth 2.0 authentication.
*/ inline OAuth2Defaults& WithAuthCodeUrls(Aws::VectorAuth code URLs that can be used for OAuth 2.0 authentication.
*/ inline OAuth2Defaults& AddAuthCodeUrls(const Aws::String& value) { m_authCodeUrlsHasBeenSet = true; m_authCodeUrls.push_back(value); return *this; } /** *Auth code URLs that can be used for OAuth 2.0 authentication.
*/ inline OAuth2Defaults& AddAuthCodeUrls(Aws::String&& value) { m_authCodeUrlsHasBeenSet = true; m_authCodeUrls.push_back(std::move(value)); return *this; } /** *Auth code URLs that can be used for OAuth 2.0 authentication.
*/ inline OAuth2Defaults& AddAuthCodeUrls(const char* value) { m_authCodeUrlsHasBeenSet = true; m_authCodeUrls.push_back(value); return *this; } /** *OAuth 2.0 grant types supported by the connector.
*/ inline const Aws::VectorOAuth 2.0 grant types supported by the connector.
*/ inline bool Oauth2GrantTypesSupportedHasBeenSet() const { return m_oauth2GrantTypesSupportedHasBeenSet; } /** *OAuth 2.0 grant types supported by the connector.
*/ inline void SetOauth2GrantTypesSupported(const Aws::VectorOAuth 2.0 grant types supported by the connector.
*/ inline void SetOauth2GrantTypesSupported(Aws::VectorOAuth 2.0 grant types supported by the connector.
*/ inline OAuth2Defaults& WithOauth2GrantTypesSupported(const Aws::VectorOAuth 2.0 grant types supported by the connector.
*/ inline OAuth2Defaults& WithOauth2GrantTypesSupported(Aws::VectorOAuth 2.0 grant types supported by the connector.
*/ inline OAuth2Defaults& AddOauth2GrantTypesSupported(const OAuth2GrantType& value) { m_oauth2GrantTypesSupportedHasBeenSet = true; m_oauth2GrantTypesSupported.push_back(value); return *this; } /** *OAuth 2.0 grant types supported by the connector.
*/ inline OAuth2Defaults& AddOauth2GrantTypesSupported(OAuth2GrantType&& value) { m_oauth2GrantTypesSupportedHasBeenSet = true; m_oauth2GrantTypesSupported.push_back(std::move(value)); return *this; } /** *List of custom parameters required for OAuth 2.0 authentication.
*/ inline const Aws::VectorList of custom parameters required for OAuth 2.0 authentication.
*/ inline bool Oauth2CustomPropertiesHasBeenSet() const { return m_oauth2CustomPropertiesHasBeenSet; } /** *List of custom parameters required for OAuth 2.0 authentication.
*/ inline void SetOauth2CustomProperties(const Aws::VectorList of custom parameters required for OAuth 2.0 authentication.
*/ inline void SetOauth2CustomProperties(Aws::VectorList of custom parameters required for OAuth 2.0 authentication.
*/ inline OAuth2Defaults& WithOauth2CustomProperties(const Aws::VectorList of custom parameters required for OAuth 2.0 authentication.
*/ inline OAuth2Defaults& WithOauth2CustomProperties(Aws::VectorList of custom parameters required for OAuth 2.0 authentication.
*/ inline OAuth2Defaults& AddOauth2CustomProperties(const OAuth2CustomParameter& value) { m_oauth2CustomPropertiesHasBeenSet = true; m_oauth2CustomProperties.push_back(value); return *this; } /** *List of custom parameters required for OAuth 2.0 authentication.
*/ inline OAuth2Defaults& AddOauth2CustomProperties(OAuth2CustomParameter&& value) { m_oauth2CustomPropertiesHasBeenSet = true; m_oauth2CustomProperties.push_back(std::move(value)); return *this; } private: Aws::Vector