/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 ChatParticipantRoleConfig { public: AWS_CONNECT_API ChatParticipantRoleConfig(); AWS_CONNECT_API ChatParticipantRoleConfig(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECT_API ChatParticipantRoleConfig& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A list of participant timers. You can specify any unique combination of role * and timer type. Duplicate entries error out the request with a 400.

*/ inline const Aws::Vector& GetParticipantTimerConfigList() const{ return m_participantTimerConfigList; } /** *

A list of participant timers. You can specify any unique combination of role * and timer type. Duplicate entries error out the request with a 400.

*/ inline bool ParticipantTimerConfigListHasBeenSet() const { return m_participantTimerConfigListHasBeenSet; } /** *

A list of participant timers. You can specify any unique combination of role * and timer type. Duplicate entries error out the request with a 400.

*/ inline void SetParticipantTimerConfigList(const Aws::Vector& value) { m_participantTimerConfigListHasBeenSet = true; m_participantTimerConfigList = value; } /** *

A list of participant timers. You can specify any unique combination of role * and timer type. Duplicate entries error out the request with a 400.

*/ inline void SetParticipantTimerConfigList(Aws::Vector&& value) { m_participantTimerConfigListHasBeenSet = true; m_participantTimerConfigList = std::move(value); } /** *

A list of participant timers. You can specify any unique combination of role * and timer type. Duplicate entries error out the request with a 400.

*/ inline ChatParticipantRoleConfig& WithParticipantTimerConfigList(const Aws::Vector& value) { SetParticipantTimerConfigList(value); return *this;} /** *

A list of participant timers. You can specify any unique combination of role * and timer type. Duplicate entries error out the request with a 400.

*/ inline ChatParticipantRoleConfig& WithParticipantTimerConfigList(Aws::Vector&& value) { SetParticipantTimerConfigList(std::move(value)); return *this;} /** *

A list of participant timers. You can specify any unique combination of role * and timer type. Duplicate entries error out the request with a 400.

*/ inline ChatParticipantRoleConfig& AddParticipantTimerConfigList(const ParticipantTimerConfiguration& value) { m_participantTimerConfigListHasBeenSet = true; m_participantTimerConfigList.push_back(value); return *this; } /** *

A list of participant timers. You can specify any unique combination of role * and timer type. Duplicate entries error out the request with a 400.

*/ inline ChatParticipantRoleConfig& AddParticipantTimerConfigList(ParticipantTimerConfiguration&& value) { m_participantTimerConfigListHasBeenSet = true; m_participantTimerConfigList.push_back(std::move(value)); return *this; } private: Aws::Vector m_participantTimerConfigList; bool m_participantTimerConfigListHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws