AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransferContactRequest.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 <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECT_API TransferContactRequest();
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 "TransferContact"; }
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 TransferContactRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline TransferContactRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline TransferContactRequest& 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 TransferContactRequest& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
62 inline TransferContactRequest& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
63 inline TransferContactRequest& WithContactId(const char* value) { SetContactId(value); return *this;}
65
67
70 inline const Aws::String& GetQueueId() const{ return m_queueId; }
71 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
72 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
73 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
74 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
75 inline TransferContactRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
76 inline TransferContactRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
77 inline TransferContactRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
79
81
84 inline const Aws::String& GetUserId() const{ return m_userId; }
85 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
86 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
87 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
88 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
89 inline TransferContactRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
90 inline TransferContactRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
91 inline TransferContactRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
93
95
98 inline const Aws::String& GetContactFlowId() const{ return m_contactFlowId; }
99 inline bool ContactFlowIdHasBeenSet() const { return m_contactFlowIdHasBeenSet; }
100 inline void SetContactFlowId(const Aws::String& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = value; }
101 inline void SetContactFlowId(Aws::String&& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = std::move(value); }
102 inline void SetContactFlowId(const char* value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId.assign(value); }
103 inline TransferContactRequest& WithContactFlowId(const Aws::String& value) { SetContactFlowId(value); return *this;}
104 inline TransferContactRequest& WithContactFlowId(Aws::String&& value) { SetContactFlowId(std::move(value)); return *this;}
105 inline TransferContactRequest& WithContactFlowId(const char* value) { SetContactFlowId(value); return *this;}
107
109
116 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
117 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
118 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
119 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
120 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
121 inline TransferContactRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
122 inline TransferContactRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
123 inline TransferContactRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
125 private:
126
127 Aws::String m_instanceId;
128 bool m_instanceIdHasBeenSet = false;
129
130 Aws::String m_contactId;
131 bool m_contactIdHasBeenSet = false;
132
133 Aws::String m_queueId;
134 bool m_queueIdHasBeenSet = false;
135
136 Aws::String m_userId;
137 bool m_userIdHasBeenSet = false;
138
139 Aws::String m_contactFlowId;
140 bool m_contactFlowIdHasBeenSet = false;
141
142 Aws::String m_clientToken;
143 bool m_clientTokenHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace Connect
148} // namespace Aws
TransferContactRequest & WithClientToken(Aws::String &&value)
TransferContactRequest & WithContactFlowId(const Aws::String &value)
TransferContactRequest & WithInstanceId(const Aws::String &value)
TransferContactRequest & WithClientToken(const char *value)
TransferContactRequest & WithUserId(const char *value)
TransferContactRequest & WithContactId(Aws::String &&value)
TransferContactRequest & WithContactFlowId(const char *value)
TransferContactRequest & WithUserId(Aws::String &&value)
TransferContactRequest & WithUserId(const Aws::String &value)
TransferContactRequest & WithQueueId(const char *value)
TransferContactRequest & WithContactId(const Aws::String &value)
TransferContactRequest & WithQueueId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
TransferContactRequest & WithClientToken(const Aws::String &value)
TransferContactRequest & WithInstanceId(const char *value)
AWS_CONNECT_API Aws::String SerializePayload() const override
TransferContactRequest & WithQueueId(Aws::String &&value)
TransferContactRequest & WithContactId(const char *value)
TransferContactRequest & WithInstanceId(Aws::String &&value)
TransferContactRequest & WithContactFlowId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String