|
| 1 | +/** |
| 2 | + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| 3 | + * SPDX-License-Identifier: Apache-2.0. |
| 4 | + */ |
| 5 | + |
| 6 | +#pragma once |
| 7 | +#include <aws/connect/Connect_EXPORTS.h> |
| 8 | +#include <aws/connect/ConnectRequest.h> |
| 9 | +#include <aws/core/utils/memory/stl/AWSString.h> |
| 10 | +#include <aws/core/utils/memory/stl/AWSVector.h> |
| 11 | +#include <utility> |
| 12 | + |
| 13 | +namespace Aws |
| 14 | +{ |
| 15 | +namespace Connect |
| 16 | +{ |
| 17 | +namespace Model |
| 18 | +{ |
| 19 | + |
| 20 | + /** |
| 21 | + */ |
| 22 | + class AWS_CONNECT_API AssociateQueueQuickConnectsRequest : public ConnectRequest |
| 23 | + { |
| 24 | + public: |
| 25 | + AssociateQueueQuickConnectsRequest(); |
| 26 | + |
| 27 | + // Service request name is the Operation name which will send this request out, |
| 28 | + // each operation should has unique request name, so that we can get operation's name from this request. |
| 29 | + // Note: this is not true for response, multiple operations may have the same response name, |
| 30 | + // so we can not get operation's name from response. |
| 31 | + inline virtual const char* GetServiceRequestName() const override { return "AssociateQueueQuickConnects"; } |
| 32 | + |
| 33 | + Aws::String SerializePayload() const override; |
| 34 | + |
| 35 | + |
| 36 | + /** |
| 37 | + * <p>The identifier of the Amazon Connect instance.</p> |
| 38 | + */ |
| 39 | + inline const Aws::String& GetInstanceId() const{ return m_instanceId; } |
| 40 | + |
| 41 | + /** |
| 42 | + * <p>The identifier of the Amazon Connect instance.</p> |
| 43 | + */ |
| 44 | + inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } |
| 45 | + |
| 46 | + /** |
| 47 | + * <p>The identifier of the Amazon Connect instance.</p> |
| 48 | + */ |
| 49 | + inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } |
| 50 | + |
| 51 | + /** |
| 52 | + * <p>The identifier of the Amazon Connect instance.</p> |
| 53 | + */ |
| 54 | + inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } |
| 55 | + |
| 56 | + /** |
| 57 | + * <p>The identifier of the Amazon Connect instance.</p> |
| 58 | + */ |
| 59 | + inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } |
| 60 | + |
| 61 | + /** |
| 62 | + * <p>The identifier of the Amazon Connect instance.</p> |
| 63 | + */ |
| 64 | + inline AssociateQueueQuickConnectsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} |
| 65 | + |
| 66 | + /** |
| 67 | + * <p>The identifier of the Amazon Connect instance.</p> |
| 68 | + */ |
| 69 | + inline AssociateQueueQuickConnectsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} |
| 70 | + |
| 71 | + /** |
| 72 | + * <p>The identifier of the Amazon Connect instance.</p> |
| 73 | + */ |
| 74 | + inline AssociateQueueQuickConnectsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} |
| 75 | + |
| 76 | + |
| 77 | + /** |
| 78 | + * <p>The identifier for the queue.</p> |
| 79 | + */ |
| 80 | + inline const Aws::String& GetQueueId() const{ return m_queueId; } |
| 81 | + |
| 82 | + /** |
| 83 | + * <p>The identifier for the queue.</p> |
| 84 | + */ |
| 85 | + inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } |
| 86 | + |
| 87 | + /** |
| 88 | + * <p>The identifier for the queue.</p> |
| 89 | + */ |
| 90 | + inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } |
| 91 | + |
| 92 | + /** |
| 93 | + * <p>The identifier for the queue.</p> |
| 94 | + */ |
| 95 | + inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } |
| 96 | + |
| 97 | + /** |
| 98 | + * <p>The identifier for the queue.</p> |
| 99 | + */ |
| 100 | + inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } |
| 101 | + |
| 102 | + /** |
| 103 | + * <p>The identifier for the queue.</p> |
| 104 | + */ |
| 105 | + inline AssociateQueueQuickConnectsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} |
| 106 | + |
| 107 | + /** |
| 108 | + * <p>The identifier for the queue.</p> |
| 109 | + */ |
| 110 | + inline AssociateQueueQuickConnectsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} |
| 111 | + |
| 112 | + /** |
| 113 | + * <p>The identifier for the queue.</p> |
| 114 | + */ |
| 115 | + inline AssociateQueueQuickConnectsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} |
| 116 | + |
| 117 | + |
| 118 | + /** |
| 119 | + * <p>The quick connects to associate with this queue.</p> |
| 120 | + */ |
| 121 | + inline const Aws::Vector<Aws::String>& GetQuickConnectIds() const{ return m_quickConnectIds; } |
| 122 | + |
| 123 | + /** |
| 124 | + * <p>The quick connects to associate with this queue.</p> |
| 125 | + */ |
| 126 | + inline bool QuickConnectIdsHasBeenSet() const { return m_quickConnectIdsHasBeenSet; } |
| 127 | + |
| 128 | + /** |
| 129 | + * <p>The quick connects to associate with this queue.</p> |
| 130 | + */ |
| 131 | + inline void SetQuickConnectIds(const Aws::Vector<Aws::String>& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds = value; } |
| 132 | + |
| 133 | + /** |
| 134 | + * <p>The quick connects to associate with this queue.</p> |
| 135 | + */ |
| 136 | + inline void SetQuickConnectIds(Aws::Vector<Aws::String>&& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds = std::move(value); } |
| 137 | + |
| 138 | + /** |
| 139 | + * <p>The quick connects to associate with this queue.</p> |
| 140 | + */ |
| 141 | + inline AssociateQueueQuickConnectsRequest& WithQuickConnectIds(const Aws::Vector<Aws::String>& value) { SetQuickConnectIds(value); return *this;} |
| 142 | + |
| 143 | + /** |
| 144 | + * <p>The quick connects to associate with this queue.</p> |
| 145 | + */ |
| 146 | + inline AssociateQueueQuickConnectsRequest& WithQuickConnectIds(Aws::Vector<Aws::String>&& value) { SetQuickConnectIds(std::move(value)); return *this;} |
| 147 | + |
| 148 | + /** |
| 149 | + * <p>The quick connects to associate with this queue.</p> |
| 150 | + */ |
| 151 | + inline AssociateQueueQuickConnectsRequest& AddQuickConnectIds(const Aws::String& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds.push_back(value); return *this; } |
| 152 | + |
| 153 | + /** |
| 154 | + * <p>The quick connects to associate with this queue.</p> |
| 155 | + */ |
| 156 | + inline AssociateQueueQuickConnectsRequest& AddQuickConnectIds(Aws::String&& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds.push_back(std::move(value)); return *this; } |
| 157 | + |
| 158 | + /** |
| 159 | + * <p>The quick connects to associate with this queue.</p> |
| 160 | + */ |
| 161 | + inline AssociateQueueQuickConnectsRequest& AddQuickConnectIds(const char* value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds.push_back(value); return *this; } |
| 162 | + |
| 163 | + private: |
| 164 | + |
| 165 | + Aws::String m_instanceId; |
| 166 | + bool m_instanceIdHasBeenSet; |
| 167 | + |
| 168 | + Aws::String m_queueId; |
| 169 | + bool m_queueIdHasBeenSet; |
| 170 | + |
| 171 | + Aws::Vector<Aws::String> m_quickConnectIds; |
| 172 | + bool m_quickConnectIdsHasBeenSet; |
| 173 | + }; |
| 174 | + |
| 175 | +} // namespace Model |
| 176 | +} // namespace Connect |
| 177 | +} // namespace Aws |
0 commit comments