/** * 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 Connect { namespace Model { /** *

Configuration information for the chat participant role.

See * Also:

AWS * API Reference

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

Configuration information for the chat participant role.

*/ inline const ChatParticipantRoleConfig& GetChat() const{ return m_chat; } /** *

Configuration information for the chat participant role.

*/ inline bool ChatHasBeenSet() const { return m_chatHasBeenSet; } /** *

Configuration information for the chat participant role.

*/ inline void SetChat(const ChatParticipantRoleConfig& value) { m_chatHasBeenSet = true; m_chat = value; } /** *

Configuration information for the chat participant role.

*/ inline void SetChat(ChatParticipantRoleConfig&& value) { m_chatHasBeenSet = true; m_chat = std::move(value); } /** *

Configuration information for the chat participant role.

*/ inline UpdateParticipantRoleConfigChannelInfo& WithChat(const ChatParticipantRoleConfig& value) { SetChat(value); return *this;} /** *

Configuration information for the chat participant role.

*/ inline UpdateParticipantRoleConfigChannelInfo& WithChat(ChatParticipantRoleConfig&& value) { SetChat(std::move(value)); return *this;} private: ChatParticipantRoleConfig m_chat; bool m_chatHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws