AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
OutboundCallConfig.h
1
6#pragma once
7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connectcampaigns/model/AnswerMachineDetectionConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConnectCampaigns
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECTCAMPAIGNS_API OutboundCallConfig() = default;
36 AWS_CONNECTCAMPAIGNS_API OutboundCallConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTCAMPAIGNS_API OutboundCallConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetConnectContactFlowId() const { return m_connectContactFlowId; }
44 inline bool ConnectContactFlowIdHasBeenSet() const { return m_connectContactFlowIdHasBeenSet; }
45 template<typename ConnectContactFlowIdT = Aws::String>
46 void SetConnectContactFlowId(ConnectContactFlowIdT&& value) { m_connectContactFlowIdHasBeenSet = true; m_connectContactFlowId = std::forward<ConnectContactFlowIdT>(value); }
47 template<typename ConnectContactFlowIdT = Aws::String>
48 OutboundCallConfig& WithConnectContactFlowId(ConnectContactFlowIdT&& value) { SetConnectContactFlowId(std::forward<ConnectContactFlowIdT>(value)); return *this;}
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) { m_connectSourcePhoneNumberHasBeenSet = true; m_connectSourcePhoneNumber = std::forward<ConnectSourcePhoneNumberT>(value); }
57 template<typename ConnectSourcePhoneNumberT = Aws::String>
58 OutboundCallConfig& WithConnectSourcePhoneNumber(ConnectSourcePhoneNumberT&& value) { SetConnectSourcePhoneNumber(std::forward<ConnectSourcePhoneNumberT>(value)); return *this;}
60
62
63 inline const Aws::String& GetConnectQueueId() const { return m_connectQueueId; }
64 inline bool ConnectQueueIdHasBeenSet() const { return m_connectQueueIdHasBeenSet; }
65 template<typename ConnectQueueIdT = Aws::String>
66 void SetConnectQueueId(ConnectQueueIdT&& value) { m_connectQueueIdHasBeenSet = true; m_connectQueueId = std::forward<ConnectQueueIdT>(value); }
67 template<typename ConnectQueueIdT = Aws::String>
68 OutboundCallConfig& WithConnectQueueId(ConnectQueueIdT&& value) { SetConnectQueueId(std::forward<ConnectQueueIdT>(value)); return *this;}
70
72
73 inline const AnswerMachineDetectionConfig& GetAnswerMachineDetectionConfig() const { return m_answerMachineDetectionConfig; }
74 inline bool AnswerMachineDetectionConfigHasBeenSet() const { return m_answerMachineDetectionConfigHasBeenSet; }
75 template<typename AnswerMachineDetectionConfigT = AnswerMachineDetectionConfig>
76 void SetAnswerMachineDetectionConfig(AnswerMachineDetectionConfigT&& value) { m_answerMachineDetectionConfigHasBeenSet = true; m_answerMachineDetectionConfig = std::forward<AnswerMachineDetectionConfigT>(value); }
77 template<typename AnswerMachineDetectionConfigT = AnswerMachineDetectionConfig>
78 OutboundCallConfig& WithAnswerMachineDetectionConfig(AnswerMachineDetectionConfigT&& value) { SetAnswerMachineDetectionConfig(std::forward<AnswerMachineDetectionConfigT>(value)); return *this;}
80 private:
81
82 Aws::String m_connectContactFlowId;
83 bool m_connectContactFlowIdHasBeenSet = false;
84
85 Aws::String m_connectSourcePhoneNumber;
86 bool m_connectSourcePhoneNumberHasBeenSet = false;
87
88 Aws::String m_connectQueueId;
89 bool m_connectQueueIdHasBeenSet = false;
90
91 AnswerMachineDetectionConfig m_answerMachineDetectionConfig;
92 bool m_answerMachineDetectionConfigHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace ConnectCampaigns
97} // 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