/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the OAuth authorization parameters to use for the
* connection.See Also:
AWS
* API Reference
A CreateConnectionOAuthClientRequestParameters
object that
* contains the client parameters for OAuth authorization.
A CreateConnectionOAuthClientRequestParameters
object that
* contains the client parameters for OAuth authorization.
A CreateConnectionOAuthClientRequestParameters
object that
* contains the client parameters for OAuth authorization.
A CreateConnectionOAuthClientRequestParameters
object that
* contains the client parameters for OAuth authorization.
A CreateConnectionOAuthClientRequestParameters
object that
* contains the client parameters for OAuth authorization.
A CreateConnectionOAuthClientRequestParameters
object that
* contains the client parameters for OAuth authorization.
The URL to the authorization endpoint when OAuth is specified as the * authorization type.
*/ inline const Aws::String& GetAuthorizationEndpoint() const{ return m_authorizationEndpoint; } /** *The URL to the authorization endpoint when OAuth is specified as the * authorization type.
*/ inline bool AuthorizationEndpointHasBeenSet() const { return m_authorizationEndpointHasBeenSet; } /** *The URL to the authorization endpoint when OAuth is specified as the * authorization type.
*/ inline void SetAuthorizationEndpoint(const Aws::String& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = value; } /** *The URL to the authorization endpoint when OAuth is specified as the * authorization type.
*/ inline void SetAuthorizationEndpoint(Aws::String&& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = std::move(value); } /** *The URL to the authorization endpoint when OAuth is specified as the * authorization type.
*/ inline void SetAuthorizationEndpoint(const char* value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint.assign(value); } /** *The URL to the authorization endpoint when OAuth is specified as the * authorization type.
*/ inline CreateConnectionOAuthRequestParameters& WithAuthorizationEndpoint(const Aws::String& value) { SetAuthorizationEndpoint(value); return *this;} /** *The URL to the authorization endpoint when OAuth is specified as the * authorization type.
*/ inline CreateConnectionOAuthRequestParameters& WithAuthorizationEndpoint(Aws::String&& value) { SetAuthorizationEndpoint(std::move(value)); return *this;} /** *The URL to the authorization endpoint when OAuth is specified as the * authorization type.
*/ inline CreateConnectionOAuthRequestParameters& WithAuthorizationEndpoint(const char* value) { SetAuthorizationEndpoint(value); return *this;} /** *The method to use for the authorization request.
*/ inline const ConnectionOAuthHttpMethod& GetHttpMethod() const{ return m_httpMethod; } /** *The method to use for the authorization request.
*/ inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; } /** *The method to use for the authorization request.
*/ inline void SetHttpMethod(const ConnectionOAuthHttpMethod& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; } /** *The method to use for the authorization request.
*/ inline void SetHttpMethod(ConnectionOAuthHttpMethod&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = std::move(value); } /** *The method to use for the authorization request.
*/ inline CreateConnectionOAuthRequestParameters& WithHttpMethod(const ConnectionOAuthHttpMethod& value) { SetHttpMethod(value); return *this;} /** *The method to use for the authorization request.
*/ inline CreateConnectionOAuthRequestParameters& WithHttpMethod(ConnectionOAuthHttpMethod&& value) { SetHttpMethod(std::move(value)); return *this;} /** *A ConnectionHttpParameters
object that contains details about
* the additional parameters to use for the connection.
A ConnectionHttpParameters
object that contains details about
* the additional parameters to use for the connection.
A ConnectionHttpParameters
object that contains details about
* the additional parameters to use for the connection.
A ConnectionHttpParameters
object that contains details about
* the additional parameters to use for the connection.
A ConnectionHttpParameters
object that contains details about
* the additional parameters to use for the connection.
A ConnectionHttpParameters
object that contains details about
* the additional parameters to use for the connection.