7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/model/AnswerMachineDetectionConfig.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace ConnectCampaignsV2 {
39 template <
typename ConnectContactFlowIdT = Aws::String>
41 m_connectContactFlowIdHasBeenSet =
true;
42 m_connectContactFlowId = std::forward<ConnectContactFlowIdT>(value);
44 template <
typename ConnectContactFlowIdT = Aws::String>
55 template <
typename ConnectSourcePhoneNumberT = Aws::String>
57 m_connectSourcePhoneNumberHasBeenSet =
true;
58 m_connectSourcePhoneNumber = std::forward<ConnectSourcePhoneNumberT>(value);
60 template <
typename ConnectSourcePhoneNumberT = Aws::String>
71 template <
typename AnswerMachineDetectionConfigT = AnswerMachineDetectionConfig>
73 m_answerMachineDetectionConfigHasBeenSet =
true;
74 m_answerMachineDetectionConfig = std::forward<AnswerMachineDetectionConfigT>(value);
76 template <
typename AnswerMachineDetectionConfigT = AnswerMachineDetectionConfig>
88 m_ringTimeoutHasBeenSet =
true;
89 m_ringTimeout = value;
103 int m_ringTimeout{0};
104 bool m_connectContactFlowIdHasBeenSet =
false;
105 bool m_connectSourcePhoneNumberHasBeenSet =
false;
106 bool m_answerMachineDetectionConfigHasBeenSet =
false;
107 bool m_ringTimeoutHasBeenSet =
false;
const Aws::String & GetConnectContactFlowId() const
TelephonyOutboundConfig & WithConnectContactFlowId(ConnectContactFlowIdT &&value)
bool RingTimeoutHasBeenSet() const
bool AnswerMachineDetectionConfigHasBeenSet() const
void SetConnectContactFlowId(ConnectContactFlowIdT &&value)
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetConnectSourcePhoneNumber() const
TelephonyOutboundConfig & WithConnectSourcePhoneNumber(ConnectSourcePhoneNumberT &&value)
TelephonyOutboundConfig & WithAnswerMachineDetectionConfig(AnswerMachineDetectionConfigT &&value)
TelephonyOutboundConfig & WithRingTimeout(int value)
bool ConnectContactFlowIdHasBeenSet() const
bool ConnectSourcePhoneNumberHasBeenSet() const
void SetConnectSourcePhoneNumber(ConnectSourcePhoneNumberT &&value)
AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundConfig(Aws::Utils::Json::JsonView jsonValue)
int GetRingTimeout() const
void SetAnswerMachineDetectionConfig(AnswerMachineDetectionConfigT &&value)
AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundConfig()=default
void SetRingTimeout(int value)
const AnswerMachineDetectionConfig & GetAnswerMachineDetectionConfig() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue