AWS SDK for C++  1.9.153
AWS SDK for C++
UpdateQueueOutboundCallerConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Connect
16 {
17 namespace 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 "UpdateQueueOutboundCallerConfig"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
40  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
41 
46  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
47 
52  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
53 
58  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
59 
64  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
65 
70  inline UpdateQueueOutboundCallerConfigRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
71 
76  inline UpdateQueueOutboundCallerConfigRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
77 
82  inline UpdateQueueOutboundCallerConfigRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
83 
84 
88  inline const Aws::String& GetQueueId() const{ return m_queueId; }
89 
93  inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
94 
98  inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
99 
103  inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
104 
108  inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
109 
113  inline UpdateQueueOutboundCallerConfigRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
114 
118  inline UpdateQueueOutboundCallerConfigRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
119 
123  inline UpdateQueueOutboundCallerConfigRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
124 
125 
129  inline const OutboundCallerConfig& GetOutboundCallerConfig() const{ return m_outboundCallerConfig; }
130 
134  inline bool OutboundCallerConfigHasBeenSet() const { return m_outboundCallerConfigHasBeenSet; }
135 
139  inline void SetOutboundCallerConfig(const OutboundCallerConfig& value) { m_outboundCallerConfigHasBeenSet = true; m_outboundCallerConfig = value; }
140 
144  inline void SetOutboundCallerConfig(OutboundCallerConfig&& value) { m_outboundCallerConfigHasBeenSet = true; m_outboundCallerConfig = std::move(value); }
145 
149  inline UpdateQueueOutboundCallerConfigRequest& WithOutboundCallerConfig(const OutboundCallerConfig& value) { SetOutboundCallerConfig(value); return *this;}
150 
154  inline UpdateQueueOutboundCallerConfigRequest& WithOutboundCallerConfig(OutboundCallerConfig&& value) { SetOutboundCallerConfig(std::move(value)); return *this;}
155 
156  private:
157 
158  Aws::String m_instanceId;
159  bool m_instanceIdHasBeenSet;
160 
161  Aws::String m_queueId;
162  bool m_queueIdHasBeenSet;
163 
164  OutboundCallerConfig m_outboundCallerConfig;
165  bool m_outboundCallerConfigHasBeenSet;
166  };
167 
168 } // namespace Model
169 } // namespace Connect
170 } // namespace Aws
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::SetQueueId
void SetQueueId(const char *value)
Definition: UpdateQueueOutboundCallerConfigRequest.h:108
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::WithQueueId
UpdateQueueOutboundCallerConfigRequest & WithQueueId(Aws::String &&value)
Definition: UpdateQueueOutboundCallerConfigRequest.h:118
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::SetOutboundCallerConfig
void SetOutboundCallerConfig(const OutboundCallerConfig &value)
Definition: UpdateQueueOutboundCallerConfigRequest.h:139
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::QueueIdHasBeenSet
bool QueueIdHasBeenSet() const
Definition: UpdateQueueOutboundCallerConfigRequest.h:93
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: UpdateQueueOutboundCallerConfigRequest.h:40
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::WithInstanceId
UpdateQueueOutboundCallerConfigRequest & WithInstanceId(Aws::String &&value)
Definition: UpdateQueueOutboundCallerConfigRequest.h:76
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: UpdateQueueOutboundCallerConfigRequest.h:58
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: UpdateQueueOutboundCallerConfigRequest.h:52
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::SetOutboundCallerConfig
void SetOutboundCallerConfig(OutboundCallerConfig &&value)
Definition: UpdateQueueOutboundCallerConfigRequest.h:144
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::WithOutboundCallerConfig
UpdateQueueOutboundCallerConfigRequest & WithOutboundCallerConfig(OutboundCallerConfig &&value)
Definition: UpdateQueueOutboundCallerConfigRequest.h:154
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: UpdateQueueOutboundCallerConfigRequest.h:64
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::SetQueueId
void SetQueueId(const Aws::String &value)
Definition: UpdateQueueOutboundCallerConfigRequest.h:98
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest
Definition: UpdateQueueOutboundCallerConfigRequest.h:23
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::OutboundCallerConfigHasBeenSet
bool OutboundCallerConfigHasBeenSet() const
Definition: UpdateQueueOutboundCallerConfigRequest.h:134
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::GetQueueId
const Aws::String & GetQueueId() const
Definition: UpdateQueueOutboundCallerConfigRequest.h:88
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::GetOutboundCallerConfig
const OutboundCallerConfig & GetOutboundCallerConfig() const
Definition: UpdateQueueOutboundCallerConfigRequest.h:129
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
AWSString.h
Aws::Connect::Model::OutboundCallerConfig
Definition: OutboundCallerConfig.h:33
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: UpdateQueueOutboundCallerConfigRequest.h:46
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::WithQueueId
UpdateQueueOutboundCallerConfigRequest & WithQueueId(const Aws::String &value)
Definition: UpdateQueueOutboundCallerConfigRequest.h:113
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::WithInstanceId
UpdateQueueOutboundCallerConfigRequest & WithInstanceId(const Aws::String &value)
Definition: UpdateQueueOutboundCallerConfigRequest.h:70
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::WithInstanceId
UpdateQueueOutboundCallerConfigRequest & WithInstanceId(const char *value)
Definition: UpdateQueueOutboundCallerConfigRequest.h:82
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::SetQueueId
void SetQueueId(Aws::String &&value)
Definition: UpdateQueueOutboundCallerConfigRequest.h:103
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
OutboundCallerConfig.h
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::WithQueueId
UpdateQueueOutboundCallerConfigRequest & WithQueueId(const char *value)
Definition: UpdateQueueOutboundCallerConfigRequest.h:123
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Connect_EXPORTS.h
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::UpdateQueueOutboundCallerConfigRequest
UpdateQueueOutboundCallerConfigRequest()
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateQueueOutboundCallerConfigRequest.h:31
ConnectRequest.h
Aws::Connect::Model::UpdateQueueOutboundCallerConfigRequest::WithOutboundCallerConfig
UpdateQueueOutboundCallerConfigRequest & WithOutboundCallerConfig(const OutboundCallerConfig &value)
Definition: UpdateQueueOutboundCallerConfigRequest.h:149