AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TelephonyOutboundConfig.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connectcampaignsv2/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 ConnectCampaignsV2
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundConfig() = default;
36 AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCAMPAIGNSV2_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 TelephonyOutboundConfig& 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 TelephonyOutboundConfig& WithConnectSourcePhoneNumber(ConnectSourcePhoneNumberT&& value) { SetConnectSourcePhoneNumber(std::forward<ConnectSourcePhoneNumberT>(value)); return *this;}
60
62
63 inline const AnswerMachineDetectionConfig& GetAnswerMachineDetectionConfig() const { return m_answerMachineDetectionConfig; }
64 inline bool AnswerMachineDetectionConfigHasBeenSet() const { return m_answerMachineDetectionConfigHasBeenSet; }
65 template<typename AnswerMachineDetectionConfigT = AnswerMachineDetectionConfig>
66 void SetAnswerMachineDetectionConfig(AnswerMachineDetectionConfigT&& value) { m_answerMachineDetectionConfigHasBeenSet = true; m_answerMachineDetectionConfig = std::forward<AnswerMachineDetectionConfigT>(value); }
67 template<typename AnswerMachineDetectionConfigT = AnswerMachineDetectionConfig>
68 TelephonyOutboundConfig& WithAnswerMachineDetectionConfig(AnswerMachineDetectionConfigT&& value) { SetAnswerMachineDetectionConfig(std::forward<AnswerMachineDetectionConfigT>(value)); return *this;}
70 private:
71
72 Aws::String m_connectContactFlowId;
73 bool m_connectContactFlowIdHasBeenSet = false;
74
75 Aws::String m_connectSourcePhoneNumber;
76 bool m_connectSourcePhoneNumberHasBeenSet = false;
77
78 AnswerMachineDetectionConfig m_answerMachineDetectionConfig;
79 bool m_answerMachineDetectionConfigHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace ConnectCampaignsV2
84} // namespace Aws
TelephonyOutboundConfig & WithConnectContactFlowId(ConnectContactFlowIdT &&value)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
TelephonyOutboundConfig & WithConnectSourcePhoneNumber(ConnectSourcePhoneNumberT &&value)
TelephonyOutboundConfig & WithAnswerMachineDetectionConfig(AnswerMachineDetectionConfigT &&value)
void SetConnectSourcePhoneNumber(ConnectSourcePhoneNumberT &&value)
AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundConfig(Aws::Utils::Json::JsonView jsonValue)
void SetAnswerMachineDetectionConfig(AnswerMachineDetectionConfigT &&value)
AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundConfig()=default
const AnswerMachineDetectionConfig & GetAnswerMachineDetectionConfig() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue