AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DisassociateRoutingProfileQueuesRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/RoutingProfileQueueReference.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Connect {
17namespace Model {
18
22 public:
23 AWS_CONNECT_API DisassociateRoutingProfileQueuesRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DisassociateRoutingProfileQueues"; }
30
31 AWS_CONNECT_API Aws::String SerializePayload() const override;
32
34
39 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
40 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
41 template <typename InstanceIdT = Aws::String>
42 void SetInstanceId(InstanceIdT&& value) {
43 m_instanceIdHasBeenSet = true;
44 m_instanceId = std::forward<InstanceIdT>(value);
45 }
46 template <typename InstanceIdT = Aws::String>
48 SetInstanceId(std::forward<InstanceIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetRoutingProfileId() const { return m_routingProfileId; }
58 inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; }
59 template <typename RoutingProfileIdT = Aws::String>
60 void SetRoutingProfileId(RoutingProfileIdT&& value) {
61 m_routingProfileIdHasBeenSet = true;
62 m_routingProfileId = std::forward<RoutingProfileIdT>(value);
63 }
64 template <typename RoutingProfileIdT = Aws::String>
66 SetRoutingProfileId(std::forward<RoutingProfileIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Vector<RoutingProfileQueueReference>& GetQueueReferences() const { return m_queueReferences; }
76 inline bool QueueReferencesHasBeenSet() const { return m_queueReferencesHasBeenSet; }
77 template <typename QueueReferencesT = Aws::Vector<RoutingProfileQueueReference>>
78 void SetQueueReferences(QueueReferencesT&& value) {
79 m_queueReferencesHasBeenSet = true;
80 m_queueReferences = std::forward<QueueReferencesT>(value);
81 }
82 template <typename QueueReferencesT = Aws::Vector<RoutingProfileQueueReference>>
84 SetQueueReferences(std::forward<QueueReferencesT>(value));
85 return *this;
86 }
87 template <typename QueueReferencesT = RoutingProfileQueueReference>
89 m_queueReferencesHasBeenSet = true;
90 m_queueReferences.emplace_back(std::forward<QueueReferencesT>(value));
91 return *this;
92 }
94
96
100 return m_manualAssignmentQueueReferences;
101 }
102 inline bool ManualAssignmentQueueReferencesHasBeenSet() const { return m_manualAssignmentQueueReferencesHasBeenSet; }
103 template <typename ManualAssignmentQueueReferencesT = Aws::Vector<RoutingProfileQueueReference>>
104 void SetManualAssignmentQueueReferences(ManualAssignmentQueueReferencesT&& value) {
105 m_manualAssignmentQueueReferencesHasBeenSet = true;
106 m_manualAssignmentQueueReferences = std::forward<ManualAssignmentQueueReferencesT>(value);
107 }
108 template <typename ManualAssignmentQueueReferencesT = Aws::Vector<RoutingProfileQueueReference>>
110 SetManualAssignmentQueueReferences(std::forward<ManualAssignmentQueueReferencesT>(value));
111 return *this;
112 }
113 template <typename ManualAssignmentQueueReferencesT = RoutingProfileQueueReference>
115 m_manualAssignmentQueueReferencesHasBeenSet = true;
116 m_manualAssignmentQueueReferences.emplace_back(std::forward<ManualAssignmentQueueReferencesT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_instanceId;
122
123 Aws::String m_routingProfileId;
124
126
127 Aws::Vector<RoutingProfileQueueReference> m_manualAssignmentQueueReferences;
128 bool m_instanceIdHasBeenSet = false;
129 bool m_routingProfileIdHasBeenSet = false;
130 bool m_queueReferencesHasBeenSet = false;
131 bool m_manualAssignmentQueueReferencesHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace Connect
136} // namespace Aws
DisassociateRoutingProfileQueuesRequest & AddManualAssignmentQueueReferences(ManualAssignmentQueueReferencesT &&value)
const Aws::Vector< RoutingProfileQueueReference > & GetManualAssignmentQueueReferences() const
DisassociateRoutingProfileQueuesRequest & AddQueueReferences(QueueReferencesT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
DisassociateRoutingProfileQueuesRequest & WithManualAssignmentQueueReferences(ManualAssignmentQueueReferencesT &&value)
const Aws::Vector< RoutingProfileQueueReference > & GetQueueReferences() const
DisassociateRoutingProfileQueuesRequest & WithInstanceId(InstanceIdT &&value)
DisassociateRoutingProfileQueuesRequest & WithQueueReferences(QueueReferencesT &&value)
DisassociateRoutingProfileQueuesRequest & WithRoutingProfileId(RoutingProfileIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector