AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateRoutingProfileQueuesRequest.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/RoutingProfileQueueReference.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 "DisassociateRoutingProfileQueues"; }
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 DisassociateRoutingProfileQueuesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline DisassociateRoutingProfileQueuesRequest& 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 DisassociateRoutingProfileQueuesRequest& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;}
66
68
71 inline const Aws::Vector<RoutingProfileQueueReference>& GetQueueReferences() const{ return m_queueReferences; }
72 inline bool QueueReferencesHasBeenSet() const { return m_queueReferencesHasBeenSet; }
73 inline void SetQueueReferences(const Aws::Vector<RoutingProfileQueueReference>& value) { m_queueReferencesHasBeenSet = true; m_queueReferences = value; }
74 inline void SetQueueReferences(Aws::Vector<RoutingProfileQueueReference>&& value) { m_queueReferencesHasBeenSet = true; m_queueReferences = std::move(value); }
77 inline DisassociateRoutingProfileQueuesRequest& AddQueueReferences(const RoutingProfileQueueReference& value) { m_queueReferencesHasBeenSet = true; m_queueReferences.push_back(value); return *this; }
78 inline DisassociateRoutingProfileQueuesRequest& AddQueueReferences(RoutingProfileQueueReference&& value) { m_queueReferencesHasBeenSet = true; m_queueReferences.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_queueReferencesHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Connect
94} // namespace Aws
DisassociateRoutingProfileQueuesRequest & AddQueueReferences(const RoutingProfileQueueReference &value)
DisassociateRoutingProfileQueuesRequest & WithInstanceId(Aws::String &&value)
void SetQueueReferences(Aws::Vector< RoutingProfileQueueReference > &&value)
void SetQueueReferences(const Aws::Vector< RoutingProfileQueueReference > &value)
DisassociateRoutingProfileQueuesRequest & AddQueueReferences(RoutingProfileQueueReference &&value)
DisassociateRoutingProfileQueuesRequest & WithRoutingProfileId(Aws::String &&value)
DisassociateRoutingProfileQueuesRequest & WithRoutingProfileId(const char *value)
AWS_CONNECT_API Aws::String SerializePayload() const override
DisassociateRoutingProfileQueuesRequest & WithQueueReferences(Aws::Vector< RoutingProfileQueueReference > &&value)
const Aws::Vector< RoutingProfileQueueReference > & GetQueueReferences() const
DisassociateRoutingProfileQueuesRequest & WithInstanceId(const Aws::String &value)
DisassociateRoutingProfileQueuesRequest & WithQueueReferences(const Aws::Vector< RoutingProfileQueueReference > &value)
DisassociateRoutingProfileQueuesRequest & WithRoutingProfileId(const Aws::String &value)
DisassociateRoutingProfileQueuesRequest & WithInstanceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector