AWS SDK for C++

AWS SDK for C++ Version 1.11.555

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
AssociateQueueQuickConnectsRequest.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 <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECT_API AssociateQueueQuickConnectsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AssociateQueueQuickConnects"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 template<typename InstanceIdT = Aws::String>
45 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
46 template<typename InstanceIdT = Aws::String>
47 AssociateQueueQuickConnectsRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetQueueId() const { return m_queueId; }
55 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
56 template<typename QueueIdT = Aws::String>
57 void SetQueueId(QueueIdT&& value) { m_queueIdHasBeenSet = true; m_queueId = std::forward<QueueIdT>(value); }
58 template<typename QueueIdT = Aws::String>
59 AssociateQueueQuickConnectsRequest& WithQueueId(QueueIdT&& value) { SetQueueId(std::forward<QueueIdT>(value)); return *this;}
61
63
66 inline const Aws::Vector<Aws::String>& GetQuickConnectIds() const { return m_quickConnectIds; }
67 inline bool QuickConnectIdsHasBeenSet() const { return m_quickConnectIdsHasBeenSet; }
68 template<typename QuickConnectIdsT = Aws::Vector<Aws::String>>
69 void SetQuickConnectIds(QuickConnectIdsT&& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds = std::forward<QuickConnectIdsT>(value); }
70 template<typename QuickConnectIdsT = Aws::Vector<Aws::String>>
71 AssociateQueueQuickConnectsRequest& WithQuickConnectIds(QuickConnectIdsT&& value) { SetQuickConnectIds(std::forward<QuickConnectIdsT>(value)); return *this;}
72 template<typename QuickConnectIdsT = Aws::String>
73 AssociateQueueQuickConnectsRequest& AddQuickConnectIds(QuickConnectIdsT&& value) { m_quickConnectIdsHasBeenSet = true; m_quickConnectIds.emplace_back(std::forward<QuickConnectIdsT>(value)); return *this; }
75 private:
76
77 Aws::String m_instanceId;
78 bool m_instanceIdHasBeenSet = false;
79
80 Aws::String m_queueId;
81 bool m_queueIdHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_quickConnectIds;
84 bool m_quickConnectIdsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Connect
89} // namespace Aws
AssociateQueueQuickConnectsRequest & WithQueueId(QueueIdT &&value)
AssociateQueueQuickConnectsRequest & AddQuickConnectIds(QuickConnectIdsT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
AssociateQueueQuickConnectsRequest & WithQuickConnectIds(QuickConnectIdsT &&value)
AssociateQueueQuickConnectsRequest & WithInstanceId(InstanceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector