AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
UpdateRoutingProfileQueuesRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/RoutingProfileQueueConfig.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 UpdateRoutingProfileQueuesRequest() = 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 "UpdateRoutingProfileQueues"; }
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
77 inline const Aws::Vector<RoutingProfileQueueConfig>& GetQueueConfigs() const { return m_queueConfigs; }
78 inline bool QueueConfigsHasBeenSet() const { return m_queueConfigsHasBeenSet; }
79 template <typename QueueConfigsT = Aws::Vector<RoutingProfileQueueConfig>>
80 void SetQueueConfigs(QueueConfigsT&& value) {
81 m_queueConfigsHasBeenSet = true;
82 m_queueConfigs = std::forward<QueueConfigsT>(value);
83 }
84 template <typename QueueConfigsT = Aws::Vector<RoutingProfileQueueConfig>>
86 SetQueueConfigs(std::forward<QueueConfigsT>(value));
87 return *this;
88 }
89 template <typename QueueConfigsT = RoutingProfileQueueConfig>
91 m_queueConfigsHasBeenSet = true;
92 m_queueConfigs.emplace_back(std::forward<QueueConfigsT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_instanceId;
98
99 Aws::String m_routingProfileId;
100
102 bool m_instanceIdHasBeenSet = false;
103 bool m_routingProfileIdHasBeenSet = false;
104 bool m_queueConfigsHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace Connect
109} // namespace Aws
UpdateRoutingProfileQueuesRequest & AddQueueConfigs(QueueConfigsT &&value)
UpdateRoutingProfileQueuesRequest & WithQueueConfigs(QueueConfigsT &&value)
const Aws::Vector< RoutingProfileQueueConfig > & GetQueueConfigs() const
UpdateRoutingProfileQueuesRequest & WithInstanceId(InstanceIdT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateRoutingProfileQueuesRequest & WithRoutingProfileId(RoutingProfileIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector