AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TelephonyOutboundMode.h
1
6#pragma once
7#include <aws/connectcampaignsv2/ConnectCampaignsV2_EXPORTS.h>
8#include <aws/connectcampaignsv2/model/ProgressiveConfig.h>
9#include <aws/connectcampaignsv2/model/PredictiveConfig.h>
10#include <aws/connectcampaignsv2/model/AgentlessConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ConnectCampaignsV2
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundMode() = default;
37 AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundMode(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundMode& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const ProgressiveConfig& GetProgressive() const { return m_progressive; }
45 inline bool ProgressiveHasBeenSet() const { return m_progressiveHasBeenSet; }
46 template<typename ProgressiveT = ProgressiveConfig>
47 void SetProgressive(ProgressiveT&& value) { m_progressiveHasBeenSet = true; m_progressive = std::forward<ProgressiveT>(value); }
48 template<typename ProgressiveT = ProgressiveConfig>
49 TelephonyOutboundMode& WithProgressive(ProgressiveT&& value) { SetProgressive(std::forward<ProgressiveT>(value)); return *this;}
51
53
54 inline const PredictiveConfig& GetPredictive() const { return m_predictive; }
55 inline bool PredictiveHasBeenSet() const { return m_predictiveHasBeenSet; }
56 template<typename PredictiveT = PredictiveConfig>
57 void SetPredictive(PredictiveT&& value) { m_predictiveHasBeenSet = true; m_predictive = std::forward<PredictiveT>(value); }
58 template<typename PredictiveT = PredictiveConfig>
59 TelephonyOutboundMode& WithPredictive(PredictiveT&& value) { SetPredictive(std::forward<PredictiveT>(value)); return *this;}
61
63
64 inline const AgentlessConfig& GetAgentless() const { return m_agentless; }
65 inline bool AgentlessHasBeenSet() const { return m_agentlessHasBeenSet; }
66 template<typename AgentlessT = AgentlessConfig>
67 void SetAgentless(AgentlessT&& value) { m_agentlessHasBeenSet = true; m_agentless = std::forward<AgentlessT>(value); }
68 template<typename AgentlessT = AgentlessConfig>
69 TelephonyOutboundMode& WithAgentless(AgentlessT&& value) { SetAgentless(std::forward<AgentlessT>(value)); return *this;}
71 private:
72
73 ProgressiveConfig m_progressive;
74 bool m_progressiveHasBeenSet = false;
75
76 PredictiveConfig m_predictive;
77 bool m_predictiveHasBeenSet = false;
78
79 AgentlessConfig m_agentless;
80 bool m_agentlessHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace ConnectCampaignsV2
85} // namespace Aws
AWS_CONNECTCAMPAIGNSV2_API Aws::Utils::Json::JsonValue Jsonize() const
TelephonyOutboundMode & WithProgressive(ProgressiveT &&value)
AWS_CONNECTCAMPAIGNSV2_API TelephonyOutboundMode()=default
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