AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
QuickConnectConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/FlowQuickConnectConfig.h>
9#include <aws/connect/model/PhoneNumberQuickConnectConfig.h>
10#include <aws/connect/model/QueueQuickConnectConfig.h>
11#include <aws/connect/model/QuickConnectType.h>
12#include <aws/connect/model/UserQuickConnectConfig.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect {
24namespace Model {
25
33 public:
34 AWS_CONNECT_API QuickConnectConfig() = default;
37 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
45 inline QuickConnectType GetQuickConnectType() const { return m_quickConnectType; }
46 inline bool QuickConnectTypeHasBeenSet() const { return m_quickConnectTypeHasBeenSet; }
48 m_quickConnectTypeHasBeenSet = true;
49 m_quickConnectType = value;
50 }
53 return *this;
54 }
56
58
62 inline const UserQuickConnectConfig& GetUserConfig() const { return m_userConfig; }
63 inline bool UserConfigHasBeenSet() const { return m_userConfigHasBeenSet; }
64 template <typename UserConfigT = UserQuickConnectConfig>
65 void SetUserConfig(UserConfigT&& value) {
66 m_userConfigHasBeenSet = true;
67 m_userConfig = std::forward<UserConfigT>(value);
68 }
69 template <typename UserConfigT = UserQuickConnectConfig>
70 QuickConnectConfig& WithUserConfig(UserConfigT&& value) {
71 SetUserConfig(std::forward<UserConfigT>(value));
72 return *this;
73 }
75
77
81 inline const QueueQuickConnectConfig& GetQueueConfig() const { return m_queueConfig; }
82 inline bool QueueConfigHasBeenSet() const { return m_queueConfigHasBeenSet; }
83 template <typename QueueConfigT = QueueQuickConnectConfig>
84 void SetQueueConfig(QueueConfigT&& value) {
85 m_queueConfigHasBeenSet = true;
86 m_queueConfig = std::forward<QueueConfigT>(value);
87 }
88 template <typename QueueConfigT = QueueQuickConnectConfig>
89 QuickConnectConfig& WithQueueConfig(QueueConfigT&& value) {
90 SetQueueConfig(std::forward<QueueConfigT>(value));
91 return *this;
92 }
94
96
100 inline const PhoneNumberQuickConnectConfig& GetPhoneConfig() const { return m_phoneConfig; }
101 inline bool PhoneConfigHasBeenSet() const { return m_phoneConfigHasBeenSet; }
102 template <typename PhoneConfigT = PhoneNumberQuickConnectConfig>
103 void SetPhoneConfig(PhoneConfigT&& value) {
104 m_phoneConfigHasBeenSet = true;
105 m_phoneConfig = std::forward<PhoneConfigT>(value);
106 }
107 template <typename PhoneConfigT = PhoneNumberQuickConnectConfig>
108 QuickConnectConfig& WithPhoneConfig(PhoneConfigT&& value) {
109 SetPhoneConfig(std::forward<PhoneConfigT>(value));
110 return *this;
111 }
113
115
118 inline const FlowQuickConnectConfig& GetFlowConfig() const { return m_flowConfig; }
119 inline bool FlowConfigHasBeenSet() const { return m_flowConfigHasBeenSet; }
120 template <typename FlowConfigT = FlowQuickConnectConfig>
121 void SetFlowConfig(FlowConfigT&& value) {
122 m_flowConfigHasBeenSet = true;
123 m_flowConfig = std::forward<FlowConfigT>(value);
124 }
125 template <typename FlowConfigT = FlowQuickConnectConfig>
126 QuickConnectConfig& WithFlowConfig(FlowConfigT&& value) {
127 SetFlowConfig(std::forward<FlowConfigT>(value));
128 return *this;
129 }
131 private:
133
134 UserQuickConnectConfig m_userConfig;
135
136 QueueQuickConnectConfig m_queueConfig;
137
138 PhoneNumberQuickConnectConfig m_phoneConfig;
139
140 FlowQuickConnectConfig m_flowConfig;
141 bool m_quickConnectTypeHasBeenSet = false;
142 bool m_userConfigHasBeenSet = false;
143 bool m_queueConfigHasBeenSet = false;
144 bool m_phoneConfigHasBeenSet = false;
145 bool m_flowConfigHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace Connect
150} // namespace Aws
QuickConnectConfig & WithUserConfig(UserConfigT &&value)
AWS_CONNECT_API QuickConnectConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const FlowQuickConnectConfig & GetFlowConfig() const
void SetQuickConnectType(QuickConnectType value)
QuickConnectConfig & WithFlowConfig(FlowConfigT &&value)
QuickConnectConfig & WithQueueConfig(QueueConfigT &&value)
const QueueQuickConnectConfig & GetQueueConfig() const
QuickConnectConfig & WithQuickConnectType(QuickConnectType value)
QuickConnectConfig & WithPhoneConfig(PhoneConfigT &&value)
const PhoneNumberQuickConnectConfig & GetPhoneConfig() const
const UserQuickConnectConfig & GetUserConfig() const
AWS_CONNECT_API QuickConnectConfig()=default
void SetQueueConfig(QueueConfigT &&value)
AWS_CONNECT_API QuickConnectConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue