/** * 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 summary information about a routing profile queue.

See * Also:

AWS * API Reference

*/ class RoutingProfileQueueConfigSummary { public: AWS_CONNECT_API RoutingProfileQueueConfigSummary(); AWS_CONNECT_API RoutingProfileQueueConfigSummary(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECT_API RoutingProfileQueueConfigSummary& 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 RoutingProfileQueueConfigSummary& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} /** *

The identifier for the queue.

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

The identifier for the queue.

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

The Amazon Resource Name (ARN) of the queue.

*/ inline const Aws::String& GetQueueArn() const{ return m_queueArn; } /** *

The Amazon Resource Name (ARN) of the queue.

*/ inline bool QueueArnHasBeenSet() const { return m_queueArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the queue.

*/ inline void SetQueueArn(const Aws::String& value) { m_queueArnHasBeenSet = true; m_queueArn = value; } /** *

The Amazon Resource Name (ARN) of the queue.

*/ inline void SetQueueArn(Aws::String&& value) { m_queueArnHasBeenSet = true; m_queueArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the queue.

*/ inline void SetQueueArn(const char* value) { m_queueArnHasBeenSet = true; m_queueArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the queue.

*/ inline RoutingProfileQueueConfigSummary& WithQueueArn(const Aws::String& value) { SetQueueArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the queue.

*/ inline RoutingProfileQueueConfigSummary& WithQueueArn(Aws::String&& value) { SetQueueArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the queue.

*/ inline RoutingProfileQueueConfigSummary& WithQueueArn(const char* value) { SetQueueArn(value); return *this;} /** *

The name of the queue.

*/ inline const Aws::String& GetQueueName() const{ return m_queueName; } /** *

The name of the queue.

*/ inline bool QueueNameHasBeenSet() const { return m_queueNameHasBeenSet; } /** *

The name of the queue.

*/ inline void SetQueueName(const Aws::String& value) { m_queueNameHasBeenSet = true; m_queueName = value; } /** *

The name of the queue.

*/ inline void SetQueueName(Aws::String&& value) { m_queueNameHasBeenSet = true; m_queueName = std::move(value); } /** *

The name of the queue.

*/ inline void SetQueueName(const char* value) { m_queueNameHasBeenSet = true; m_queueName.assign(value); } /** *

The name of the queue.

*/ inline RoutingProfileQueueConfigSummary& WithQueueName(const Aws::String& value) { SetQueueName(value); return *this;} /** *

The name of the queue.

*/ inline RoutingProfileQueueConfigSummary& WithQueueName(Aws::String&& value) { SetQueueName(std::move(value)); return *this;} /** *

The name of the queue.

*/ inline RoutingProfileQueueConfigSummary& WithQueueName(const char* value) { SetQueueName(value); return *this;} /** *

The order in which contacts are to be handled for the queue. For more * information, see Queues: * priority and delay.

*/ inline int GetPriority() const{ return m_priority; } /** *

The order in which contacts are to be handled for the queue. For more * information, see Queues: * priority and delay.

*/ inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } /** *

The order in which contacts are to be handled for the queue. For more * information, see Queues: * priority and delay.

*/ inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } /** *

The order in which contacts are to be handled for the queue. For more * information, see Queues: * priority and delay.

*/ inline RoutingProfileQueueConfigSummary& WithPriority(int value) { SetPriority(value); return *this;} /** *

The delay, in seconds, that a contact should be in the queue before they are * routed to an available agent. For more information, see Queues: * priority and delay in the Amazon Connect Administrator Guide.

*/ inline int GetDelay() const{ return m_delay; } /** *

The delay, in seconds, that a contact should be in the queue before they are * routed to an available agent. For more information, see Queues: * priority and delay in the Amazon Connect Administrator Guide.

*/ inline bool DelayHasBeenSet() const { return m_delayHasBeenSet; } /** *

The delay, in seconds, that a contact should be in the queue before they are * routed to an available agent. For more information, see Queues: * priority and delay in the Amazon Connect Administrator Guide.

*/ inline void SetDelay(int value) { m_delayHasBeenSet = true; m_delay = value; } /** *

The delay, in seconds, that a contact should be in the queue before they are * routed to an available agent. For more information, see Queues: * priority and delay in the Amazon Connect Administrator Guide.

*/ inline RoutingProfileQueueConfigSummary& WithDelay(int value) { SetDelay(value); return *this;} /** *

The channels this queue supports.

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

The channels this queue supports.

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

The channels this queue supports.

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

The channels this queue supports.

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

The channels this queue supports.

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

The channels this queue supports.

*/ inline RoutingProfileQueueConfigSummary& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;} private: Aws::String m_queueId; bool m_queueIdHasBeenSet = false; Aws::String m_queueArn; bool m_queueArnHasBeenSet = false; Aws::String m_queueName; bool m_queueNameHasBeenSet = false; int m_priority; bool m_priorityHasBeenSet = false; int m_delay; bool m_delayHasBeenSet = false; Channel m_channel; bool m_channelHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws