/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The OAuth properties required for OAuth type authentication. See
* Also:
AWS
* API Reference
The token url required to fetch access/refresh tokens using authorization * code and also to refresh expired access token using refresh token.
*/ inline const Aws::String& GetTokenUrl() const{ return m_tokenUrl; } /** *The token url required to fetch access/refresh tokens using authorization * code and also to refresh expired access token using refresh token.
*/ inline bool TokenUrlHasBeenSet() const { return m_tokenUrlHasBeenSet; } /** *The token url required to fetch access/refresh tokens using authorization * code and also to refresh expired access token using refresh token.
*/ inline void SetTokenUrl(const Aws::String& value) { m_tokenUrlHasBeenSet = true; m_tokenUrl = value; } /** *The token url required to fetch access/refresh tokens using authorization * code and also to refresh expired access token using refresh token.
*/ inline void SetTokenUrl(Aws::String&& value) { m_tokenUrlHasBeenSet = true; m_tokenUrl = std::move(value); } /** *The token url required to fetch access/refresh tokens using authorization * code and also to refresh expired access token using refresh token.
*/ inline void SetTokenUrl(const char* value) { m_tokenUrlHasBeenSet = true; m_tokenUrl.assign(value); } /** *The token url required to fetch access/refresh tokens using authorization * code and also to refresh expired access token using refresh token.
*/ inline OAuthProperties& WithTokenUrl(const Aws::String& value) { SetTokenUrl(value); return *this;} /** *The token url required to fetch access/refresh tokens using authorization * code and also to refresh expired access token using refresh token.
*/ inline OAuthProperties& WithTokenUrl(Aws::String&& value) { SetTokenUrl(std::move(value)); return *this;} /** *The token url required to fetch access/refresh tokens using authorization * code and also to refresh expired access token using refresh token.
*/ inline OAuthProperties& WithTokenUrl(const char* value) { SetTokenUrl(value); return *this;} /** *The authorization code url required to redirect to SAP Login Page to fetch * authorization code for OAuth type authentication.
*/ inline const Aws::String& GetAuthCodeUrl() const{ return m_authCodeUrl; } /** *The authorization code url required to redirect to SAP Login Page to fetch * authorization code for OAuth type authentication.
*/ inline bool AuthCodeUrlHasBeenSet() const { return m_authCodeUrlHasBeenSet; } /** *The authorization code url required to redirect to SAP Login Page to fetch * authorization code for OAuth type authentication.
*/ inline void SetAuthCodeUrl(const Aws::String& value) { m_authCodeUrlHasBeenSet = true; m_authCodeUrl = value; } /** *The authorization code url required to redirect to SAP Login Page to fetch * authorization code for OAuth type authentication.
*/ inline void SetAuthCodeUrl(Aws::String&& value) { m_authCodeUrlHasBeenSet = true; m_authCodeUrl = std::move(value); } /** *The authorization code url required to redirect to SAP Login Page to fetch * authorization code for OAuth type authentication.
*/ inline void SetAuthCodeUrl(const char* value) { m_authCodeUrlHasBeenSet = true; m_authCodeUrl.assign(value); } /** *The authorization code url required to redirect to SAP Login Page to fetch * authorization code for OAuth type authentication.
*/ inline OAuthProperties& WithAuthCodeUrl(const Aws::String& value) { SetAuthCodeUrl(value); return *this;} /** *The authorization code url required to redirect to SAP Login Page to fetch * authorization code for OAuth type authentication.
*/ inline OAuthProperties& WithAuthCodeUrl(Aws::String&& value) { SetAuthCodeUrl(std::move(value)); return *this;} /** *The authorization code url required to redirect to SAP Login Page to fetch * authorization code for OAuth type authentication.
*/ inline OAuthProperties& WithAuthCodeUrl(const char* value) { SetAuthCodeUrl(value); return *this;} /** *The OAuth scopes required for OAuth type authentication.
*/ inline const Aws::VectorThe OAuth scopes required for OAuth type authentication.
*/ inline bool OAuthScopesHasBeenSet() const { return m_oAuthScopesHasBeenSet; } /** *The OAuth scopes required for OAuth type authentication.
*/ inline void SetOAuthScopes(const Aws::VectorThe OAuth scopes required for OAuth type authentication.
*/ inline void SetOAuthScopes(Aws::VectorThe OAuth scopes required for OAuth type authentication.
*/ inline OAuthProperties& WithOAuthScopes(const Aws::VectorThe OAuth scopes required for OAuth type authentication.
*/ inline OAuthProperties& WithOAuthScopes(Aws::VectorThe OAuth scopes required for OAuth type authentication.
*/ inline OAuthProperties& AddOAuthScopes(const Aws::String& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.push_back(value); return *this; } /** *The OAuth scopes required for OAuth type authentication.
*/ inline OAuthProperties& AddOAuthScopes(Aws::String&& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.push_back(std::move(value)); return *this; } /** *The OAuth scopes required for OAuth type authentication.
*/ inline OAuthProperties& AddOAuthScopes(const char* value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.push_back(value); return *this; } private: Aws::String m_tokenUrl; bool m_tokenUrlHasBeenSet = false; Aws::String m_authCodeUrl; bool m_authCodeUrlHasBeenSet = false; Aws::Vector