AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConnectContactFlowId(const Aws::String& value) { m_connectContactFlowIdHasBeenSet = true; m_connectContactFlowId = value; }
46 inline void SetConnectContactFlowId(Aws::String&& value) { m_connectContactFlowIdHasBeenSet = true; m_connectContactFlowId = std::move(value); }
47 inline void SetConnectContactFlowId(const char* value) { m_connectContactFlowIdHasBeenSet = true; m_connectContactFlowId.assign(value); }
49 inline OutboundCallConfig& WithConnectContactFlowId(Aws::String&& value) { SetConnectContactFlowId(std::move(value)); return *this;}
50 inline OutboundCallConfig& WithConnectContactFlowId(const char* value) { SetConnectContactFlowId(value); return *this;}
52
54
55 inline const Aws::String& GetConnectSourcePhoneNumber() const{ return m_connectSourcePhoneNumber; }
56 inline bool ConnectSourcePhoneNumberHasBeenSet() const { return m_connectSourcePhoneNumberHasBeenSet; }
57 inline void SetConnectSourcePhoneNumber(const Aws::String& value) { m_connectSourcePhoneNumberHasBeenSet = true; m_connectSourcePhoneNumber = value; }
58 inline void SetConnectSourcePhoneNumber(Aws::String&& value) { m_connectSourcePhoneNumberHasBeenSet = true; m_connectSourcePhoneNumber = std::move(value); }
59 inline void SetConnectSourcePhoneNumber(const char* value) { m_connectSourcePhoneNumberHasBeenSet = true; m_connectSourcePhoneNumber.assign(value); }
62 inline OutboundCallConfig& WithConnectSourcePhoneNumber(const char* value) { SetConnectSourcePhoneNumber(value); return *this;}
64
66
67 inline const Aws::String& GetConnectQueueId() const{ return m_connectQueueId; }
68 inline bool ConnectQueueIdHasBeenSet() const { return m_connectQueueIdHasBeenSet; }
69 inline void SetConnectQueueId(const Aws::String& value) { m_connectQueueIdHasBeenSet = true; m_connectQueueId = value; }
70 inline void SetConnectQueueId(Aws::String&& value) { m_connectQueueIdHasBeenSet = true; m_connectQueueId = std::move(value); }
71 inline void SetConnectQueueId(const char* value) { m_connectQueueIdHasBeenSet = true; m_connectQueueId.assign(value); }
72 inline OutboundCallConfig& WithConnectQueueId(const Aws::String& value) { SetConnectQueueId(value); return *this;}
73 inline OutboundCallConfig& WithConnectQueueId(Aws::String&& value) { SetConnectQueueId(std::move(value)); return *this;}
74 inline OutboundCallConfig& WithConnectQueueId(const char* value) { SetConnectQueueId(value); return *this;}
76
78
79 inline const AnswerMachineDetectionConfig& GetAnswerMachineDetectionConfig() const{ return m_answerMachineDetectionConfig; }
80 inline bool AnswerMachineDetectionConfigHasBeenSet() const { return m_answerMachineDetectionConfigHasBeenSet; }
81 inline void SetAnswerMachineDetectionConfig(const AnswerMachineDetectionConfig& value) { m_answerMachineDetectionConfigHasBeenSet = true; m_answerMachineDetectionConfig = value; }
82 inline void SetAnswerMachineDetectionConfig(AnswerMachineDetectionConfig&& value) { m_answerMachineDetectionConfigHasBeenSet = true; m_answerMachineDetectionConfig = std::move(value); }
86 private:
87
88 Aws::String m_connectContactFlowId;
89 bool m_connectContactFlowIdHasBeenSet = false;
90
91 Aws::String m_connectSourcePhoneNumber;
92 bool m_connectSourcePhoneNumberHasBeenSet = false;
93
94 Aws::String m_connectQueueId;
95 bool m_connectQueueIdHasBeenSet = false;
96
97 AnswerMachineDetectionConfig m_answerMachineDetectionConfig;
98 bool m_answerMachineDetectionConfigHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace ConnectCampaigns
103} // namespace Aws
AWS_CONNECTCAMPAIGNS_API Aws::Utils::Json::JsonValue Jsonize() const
OutboundCallConfig & WithConnectSourcePhoneNumber(Aws::String &&value)
OutboundCallConfig & WithConnectQueueId(Aws::String &&value)
OutboundCallConfig & WithConnectQueueId(const char *value)
OutboundCallConfig & WithConnectSourcePhoneNumber(const Aws::String &value)
OutboundCallConfig & WithConnectContactFlowId(const Aws::String &value)
void SetConnectSourcePhoneNumber(const Aws::String &value)
OutboundCallConfig & WithAnswerMachineDetectionConfig(const AnswerMachineDetectionConfig &value)
OutboundCallConfig & WithConnectSourcePhoneNumber(const char *value)
AWS_CONNECTCAMPAIGNS_API OutboundCallConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNS_API OutboundCallConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const AnswerMachineDetectionConfig & GetAnswerMachineDetectionConfig() const
void SetAnswerMachineDetectionConfig(const AnswerMachineDetectionConfig &value)
OutboundCallConfig & WithConnectQueueId(const Aws::String &value)
OutboundCallConfig & WithAnswerMachineDetectionConfig(AnswerMachineDetectionConfig &&value)
void SetConnectContactFlowId(const Aws::String &value)
OutboundCallConfig & WithConnectContactFlowId(Aws::String &&value)
OutboundCallConfig & WithConnectContactFlowId(const char *value)
void SetAnswerMachineDetectionConfig(AnswerMachineDetectionConfig &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue