AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
DisassociateQueueQuickConnectsRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Connect {
16namespace Model {
17
21 public:
22 AWS_CONNECT_API DisassociateQueueQuickConnectsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DisassociateQueueQuickConnects"; }
29
30 AWS_CONNECT_API Aws::String SerializePayload() const override;
31
33
38 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
39 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
40 template <typename InstanceIdT = Aws::String>
41 void SetInstanceId(InstanceIdT&& value) {
42 m_instanceIdHasBeenSet = true;
43 m_instanceId = std::forward<InstanceIdT>(value);
44 }
45 template <typename InstanceIdT = Aws::String>
47 SetInstanceId(std::forward<InstanceIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetQueueId() const { return m_queueId; }
57 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
58 template <typename QueueIdT = Aws::String>
59 void SetQueueId(QueueIdT&& value) {
60 m_queueIdHasBeenSet = true;
61 m_queueId = std::forward<QueueIdT>(value);
62 }
63 template <typename QueueIdT = Aws::String>
65 SetQueueId(std::forward<QueueIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::Vector<Aws::String>& GetQuickConnectIds() const { return m_quickConnectIds; }
75 inline bool QuickConnectIdsHasBeenSet() const { return m_quickConnectIdsHasBeenSet; }
76 template <typename QuickConnectIdsT = Aws::Vector<Aws::String>>
77 void SetQuickConnectIds(QuickConnectIdsT&& value) {
78 m_quickConnectIdsHasBeenSet = true;
79 m_quickConnectIds = std::forward<QuickConnectIdsT>(value);
80 }
81 template <typename QuickConnectIdsT = Aws::Vector<Aws::String>>
83 SetQuickConnectIds(std::forward<QuickConnectIdsT>(value));
84 return *this;
85 }
86 template <typename QuickConnectIdsT = Aws::String>
88 m_quickConnectIdsHasBeenSet = true;
89 m_quickConnectIds.emplace_back(std::forward<QuickConnectIdsT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_instanceId;
95 bool m_instanceIdHasBeenSet = false;
96
97 Aws::String m_queueId;
98 bool m_queueIdHasBeenSet = false;
99
100 Aws::Vector<Aws::String> m_quickConnectIds;
101 bool m_quickConnectIdsHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Connect
106} // namespace Aws
DisassociateQueueQuickConnectsRequest & AddQuickConnectIds(QuickConnectIdsT &&value)
DisassociateQueueQuickConnectsRequest & WithQueueId(QueueIdT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
DisassociateQueueQuickConnectsRequest & WithInstanceId(InstanceIdT &&value)
DisassociateQueueQuickConnectsRequest & WithQuickConnectIds(QuickConnectIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector