/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Connect { namespace Model { /** */ class UpdateRoutingProfileQueuesRequest : public ConnectRequest { public: AWS_CONNECT_API UpdateRoutingProfileQueuesRequest(); // 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 "UpdateRoutingProfileQueues"; } 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 UpdateRoutingProfileQueuesRequest& 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 UpdateRoutingProfileQueuesRequest& 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 UpdateRoutingProfileQueuesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *

The identifier of the routing profile.

*/ inline const Aws::String& GetRoutingProfileId() const{ return m_routingProfileId; } /** *

The identifier of the routing profile.

*/ inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; } /** *

The identifier of the routing profile.

*/ inline void SetRoutingProfileId(const Aws::String& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = value; } /** *

The identifier of the routing profile.

*/ inline void SetRoutingProfileId(Aws::String&& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = std::move(value); } /** *

The identifier of the routing profile.

*/ inline void SetRoutingProfileId(const char* value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId.assign(value); } /** *

The identifier of the routing profile.

*/ inline UpdateRoutingProfileQueuesRequest& WithRoutingProfileId(const Aws::String& value) { SetRoutingProfileId(value); return *this;} /** *

The identifier of the routing profile.

*/ inline UpdateRoutingProfileQueuesRequest& WithRoutingProfileId(Aws::String&& value) { SetRoutingProfileId(std::move(value)); return *this;} /** *

The identifier of the routing profile.

*/ inline UpdateRoutingProfileQueuesRequest& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;} /** *

The queues to be updated for this routing profile. Queues must first be * associated to the routing profile. You can do this using * AssociateRoutingProfileQueues.

*/ inline const Aws::Vector& GetQueueConfigs() const{ return m_queueConfigs; } /** *

The queues to be updated for this routing profile. Queues must first be * associated to the routing profile. You can do this using * AssociateRoutingProfileQueues.

*/ inline bool QueueConfigsHasBeenSet() const { return m_queueConfigsHasBeenSet; } /** *

The queues to be updated for this routing profile. Queues must first be * associated to the routing profile. You can do this using * AssociateRoutingProfileQueues.

*/ inline void SetQueueConfigs(const Aws::Vector& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs = value; } /** *

The queues to be updated for this routing profile. Queues must first be * associated to the routing profile. You can do this using * AssociateRoutingProfileQueues.

*/ inline void SetQueueConfigs(Aws::Vector&& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs = std::move(value); } /** *

The queues to be updated for this routing profile. Queues must first be * associated to the routing profile. You can do this using * AssociateRoutingProfileQueues.

*/ inline UpdateRoutingProfileQueuesRequest& WithQueueConfigs(const Aws::Vector& value) { SetQueueConfigs(value); return *this;} /** *

The queues to be updated for this routing profile. Queues must first be * associated to the routing profile. You can do this using * AssociateRoutingProfileQueues.

*/ inline UpdateRoutingProfileQueuesRequest& WithQueueConfigs(Aws::Vector&& value) { SetQueueConfigs(std::move(value)); return *this;} /** *

The queues to be updated for this routing profile. Queues must first be * associated to the routing profile. You can do this using * AssociateRoutingProfileQueues.

*/ inline UpdateRoutingProfileQueuesRequest& AddQueueConfigs(const RoutingProfileQueueConfig& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs.push_back(value); return *this; } /** *

The queues to be updated for this routing profile. Queues must first be * associated to the routing profile. You can do this using * AssociateRoutingProfileQueues.

*/ inline UpdateRoutingProfileQueuesRequest& AddQueueConfigs(RoutingProfileQueueConfig&& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs.push_back(std::move(value)); return *this; } private: Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; Aws::String m_routingProfileId; bool m_routingProfileIdHasBeenSet = false; Aws::Vector m_queueConfigs; bool m_queueConfigsHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws