AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateRoutingProfileQueuesRequest.h
1
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 <aws/connect/model/RoutingProfileQueueConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "AssociateRoutingProfileQueues"; }
33
34 AWS_CONNECT_API Aws::String SerializePayload() const override;
35
36
38
43 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
44 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
45 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
46 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
47 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
49 inline AssociateRoutingProfileQueuesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline AssociateRoutingProfileQueuesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
52
54
57 inline const Aws::String& GetRoutingProfileId() const{ return m_routingProfileId; }
58 inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; }
59 inline void SetRoutingProfileId(const Aws::String& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = value; }
60 inline void SetRoutingProfileId(Aws::String&& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = std::move(value); }
61 inline void SetRoutingProfileId(const char* value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId.assign(value); }
64 inline AssociateRoutingProfileQueuesRequest& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;}
66
68
71 inline const Aws::Vector<RoutingProfileQueueConfig>& GetQueueConfigs() const{ return m_queueConfigs; }
72 inline bool QueueConfigsHasBeenSet() const { return m_queueConfigsHasBeenSet; }
73 inline void SetQueueConfigs(const Aws::Vector<RoutingProfileQueueConfig>& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs = value; }
74 inline void SetQueueConfigs(Aws::Vector<RoutingProfileQueueConfig>&& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs = std::move(value); }
77 inline AssociateRoutingProfileQueuesRequest& AddQueueConfigs(const RoutingProfileQueueConfig& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs.push_back(value); return *this; }
78 inline AssociateRoutingProfileQueuesRequest& AddQueueConfigs(RoutingProfileQueueConfig&& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs.push_back(std::move(value)); return *this; }
80 private:
81
82 Aws::String m_instanceId;
83 bool m_instanceIdHasBeenSet = false;
84
85 Aws::String m_routingProfileId;
86 bool m_routingProfileIdHasBeenSet = false;
87
89 bool m_queueConfigsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Connect
94} // namespace Aws
AssociateRoutingProfileQueuesRequest & WithQueueConfigs(const Aws::Vector< RoutingProfileQueueConfig > &value)
AssociateRoutingProfileQueuesRequest & AddQueueConfigs(RoutingProfileQueueConfig &&value)
AssociateRoutingProfileQueuesRequest & WithRoutingProfileId(Aws::String &&value)
const Aws::Vector< RoutingProfileQueueConfig > & GetQueueConfigs() const
AssociateRoutingProfileQueuesRequest & WithRoutingProfileId(const char *value)
AssociateRoutingProfileQueuesRequest & WithRoutingProfileId(const Aws::String &value)
void SetQueueConfigs(Aws::Vector< RoutingProfileQueueConfig > &&value)
AssociateRoutingProfileQueuesRequest & AddQueueConfigs(const RoutingProfileQueueConfig &value)
void SetQueueConfigs(const Aws::Vector< RoutingProfileQueueConfig > &value)
AssociateRoutingProfileQueuesRequest & WithInstanceId(const char *value)
AssociateRoutingProfileQueuesRequest & WithQueueConfigs(Aws::Vector< RoutingProfileQueueConfig > &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
AssociateRoutingProfileQueuesRequest & WithInstanceId(const Aws::String &value)
AssociateRoutingProfileQueuesRequest & WithInstanceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector