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

Contains the channel and queue identifier for a routing * profile.

See Also:

AWS * API Reference

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

The identifier for the queue.

*/ inline const Aws::String& GetQueueId() const{ return m_queueId; } /** *

The identifier for the queue.

*/ inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } /** *

The identifier for the queue.

*/ inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } /** *

The identifier for the queue.

*/ inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } /** *

The identifier for the queue.

*/ inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } /** *

The identifier for the queue.

*/ inline RoutingProfileQueueReference& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} /** *

The identifier for the queue.

*/ inline RoutingProfileQueueReference& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} /** *

The identifier for the queue.

*/ inline RoutingProfileQueueReference& WithQueueId(const char* value) { SetQueueId(value); return *this;} /** *

The channels agents can handle in the Contact Control Panel (CCP) for this * routing profile.

*/ inline const Channel& GetChannel() const{ return m_channel; } /** *

The channels agents can handle in the Contact Control Panel (CCP) for this * routing profile.

*/ inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; } /** *

The channels agents can handle in the Contact Control Panel (CCP) for this * routing profile.

*/ inline void SetChannel(const Channel& value) { m_channelHasBeenSet = true; m_channel = value; } /** *

The channels agents can handle in the Contact Control Panel (CCP) for this * routing profile.

*/ inline void SetChannel(Channel&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); } /** *

The channels agents can handle in the Contact Control Panel (CCP) for this * routing profile.

*/ inline RoutingProfileQueueReference& WithChannel(const Channel& value) { SetChannel(value); return *this;} /** *

The channels agents can handle in the Contact Control Panel (CCP) for this * routing profile.

*/ inline RoutingProfileQueueReference& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;} private: Aws::String m_queueId; bool m_queueIdHasBeenSet = false; Channel m_channel; bool m_channelHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws