/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The OAuth 2.0 properties required for OAuth 2.0 authentication.See
* Also:
AWS
* API Reference
The token URL required for OAuth 2.0 authentication.
*/ inline const Aws::String& GetTokenUrl() const{ return m_tokenUrl; } /** *The token URL required for OAuth 2.0 authentication.
*/ inline bool TokenUrlHasBeenSet() const { return m_tokenUrlHasBeenSet; } /** *The token URL required for OAuth 2.0 authentication.
*/ inline void SetTokenUrl(const Aws::String& value) { m_tokenUrlHasBeenSet = true; m_tokenUrl = value; } /** *The token URL required for OAuth 2.0 authentication.
*/ inline void SetTokenUrl(Aws::String&& value) { m_tokenUrlHasBeenSet = true; m_tokenUrl = std::move(value); } /** *The token URL required for OAuth 2.0 authentication.
*/ inline void SetTokenUrl(const char* value) { m_tokenUrlHasBeenSet = true; m_tokenUrl.assign(value); } /** *The token URL required for OAuth 2.0 authentication.
*/ inline OAuth2Properties& WithTokenUrl(const Aws::String& value) { SetTokenUrl(value); return *this;} /** *The token URL required for OAuth 2.0 authentication.
*/ inline OAuth2Properties& WithTokenUrl(Aws::String&& value) { SetTokenUrl(std::move(value)); return *this;} /** *The token URL required for OAuth 2.0 authentication.
*/ inline OAuth2Properties& WithTokenUrl(const char* value) { SetTokenUrl(value); return *this;} /** *The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
*/ inline const OAuth2GrantType& GetOAuth2GrantType() const{ return m_oAuth2GrantType; } /** *The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
*/ inline bool OAuth2GrantTypeHasBeenSet() const { return m_oAuth2GrantTypeHasBeenSet; } /** *The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
*/ inline void SetOAuth2GrantType(const OAuth2GrantType& value) { m_oAuth2GrantTypeHasBeenSet = true; m_oAuth2GrantType = value; } /** *The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
*/ inline void SetOAuth2GrantType(OAuth2GrantType&& value) { m_oAuth2GrantTypeHasBeenSet = true; m_oAuth2GrantType = std::move(value); } /** *The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
*/ inline OAuth2Properties& WithOAuth2GrantType(const OAuth2GrantType& value) { SetOAuth2GrantType(value); return *this;} /** *The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication.
*/ inline OAuth2Properties& WithOAuth2GrantType(OAuth2GrantType&& value) { SetOAuth2GrantType(std::move(value)); return *this;} /** *Associates your token URL with a map of properties that you define. Use this * parameter to provide any additional details that the connector requires to * authenticate your request.
*/ inline const Aws::MapAssociates your token URL with a map of properties that you define. Use this * parameter to provide any additional details that the connector requires to * authenticate your request.
*/ inline bool TokenUrlCustomPropertiesHasBeenSet() const { return m_tokenUrlCustomPropertiesHasBeenSet; } /** *Associates your token URL with a map of properties that you define. Use this * parameter to provide any additional details that the connector requires to * authenticate your request.
*/ inline void SetTokenUrlCustomProperties(const Aws::MapAssociates your token URL with a map of properties that you define. Use this * parameter to provide any additional details that the connector requires to * authenticate your request.
*/ inline void SetTokenUrlCustomProperties(Aws::MapAssociates your token URL with a map of properties that you define. Use this * parameter to provide any additional details that the connector requires to * authenticate your request.
*/ inline OAuth2Properties& WithTokenUrlCustomProperties(const Aws::MapAssociates your token URL with a map of properties that you define. Use this * parameter to provide any additional details that the connector requires to * authenticate your request.
*/ inline OAuth2Properties& WithTokenUrlCustomProperties(Aws::MapAssociates your token URL with a map of properties that you define. Use this * parameter to provide any additional details that the connector requires to * authenticate your request.
*/ inline OAuth2Properties& AddTokenUrlCustomProperties(const Aws::String& key, const Aws::String& value) { m_tokenUrlCustomPropertiesHasBeenSet = true; m_tokenUrlCustomProperties.emplace(key, value); return *this; } /** *Associates your token URL with a map of properties that you define. Use this * parameter to provide any additional details that the connector requires to * authenticate your request.
*/ inline OAuth2Properties& AddTokenUrlCustomProperties(Aws::String&& key, const Aws::String& value) { m_tokenUrlCustomPropertiesHasBeenSet = true; m_tokenUrlCustomProperties.emplace(std::move(key), value); return *this; } /** *Associates your token URL with a map of properties that you define. Use this * parameter to provide any additional details that the connector requires to * authenticate your request.
*/ inline OAuth2Properties& AddTokenUrlCustomProperties(const Aws::String& key, Aws::String&& value) { m_tokenUrlCustomPropertiesHasBeenSet = true; m_tokenUrlCustomProperties.emplace(key, std::move(value)); return *this; } /** *Associates your token URL with a map of properties that you define. Use this * parameter to provide any additional details that the connector requires to * authenticate your request.
*/ inline OAuth2Properties& AddTokenUrlCustomProperties(Aws::String&& key, Aws::String&& value) { m_tokenUrlCustomPropertiesHasBeenSet = true; m_tokenUrlCustomProperties.emplace(std::move(key), std::move(value)); return *this; } /** *Associates your token URL with a map of properties that you define. Use this * parameter to provide any additional details that the connector requires to * authenticate your request.
*/ inline OAuth2Properties& AddTokenUrlCustomProperties(const char* key, Aws::String&& value) { m_tokenUrlCustomPropertiesHasBeenSet = true; m_tokenUrlCustomProperties.emplace(key, std::move(value)); return *this; } /** *Associates your token URL with a map of properties that you define. Use this * parameter to provide any additional details that the connector requires to * authenticate your request.
*/ inline OAuth2Properties& AddTokenUrlCustomProperties(Aws::String&& key, const char* value) { m_tokenUrlCustomPropertiesHasBeenSet = true; m_tokenUrlCustomProperties.emplace(std::move(key), value); return *this; } /** *Associates your token URL with a map of properties that you define. Use this * parameter to provide any additional details that the connector requires to * authenticate your request.
*/ inline OAuth2Properties& AddTokenUrlCustomProperties(const char* key, const char* value) { m_tokenUrlCustomPropertiesHasBeenSet = true; m_tokenUrlCustomProperties.emplace(key, value); return *this; } private: Aws::String m_tokenUrl; bool m_tokenUrlHasBeenSet = false; OAuth2GrantType m_oAuth2GrantType; bool m_oAuth2GrantTypeHasBeenSet = false; Aws::Map