/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Connect { namespace Model { /** */ class CreateQueueRequest : public ConnectRequest { public: AWS_CONNECT_API CreateQueueRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateQueue"; } AWS_CONNECT_API Aws::String SerializePayload() const override; /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline CreateQueueRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline CreateQueueRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *

The identifier of the Amazon Connect instance. You can find * the instance ID in the Amazon Resource Name (ARN) of the instance.

*/ inline CreateQueueRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *

The name of the queue.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the queue.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the queue.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the queue.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the queue.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the queue.

*/ inline CreateQueueRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the queue.

*/ inline CreateQueueRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the queue.

*/ inline CreateQueueRequest& WithName(const char* value) { SetName(value); return *this;} /** *

The description of the queue.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the queue.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the queue.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the queue.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the queue.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the queue.

*/ inline CreateQueueRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the queue.

*/ inline CreateQueueRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the queue.

*/ inline CreateQueueRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The outbound caller ID name, number, and outbound whisper flow.

*/ inline const OutboundCallerConfig& GetOutboundCallerConfig() const{ return m_outboundCallerConfig; } /** *

The outbound caller ID name, number, and outbound whisper flow.

*/ inline bool OutboundCallerConfigHasBeenSet() const { return m_outboundCallerConfigHasBeenSet; } /** *

The outbound caller ID name, number, and outbound whisper flow.

*/ inline void SetOutboundCallerConfig(const OutboundCallerConfig& value) { m_outboundCallerConfigHasBeenSet = true; m_outboundCallerConfig = value; } /** *

The outbound caller ID name, number, and outbound whisper flow.

*/ inline void SetOutboundCallerConfig(OutboundCallerConfig&& value) { m_outboundCallerConfigHasBeenSet = true; m_outboundCallerConfig = std::move(value); } /** *

The outbound caller ID name, number, and outbound whisper flow.

*/ inline CreateQueueRequest& WithOutboundCallerConfig(const OutboundCallerConfig& value) { SetOutboundCallerConfig(value); return *this;} /** *

The outbound caller ID name, number, and outbound whisper flow.

*/ inline CreateQueueRequest& WithOutboundCallerConfig(OutboundCallerConfig&& value) { SetOutboundCallerConfig(std::move(value)); return *this;} /** *

The identifier for the hours of operation.

*/ inline const Aws::String& GetHoursOfOperationId() const{ return m_hoursOfOperationId; } /** *

The identifier for the hours of operation.

*/ inline bool HoursOfOperationIdHasBeenSet() const { return m_hoursOfOperationIdHasBeenSet; } /** *

The identifier for the hours of operation.

*/ inline void SetHoursOfOperationId(const Aws::String& value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId = value; } /** *

The identifier for the hours of operation.

*/ inline void SetHoursOfOperationId(Aws::String&& value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId = std::move(value); } /** *

The identifier for the hours of operation.

*/ inline void SetHoursOfOperationId(const char* value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId.assign(value); } /** *

The identifier for the hours of operation.

*/ inline CreateQueueRequest& WithHoursOfOperationId(const Aws::String& value) { SetHoursOfOperationId(value); return *this;} /** *

The identifier for the hours of operation.

*/ inline CreateQueueRequest& WithHoursOfOperationId(Aws::String&& value) { SetHoursOfOperationId(std::move(value)); return *this;} /** *

The identifier for the hours of operation.

*/ inline CreateQueueRequest& WithHoursOfOperationId(const char* value) { SetHoursOfOperationId(value); return *this;} /** *

The maximum number of contacts that can be in the queue before it is * considered full.

*/ inline int GetMaxContacts() const{ return m_maxContacts; } /** *

The maximum number of contacts that can be in the queue before it is * considered full.

*/ inline bool MaxContactsHasBeenSet() const { return m_maxContactsHasBeenSet; } /** *

The maximum number of contacts that can be in the queue before it is * considered full.

*/ inline void SetMaxContacts(int value) { m_maxContactsHasBeenSet = true; m_maxContacts = value; } /** *

The maximum number of contacts that can be in the queue before it is * considered full.

*/ inline CreateQueueRequest& WithMaxContacts(int value) { SetMaxContacts(value); return *this;} /** *

The quick connects available to agents who are working the queue.

*/ inline const Aws::Vector& GetQuickConnectIds() const{ return m_quickConnectIds; } /** *

The quick connects available to agents who are working the queue.

*/ inline bool QuickConnectIdsHasBeenSet() const { return m_quickConnectIdsHasBeenSet; } /** *

The quick connects available to agents who are working the queue.

*/ inline void SetQuickConnectIds(const Aws::Vector& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds = value; } /** *

The quick connects available to agents who are working the queue.

*/ inline void SetQuickConnectIds(Aws::Vector&& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds = std::move(value); } /** *

The quick connects available to agents who are working the queue.

*/ inline CreateQueueRequest& WithQuickConnectIds(const Aws::Vector& value) { SetQuickConnectIds(value); return *this;} /** *

The quick connects available to agents who are working the queue.

*/ inline CreateQueueRequest& WithQuickConnectIds(Aws::Vector&& value) { SetQuickConnectIds(std::move(value)); return *this;} /** *

The quick connects available to agents who are working the queue.

*/ inline CreateQueueRequest& AddQuickConnectIds(const Aws::String& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds.push_back(value); return *this; } /** *

The quick connects available to agents who are working the queue.

*/ inline CreateQueueRequest& AddQuickConnectIds(Aws::String&& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds.push_back(std::move(value)); return *this; } /** *

The quick connects available to agents who are working the queue.

*/ inline CreateQueueRequest& AddQuickConnectIds(const char* value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds.push_back(value); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline CreateQueueRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline CreateQueueRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline CreateQueueRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline CreateQueueRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline CreateQueueRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline CreateQueueRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline CreateQueueRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline CreateQueueRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline CreateQueueRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; OutboundCallerConfig m_outboundCallerConfig; bool m_outboundCallerConfigHasBeenSet = false; Aws::String m_hoursOfOperationId; bool m_hoursOfOperationIdHasBeenSet = false; int m_maxContacts; bool m_maxContactsHasBeenSet = false; Aws::Vector m_quickConnectIds; bool m_quickConnectIdsHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws