/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about which channels are supported, and how many
* contacts an agent can have on a channel simultaneously.See Also:
* AWS
* API Reference
The channels that agents can handle in the Contact Control Panel (CCP).
*/ inline const Channel& GetChannel() const{ return m_channel; } /** *The channels that agents can handle in the Contact Control Panel (CCP).
*/ inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; } /** *The channels that agents can handle in the Contact Control Panel (CCP).
*/ inline void SetChannel(const Channel& value) { m_channelHasBeenSet = true; m_channel = value; } /** *The channels that agents can handle in the Contact Control Panel (CCP).
*/ inline void SetChannel(Channel&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); } /** *The channels that agents can handle in the Contact Control Panel (CCP).
*/ inline MediaConcurrency& WithChannel(const Channel& value) { SetChannel(value); return *this;} /** *The channels that agents can handle in the Contact Control Panel (CCP).
*/ inline MediaConcurrency& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;} /** *The number of contacts an agent can have on a channel simultaneously.
*Valid Range for VOICE
: Minimum value of 1. Maximum value of
* 1.
Valid Range for CHAT
: Minimum value of 1. Maximum value
* of 10.
Valid Range for TASK
: Minimum value of 1. Maximum
* value of 10.
The number of contacts an agent can have on a channel simultaneously.
*Valid Range for VOICE
: Minimum value of 1. Maximum value of
* 1.
Valid Range for CHAT
: Minimum value of 1. Maximum value
* of 10.
Valid Range for TASK
: Minimum value of 1. Maximum
* value of 10.
The number of contacts an agent can have on a channel simultaneously.
*Valid Range for VOICE
: Minimum value of 1. Maximum value of
* 1.
Valid Range for CHAT
: Minimum value of 1. Maximum value
* of 10.
Valid Range for TASK
: Minimum value of 1. Maximum
* value of 10.
The number of contacts an agent can have on a channel simultaneously.
*Valid Range for VOICE
: Minimum value of 1. Maximum value of
* 1.
Valid Range for CHAT
: Minimum value of 1. Maximum value
* of 10.
Valid Range for TASK
: Minimum value of 1. Maximum
* value of 10.
Defines the cross-channel routing behavior for each channel that is enabled * for this Routing Profile. For example, this allows you to offer an agent a * different contact from another channel when they are currently working with a * contact from a Voice channel.
*/ inline const CrossChannelBehavior& GetCrossChannelBehavior() const{ return m_crossChannelBehavior; } /** *Defines the cross-channel routing behavior for each channel that is enabled * for this Routing Profile. For example, this allows you to offer an agent a * different contact from another channel when they are currently working with a * contact from a Voice channel.
*/ inline bool CrossChannelBehaviorHasBeenSet() const { return m_crossChannelBehaviorHasBeenSet; } /** *Defines the cross-channel routing behavior for each channel that is enabled * for this Routing Profile. For example, this allows you to offer an agent a * different contact from another channel when they are currently working with a * contact from a Voice channel.
*/ inline void SetCrossChannelBehavior(const CrossChannelBehavior& value) { m_crossChannelBehaviorHasBeenSet = true; m_crossChannelBehavior = value; } /** *Defines the cross-channel routing behavior for each channel that is enabled * for this Routing Profile. For example, this allows you to offer an agent a * different contact from another channel when they are currently working with a * contact from a Voice channel.
*/ inline void SetCrossChannelBehavior(CrossChannelBehavior&& value) { m_crossChannelBehaviorHasBeenSet = true; m_crossChannelBehavior = std::move(value); } /** *Defines the cross-channel routing behavior for each channel that is enabled * for this Routing Profile. For example, this allows you to offer an agent a * different contact from another channel when they are currently working with a * contact from a Voice channel.
*/ inline MediaConcurrency& WithCrossChannelBehavior(const CrossChannelBehavior& value) { SetCrossChannelBehavior(value); return *this;} /** *Defines the cross-channel routing behavior for each channel that is enabled * for this Routing Profile. For example, this allows you to offer an agent a * different contact from another channel when they are currently working with a * contact from a Voice channel.
*/ inline MediaConcurrency& WithCrossChannelBehavior(CrossChannelBehavior&& value) { SetCrossChannelBehavior(std::move(value)); return *this;} private: Channel m_channel; bool m_channelHasBeenSet = false; int m_concurrency; bool m_concurrencyHasBeenSet = false; CrossChannelBehavior m_crossChannelBehavior; bool m_crossChannelBehaviorHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws