AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
44 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
45 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
46 inline UpdateCampaignOutboundCallConfigRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
47 inline UpdateCampaignOutboundCallConfigRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
48 inline UpdateCampaignOutboundCallConfigRequest& WithId(const char* value) { SetId(value); return *this;}
50
52
53 inline const Aws::String& GetConnectContactFlowId() const{ return m_connectContactFlowId; }
54 inline bool ConnectContactFlowIdHasBeenSet() const { return m_connectContactFlowIdHasBeenSet; }
55 inline void SetConnectContactFlowId(const Aws::String& value) { m_connectContactFlowIdHasBeenSet = true; m_connectContactFlowId = value; }
56 inline void SetConnectContactFlowId(Aws::String&& value) { m_connectContactFlowIdHasBeenSet = true; m_connectContactFlowId = std::move(value); }
57 inline void SetConnectContactFlowId(const char* value) { m_connectContactFlowIdHasBeenSet = true; m_connectContactFlowId.assign(value); }
62
64
65 inline const Aws::String& GetConnectSourcePhoneNumber() const{ return m_connectSourcePhoneNumber; }
66 inline bool ConnectSourcePhoneNumberHasBeenSet() const { return m_connectSourcePhoneNumberHasBeenSet; }
67 inline void SetConnectSourcePhoneNumber(const Aws::String& value) { m_connectSourcePhoneNumberHasBeenSet = true; m_connectSourcePhoneNumber = value; }
68 inline void SetConnectSourcePhoneNumber(Aws::String&& value) { m_connectSourcePhoneNumberHasBeenSet = true; m_connectSourcePhoneNumber = std::move(value); }
69 inline void SetConnectSourcePhoneNumber(const char* value) { m_connectSourcePhoneNumberHasBeenSet = true; m_connectSourcePhoneNumber.assign(value); }
74
76
77 inline const AnswerMachineDetectionConfig& GetAnswerMachineDetectionConfig() const{ return m_answerMachineDetectionConfig; }
78 inline bool AnswerMachineDetectionConfigHasBeenSet() const { return m_answerMachineDetectionConfigHasBeenSet; }
79 inline void SetAnswerMachineDetectionConfig(const AnswerMachineDetectionConfig& value) { m_answerMachineDetectionConfigHasBeenSet = true; m_answerMachineDetectionConfig = value; }
80 inline void SetAnswerMachineDetectionConfig(AnswerMachineDetectionConfig&& value) { m_answerMachineDetectionConfigHasBeenSet = true; m_answerMachineDetectionConfig = std::move(value); }
84 private:
85
86 Aws::String m_id;
87 bool m_idHasBeenSet = false;
88
89 Aws::String m_connectContactFlowId;
90 bool m_connectContactFlowIdHasBeenSet = false;
91
92 Aws::String m_connectSourcePhoneNumber;
93 bool m_connectSourcePhoneNumberHasBeenSet = false;
94
95 AnswerMachineDetectionConfig m_answerMachineDetectionConfig;
96 bool m_answerMachineDetectionConfigHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace ConnectCampaigns
101} // namespace Aws
UpdateCampaignOutboundCallConfigRequest & WithConnectContactFlowId(Aws::String &&value)
UpdateCampaignOutboundCallConfigRequest & WithConnectSourcePhoneNumber(const char *value)
UpdateCampaignOutboundCallConfigRequest & WithConnectSourcePhoneNumber(Aws::String &&value)
UpdateCampaignOutboundCallConfigRequest & WithConnectSourcePhoneNumber(const Aws::String &value)
UpdateCampaignOutboundCallConfigRequest & WithAnswerMachineDetectionConfig(const AnswerMachineDetectionConfig &value)
UpdateCampaignOutboundCallConfigRequest & WithConnectContactFlowId(const char *value)
AWS_CONNECTCAMPAIGNS_API Aws::String SerializePayload() const override
UpdateCampaignOutboundCallConfigRequest & WithId(const Aws::String &value)
UpdateCampaignOutboundCallConfigRequest & WithAnswerMachineDetectionConfig(AnswerMachineDetectionConfig &&value)
UpdateCampaignOutboundCallConfigRequest & WithConnectContactFlowId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String