/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include 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
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