AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateCampaignOutboundCallConfigRequest.h
1
6#pragma once
7#include <aws/connectcampaigns/ConnectCampaigns_EXPORTS.h>
8#include <aws/connectcampaigns/ConnectCampaignsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connectcampaigns/model/AnswerMachineDetectionConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ConnectCampaigns
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_CONNECTCAMPAIGNS_API UpdateCampaignOutboundCallConfigRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateCampaignOutboundCallConfig"; }
35
36 AWS_CONNECTCAMPAIGNS_API Aws::String SerializePayload() const override;
37
38
40
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template<typename IdT = Aws::String>
44 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
45 template<typename IdT = Aws::String>
46 UpdateCampaignOutboundCallConfigRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
48
50
51 inline const Aws::String& GetConnectContactFlowId() const { return m_connectContactFlowId; }
52 inline bool ConnectContactFlowIdHasBeenSet() const { return m_connectContactFlowIdHasBeenSet; }
53 template<typename ConnectContactFlowIdT = Aws::String>
54 void SetConnectContactFlowId(ConnectContactFlowIdT&& value) { m_connectContactFlowIdHasBeenSet = true; m_connectContactFlowId = std::forward<ConnectContactFlowIdT>(value); }
55 template<typename ConnectContactFlowIdT = Aws::String>
56 UpdateCampaignOutboundCallConfigRequest& WithConnectContactFlowId(ConnectContactFlowIdT&& value) { SetConnectContactFlowId(std::forward<ConnectContactFlowIdT>(value)); return *this;}
58
60
61 inline const Aws::String& GetConnectSourcePhoneNumber() const { return m_connectSourcePhoneNumber; }
62 inline bool ConnectSourcePhoneNumberHasBeenSet() const { return m_connectSourcePhoneNumberHasBeenSet; }
63 template<typename ConnectSourcePhoneNumberT = Aws::String>
64 void SetConnectSourcePhoneNumber(ConnectSourcePhoneNumberT&& value) { m_connectSourcePhoneNumberHasBeenSet = true; m_connectSourcePhoneNumber = std::forward<ConnectSourcePhoneNumberT>(value); }
65 template<typename ConnectSourcePhoneNumberT = Aws::String>
66 UpdateCampaignOutboundCallConfigRequest& WithConnectSourcePhoneNumber(ConnectSourcePhoneNumberT&& value) { SetConnectSourcePhoneNumber(std::forward<ConnectSourcePhoneNumberT>(value)); return *this;}
68
70
71 inline const AnswerMachineDetectionConfig& GetAnswerMachineDetectionConfig() const { return m_answerMachineDetectionConfig; }
72 inline bool AnswerMachineDetectionConfigHasBeenSet() const { return m_answerMachineDetectionConfigHasBeenSet; }
73 template<typename AnswerMachineDetectionConfigT = AnswerMachineDetectionConfig>
74 void SetAnswerMachineDetectionConfig(AnswerMachineDetectionConfigT&& value) { m_answerMachineDetectionConfigHasBeenSet = true; m_answerMachineDetectionConfig = std::forward<AnswerMachineDetectionConfigT>(value); }
75 template<typename AnswerMachineDetectionConfigT = AnswerMachineDetectionConfig>
76 UpdateCampaignOutboundCallConfigRequest& WithAnswerMachineDetectionConfig(AnswerMachineDetectionConfigT&& value) { SetAnswerMachineDetectionConfig(std::forward<AnswerMachineDetectionConfigT>(value)); return *this;}
78 private:
79
80 Aws::String m_id;
81 bool m_idHasBeenSet = false;
82
83 Aws::String m_connectContactFlowId;
84 bool m_connectContactFlowIdHasBeenSet = false;
85
86 Aws::String m_connectSourcePhoneNumber;
87 bool m_connectSourcePhoneNumberHasBeenSet = false;
88
89 AnswerMachineDetectionConfig m_answerMachineDetectionConfig;
90 bool m_answerMachineDetectionConfigHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace ConnectCampaigns
95} // namespace Aws
UpdateCampaignOutboundCallConfigRequest & WithConnectSourcePhoneNumber(ConnectSourcePhoneNumberT &&value)
AWS_CONNECTCAMPAIGNS_API UpdateCampaignOutboundCallConfigRequest()=default
AWS_CONNECTCAMPAIGNS_API Aws::String SerializePayload() const override
UpdateCampaignOutboundCallConfigRequest & WithAnswerMachineDetectionConfig(AnswerMachineDetectionConfigT &&value)
UpdateCampaignOutboundCallConfigRequest & WithConnectContactFlowId(ConnectContactFlowIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String