/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the response parameters when OAuth is specified as the authorization
* type.See Also:
AWS
* API Reference
A ConnectionOAuthClientResponseParameters
object that contains
* details about the client parameters returned when OAuth is specified as the
* authorization type.
A ConnectionOAuthClientResponseParameters
object that contains
* details about the client parameters returned when OAuth is specified as the
* authorization type.
A ConnectionOAuthClientResponseParameters
object that contains
* details about the client parameters returned when OAuth is specified as the
* authorization type.
A ConnectionOAuthClientResponseParameters
object that contains
* details about the client parameters returned when OAuth is specified as the
* authorization type.
A ConnectionOAuthClientResponseParameters
object that contains
* details about the client parameters returned when OAuth is specified as the
* authorization type.
A ConnectionOAuthClientResponseParameters
object that contains
* details about the client parameters returned when OAuth is specified as the
* authorization type.
The URL to the HTTP endpoint that authorized the request.
*/ inline const Aws::String& GetAuthorizationEndpoint() const{ return m_authorizationEndpoint; } /** *The URL to the HTTP endpoint that authorized the request.
*/ inline bool AuthorizationEndpointHasBeenSet() const { return m_authorizationEndpointHasBeenSet; } /** *The URL to the HTTP endpoint that authorized the request.
*/ inline void SetAuthorizationEndpoint(const Aws::String& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = value; } /** *The URL to the HTTP endpoint that authorized the request.
*/ inline void SetAuthorizationEndpoint(Aws::String&& value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint = std::move(value); } /** *The URL to the HTTP endpoint that authorized the request.
*/ inline void SetAuthorizationEndpoint(const char* value) { m_authorizationEndpointHasBeenSet = true; m_authorizationEndpoint.assign(value); } /** *The URL to the HTTP endpoint that authorized the request.
*/ inline ConnectionOAuthResponseParameters& WithAuthorizationEndpoint(const Aws::String& value) { SetAuthorizationEndpoint(value); return *this;} /** *The URL to the HTTP endpoint that authorized the request.
*/ inline ConnectionOAuthResponseParameters& WithAuthorizationEndpoint(Aws::String&& value) { SetAuthorizationEndpoint(std::move(value)); return *this;} /** *The URL to the HTTP endpoint that authorized the request.
*/ inline ConnectionOAuthResponseParameters& WithAuthorizationEndpoint(const char* value) { SetAuthorizationEndpoint(value); return *this;} /** *The method used to connect to the HTTP endpoint.
*/ inline const ConnectionOAuthHttpMethod& GetHttpMethod() const{ return m_httpMethod; } /** *The method used to connect to the HTTP endpoint.
*/ inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; } /** *The method used to connect to the HTTP endpoint.
*/ inline void SetHttpMethod(const ConnectionOAuthHttpMethod& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; } /** *The method used to connect to the HTTP endpoint.
*/ inline void SetHttpMethod(ConnectionOAuthHttpMethod&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = std::move(value); } /** *The method used to connect to the HTTP endpoint.
*/ inline ConnectionOAuthResponseParameters& WithHttpMethod(const ConnectionOAuthHttpMethod& value) { SetHttpMethod(value); return *this;} /** *The method used to connect to the HTTP endpoint.
*/ inline ConnectionOAuthResponseParameters& WithHttpMethod(ConnectionOAuthHttpMethod&& value) { SetHttpMethod(std::move(value)); return *this;} /** *The additional HTTP parameters used for the OAuth authorization request.
*/ inline const ConnectionHttpParameters& GetOAuthHttpParameters() const{ return m_oAuthHttpParameters; } /** *The additional HTTP parameters used for the OAuth authorization request.
*/ inline bool OAuthHttpParametersHasBeenSet() const { return m_oAuthHttpParametersHasBeenSet; } /** *The additional HTTP parameters used for the OAuth authorization request.
*/ inline void SetOAuthHttpParameters(const ConnectionHttpParameters& value) { m_oAuthHttpParametersHasBeenSet = true; m_oAuthHttpParameters = value; } /** *The additional HTTP parameters used for the OAuth authorization request.
*/ inline void SetOAuthHttpParameters(ConnectionHttpParameters&& value) { m_oAuthHttpParametersHasBeenSet = true; m_oAuthHttpParameters = std::move(value); } /** *The additional HTTP parameters used for the OAuth authorization request.
*/ inline ConnectionOAuthResponseParameters& WithOAuthHttpParameters(const ConnectionHttpParameters& value) { SetOAuthHttpParameters(value); return *this;} /** *The additional HTTP parameters used for the OAuth authorization request.
*/ inline ConnectionOAuthResponseParameters& WithOAuthHttpParameters(ConnectionHttpParameters&& value) { SetOAuthHttpParameters(std::move(value)); return *this;} private: ConnectionOAuthClientResponseParameters m_clientParameters; bool m_clientParametersHasBeenSet = false; Aws::String m_authorizationEndpoint; bool m_authorizationEndpointHasBeenSet = false; ConnectionOAuthHttpMethod m_httpMethod; bool m_httpMethodHasBeenSet = false; ConnectionHttpParameters m_oAuthHttpParameters; bool m_oAuthHttpParametersHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchEvents } // namespace Aws