AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
TelephonyOutboundMode.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/model/AgentlessConfig.h>
9#include <aws/connectcampaignsv2/model/PredictiveConfig.h>
10#include <aws/connectcampaignsv2/model/PreviewConfig.h>
11#include <aws/connectcampaignsv2/model/ProgressiveConfig.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConnectCampaignsV2 {
23namespace Model {
24
31 public:
32 AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundMode() = default;
33 AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundMode(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundMode& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline const ProgressiveConfig& GetProgressive() const { return m_progressive; }
40 inline bool ProgressiveHasBeenSet() const { return m_progressiveHasBeenSet; }
41 template <typename ProgressiveT = ProgressiveConfig>
42 void SetProgressive(ProgressiveT&& value) {
43 m_progressiveHasBeenSet = true;
44 m_progressive = std::forward<ProgressiveT>(value);
45 }
46 template <typename ProgressiveT = ProgressiveConfig>
47 TelephonyOutboundMode& WithProgressive(ProgressiveT&& value) {
48 SetProgressive(std::forward<ProgressiveT>(value));
49 return *this;
50 }
52
54
55 inline const PredictiveConfig& GetPredictive() const { return m_predictive; }
56 inline bool PredictiveHasBeenSet() const { return m_predictiveHasBeenSet; }
57 template <typename PredictiveT = PredictiveConfig>
58 void SetPredictive(PredictiveT&& value) {
59 m_predictiveHasBeenSet = true;
60 m_predictive = std::forward<PredictiveT>(value);
61 }
62 template <typename PredictiveT = PredictiveConfig>
63 TelephonyOutboundMode& WithPredictive(PredictiveT&& value) {
64 SetPredictive(std::forward<PredictiveT>(value));
65 return *this;
66 }
68
70
71 inline const AgentlessConfig& GetAgentless() const { return m_agentless; }
72 inline bool AgentlessHasBeenSet() const { return m_agentlessHasBeenSet; }
73 template <typename AgentlessT = AgentlessConfig>
74 void SetAgentless(AgentlessT&& value) {
75 m_agentlessHasBeenSet = true;
76 m_agentless = std::forward<AgentlessT>(value);
77 }
78 template <typename AgentlessT = AgentlessConfig>
79 TelephonyOutboundMode& WithAgentless(AgentlessT&& value) {
80 SetAgentless(std::forward<AgentlessT>(value));
81 return *this;
82 }
84
86
87 inline const PreviewConfig& GetPreview() const { return m_preview; }
88 inline bool PreviewHasBeenSet() const { return m_previewHasBeenSet; }
89 template <typename PreviewT = PreviewConfig>
90 void SetPreview(PreviewT&& value) {
91 m_previewHasBeenSet = true;
92 m_preview = std::forward<PreviewT>(value);
93 }
94 template <typename PreviewT = PreviewConfig>
96 SetPreview(std::forward<PreviewT>(value));
97 return *this;
98 }
100 private:
101 ProgressiveConfig m_progressive;
102
103 PredictiveConfig m_predictive;
104
105 AgentlessConfig m_agentless;
106
107 PreviewConfig m_preview;
108 bool m_progressiveHasBeenSet = false;
109 bool m_predictiveHasBeenSet = false;
110 bool m_agentlessHasBeenSet = false;
111 bool m_previewHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace ConnectCampaignsV2
116} // namespace Aws
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
TelephonyOutboundMode & WithProgressive(ProgressiveT &&value)
AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundMode()=default
TelephonyOutboundMode & WithPreview(PreviewT &&value)
TelephonyOutboundMode & WithPredictive(PredictiveT &&value)
AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundMode(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundMode & operator=(Aws::Utils::Json::JsonView jsonValue)
TelephonyOutboundMode & WithAgentless(AgentlessT &&value)
Aws::Utils::Json::JsonValue JsonValue