AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
OutboundCallConfig.h
1
6#pragma once
7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/connectcampaigns/model/AnswerMachineDetectionConfig.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ConnectCampaigns {
21namespace Model {
22
29 public:
30 AWS_CONNECTCAMPAIGNS_API OutboundCallConfig() = default;
31 AWS_CONNECTCAMPAIGNS_API OutboundCallConfig(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECTCAMPAIGNS_API OutboundCallConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetConnectContactFlowId() const { return m_connectContactFlowId; }
38 inline bool ConnectContactFlowIdHasBeenSet() const { return m_connectContactFlowIdHasBeenSet; }
39 template <typename ConnectContactFlowIdT = Aws::String>
40 void SetConnectContactFlowId(ConnectContactFlowIdT&& value) {
41 m_connectContactFlowIdHasBeenSet = true;
42 m_connectContactFlowId = std::forward<ConnectContactFlowIdT>(value);
43 }
44 template <typename ConnectContactFlowIdT = Aws::String>
45 OutboundCallConfig& WithConnectContactFlowId(ConnectContactFlowIdT&& value) {
46 SetConnectContactFlowId(std::forward<ConnectContactFlowIdT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetConnectSourcePhoneNumber() const { return m_connectSourcePhoneNumber; }
54 inline bool ConnectSourcePhoneNumberHasBeenSet() const { return m_connectSourcePhoneNumberHasBeenSet; }
55 template <typename ConnectSourcePhoneNumberT = Aws::String>
56 void SetConnectSourcePhoneNumber(ConnectSourcePhoneNumberT&& value) {
57 m_connectSourcePhoneNumberHasBeenSet = true;
58 m_connectSourcePhoneNumber = std::forward<ConnectSourcePhoneNumberT>(value);
59 }
60 template <typename ConnectSourcePhoneNumberT = Aws::String>
61 OutboundCallConfig& WithConnectSourcePhoneNumber(ConnectSourcePhoneNumberT&& value) {
62 SetConnectSourcePhoneNumber(std::forward<ConnectSourcePhoneNumberT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetConnectQueueId() const { return m_connectQueueId; }
70 inline bool ConnectQueueIdHasBeenSet() const { return m_connectQueueIdHasBeenSet; }
71 template <typename ConnectQueueIdT = Aws::String>
72 void SetConnectQueueId(ConnectQueueIdT&& value) {
73 m_connectQueueIdHasBeenSet = true;
74 m_connectQueueId = std::forward<ConnectQueueIdT>(value);
75 }
76 template <typename ConnectQueueIdT = Aws::String>
77 OutboundCallConfig& WithConnectQueueId(ConnectQueueIdT&& value) {
78 SetConnectQueueId(std::forward<ConnectQueueIdT>(value));
79 return *this;
80 }
82
84
85 inline const AnswerMachineDetectionConfig& GetAnswerMachineDetectionConfig() const { return m_answerMachineDetectionConfig; }
86 inline bool AnswerMachineDetectionConfigHasBeenSet() const { return m_answerMachineDetectionConfigHasBeenSet; }
87 template <typename AnswerMachineDetectionConfigT = AnswerMachineDetectionConfig>
88 void SetAnswerMachineDetectionConfig(AnswerMachineDetectionConfigT&& value) {
89 m_answerMachineDetectionConfigHasBeenSet = true;
90 m_answerMachineDetectionConfig = std::forward<AnswerMachineDetectionConfigT>(value);
91 }
92 template <typename AnswerMachineDetectionConfigT = AnswerMachineDetectionConfig>
93 OutboundCallConfig& WithAnswerMachineDetectionConfig(AnswerMachineDetectionConfigT&& value) {
94 SetAnswerMachineDetectionConfig(std::forward<AnswerMachineDetectionConfigT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_connectContactFlowId;
100
101 Aws::String m_connectSourcePhoneNumber;
102
103 Aws::String m_connectQueueId;
104
105 AnswerMachineDetectionConfig m_answerMachineDetectionConfig;
106 bool m_connectContactFlowIdHasBeenSet = false;
107 bool m_connectSourcePhoneNumberHasBeenSet = false;
108 bool m_connectQueueIdHasBeenSet = false;
109 bool m_answerMachineDetectionConfigHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace ConnectCampaigns
114} // namespace Aws
OutboundCallConfig & WithAnswerMachineDetectionConfig(AnswerMachineDetectionConfigT &&value)
void SetConnectContactFlowId(ConnectContactFlowIdT &&value)
AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConnectSourcePhoneNumber(ConnectSourcePhoneNumberT &&value)
AWS_CONNECTCAMPAIGNS_API OutboundCallConfig()=default
OutboundCallConfig & WithConnectSourcePhoneNumber(ConnectSourcePhoneNumberT &&value)
AWS_CONNECTCAMPAIGNS_API OutboundCallConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNS_API OutboundCallConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const AnswerMachineDetectionConfig & GetAnswerMachineDetectionConfig() const
OutboundCallConfig & WithConnectContactFlowId(ConnectContactFlowIdT &&value)
OutboundCallConfig & WithConnectQueueId(ConnectQueueIdT &&value)
void SetAnswerMachineDetectionConfig(AnswerMachineDetectionConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue