AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateContactRoutingDataRequest.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/connect/model/RoutingCriteriaInput.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
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 "UpdateContactRoutingData"; }
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 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
45 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
46 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
47 inline UpdateContactRoutingDataRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline UpdateContactRoutingDataRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline UpdateContactRoutingDataRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
56 inline const Aws::String& GetContactId() const{ return m_contactId; }
57 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
58 inline void SetContactId(const Aws::String& value) { m_contactIdHasBeenSet = true; m_contactId = value; }
59 inline void SetContactId(Aws::String&& value) { m_contactIdHasBeenSet = true; m_contactId = std::move(value); }
60 inline void SetContactId(const char* value) { m_contactIdHasBeenSet = true; m_contactId.assign(value); }
61 inline UpdateContactRoutingDataRequest& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
62 inline UpdateContactRoutingDataRequest& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
63 inline UpdateContactRoutingDataRequest& WithContactId(const char* value) { SetContactId(value); return *this;}
65
67
73 inline int GetQueueTimeAdjustmentSeconds() const{ return m_queueTimeAdjustmentSeconds; }
74 inline bool QueueTimeAdjustmentSecondsHasBeenSet() const { return m_queueTimeAdjustmentSecondsHasBeenSet; }
75 inline void SetQueueTimeAdjustmentSeconds(int value) { m_queueTimeAdjustmentSecondsHasBeenSet = true; m_queueTimeAdjustmentSeconds = value; }
78
80
85 inline long long GetQueuePriority() const{ return m_queuePriority; }
86 inline bool QueuePriorityHasBeenSet() const { return m_queuePriorityHasBeenSet; }
87 inline void SetQueuePriority(long long value) { m_queuePriorityHasBeenSet = true; m_queuePriority = value; }
88 inline UpdateContactRoutingDataRequest& WithQueuePriority(long long value) { SetQueuePriority(value); return *this;}
90
92
96 inline const RoutingCriteriaInput& GetRoutingCriteria() const{ return m_routingCriteria; }
97 inline bool RoutingCriteriaHasBeenSet() const { return m_routingCriteriaHasBeenSet; }
98 inline void SetRoutingCriteria(const RoutingCriteriaInput& value) { m_routingCriteriaHasBeenSet = true; m_routingCriteria = value; }
99 inline void SetRoutingCriteria(RoutingCriteriaInput&& value) { m_routingCriteriaHasBeenSet = true; m_routingCriteria = std::move(value); }
103 private:
104
105 Aws::String m_instanceId;
106 bool m_instanceIdHasBeenSet = false;
107
108 Aws::String m_contactId;
109 bool m_contactIdHasBeenSet = false;
110
111 int m_queueTimeAdjustmentSeconds;
112 bool m_queueTimeAdjustmentSecondsHasBeenSet = false;
113
114 long long m_queuePriority;
115 bool m_queuePriorityHasBeenSet = false;
116
117 RoutingCriteriaInput m_routingCriteria;
118 bool m_routingCriteriaHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace Connect
123} // namespace Aws
UpdateContactRoutingDataRequest & WithRoutingCriteria(RoutingCriteriaInput &&value)
UpdateContactRoutingDataRequest & WithContactId(Aws::String &&value)
UpdateContactRoutingDataRequest & WithInstanceId(const char *value)
UpdateContactRoutingDataRequest & WithInstanceId(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateContactRoutingDataRequest & WithRoutingCriteria(const RoutingCriteriaInput &value)
UpdateContactRoutingDataRequest & WithContactId(const char *value)
UpdateContactRoutingDataRequest & WithInstanceId(Aws::String &&value)
UpdateContactRoutingDataRequest & WithQueueTimeAdjustmentSeconds(int value)
UpdateContactRoutingDataRequest & WithContactId(const Aws::String &value)
UpdateContactRoutingDataRequest & WithQueuePriority(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String