/** * 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 { /** *

Defines the cross-channel routing behavior that allows an agent working on a * contact in one channel to be offered a contact from a different * channel.

See Also:

AWS * API Reference

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

Specifies the other channels that can be routed to an agent handling their * current channel.

*/ inline const BehaviorType& GetBehaviorType() const{ return m_behaviorType; } /** *

Specifies the other channels that can be routed to an agent handling their * current channel.

*/ inline bool BehaviorTypeHasBeenSet() const { return m_behaviorTypeHasBeenSet; } /** *

Specifies the other channels that can be routed to an agent handling their * current channel.

*/ inline void SetBehaviorType(const BehaviorType& value) { m_behaviorTypeHasBeenSet = true; m_behaviorType = value; } /** *

Specifies the other channels that can be routed to an agent handling their * current channel.

*/ inline void SetBehaviorType(BehaviorType&& value) { m_behaviorTypeHasBeenSet = true; m_behaviorType = std::move(value); } /** *

Specifies the other channels that can be routed to an agent handling their * current channel.

*/ inline CrossChannelBehavior& WithBehaviorType(const BehaviorType& value) { SetBehaviorType(value); return *this;} /** *

Specifies the other channels that can be routed to an agent handling their * current channel.

*/ inline CrossChannelBehavior& WithBehaviorType(BehaviorType&& value) { SetBehaviorType(std::move(value)); return *this;} private: BehaviorType m_behaviorType; bool m_behaviorTypeHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws