AWS SDK for C++

AWS SDK for C++ Version 1.11.692

Loading...
Searching...
No Matches
AssociateRoutingProfileQueuesRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/RoutingProfileManualAssignmentQueueConfig.h>
10#include <aws/connect/model/RoutingProfileQueueConfig.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Connect {
18namespace Model {
19
23 public:
24 AWS_CONNECT_API AssociateRoutingProfileQueuesRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "AssociateRoutingProfileQueues"; }
31
32 AWS_CONNECT_API Aws::String SerializePayload() const override;
33
35
40 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
41 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
42 template <typename InstanceIdT = Aws::String>
43 void SetInstanceId(InstanceIdT&& value) {
44 m_instanceIdHasBeenSet = true;
45 m_instanceId = std::forward<InstanceIdT>(value);
46 }
47 template <typename InstanceIdT = Aws::String>
49 SetInstanceId(std::forward<InstanceIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetRoutingProfileId() const { return m_routingProfileId; }
59 inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; }
60 template <typename RoutingProfileIdT = Aws::String>
61 void SetRoutingProfileId(RoutingProfileIdT&& value) {
62 m_routingProfileIdHasBeenSet = true;
63 m_routingProfileId = std::forward<RoutingProfileIdT>(value);
64 }
65 template <typename RoutingProfileIdT = Aws::String>
67 SetRoutingProfileId(std::forward<RoutingProfileIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Vector<RoutingProfileQueueConfig>& GetQueueConfigs() const { return m_queueConfigs; }
77 inline bool QueueConfigsHasBeenSet() const { return m_queueConfigsHasBeenSet; }
78 template <typename QueueConfigsT = Aws::Vector<RoutingProfileQueueConfig>>
79 void SetQueueConfigs(QueueConfigsT&& value) {
80 m_queueConfigsHasBeenSet = true;
81 m_queueConfigs = std::forward<QueueConfigsT>(value);
82 }
83 template <typename QueueConfigsT = Aws::Vector<RoutingProfileQueueConfig>>
85 SetQueueConfigs(std::forward<QueueConfigsT>(value));
86 return *this;
87 }
88 template <typename QueueConfigsT = RoutingProfileQueueConfig>
90 m_queueConfigsHasBeenSet = true;
91 m_queueConfigs.emplace_back(std::forward<QueueConfigsT>(value));
92 return *this;
93 }
95
97
101 return m_manualAssignmentQueueConfigs;
102 }
103 inline bool ManualAssignmentQueueConfigsHasBeenSet() const { return m_manualAssignmentQueueConfigsHasBeenSet; }
104 template <typename ManualAssignmentQueueConfigsT = Aws::Vector<RoutingProfileManualAssignmentQueueConfig>>
105 void SetManualAssignmentQueueConfigs(ManualAssignmentQueueConfigsT&& value) {
106 m_manualAssignmentQueueConfigsHasBeenSet = true;
107 m_manualAssignmentQueueConfigs = std::forward<ManualAssignmentQueueConfigsT>(value);
108 }
109 template <typename ManualAssignmentQueueConfigsT = Aws::Vector<RoutingProfileManualAssignmentQueueConfig>>
111 SetManualAssignmentQueueConfigs(std::forward<ManualAssignmentQueueConfigsT>(value));
112 return *this;
113 }
114 template <typename ManualAssignmentQueueConfigsT = RoutingProfileManualAssignmentQueueConfig>
116 m_manualAssignmentQueueConfigsHasBeenSet = true;
117 m_manualAssignmentQueueConfigs.emplace_back(std::forward<ManualAssignmentQueueConfigsT>(value));
118 return *this;
119 }
121 private:
122 Aws::String m_instanceId;
123 bool m_instanceIdHasBeenSet = false;
124
125 Aws::String m_routingProfileId;
126 bool m_routingProfileIdHasBeenSet = false;
127
129 bool m_queueConfigsHasBeenSet = false;
130
131 Aws::Vector<RoutingProfileManualAssignmentQueueConfig> m_manualAssignmentQueueConfigs;
132 bool m_manualAssignmentQueueConfigsHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace Connect
137} // namespace Aws
AssociateRoutingProfileQueuesRequest & WithInstanceId(InstanceIdT &&value)
AssociateRoutingProfileQueuesRequest & WithManualAssignmentQueueConfigs(ManualAssignmentQueueConfigsT &&value)
AssociateRoutingProfileQueuesRequest & WithRoutingProfileId(RoutingProfileIdT &&value)
const Aws::Vector< RoutingProfileQueueConfig > & GetQueueConfigs() const
const Aws::Vector< RoutingProfileManualAssignmentQueueConfig > & GetManualAssignmentQueueConfigs() const
AssociateRoutingProfileQueuesRequest & WithQueueConfigs(QueueConfigsT &&value)
AssociateRoutingProfileQueuesRequest & AddManualAssignmentQueueConfigs(ManualAssignmentQueueConfigsT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
AssociateRoutingProfileQueuesRequest & AddQueueConfigs(QueueConfigsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector