/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace EventBridge { namespace Model { /** *

Contains the client response parameters for the connection when OAuth is * specified as the authorization type.

See Also:

AWS * API Reference

*/ class ConnectionOAuthClientResponseParameters { public: AWS_EVENTBRIDGE_API ConnectionOAuthClientResponseParameters(); AWS_EVENTBRIDGE_API ConnectionOAuthClientResponseParameters(Aws::Utils::Json::JsonView jsonValue); AWS_EVENTBRIDGE_API ConnectionOAuthClientResponseParameters& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The client ID associated with the response to the connection request.

*/ inline const Aws::String& GetClientID() const{ return m_clientID; } /** *

The client ID associated with the response to the connection request.

*/ inline bool ClientIDHasBeenSet() const { return m_clientIDHasBeenSet; } /** *

The client ID associated with the response to the connection request.

*/ inline void SetClientID(const Aws::String& value) { m_clientIDHasBeenSet = true; m_clientID = value; } /** *

The client ID associated with the response to the connection request.

*/ inline void SetClientID(Aws::String&& value) { m_clientIDHasBeenSet = true; m_clientID = std::move(value); } /** *

The client ID associated with the response to the connection request.

*/ inline void SetClientID(const char* value) { m_clientIDHasBeenSet = true; m_clientID.assign(value); } /** *

The client ID associated with the response to the connection request.

*/ inline ConnectionOAuthClientResponseParameters& WithClientID(const Aws::String& value) { SetClientID(value); return *this;} /** *

The client ID associated with the response to the connection request.

*/ inline ConnectionOAuthClientResponseParameters& WithClientID(Aws::String&& value) { SetClientID(std::move(value)); return *this;} /** *

The client ID associated with the response to the connection request.

*/ inline ConnectionOAuthClientResponseParameters& WithClientID(const char* value) { SetClientID(value); return *this;} private: Aws::String m_clientID; bool m_clientIDHasBeenSet = false; }; } // namespace Model } // namespace EventBridge } // namespace Aws